
int md_estimate_size_before_relax(fragS *fragp,asection *segtype)

{
  int iVar1;
  uint uVar2;
  
  uVar2 = fragp->fr_subtype;
  if ((uVar2 & 0xf0000000) == 0xc0000000) {
    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(fragp,segtype,0);
    *(int *)((int)&fragp->fr_var + 4) = iVar1;
    *(int *)&fragp->fr_var = iVar1 >> 0x1f;
    return iVar1;
  }
  if ((uVar2 & 0xc0000000) == 0x80000000) {
    if ((int)(uVar2 << 0xd) < 0) {
      iVar1 = 0xc;
      if ((uVar2 & 0x100) != 0) {
        iVar1 = 8;
      }
      return iVar1;
    }
    iVar1 = 2;
    if ((int)(uVar2 << 0xf) < 0) {
      iVar1 = 4;
    }
    return iVar1;
  }
  if ((uVar2 & 0xc0000000) != 0x40000000) {
    if (*(int *)PTR_mips_pic_000b63d4 != 2) {
      if ((int)(uVar2 << 0xf) < 0) {
        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();
      }
      else {
        if (fragp->fr_symbol == (symbolS *)0x0) goto LAB_00082100;
        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;
        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(fragp->fr_symbol,0);
      }
      uVar2 = fragp->fr_subtype;
      if (iVar1 != 0) {
LAB_00082098:
        fragp->fr_subtype = uVar2 | 0x20000;
        return -((uVar2 << 0x10) >> 0x18);
      }
    }
LAB_00082100:
    return -(uVar2 & 0xff);
  }
  if ((uVar2 & 0xff) != 0) {
    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(fragp,segtype,0);
    if (iVar1 != 4) goto LAB_000821e8;
    uVar2 = fragp->fr_subtype;
  }
  if (-1 < (int)(uVar2 << 0xc)) {
    *(undefined4 *)&fragp->fr_var = 0;
    *(undefined4 *)((int)&fragp->fr_var + 4) = 4;
    return 4;
  }
  iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(fragp,segtype,0);
LAB_000821e8:
  *(int *)&fragp->fr_var = iVar1 >> 0x1f;
  *(int *)((int)&fragp->fr_var + 4) = iVar1;
  return iVar1;
}



int md_estimate_size_before_relax(int param_1,undefined4 param_2)

{
  int iVar1;
  uint uVar2;
  
  uVar2 = *(uint *)(param_1 + 0x48);
  if ((uVar2 & 0xf0000000) == 0xc0000000) {
    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);
    *(int *)(param_1 + 0x1c) = iVar1;
    *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;
    return iVar1;
  }
  if ((uVar2 & 0xc0000000) == 0x80000000) {
    if ((int)(uVar2 << 0xd) < 0) {
      iVar1 = 0xc;
      if ((uVar2 & 0x100) != 0) {
        iVar1 = 8;
      }
      return iVar1;
    }
    iVar1 = 2;
    if ((int)(uVar2 << 0xf) < 0) {
      iVar1 = 4;
    }
    return iVar1;
  }
  if ((uVar2 & 0xc0000000) != 0x40000000) {
    if (*(int *)PTR_mips_pic_000b63d4 != 2) {
      if ((int)(uVar2 << 0xf) < 0) {
        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();
      }
      else {
        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;
        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;
        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);
      }
      uVar2 = *(uint *)(param_1 + 0x48);
      if (iVar1 != 0) {
LAB_00082098:
        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;
        return -((uVar2 << 0x10) >> 0x18);
      }
    }
LAB_00082100:
    return -(uVar2 & 0xff);
  }
  if ((uVar2 & 0xff) != 0) {
    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);
    if (iVar1 != 4) goto LAB_000821e8;
    uVar2 = *(uint *)(param_1 + 0x48);
  }
  if (-1 < (int)(uVar2 << 0xc)) {
    *(undefined4 *)(param_1 + 0x18) = 0;
    *(undefined4 *)(param_1 + 0x1c) = 4;
    return 4;
  }
  iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0);
LAB_000821e8:
  *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;
  *(int *)(param_1 + 0x1c) = iVar1;
  return iVar1;
}


lui gp,0x4
addiu gp,gp,-0x439c
addu gp,gp,t9
addiu sp,sp,-0x28
lw v1,0x48(a0)
lui a2,0xf000
lui v0,0xc000
sw gp,0x10(sp)
and a2,v1,a2
sw s0,0x1c(sp)
or s0,a0,zero
sw ra,0x24(sp)
beq a2,v0,0x00082194
_sw s1,0x20(sp)
lui a2,0x8000
and v0,v1,v0
beq v0,a2,0x000820c0
_lui a2,0x4000
beq v0,a2,0x0008213c
_li v0,0x2
lw a0,-0x78ac(gp)
lw a0,0x0(a0)
beq a0,v0,0x00082100
_ext v0,v1,0x10,0x1
bne v0,zero,0x0008217c
_lw a0,0x28(s0)
beq a0,zero,0x00082100
_lw v0,-0x7fd8(gp)
lw v0,0x53a4(v0)
bne v0,zero,0x000820ec
_lw t9,-0x78bc(gp)
lui v0,0x2
lw ra,0x24(sp)
lw s1,0x20(sp)
or v1,v1,v0
ext v0,v1,0x8,0x8
sw v1,0x48(s0)
lw s0,0x1c(sp)
addiu sp,sp,0x28
jr ra
_subu v0,zero,v0
ext v0,v1,0x12,0x1
beq v0,zero,0x0008211c
_lw ra,0x24(sp)
li a0,0x8
li v0,0xc
lw s1,0x20(sp)
andi v1,v1,0x100
lw s0,0x1c(sp)
movn v0,a0,v1
jr ra
_addiu sp,sp,0x28
addiu t9,t9,0x1788
jalr t9
_or a1,zero,zero
bne v0,zero,0x00082098
_lw v1,0x48(s0)
lw ra,0x24(sp)
andi v1,v1,0xff
lw s1,0x20(sp)
subu v0,zero,v1
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
ext v1,v1,0x10,0x1
li a0,0x4
lw s1,0x20(sp)
li v0,0x2
lw s0,0x1c(sp)
addiu sp,sp,0x28
jr ra
_movn v0,a0,v1
andi v0,v1,0xff
bne v0,zero,0x000821c4
_or s1,a1,zero
ext v1,v1,0x13,0x1
bne v1,zero,0x000821fc
_lw t9,-0x78bc(gp)
or a0,zero,zero
li v1,0x4
li v0,0x4
sw a0,0x18(s0)
sw v1,0x1c(s0)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x78bc(gp)
addiu t9,t9,-0x3568
jalr t9
_nop
b 0x000820f8
_nop
lw t9,-0x78bc(gp)
addiu t9,t9,-0x53bc
jalr t9
_or a2,zero,zero
lw ra,0x24(sp)
sra v1,v0,0x1f
lw s1,0x20(sp)
sw v0,0x1c(s0)
sw v1,0x18(s0)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x78bc(gp)
addiu t9,t9,-0x518c
jalr t9
_or a2,zero,zero
li v1,0x4
beq v0,v1,0x000821f4
_lw gp,0x10(sp)
sra a0,v0,0x1f
or v1,v0,zero
sw a0,0x18(s0)
b 0x00082168
_sw v1,0x1c(s0)
b 0x00082148
_lw v1,0x48(s0)
or a2,zero,zero
or a0,s0,zero
addiu t9,t9,-0x3e78
jalr t9
_or a1,s1,zero
or v1,v0,zero
b 0x000821e8
_sra a0,v0,0x1f
(translation_unit "int md_estimate_size_before_relax(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(param_1 + 0x48);\n  if ((uVar2 & 0xf0000000) == 0xc0000000) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);\n    *(int *)(param_1 + 0x1c) = iVar1;\n    *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) == 0x80000000) {\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) != 0x40000000) {\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }\n  if ((uVar2 & 0xff) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = *(uint *)(param_1 + 0x48);\n  }\n  if (-1 < (int)(uVar2 << 0xc)) {\n    *(undefined4 *)(param_1 + 0x18) = 0;\n    *(undefined4 *)(param_1 + 0x1c) = 4;\n    return 4;\n  }\n  iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0);\nLAB_000821e8:\n  *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n  *(int *)(param_1 + 0x1c) = iVar1;\n  return iVar1;\n}\n\n" (function_definition "int md_estimate_size_before_relax(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(param_1 + 0x48);\n  if ((uVar2 & 0xf0000000) == 0xc0000000) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);\n    *(int *)(param_1 + 0x1c) = iVar1;\n    *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) == 0x80000000) {\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) != 0x40000000) {\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }\n  if ((uVar2 & 0xff) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = *(uint *)(param_1 + 0x48);\n  }\n  if (-1 < (int)(uVar2 << 0xc)) {\n    *(undefined4 *)(param_1 + 0x18) = 0;\n    *(undefined4 *)(param_1 + 0x1c) = 4;\n    return 4;\n  }\n  iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0);\nLAB_000821e8:\n  *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n  *(int *)(param_1 + 0x1c) = iVar1;\n  return iVar1;\n}" primitive_type (function_declarator "md_estimate_size_before_relax(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(param_1 + 0x48);\n  if ((uVar2 & 0xf0000000) == 0xc0000000) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);\n    *(int *)(param_1 + 0x1c) = iVar1;\n    *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) == 0x80000000) {\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) != 0x40000000) {\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }\n  if ((uVar2 & 0xff) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = *(uint *)(param_1 + 0x48);\n  }\n  if (-1 < (int)(uVar2 << 0xc)) {\n    *(undefined4 *)(param_1 + 0x18) = 0;\n    *(undefined4 *)(param_1 + 0x1c) = 4;\n    return 4;\n  }\n  iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0);\nLAB_000821e8:\n  *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n  *(int *)(param_1 + 0x1c) = iVar1;\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = *(uint *)(param_1 + 0x48);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x48)" identifier = (pointer_expression "*(uint *)(param_1 + 0x48)" * (cast_expression "(uint *)(param_1 + 0x48)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) (if_statement "if ((uVar2 & 0xf0000000) == 0xc0000000) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);\n    *(int *)(param_1 + 0x1c) = iVar1;\n    *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n    return iVar1;\n  }" if (parenthesized_expression "((uVar2 & 0xf0000000) == 0xc0000000)" ( (binary_expression "(uVar2 & 0xf0000000) == 0xc0000000" (parenthesized_expression "(uVar2 & 0xf0000000)" ( (binary_expression "uVar2 & 0xf0000000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);\n    *(int *)(param_1 + 0x1c) = iVar1;\n    *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n    return iVar1;\n  }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + -0x53bc))" ( (pointer_expression "*(code *)(PTR_LAB_000b63c4 + -0x53bc)" * (cast_expression "(code *)(PTR_LAB_000b63c4 + -0x53bc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b63c4 + -0x53bc)" ( (binary_expression "PTR_LAB_000b63c4 + -0x53bc" identifier + number_literal) )))) )) (argument_list "(param_1,param_2,0)" ( identifier , identifier , number_literal )))) ;) (expression_statement "*(int *)(param_1 + 0x1c) = iVar1;" (assignment_expression "*(int *)(param_1 + 0x1c) = iVar1" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x18) = iVar1 >> 0x1f;" (assignment_expression "*(int *)(param_1 + 0x18) = iVar1 >> 0x1f" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "iVar1 >> 0x1f" identifier >> number_literal)) ;) (return_statement "return iVar1;" return identifier ;) })) (if_statement "if ((uVar2 & 0xc0000000) == 0x80000000) {\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }" if (parenthesized_expression "((uVar2 & 0xc0000000) == 0x80000000)" ( (binary_expression "(uVar2 & 0xc0000000) == 0x80000000" (parenthesized_expression "(uVar2 & 0xc0000000)" ( (binary_expression "uVar2 & 0xc0000000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }" { (if_statement "if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }" if (parenthesized_expression "((int)(uVar2 << 0xd) < 0)" ( (binary_expression "(int)(uVar2 << 0xd) < 0" (cast_expression "(int)(uVar2 << 0xd)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar2 << 0xd)" ( (binary_expression "uVar2 << 0xd" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }" { (expression_statement "iVar1 = 0xc;" (assignment_expression "iVar1 = 0xc" identifier = number_literal) ;) (if_statement "if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }" if (parenthesized_expression "((uVar2 & 0x100) != 0)" ( (binary_expression "(uVar2 & 0x100) != 0" (parenthesized_expression "(uVar2 & 0x100)" ( (binary_expression "uVar2 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        iVar1 = 8;\n      }" { (expression_statement "iVar1 = 8;" (assignment_expression "iVar1 = 8" identifier = number_literal) ;) })) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = 2;" (assignment_expression "iVar1 = 2" identifier = number_literal) ;) (if_statement "if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }" if (parenthesized_expression "((int)(uVar2 << 0xf) < 0)" ( (binary_expression "(int)(uVar2 << 0xf) < 0" (cast_expression "(int)(uVar2 << 0xf)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar2 << 0xf)" ( (binary_expression "uVar2 << 0xf" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n      iVar1 = 4;\n    }" { (expression_statement "iVar1 = 4;" (assignment_expression "iVar1 = 4" identifier = number_literal) ;) })) (return_statement "return iVar1;" return identifier ;) })) (if_statement "if ((uVar2 & 0xc0000000) != 0x40000000) {\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }" if (parenthesized_expression "((uVar2 & 0xc0000000) != 0x40000000)" ( (binary_expression "(uVar2 & 0xc0000000) != 0x40000000" (parenthesized_expression "(uVar2 & 0xc0000000)" ( (binary_expression "uVar2 & 0xc0000000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }" { (if_statement "if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }" if (parenthesized_expression "(*(int *)PTR_mips_pic_000b63d4 != 2)" ( (binary_expression "*(int *)PTR_mips_pic_000b63d4 != 2" (pointer_expression "*(int *)PTR_mips_pic_000b63d4" * (cast_expression "(int *)PTR_mips_pic_000b63d4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }" { (if_statement "if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }" if (parenthesized_expression "((int)(uVar2 << 0xf) < 0)" ( (binary_expression "(int)(uVar2 << 0xf) < 0" (cast_expression "(int)(uVar2 << 0xf)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar2 << 0xf)" ( (binary_expression "uVar2 << 0xf" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))()" identifier = (call_expression "(*(code *)(PTR_LAB_000b63c4 + -0x3568))()" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + -0x3568))" ( (pointer_expression "*(code *)(PTR_LAB_000b63c4 + -0x3568)" * (cast_expression "(code *)(PTR_LAB_000b63c4 + -0x3568)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b63c4 + -0x3568)" ( (binary_expression "PTR_LAB_000b63c4 + -0x3568" identifier + number_literal) )))) )) (argument_list "()" ( )))) ;) }) (else_clause "else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }" else (compound_statement "{\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }" { (if_statement "if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;" if (parenthesized_expression "(*(int *)(param_1 + 0x28) == 0)" ( (binary_expression "*(int *)(param_1 + 0x28) == 0" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_00082100;" goto statement_identifier ;)) (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;" if (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53a4)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53a4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53a4)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53a4" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_00082098;" goto statement_identifier ;)) (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0)" identifier = (call_expression "(*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0)" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + 0x1788))" ( (pointer_expression "*(code *)(PTR_LAB_000b63c4 + 0x1788)" * (cast_expression "(code *)(PTR_LAB_000b63c4 + 0x1788)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b63c4 + 0x1788)" ( (binary_expression "PTR_LAB_000b63c4 + 0x1788" identifier + number_literal) )))) )) (argument_list "(*(int *)(param_1 + 0x28),0)" ( (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) , number_literal )))) ;) }))) (expression_statement "uVar2 = *(uint *)(param_1 + 0x48);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x48)" identifier = (pointer_expression "*(uint *)(param_1 + 0x48)" * (cast_expression "(uint *)(param_1 + 0x48)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }" { (labeled_statement "LAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;" statement_identifier : (expression_statement "*(uint *)(param_1 + 0x48) = uVar2 | 0x20000;" (assignment_expression "*(uint *)(param_1 + 0x48) = uVar2 | 0x20000" (pointer_expression "*(uint *)(param_1 + 0x48)" * (cast_expression "(uint *)(param_1 + 0x48)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = (binary_expression "uVar2 | 0x20000" identifier | number_literal)) ;)) (return_statement "return -((uVar2 << 0x10) >> 0x18);" return (unary_expression "-((uVar2 << 0x10) >> 0x18)" - (parenthesized_expression "((uVar2 << 0x10) >> 0x18)" ( (binary_expression "(uVar2 << 0x10) >> 0x18" (parenthesized_expression "(uVar2 << 0x10)" ( (binary_expression "uVar2 << 0x10" identifier << number_literal) )) >> number_literal) ))) ;) })) })) (labeled_statement "LAB_00082100:\n    return -(uVar2 & 0xff);" statement_identifier : (return_statement "return -(uVar2 & 0xff);" return (unary_expression "-(uVar2 & 0xff)" - (parenthesized_expression "(uVar2 & 0xff)" ( (binary_expression "uVar2 & 0xff" identifier & number_literal) ))) ;)) })) (if_statement "if ((uVar2 & 0xff) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = *(uint *)(param_1 + 0x48);\n  }" if (parenthesized_expression "((uVar2 & 0xff) != 0)" ( (binary_expression "(uVar2 & 0xff) != 0" (parenthesized_expression "(uVar2 & 0xff)" ( (binary_expression "uVar2 & 0xff" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = *(uint *)(param_1 + 0x48);\n  }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + -0x518c))" ( (pointer_expression "*(code *)(PTR_LAB_000b63c4 + -0x518c)" * (cast_expression "(code *)(PTR_LAB_000b63c4 + -0x518c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b63c4 + -0x518c)" ( (binary_expression "PTR_LAB_000b63c4 + -0x518c" identifier + number_literal) )))) )) (argument_list "(param_1,param_2,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar1 != 4) goto LAB_000821e8;" if (parenthesized_expression "(iVar1 != 4)" ( (binary_expression "iVar1 != 4" identifier != number_literal) )) (goto_statement "goto LAB_000821e8;" goto statement_identifier ;)) (expression_statement "uVar2 = *(uint *)(param_1 + 0x48);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x48)" identifier = (pointer_expression "*(uint *)(param_1 + 0x48)" * (cast_expression "(uint *)(param_1 + 0x48)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) })) (if_statement "if (-1 < (int)(uVar2 << 0xc)) {\n    *(undefined4 *)(param_1 + 0x18) = 0;\n    *(undefined4 *)(param_1 + 0x1c) = 4;\n    return 4;\n  }" if (parenthesized_expression "(-1 < (int)(uVar2 << 0xc))" ( (binary_expression "-1 < (int)(uVar2 << 0xc)" number_literal < (cast_expression "(int)(uVar2 << 0xc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar2 << 0xc)" ( (binary_expression "uVar2 << 0xc" identifier << number_literal) )))) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x18) = 0;\n    *(undefined4 *)(param_1 + 0x1c) = 4;\n    return 4;\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x18) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1c) = 4;" (assignment_expression "*(undefined4 *)(param_1 + 0x1c) = 4" (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 4;" return number_literal ;) })) (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + -0x3e78))" ( (pointer_expression "*(code *)(PTR_LAB_000b63c4 + -0x3e78)" * (cast_expression "(code *)(PTR_LAB_000b63c4 + -0x3e78)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b63c4 + -0x3e78)" ( (binary_expression "PTR_LAB_000b63c4 + -0x3e78" identifier + number_literal) )))) )) (argument_list "(param_1,param_2,0)" ( identifier , identifier , number_literal )))) ;) (labeled_statement "LAB_000821e8:\n  *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;" statement_identifier : (expression_statement "*(int *)(param_1 + 0x18) = iVar1 >> 0x1f;" (assignment_expression "*(int *)(param_1 + 0x18) = iVar1 >> 0x1f" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "iVar1 >> 0x1f" identifier >> number_literal)) ;)) (expression_statement "*(int *)(param_1 + 0x1c) = iVar1;" (assignment_expression "*(int *)(param_1 + 0x1c) = iVar1" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int md_estimate_size_before_relax(fragS *fragp,asection *segtype)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = fragp->fr_subtype;\n  if ((uVar2 & 0xf0000000) == 0xc0000000) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(fragp,segtype,0);\n    *(int *)((int)&fragp->fr_var + 4) = iVar1;\n    *(int *)&fragp->fr_var = iVar1 >> 0x1f;\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) == 0x80000000) {\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) != 0x40000000) {\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (fragp->fr_symbol == (symbolS *)0x0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(fragp->fr_symbol,0);\n      }\n      uVar2 = fragp->fr_subtype;\n      if (iVar1 != 0) {\nLAB_00082098:\n        fragp->fr_subtype = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }\n  if ((uVar2 & 0xff) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(fragp,segtype,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = fragp->fr_subtype;\n  }\n  if (-1 < (int)(uVar2 << 0xc)) {\n    *(undefined4 *)&fragp->fr_var = 0;\n    *(undefined4 *)((int)&fragp->fr_var + 4) = 4;\n    return 4;\n  }\n  iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(fragp,segtype,0);\nLAB_000821e8:\n  *(int *)&fragp->fr_var = iVar1 >> 0x1f;\n  *(int *)((int)&fragp->fr_var + 4) = iVar1;\n  return iVar1;\n}\n\n" (function_definition "int md_estimate_size_before_relax(fragS *fragp,asection *segtype)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = fragp->fr_subtype;\n  if ((uVar2 & 0xf0000000) == 0xc0000000) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(fragp,segtype,0);\n    *(int *)((int)&fragp->fr_var + 4) = iVar1;\n    *(int *)&fragp->fr_var = iVar1 >> 0x1f;\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) == 0x80000000) {\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) != 0x40000000) {\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (fragp->fr_symbol == (symbolS *)0x0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(fragp->fr_symbol,0);\n      }\n      uVar2 = fragp->fr_subtype;\n      if (iVar1 != 0) {\nLAB_00082098:\n        fragp->fr_subtype = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }\n  if ((uVar2 & 0xff) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(fragp,segtype,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = fragp->fr_subtype;\n  }\n  if (-1 < (int)(uVar2 << 0xc)) {\n    *(undefined4 *)&fragp->fr_var = 0;\n    *(undefined4 *)((int)&fragp->fr_var + 4) = 4;\n    return 4;\n  }\n  iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(fragp,segtype,0);\nLAB_000821e8:\n  *(int *)&fragp->fr_var = iVar1 >> 0x1f;\n  *(int *)((int)&fragp->fr_var + 4) = iVar1;\n  return iVar1;\n}" primitive_type (function_declarator "md_estimate_size_before_relax(fragS *fragp,asection *segtype)" identifier (parameter_list "(fragS *fragp,asection *segtype)" ( (parameter_declaration "fragS *fragp" type_identifier (pointer_declarator "*fragp" * identifier)) , (parameter_declaration "asection *segtype" type_identifier (pointer_declarator "*segtype" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = fragp->fr_subtype;\n  if ((uVar2 & 0xf0000000) == 0xc0000000) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(fragp,segtype,0);\n    *(int *)((int)&fragp->fr_var + 4) = iVar1;\n    *(int *)&fragp->fr_var = iVar1 >> 0x1f;\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) == 0x80000000) {\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) != 0x40000000) {\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (fragp->fr_symbol == (symbolS *)0x0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(fragp->fr_symbol,0);\n      }\n      uVar2 = fragp->fr_subtype;\n      if (iVar1 != 0) {\nLAB_00082098:\n        fragp->fr_subtype = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }\n  if ((uVar2 & 0xff) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(fragp,segtype,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = fragp->fr_subtype;\n  }\n  if (-1 < (int)(uVar2 << 0xc)) {\n    *(undefined4 *)&fragp->fr_var = 0;\n    *(undefined4 *)((int)&fragp->fr_var + 4) = 4;\n    return 4;\n  }\n  iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(fragp,segtype,0);\nLAB_000821e8:\n  *(int *)&fragp->fr_var = iVar1 >> 0x1f;\n  *(int *)((int)&fragp->fr_var + 4) = iVar1;\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = fragp->fr_subtype;" (assignment_expression "uVar2 = fragp->fr_subtype" identifier = (field_expression "fragp->fr_subtype" identifier -> field_identifier)) ;) (if_statement "if ((uVar2 & 0xf0000000) == 0xc0000000) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(fragp,segtype,0);\n    *(int *)((int)&fragp->fr_var + 4) = iVar1;\n    *(int *)&fragp->fr_var = iVar1 >> 0x1f;\n    return iVar1;\n  }" if (parenthesized_expression "((uVar2 & 0xf0000000) == 0xc0000000)" ( (binary_expression "(uVar2 & 0xf0000000) == 0xc0000000" (parenthesized_expression "(uVar2 & 0xf0000000)" ( (binary_expression "uVar2 & 0xf0000000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(fragp,segtype,0);\n    *(int *)((int)&fragp->fr_var + 4) = iVar1;\n    *(int *)&fragp->fr_var = iVar1 >> 0x1f;\n    return iVar1;\n  }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(fragp,segtype,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(fragp,segtype,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000b63c4 + -0x53bc))(fragp,segtype,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + -0x53bc))" ( (pointer_expression "*(code *)(PTR_LAB_000b63c4 + -0x53bc)" * (cast_expression "(code *)(PTR_LAB_000b63c4 + -0x53bc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b63c4 + -0x53bc)" ( (binary_expression "PTR_LAB_000b63c4 + -0x53bc" identifier + number_literal) )))) )) (argument_list "(fragp,segtype,0)" ( identifier , identifier , number_literal )))) ;) (expression_statement "*(int *)((int)&fragp->fr_var + 4) = iVar1;" (assignment_expression "*(int *)((int)&fragp->fr_var + 4) = iVar1" (pointer_expression "*(int *)((int)&fragp->fr_var + 4)" * (cast_expression "(int *)((int)&fragp->fr_var + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&fragp->fr_var + 4)" ( (binary_expression "(int)&fragp->fr_var + 4" (cast_expression "(int)&fragp->fr_var" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&fragp->fr_var" & (field_expression "fragp->fr_var" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)&fragp->fr_var = iVar1 >> 0x1f;" (assignment_expression "*(int *)&fragp->fr_var = iVar1 >> 0x1f" (pointer_expression "*(int *)&fragp->fr_var" * (cast_expression "(int *)&fragp->fr_var" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&fragp->fr_var" & (field_expression "fragp->fr_var" identifier -> field_identifier)))) = (binary_expression "iVar1 >> 0x1f" identifier >> number_literal)) ;) (return_statement "return iVar1;" return identifier ;) })) (if_statement "if ((uVar2 & 0xc0000000) == 0x80000000) {\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }" if (parenthesized_expression "((uVar2 & 0xc0000000) == 0x80000000)" ( (binary_expression "(uVar2 & 0xc0000000) == 0x80000000" (parenthesized_expression "(uVar2 & 0xc0000000)" ( (binary_expression "uVar2 & 0xc0000000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }" { (if_statement "if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }" if (parenthesized_expression "((int)(uVar2 << 0xd) < 0)" ( (binary_expression "(int)(uVar2 << 0xd) < 0" (cast_expression "(int)(uVar2 << 0xd)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar2 << 0xd)" ( (binary_expression "uVar2 << 0xd" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }" { (expression_statement "iVar1 = 0xc;" (assignment_expression "iVar1 = 0xc" identifier = number_literal) ;) (if_statement "if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }" if (parenthesized_expression "((uVar2 & 0x100) != 0)" ( (binary_expression "(uVar2 & 0x100) != 0" (parenthesized_expression "(uVar2 & 0x100)" ( (binary_expression "uVar2 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        iVar1 = 8;\n      }" { (expression_statement "iVar1 = 8;" (assignment_expression "iVar1 = 8" identifier = number_literal) ;) })) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = 2;" (assignment_expression "iVar1 = 2" identifier = number_literal) ;) (if_statement "if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }" if (parenthesized_expression "((int)(uVar2 << 0xf) < 0)" ( (binary_expression "(int)(uVar2 << 0xf) < 0" (cast_expression "(int)(uVar2 << 0xf)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar2 << 0xf)" ( (binary_expression "uVar2 << 0xf" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n      iVar1 = 4;\n    }" { (expression_statement "iVar1 = 4;" (assignment_expression "iVar1 = 4" identifier = number_literal) ;) })) (return_statement "return iVar1;" return identifier ;) })) (if_statement "if ((uVar2 & 0xc0000000) != 0x40000000) {\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (fragp->fr_symbol == (symbolS *)0x0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(fragp->fr_symbol,0);\n      }\n      uVar2 = fragp->fr_subtype;\n      if (iVar1 != 0) {\nLAB_00082098:\n        fragp->fr_subtype = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }" if (parenthesized_expression "((uVar2 & 0xc0000000) != 0x40000000)" ( (binary_expression "(uVar2 & 0xc0000000) != 0x40000000" (parenthesized_expression "(uVar2 & 0xc0000000)" ( (binary_expression "uVar2 & 0xc0000000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (fragp->fr_symbol == (symbolS *)0x0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(fragp->fr_symbol,0);\n      }\n      uVar2 = fragp->fr_subtype;\n      if (iVar1 != 0) {\nLAB_00082098:\n        fragp->fr_subtype = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }" { (if_statement "if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (fragp->fr_symbol == (symbolS *)0x0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(fragp->fr_symbol,0);\n      }\n      uVar2 = fragp->fr_subtype;\n      if (iVar1 != 0) {\nLAB_00082098:\n        fragp->fr_subtype = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }" if (parenthesized_expression "(*(int *)PTR_mips_pic_000b63d4 != 2)" ( (binary_expression "*(int *)PTR_mips_pic_000b63d4 != 2" (pointer_expression "*(int *)PTR_mips_pic_000b63d4" * (cast_expression "(int *)PTR_mips_pic_000b63d4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (fragp->fr_symbol == (symbolS *)0x0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(fragp->fr_symbol,0);\n      }\n      uVar2 = fragp->fr_subtype;\n      if (iVar1 != 0) {\nLAB_00082098:\n        fragp->fr_subtype = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }" { (if_statement "if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (fragp->fr_symbol == (symbolS *)0x0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(fragp->fr_symbol,0);\n      }" if (parenthesized_expression "((int)(uVar2 << 0xf) < 0)" ( (binary_expression "(int)(uVar2 << 0xf) < 0" (cast_expression "(int)(uVar2 << 0xf)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar2 << 0xf)" ( (binary_expression "uVar2 << 0xf" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))()" identifier = (call_expression "(*(code *)(PTR_LAB_000b63c4 + -0x3568))()" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + -0x3568))" ( (pointer_expression "*(code *)(PTR_LAB_000b63c4 + -0x3568)" * (cast_expression "(code *)(PTR_LAB_000b63c4 + -0x3568)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b63c4 + -0x3568)" ( (binary_expression "PTR_LAB_000b63c4 + -0x3568" identifier + number_literal) )))) )) (argument_list "()" ( )))) ;) }) (else_clause "else {\n        if (fragp->fr_symbol == (symbolS *)0x0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(fragp->fr_symbol,0);\n      }" else (compound_statement "{\n        if (fragp->fr_symbol == (symbolS *)0x0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(fragp->fr_symbol,0);\n      }" { (if_statement "if (fragp->fr_symbol == (symbolS *)0x0) goto LAB_00082100;" if (parenthesized_expression "(fragp->fr_symbol == (symbolS *)0x0)" ( (binary_expression "fragp->fr_symbol == (symbolS *)0x0" (field_expression "fragp->fr_symbol" identifier -> field_identifier) == (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00082100;" goto statement_identifier ;)) (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;" if (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53a4)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53a4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53a4)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53a4" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_00082098;" goto statement_identifier ;)) (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(fragp->fr_symbol,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(fragp->fr_symbol,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000b63c4 + 0x1788))(fragp->fr_symbol,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + 0x1788))" ( (pointer_expression "*(code *)(PTR_LAB_000b63c4 + 0x1788)" * (cast_expression "(code *)(PTR_LAB_000b63c4 + 0x1788)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b63c4 + 0x1788)" ( (binary_expression "PTR_LAB_000b63c4 + 0x1788" identifier + number_literal) )))) )) (argument_list "(fragp->fr_symbol,0)" ( (field_expression "fragp->fr_symbol" identifier -> field_identifier) , number_literal )))) ;) }))) (expression_statement "uVar2 = fragp->fr_subtype;" (assignment_expression "uVar2 = fragp->fr_subtype" identifier = (field_expression "fragp->fr_subtype" identifier -> field_identifier)) ;) (if_statement "if (iVar1 != 0) {\nLAB_00082098:\n        fragp->fr_subtype = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00082098:\n        fragp->fr_subtype = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }" { (labeled_statement "LAB_00082098:\n        fragp->fr_subtype = uVar2 | 0x20000;" statement_identifier : (expression_statement "fragp->fr_subtype = uVar2 | 0x20000;" (assignment_expression "fragp->fr_subtype = uVar2 | 0x20000" (field_expression "fragp->fr_subtype" identifier -> field_identifier) = (binary_expression "uVar2 | 0x20000" identifier | number_literal)) ;)) (return_statement "return -((uVar2 << 0x10) >> 0x18);" return (unary_expression "-((uVar2 << 0x10) >> 0x18)" - (parenthesized_expression "((uVar2 << 0x10) >> 0x18)" ( (binary_expression "(uVar2 << 0x10) >> 0x18" (parenthesized_expression "(uVar2 << 0x10)" ( (binary_expression "uVar2 << 0x10" identifier << number_literal) )) >> number_literal) ))) ;) })) })) (labeled_statement "LAB_00082100:\n    return -(uVar2 & 0xff);" statement_identifier : (return_statement "return -(uVar2 & 0xff);" return (unary_expression "-(uVar2 & 0xff)" - (parenthesized_expression "(uVar2 & 0xff)" ( (binary_expression "uVar2 & 0xff" identifier & number_literal) ))) ;)) })) (if_statement "if ((uVar2 & 0xff) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(fragp,segtype,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = fragp->fr_subtype;\n  }" if (parenthesized_expression "((uVar2 & 0xff) != 0)" ( (binary_expression "(uVar2 & 0xff) != 0" (parenthesized_expression "(uVar2 & 0xff)" ( (binary_expression "uVar2 & 0xff" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(fragp,segtype,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = fragp->fr_subtype;\n  }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(fragp,segtype,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(fragp,segtype,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000b63c4 + -0x518c))(fragp,segtype,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + -0x518c))" ( (pointer_expression "*(code *)(PTR_LAB_000b63c4 + -0x518c)" * (cast_expression "(code *)(PTR_LAB_000b63c4 + -0x518c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b63c4 + -0x518c)" ( (binary_expression "PTR_LAB_000b63c4 + -0x518c" identifier + number_literal) )))) )) (argument_list "(fragp,segtype,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar1 != 4) goto LAB_000821e8;" if (parenthesized_expression "(iVar1 != 4)" ( (binary_expression "iVar1 != 4" identifier != number_literal) )) (goto_statement "goto LAB_000821e8;" goto statement_identifier ;)) (expression_statement "uVar2 = fragp->fr_subtype;" (assignment_expression "uVar2 = fragp->fr_subtype" identifier = (field_expression "fragp->fr_subtype" identifier -> field_identifier)) ;) })) (if_statement "if (-1 < (int)(uVar2 << 0xc)) {\n    *(undefined4 *)&fragp->fr_var = 0;\n    *(undefined4 *)((int)&fragp->fr_var + 4) = 4;\n    return 4;\n  }" if (parenthesized_expression "(-1 < (int)(uVar2 << 0xc))" ( (binary_expression "-1 < (int)(uVar2 << 0xc)" number_literal < (cast_expression "(int)(uVar2 << 0xc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar2 << 0xc)" ( (binary_expression "uVar2 << 0xc" identifier << number_literal) )))) )) (compound_statement "{\n    *(undefined4 *)&fragp->fr_var = 0;\n    *(undefined4 *)((int)&fragp->fr_var + 4) = 4;\n    return 4;\n  }" { (expression_statement "*(undefined4 *)&fragp->fr_var = 0;" (assignment_expression "*(undefined4 *)&fragp->fr_var = 0" (pointer_expression "*(undefined4 *)&fragp->fr_var" * (cast_expression "(undefined4 *)&fragp->fr_var" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&fragp->fr_var" & (field_expression "fragp->fr_var" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&fragp->fr_var + 4) = 4;" (assignment_expression "*(undefined4 *)((int)&fragp->fr_var + 4) = 4" (pointer_expression "*(undefined4 *)((int)&fragp->fr_var + 4)" * (cast_expression "(undefined4 *)((int)&fragp->fr_var + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&fragp->fr_var + 4)" ( (binary_expression "(int)&fragp->fr_var + 4" (cast_expression "(int)&fragp->fr_var" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&fragp->fr_var" & (field_expression "fragp->fr_var" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (return_statement "return 4;" return number_literal ;) })) (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(fragp,segtype,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(fragp,segtype,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000b63c4 + -0x3e78))(fragp,segtype,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + -0x3e78))" ( (pointer_expression "*(code *)(PTR_LAB_000b63c4 + -0x3e78)" * (cast_expression "(code *)(PTR_LAB_000b63c4 + -0x3e78)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b63c4 + -0x3e78)" ( (binary_expression "PTR_LAB_000b63c4 + -0x3e78" identifier + number_literal) )))) )) (argument_list "(fragp,segtype,0)" ( identifier , identifier , number_literal )))) ;) (labeled_statement "LAB_000821e8:\n  *(int *)&fragp->fr_var = iVar1 >> 0x1f;" statement_identifier : (expression_statement "*(int *)&fragp->fr_var = iVar1 >> 0x1f;" (assignment_expression "*(int *)&fragp->fr_var = iVar1 >> 0x1f" (pointer_expression "*(int *)&fragp->fr_var" * (cast_expression "(int *)&fragp->fr_var" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&fragp->fr_var" & (field_expression "fragp->fr_var" identifier -> field_identifier)))) = (binary_expression "iVar1 >> 0x1f" identifier >> number_literal)) ;)) (expression_statement "*(int *)((int)&fragp->fr_var + 4) = iVar1;" (assignment_expression "*(int *)((int)&fragp->fr_var + 4) = iVar1" (pointer_expression "*(int *)((int)&fragp->fr_var + 4)" * (cast_expression "(int *)((int)&fragp->fr_var + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&fragp->fr_var + 4)" ( (binary_expression "(int)&fragp->fr_var + 4" (cast_expression "(int)&fragp->fr_var" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&fragp->fr_var" & (field_expression "fragp->fr_var" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "int md_estimate_size_before_relax(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(param_1 + 0x48);\n  if ((uVar2 & 0xf0000000) == 0xc0000000) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);\n    *(int *)(param_1 + 0x1c) = iVar1;\n    *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) == 0x80000000) {\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) != 0x40000000) {\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }\n  if ((uVar2 & 0xff) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = *(uint *)(param_1 + 0x48);\n  }\n  if (-1 < (int)(uVar2 << 0xc)) {\n    *(undefined4 *)(param_1 + 0x18) = 0;\n    *(undefined4 *)(param_1 + 0x1c) = 4;\n    return 4;\n  }\n  iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0);\nLAB_000821e8:\n  *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n  *(int *)(param_1 + 0x1c) = iVar1;\n  return iVar1;\n}\n\n" (function_definition "int md_estimate_size_before_relax(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(param_1 + 0x48);\n  if ((uVar2 & 0xf0000000) == 0xc0000000) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);\n    *(int *)(param_1 + 0x1c) = iVar1;\n    *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) == 0x80000000) {\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) != 0x40000000) {\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }\n  if ((uVar2 & 0xff) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = *(uint *)(param_1 + 0x48);\n  }\n  if (-1 < (int)(uVar2 << 0xc)) {\n    *(undefined4 *)(param_1 + 0x18) = 0;\n    *(undefined4 *)(param_1 + 0x1c) = 4;\n    return 4;\n  }\n  iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0);\nLAB_000821e8:\n  *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n  *(int *)(param_1 + 0x1c) = iVar1;\n  return iVar1;\n}" primitive_type (function_declarator "md_estimate_size_before_relax(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(param_1 + 0x48);\n  if ((uVar2 & 0xf0000000) == 0xc0000000) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);\n    *(int *)(param_1 + 0x1c) = iVar1;\n    *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) == 0x80000000) {\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) != 0x40000000) {\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }\n  if ((uVar2 & 0xff) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = *(uint *)(param_1 + 0x48);\n  }\n  if (-1 < (int)(uVar2 << 0xc)) {\n    *(undefined4 *)(param_1 + 0x18) = 0;\n    *(undefined4 *)(param_1 + 0x1c) = 4;\n    return 4;\n  }\n  iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0);\nLAB_000821e8:\n  *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n  *(int *)(param_1 + 0x1c) = iVar1;\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = *(uint *)(param_1 + 0x48);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x48)" identifier = (pointer_expression "*(uint *)(param_1 + 0x48)" * (cast_expression "(uint *)(param_1 + 0x48)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) (if_statement "if ((uVar2 & 0xf0000000) == 0xc0000000) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);\n    *(int *)(param_1 + 0x1c) = iVar1;\n    *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n    return iVar1;\n  }" if (parenthesized_expression "((uVar2 & 0xf0000000) == 0xc0000000)" ( (binary_expression "(uVar2 & 0xf0000000) == 0xc0000000" (parenthesized_expression "(uVar2 & 0xf0000000)" ( (binary_expression "uVar2 & 0xf0000000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);\n    *(int *)(param_1 + 0x1c) = iVar1;\n    *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n    return iVar1;\n  }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + -0x53bc))" ( (pointer_expression "*(code *)(PTR_LAB_000b63c4 + -0x53bc)" * (cast_expression "(code *)(PTR_LAB_000b63c4 + -0x53bc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b63c4 + -0x53bc)" ( (binary_expression "PTR_LAB_000b63c4 + -0x53bc" identifier + number_literal) )))) )) (argument_list "(param_1,param_2,0)" ( identifier , identifier , number_literal )))) ;) (expression_statement "*(int *)(param_1 + 0x1c) = iVar1;" (assignment_expression "*(int *)(param_1 + 0x1c) = iVar1" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x18) = iVar1 >> 0x1f;" (assignment_expression "*(int *)(param_1 + 0x18) = iVar1 >> 0x1f" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "iVar1 >> 0x1f" identifier >> number_literal)) ;) (return_statement "return iVar1;" return identifier ;) })) (if_statement "if ((uVar2 & 0xc0000000) == 0x80000000) {\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }" if (parenthesized_expression "((uVar2 & 0xc0000000) == 0x80000000)" ( (binary_expression "(uVar2 & 0xc0000000) == 0x80000000" (parenthesized_expression "(uVar2 & 0xc0000000)" ( (binary_expression "uVar2 & 0xc0000000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }" { (if_statement "if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }" if (parenthesized_expression "((int)(uVar2 << 0xd) < 0)" ( (binary_expression "(int)(uVar2 << 0xd) < 0" (cast_expression "(int)(uVar2 << 0xd)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar2 << 0xd)" ( (binary_expression "uVar2 << 0xd" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }" { (expression_statement "iVar1 = 0xc;" (assignment_expression "iVar1 = 0xc" identifier = number_literal) ;) (if_statement "if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }" if (parenthesized_expression "((uVar2 & 0x100) != 0)" ( (binary_expression "(uVar2 & 0x100) != 0" (parenthesized_expression "(uVar2 & 0x100)" ( (binary_expression "uVar2 & 0x100" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        iVar1 = 8;\n      }" { (expression_statement "iVar1 = 8;" (assignment_expression "iVar1 = 8" identifier = number_literal) ;) })) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = 2;" (assignment_expression "iVar1 = 2" identifier = number_literal) ;) (if_statement "if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }" if (parenthesized_expression "((int)(uVar2 << 0xf) < 0)" ( (binary_expression "(int)(uVar2 << 0xf) < 0" (cast_expression "(int)(uVar2 << 0xf)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar2 << 0xf)" ( (binary_expression "uVar2 << 0xf" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n      iVar1 = 4;\n    }" { (expression_statement "iVar1 = 4;" (assignment_expression "iVar1 = 4" identifier = number_literal) ;) })) (return_statement "return iVar1;" return identifier ;) })) (if_statement "if ((uVar2 & 0xc0000000) != 0x40000000) {\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }" if (parenthesized_expression "((uVar2 & 0xc0000000) != 0x40000000)" ( (binary_expression "(uVar2 & 0xc0000000) != 0x40000000" (parenthesized_expression "(uVar2 & 0xc0000000)" ( (binary_expression "uVar2 & 0xc0000000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }" { (if_statement "if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }" if (parenthesized_expression "(*(int *)PTR_mips_pic_000b63d4 != 2)" ( (binary_expression "*(int *)PTR_mips_pic_000b63d4 != 2" (pointer_expression "*(int *)PTR_mips_pic_000b63d4" * (cast_expression "(int *)PTR_mips_pic_000b63d4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }" { (if_statement "if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }" if (parenthesized_expression "((int)(uVar2 << 0xf) < 0)" ( (binary_expression "(int)(uVar2 << 0xf) < 0" (cast_expression "(int)(uVar2 << 0xf)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar2 << 0xf)" ( (binary_expression "uVar2 << 0xf" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))()" identifier = (call_expression "(*(code *)(PTR_LAB_000b63c4 + -0x3568))()" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + -0x3568))" ( (pointer_expression "*(code *)(PTR_LAB_000b63c4 + -0x3568)" * (cast_expression "(code *)(PTR_LAB_000b63c4 + -0x3568)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b63c4 + -0x3568)" ( (binary_expression "PTR_LAB_000b63c4 + -0x3568" identifier + number_literal) )))) )) (argument_list "()" ( )))) ;) }) (else_clause "else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }" else (compound_statement "{\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }" { (if_statement "if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;" if (parenthesized_expression "(*(int *)(param_1 + 0x28) == 0)" ( (binary_expression "*(int *)(param_1 + 0x28) == 0" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_00082100;" goto statement_identifier ;)) (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;" if (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53a4)" * (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53a4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53a4)" ( (binary_expression "PTR_DAT_000b5ca8 + 0x53a4" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_00082098;" goto statement_identifier ;)) (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0)" identifier = (call_expression "(*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0)" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + 0x1788))" ( (pointer_expression "*(code *)(PTR_LAB_000b63c4 + 0x1788)" * (cast_expression "(code *)(PTR_LAB_000b63c4 + 0x1788)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b63c4 + 0x1788)" ( (binary_expression "PTR_LAB_000b63c4 + 0x1788" identifier + number_literal) )))) )) (argument_list "(*(int *)(param_1 + 0x28),0)" ( (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) , number_literal )))) ;) }))) (expression_statement "uVar2 = *(uint *)(param_1 + 0x48);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x48)" identifier = (pointer_expression "*(uint *)(param_1 + 0x48)" * (cast_expression "(uint *)(param_1 + 0x48)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }" { (labeled_statement "LAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;" statement_identifier : (expression_statement "*(uint *)(param_1 + 0x48) = uVar2 | 0x20000;" (assignment_expression "*(uint *)(param_1 + 0x48) = uVar2 | 0x20000" (pointer_expression "*(uint *)(param_1 + 0x48)" * (cast_expression "(uint *)(param_1 + 0x48)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = (binary_expression "uVar2 | 0x20000" identifier | number_literal)) ;)) (return_statement "return -((uVar2 << 0x10) >> 0x18);" return (unary_expression "-((uVar2 << 0x10) >> 0x18)" - (parenthesized_expression "((uVar2 << 0x10) >> 0x18)" ( (binary_expression "(uVar2 << 0x10) >> 0x18" (parenthesized_expression "(uVar2 << 0x10)" ( (binary_expression "uVar2 << 0x10" identifier << number_literal) )) >> number_literal) ))) ;) })) })) (labeled_statement "LAB_00082100:\n    return -(uVar2 & 0xff);" statement_identifier : (return_statement "return -(uVar2 & 0xff);" return (unary_expression "-(uVar2 & 0xff)" - (parenthesized_expression "(uVar2 & 0xff)" ( (binary_expression "uVar2 & 0xff" identifier & number_literal) ))) ;)) })) (if_statement "if ((uVar2 & 0xff) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = *(uint *)(param_1 + 0x48);\n  }" if (parenthesized_expression "((uVar2 & 0xff) != 0)" ( (binary_expression "(uVar2 & 0xff) != 0" (parenthesized_expression "(uVar2 & 0xff)" ( (binary_expression "uVar2 & 0xff" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = *(uint *)(param_1 + 0x48);\n  }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + -0x518c))" ( (pointer_expression "*(code *)(PTR_LAB_000b63c4 + -0x518c)" * (cast_expression "(code *)(PTR_LAB_000b63c4 + -0x518c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b63c4 + -0x518c)" ( (binary_expression "PTR_LAB_000b63c4 + -0x518c" identifier + number_literal) )))) )) (argument_list "(param_1,param_2,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar1 != 4) goto LAB_000821e8;" if (parenthesized_expression "(iVar1 != 4)" ( (binary_expression "iVar1 != 4" identifier != number_literal) )) (goto_statement "goto LAB_000821e8;" goto statement_identifier ;)) (expression_statement "uVar2 = *(uint *)(param_1 + 0x48);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x48)" identifier = (pointer_expression "*(uint *)(param_1 + 0x48)" * (cast_expression "(uint *)(param_1 + 0x48)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) })) (if_statement "if (-1 < (int)(uVar2 << 0xc)) {\n    *(undefined4 *)(param_1 + 0x18) = 0;\n    *(undefined4 *)(param_1 + 0x1c) = 4;\n    return 4;\n  }" if (parenthesized_expression "(-1 < (int)(uVar2 << 0xc))" ( (binary_expression "-1 < (int)(uVar2 << 0xc)" number_literal < (cast_expression "(int)(uVar2 << 0xc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar2 << 0xc)" ( (binary_expression "uVar2 << 0xc" identifier << number_literal) )))) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x18) = 0;\n    *(undefined4 *)(param_1 + 0x1c) = 4;\n    return 4;\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x18) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1c) = 4;" (assignment_expression "*(undefined4 *)(param_1 + 0x1c) = 4" (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 4;" return number_literal ;) })) (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0)" identifier = (call_expression "(*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + -0x3e78))" ( (pointer_expression "*(code *)(PTR_LAB_000b63c4 + -0x3e78)" * (cast_expression "(code *)(PTR_LAB_000b63c4 + -0x3e78)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000b63c4 + -0x3e78)" ( (binary_expression "PTR_LAB_000b63c4 + -0x3e78" identifier + number_literal) )))) )) (argument_list "(param_1,param_2,0)" ( identifier , identifier , number_literal )))) ;) (labeled_statement "LAB_000821e8:\n  *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;" statement_identifier : (expression_statement "*(int *)(param_1 + 0x18) = iVar1 >> 0x1f;" (assignment_expression "*(int *)(param_1 + 0x18) = iVar1 >> 0x1f" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "iVar1 >> 0x1f" identifier >> number_literal)) ;)) (expression_statement "*(int *)(param_1 + 0x1c) = iVar1;" (assignment_expression "*(int *)(param_1 + 0x1c) = iVar1" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT >> LIT)) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT << LIT) ))) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT << LIT) ))) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT << LIT) ))) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( )))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT | LIT)) ;)) (return_statement return (unary_expression - (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT << LIT) )) >> LIT) ))) ;) })) })) (labeled_statement statement_identifier : (return_statement return (unary_expression - (parenthesized_expression ( (binary_expression IDENT & LIT) ))) ;)) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT << LIT) )))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT , LIT )))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT >> LIT)) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "int md_estimate_size_before_relax(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(param_1 + 0x48);\n  if ((uVar2 & 0xf0000000) == 0xc0000000) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);\n    *(int *)(param_1 + 0x1c) = iVar1;\n    *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) == 0x80000000) {\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) != 0x40000000) {\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }\n  if ((uVar2 & 0xff) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = *(uint *)(param_1 + 0x48);\n  }\n  if (-1 < (int)(uVar2 << 0xc)) {\n    *(undefined4 *)(param_1 + 0x18) = 0;\n    *(undefined4 *)(param_1 + 0x1c) = 4;\n    return 4;\n  }\n  iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0);\nLAB_000821e8:\n  *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n  *(int *)(param_1 + 0x1c) = iVar1;\n  return iVar1;\n}" (primitive_type "int") (function_declarator "md_estimate_size_before_relax(int param_1,undefined4 param_2)" (identifier "md_estimate_size_before_relax") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(param_1 + 0x48);\n  if ((uVar2 & 0xf0000000) == 0xc0000000) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);\n    *(int *)(param_1 + 0x1c) = iVar1;\n    *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) == 0x80000000) {\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }\n  if ((uVar2 & 0xc0000000) != 0x40000000) {\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }\n  if ((uVar2 & 0xff) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = *(uint *)(param_1 + 0x48);\n  }\n  if (-1 < (int)(uVar2 << 0xc)) {\n    *(undefined4 *)(param_1 + 0x18) = 0;\n    *(undefined4 *)(param_1 + 0x1c) = 4;\n    return 4;\n  }\n  iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0);\nLAB_000821e8:\n  *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n  *(int *)(param_1 + 0x1c) = iVar1;\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (expression_statement "uVar2 = *(uint *)(param_1 + 0x48);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x48)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_1 + 0x48)" (* "*") (cast_expression "(uint *)(param_1 + 0x48)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (if_statement "if ((uVar2 & 0xf0000000) == 0xc0000000) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);\n    *(int *)(param_1 + 0x1c) = iVar1;\n    *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n    return iVar1;\n  }" (if "if") (parenthesized_expression "((uVar2 & 0xf0000000) == 0xc0000000)" (( "(") (binary_expression "(uVar2 & 0xf0000000) == 0xc0000000" (parenthesized_expression "(uVar2 & 0xf0000000)" (( "(") (binary_expression "uVar2 & 0xf0000000" (identifier "uVar2") (& "&") (number_literal "0xf0000000")) () ")")) (== "==") (number_literal "0xc0000000")) () ")")) (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);\n    *(int *)(param_1 + 0x1c) = iVar1;\n    *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;\n    return iVar1;\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0)" (identifier "iVar1") (= "=") (call_expression "(*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + -0x53bc))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000b63c4 + -0x53bc)" (* "*") (cast_expression "(code *)(PTR_LAB_000b63c4 + -0x53bc)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000b63c4 + -0x53bc)" (( "(") (binary_expression "PTR_LAB_000b63c4 + -0x53bc" (identifier "PTR_LAB_000b63c4") (+ "+") (number_literal "-0x53bc")) () ")")))) () ")")) (argument_list "(param_1,param_2,0)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "*(int *)(param_1 + 0x1c) = iVar1;" (assignment_expression "*(int *)(param_1 + 0x1c) = iVar1" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "*(int *)(param_1 + 0x18) = iVar1 >> 0x1f;" (assignment_expression "*(int *)(param_1 + 0x18) = iVar1 >> 0x1f" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "iVar1 >> 0x1f" (identifier "iVar1") (>> ">>") (number_literal "0x1f"))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (if_statement "if ((uVar2 & 0xc0000000) == 0x80000000) {\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }" (if "if") (parenthesized_expression "((uVar2 & 0xc0000000) == 0x80000000)" (( "(") (binary_expression "(uVar2 & 0xc0000000) == 0x80000000" (parenthesized_expression "(uVar2 & 0xc0000000)" (( "(") (binary_expression "uVar2 & 0xc0000000" (identifier "uVar2") (& "&") (number_literal "0xc0000000")) () ")")) (== "==") (number_literal "0x80000000")) () ")")) (compound_statement "{\n    if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }\n    iVar1 = 2;\n    if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }\n    return iVar1;\n  }" ({ "{") (if_statement "if ((int)(uVar2 << 0xd) < 0) {\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }" (if "if") (parenthesized_expression "((int)(uVar2 << 0xd) < 0)" (( "(") (binary_expression "(int)(uVar2 << 0xd) < 0" (cast_expression "(int)(uVar2 << 0xd)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar2 << 0xd)" (( "(") (binary_expression "uVar2 << 0xd" (identifier "uVar2") (<< "<<") (number_literal "0xd")) () ")"))) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = 0xc;\n      if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }\n      return iVar1;\n    }" ({ "{") (expression_statement "iVar1 = 0xc;" (assignment_expression "iVar1 = 0xc" (identifier "iVar1") (= "=") (number_literal "0xc")) (; ";")) (if_statement "if ((uVar2 & 0x100) != 0) {\n        iVar1 = 8;\n      }" (if "if") (parenthesized_expression "((uVar2 & 0x100) != 0)" (( "(") (binary_expression "(uVar2 & 0x100) != 0" (parenthesized_expression "(uVar2 & 0x100)" (( "(") (binary_expression "uVar2 & 0x100" (identifier "uVar2") (& "&") (number_literal "0x100")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar1 = 8;\n      }" ({ "{") (expression_statement "iVar1 = 8;" (assignment_expression "iVar1 = 8" (identifier "iVar1") (= "=") (number_literal "8")) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "iVar1 = 2;" (assignment_expression "iVar1 = 2" (identifier "iVar1") (= "=") (number_literal "2")) (; ";")) (if_statement "if ((int)(uVar2 << 0xf) < 0) {\n      iVar1 = 4;\n    }" (if "if") (parenthesized_expression "((int)(uVar2 << 0xf) < 0)" (( "(") (binary_expression "(int)(uVar2 << 0xf) < 0" (cast_expression "(int)(uVar2 << 0xf)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar2 << 0xf)" (( "(") (binary_expression "uVar2 << 0xf" (identifier "uVar2") (<< "<<") (number_literal "0xf")) () ")"))) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = 4;\n    }" ({ "{") (expression_statement "iVar1 = 4;" (assignment_expression "iVar1 = 4" (identifier "iVar1") (= "=") (number_literal "4")) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (if_statement "if ((uVar2 & 0xc0000000) != 0x40000000) {\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }" (if "if") (parenthesized_expression "((uVar2 & 0xc0000000) != 0x40000000)" (( "(") (binary_expression "(uVar2 & 0xc0000000) != 0x40000000" (parenthesized_expression "(uVar2 & 0xc0000000)" (( "(") (binary_expression "uVar2 & 0xc0000000" (identifier "uVar2") (& "&") (number_literal "0xc0000000")) () ")")) (!= "!=") (number_literal "0x40000000")) () ")")) (compound_statement "{\n    if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }\nLAB_00082100:\n    return -(uVar2 & 0xff);\n  }" ({ "{") (if_statement "if (*(int *)PTR_mips_pic_000b63d4 != 2) {\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }" (if "if") (parenthesized_expression "(*(int *)PTR_mips_pic_000b63d4 != 2)" (( "(") (binary_expression "*(int *)PTR_mips_pic_000b63d4 != 2" (pointer_expression "*(int *)PTR_mips_pic_000b63d4" (* "*") (cast_expression "(int *)PTR_mips_pic_000b63d4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_mips_pic_000b63d4"))) (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n      if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }\n      uVar2 = *(uint *)(param_1 + 0x48);\n      if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }\n    }" ({ "{") (if_statement "if ((int)(uVar2 << 0xf) < 0) {\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }\n      else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }" (if "if") (parenthesized_expression "((int)(uVar2 << 0xf) < 0)" (( "(") (binary_expression "(int)(uVar2 << 0xf) < 0" (cast_expression "(int)(uVar2 << 0xf)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar2 << 0xf)" (( "(") (binary_expression "uVar2 << 0xf" (identifier "uVar2") (<< "<<") (number_literal "0xf")) () ")"))) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();\n      }" ({ "{") (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))()" (identifier "iVar1") (= "=") (call_expression "(*(code *)(PTR_LAB_000b63c4 + -0x3568))()" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + -0x3568))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000b63c4 + -0x3568)" (* "*") (cast_expression "(code *)(PTR_LAB_000b63c4 + -0x3568)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000b63c4 + -0x3568)" (( "(") (binary_expression "PTR_LAB_000b63c4 + -0x3568" (identifier "PTR_LAB_000b63c4") (+ "+") (number_literal "-0x3568")) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")) (else_clause "else {\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }" (else "else") (compound_statement "{\n        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;\n        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;\n        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);\n      }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x28) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x28) == 0" (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00082100;" (goto "goto") (statement_identifier "LAB_00082100") (; ";"))) (if_statement "if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0" (pointer_expression "*(int *)(PTR_DAT_000b5ca8 + 0x53a4)" (* "*") (cast_expression "(int *)(PTR_DAT_000b5ca8 + 0x53a4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000b5ca8 + 0x53a4)" (( "(") (binary_expression "PTR_DAT_000b5ca8 + 0x53a4" (identifier "PTR_DAT_000b5ca8") (+ "+") (number_literal "0x53a4")) () ")")))) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00082098;" (goto "goto") (statement_identifier "LAB_00082098") (; ";"))) (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0)" (identifier "iVar1") (= "=") (call_expression "(*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0)" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + 0x1788))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000b63c4 + 0x1788)" (* "*") (cast_expression "(code *)(PTR_LAB_000b63c4 + 0x1788)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000b63c4 + 0x1788)" (( "(") (binary_expression "PTR_LAB_000b63c4 + 0x1788" (identifier "PTR_LAB_000b63c4") (+ "+") (number_literal "0x1788")) () ")")))) () ")")) (argument_list "(*(int *)(param_1 + 0x28),0)" (( "(") (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")))) (expression_statement "uVar2 = *(uint *)(param_1 + 0x48);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x48)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_1 + 0x48)" (* "*") (cast_expression "(uint *)(param_1 + 0x48)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) {\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;\n        return -((uVar2 << 0x10) >> 0x18);\n      }" ({ "{") (labeled_statement "LAB_00082098:\n        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;" (statement_identifier "LAB_00082098") (: ":") (expression_statement "*(uint *)(param_1 + 0x48) = uVar2 | 0x20000;" (assignment_expression "*(uint *)(param_1 + 0x48) = uVar2 | 0x20000" (pointer_expression "*(uint *)(param_1 + 0x48)" (* "*") (cast_expression "(uint *)(param_1 + 0x48)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (= "=") (binary_expression "uVar2 | 0x20000" (identifier "uVar2") (| "|") (number_literal "0x20000"))) (; ";"))) (return_statement "return -((uVar2 << 0x10) >> 0x18);" (return "return") (unary_expression "-((uVar2 << 0x10) >> 0x18)" (- "-") (parenthesized_expression "((uVar2 << 0x10) >> 0x18)" (( "(") (binary_expression "(uVar2 << 0x10) >> 0x18" (parenthesized_expression "(uVar2 << 0x10)" (( "(") (binary_expression "uVar2 << 0x10" (identifier "uVar2") (<< "<<") (number_literal "0x10")) () ")")) (>> ">>") (number_literal "0x18")) () ")"))) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_00082100:\n    return -(uVar2 & 0xff);" (statement_identifier "LAB_00082100") (: ":") (return_statement "return -(uVar2 & 0xff);" (return "return") (unary_expression "-(uVar2 & 0xff)" (- "-") (parenthesized_expression "(uVar2 & 0xff)" (( "(") (binary_expression "uVar2 & 0xff" (identifier "uVar2") (& "&") (number_literal "0xff")) () ")"))) (; ";"))) (} "}"))) (if_statement "if ((uVar2 & 0xff) != 0) {\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = *(uint *)(param_1 + 0x48);\n  }" (if "if") (parenthesized_expression "((uVar2 & 0xff) != 0)" (( "(") (binary_expression "(uVar2 & 0xff) != 0" (parenthesized_expression "(uVar2 & 0xff)" (( "(") (binary_expression "uVar2 & 0xff" (identifier "uVar2") (& "&") (number_literal "0xff")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);\n    if (iVar1 != 4) goto LAB_000821e8;\n    uVar2 = *(uint *)(param_1 + 0x48);\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0)" (identifier "iVar1") (= "=") (call_expression "(*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + -0x518c))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000b63c4 + -0x518c)" (* "*") (cast_expression "(code *)(PTR_LAB_000b63c4 + -0x518c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000b63c4 + -0x518c)" (( "(") (binary_expression "PTR_LAB_000b63c4 + -0x518c" (identifier "PTR_LAB_000b63c4") (+ "+") (number_literal "-0x518c")) () ")")))) () ")")) (argument_list "(param_1,param_2,0)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar1 != 4) goto LAB_000821e8;" (if "if") (parenthesized_expression "(iVar1 != 4)" (( "(") (binary_expression "iVar1 != 4" (identifier "iVar1") (!= "!=") (number_literal "4")) () ")")) (goto_statement "goto LAB_000821e8;" (goto "goto") (statement_identifier "LAB_000821e8") (; ";"))) (expression_statement "uVar2 = *(uint *)(param_1 + 0x48);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x48)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_1 + 0x48)" (* "*") (cast_expression "(uint *)(param_1 + 0x48)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (-1 < (int)(uVar2 << 0xc)) {\n    *(undefined4 *)(param_1 + 0x18) = 0;\n    *(undefined4 *)(param_1 + 0x1c) = 4;\n    return 4;\n  }" (if "if") (parenthesized_expression "(-1 < (int)(uVar2 << 0xc))" (( "(") (binary_expression "-1 < (int)(uVar2 << 0xc)" (number_literal "-1") (< "<") (cast_expression "(int)(uVar2 << 0xc)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar2 << 0xc)" (( "(") (binary_expression "uVar2 << 0xc" (identifier "uVar2") (<< "<<") (number_literal "0xc")) () ")")))) () ")")) (compound_statement "{\n    *(undefined4 *)(param_1 + 0x18) = 0;\n    *(undefined4 *)(param_1 + 0x1c) = 4;\n    return 4;\n  }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x18) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x1c) = 4;" (assignment_expression "*(undefined4 *)(param_1 + 0x1c) = 4" (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "4")) (; ";")) (return_statement "return 4;" (return "return") (number_literal "4") (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0)" (identifier "iVar1") (= "=") (call_expression "(*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0)" (parenthesized_expression "(*(code *)(PTR_LAB_000b63c4 + -0x3e78))" (( "(") (pointer_expression "*(code *)(PTR_LAB_000b63c4 + -0x3e78)" (* "*") (cast_expression "(code *)(PTR_LAB_000b63c4 + -0x3e78)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000b63c4 + -0x3e78)" (( "(") (binary_expression "PTR_LAB_000b63c4 + -0x3e78" (identifier "PTR_LAB_000b63c4") (+ "+") (number_literal "-0x3e78")) () ")")))) () ")")) (argument_list "(param_1,param_2,0)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (number_literal "0") () ")")))) (; ";")) (labeled_statement "LAB_000821e8:\n  *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;" (statement_identifier "LAB_000821e8") (: ":") (expression_statement "*(int *)(param_1 + 0x18) = iVar1 >> 0x1f;" (assignment_expression "*(int *)(param_1 + 0x18) = iVar1 >> 0x1f" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "iVar1 >> 0x1f" (identifier "iVar1") (>> ">>") (number_literal "0x1f"))) (; ";"))) (expression_statement "*(int *)(param_1 + 0x1c) = iVar1;" (assignment_expression "*(int *)(param_1 + 0x1c) = iVar1" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "iVar1")) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list (identifier) (identifier) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))))) (return_statement (unary_expression argument: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))))) (labeled_statement label: (statement_identifier) (return_statement (unary_expression argument: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list (identifier) (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) arguments: (argument_list (identifier) (identifier) (number_literal))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement (identifier)))))

int MASKED(int param_1,undefined4 param_2)

{
  int iVar1;
  uint uVar2;
  
  uVar2 = *(uint *)(param_1 + 0x48);
  if ((uVar2 & 0xf0000000) == 0xc0000000) {
    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x53bc))(param_1,param_2,0);
    *(int *)(param_1 + 0x1c) = iVar1;
    *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;
    return iVar1;
  }
  if ((uVar2 & 0xc0000000) == 0x80000000) {
    if ((int)(uVar2 << 0xd) < 0) {
      iVar1 = 0xc;
      if ((uVar2 & 0x100) != 0) {
        iVar1 = 8;
      }
      return iVar1;
    }
    iVar1 = 2;
    if ((int)(uVar2 << 0xf) < 0) {
      iVar1 = 4;
    }
    return iVar1;
  }
  if ((uVar2 & 0xc0000000) != 0x40000000) {
    if (*(int *)PTR_mips_pic_000b63d4 != 2) {
      if ((int)(uVar2 << 0xf) < 0) {
        iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3568))();
      }
      else {
        if (*(int *)(param_1 + 0x28) == 0) goto LAB_00082100;
        if (*(int *)(PTR_DAT_000b5ca8 + 0x53a4) == 0) goto LAB_00082098;
        iVar1 = (*(code *)(PTR_LAB_000b63c4 + 0x1788))(*(int *)(param_1 + 0x28),0);
      }
      uVar2 = *(uint *)(param_1 + 0x48);
      if (iVar1 != 0) {
LAB_00082098:
        *(uint *)(param_1 + 0x48) = uVar2 | 0x20000;
        return -((uVar2 << 0x10) >> 0x18);
      }
    }
LAB_00082100:
    return -(uVar2 & 0xff);
  }
  if ((uVar2 & 0xff) != 0) {
    iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x518c))(param_1,param_2,0);
    if (iVar1 != 4) goto LAB_000821e8;
    uVar2 = *(uint *)(param_1 + 0x48);
  }
  if (-1 < (int)(uVar2 << 0xc)) {
    *(undefined4 *)(param_1 + 0x18) = 0;
    *(undefined4 *)(param_1 + 0x1c) = 4;
    return 4;
  }
  iVar1 = (*(code *)(PTR_LAB_000b63c4 + -0x3e78))(param_1,param_2,0);
LAB_000821e8:
  *(int *)(param_1 + 0x18) = iVar1 >> 0x1f;
  *(int *)(param_1 + 0x1c) = iVar1;
  return iVar1;
}

