
/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* DWARF original prototype: void do_get_global_symbol_counts(Sized_dynobj<64,_true> * this,
   Symbol_table * param_1, size_t * defined, size_t * used) */

void __thiscall
gold::Sized_dynobj<64,_true>::do_get_global_symbol_counts
          (Sized_dynobj<64,_true> *this,Symbol_table *param_1,size_t *defined,size_t *used)

{
  pointer ppSVar1;
  Symbol *pSVar2;
  byte bVar3;
  uint uVar4;
  Symbols *pSVar5;
  pointer ppSVar6;
  size_t sVar7;
  
  pSVar5 = this->symbols_;
  ppSVar6 = (pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.
            _M_start;
  ppSVar1 = (pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.
            _M_finish;
  *defined = this->defined_count_;
  if (ppSVar6 == ppSVar1) {
    sVar7 = 0;
  }
  else {
    sVar7 = 0;
    do {
      while (pSVar2 = *ppSVar6, pSVar2 == (Symbol *)0x0) {
LAB_00162e5c:
        ppSVar6 = ppSVar6 + 1;
        if ((pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.
            _M_finish == ppSVar6) goto LAB_00162ed4;
      }
      uVar4 = *(uint *)&pSVar2->field_0x28;
      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;
      if ((uVar4 & 0xe000) != 0) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,
                            PTR_s__s_004c1a50 + -0x6b8);
      }
      if (this != (Sized_dynobj<64,_true> *)(pSVar2->u1_).object) goto LAB_00162e5c;
      if ((int)(uVar4 << 0x1d) < 0) {
        bVar3 = (pSVar2->u2_).shndx != 0;
      }
      else {
        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();
        bVar3 = bVar3 ^ 1;
        pSVar5 = this->symbols_;
      }
      if ((bVar3 == 0) || ((*ppSVar6)->dynsym_index_ == 0)) goto LAB_00162e5c;
      ppSVar6 = ppSVar6 + 1;
      sVar7 = sVar7 + 1;
    } while ((pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.
             _M_finish != ppSVar6);
  }
LAB_00162ed4:
  *used = sVar7;
  return;
}



void FUN_00162e14(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)

{
  int *piVar1;
  int iVar2;
  byte bVar3;
  uint uVar4;
  undefined4 *puVar5;
  int *piVar6;
  int iVar7;
  
  puVar5 = *(undefined4 **)(param_1 + 0x84);
  piVar6 = (int *)*puVar5;
  piVar1 = (int *)puVar5[1];
  *param_3 = *(undefined4 *)(param_1 + 0x88);
  if (piVar6 == piVar1) {
    iVar7 = 0;
  }
  else {
    iVar7 = 0;
    do {
      while (iVar2 = *piVar6, iVar2 == 0) {
LAB_00162e5c:
        piVar6 = piVar6 + 1;
        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;
      }
      uVar4 = *(uint *)(iVar2 + 0x28);
      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;
      if ((uVar4 & 0xe000) != 0) {
                    /* WARNING: Subroutine does not return */
        gold::do_gold_unreachable
                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,
                   PTR_s__s_004c1a50 + -0x6b8);
      }
      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;
      if ((int)(uVar4 << 0x1d) < 0) {
        bVar3 = *(int *)(iVar2 + 0xc) != 0;
      }
      else {
        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();
        bVar3 = bVar3 ^ 1;
        puVar5 = *(undefined4 **)(param_1 + 0x84);
      }
      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;
      piVar6 = piVar6 + 1;
      iVar7 = iVar7 + 1;
    } while ((int *)puVar5[1] != piVar6);
  }
LAB_00162ed4:
  *param_4 = iVar7;
  return;
}


lui gp,0x36
addiu gp,gp,0x642c
addu gp,gp,t9
lw a1,0x84(a0)
addiu sp,sp,-0x28
lw v1,0x88(a0)
sw s0,0x18(sp)
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
lw s0,0x0(a1)
lw v0,0x4(a1)
beq s0,v0,0x00162f10
_sw v1,0x0(a2)
or s1,a0,zero
b 0x00162e6c
_or s2,zero,zero
lw v0,0x4(a1)
addiu s0,s0,0x4
beq v0,s0,0x00162ed4
_lw ra,0x24(sp)
lw v0,0x0(s0)
beq v0,zero,0x00162e5c
_nop
lw v1,0x28(v0)
ext a0,v1,0xd,0x3
bne a0,zero,0x00162e5c
_andi a0,v1,0xe000
bne a0,zero,0x00162f18
_lw a2,-0x77f0(gp)
lw a0,0x8(v0)
bne s1,a0,0x00162e5c
_ext v1,v1,0x2,0x1
beq v1,zero,0x00162eec
_lw a0,0xc(v0)
sltu a0,zero,a0
beq a0,zero,0x00162e5c
_nop
lw v0,0x0(s0)
lw v0,0x14(v0)
beq v0,zero,0x00162e5c
_nop
lw v0,0x4(a1)
addiu s0,s0,0x4
bne v0,s0,0x00162e6c
_addiu s2,s2,0x1
lw ra,0x24(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
sw s2,0x0(a3)
lw s2,0x20(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x7574(gp)
jalr t9
_sw a3,0x34(sp)
xori a0,v0,0x1
lw gp,0x10(sp)
lw a1,0x84(s1)
andi a0,a0,0xff
b 0x00162ea8
_lw a3,0x34(sp)
b 0x00162ed0
_or s2,zero,zero
li a1,0xa1
lw a0,-0x7fc4(gp)
lw t9,-0x7810(gp)
addiu a2,a2,-0x6b8
bal 0x0017db90
_addiu a0,a0,0x3860
(translation_unit "void FUN_00162e14(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  byte bVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int iVar7;\n  \n  puVar5 = *(undefined4 **)(param_1 + 0x84);\n  piVar6 = (int *)*puVar5;\n  piVar1 = (int *)puVar5[1];\n  *param_3 = *(undefined4 *)(param_1 + 0x88);\n  if (piVar6 == piVar1) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 0;\n    do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    /* WARNING: Subroutine does not return */\n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);\n  }\nLAB_00162ed4:\n  *param_4 = iVar7;\n  return;\n}\n\n" (function_definition "void FUN_00162e14(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  byte bVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int iVar7;\n  \n  puVar5 = *(undefined4 **)(param_1 + 0x84);\n  piVar6 = (int *)*puVar5;\n  piVar1 = (int *)puVar5[1];\n  *param_3 = *(undefined4 *)(param_1 + 0x88);\n  if (piVar6 == piVar1) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 0;\n    do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    /* WARNING: Subroutine does not return */\n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);\n  }\nLAB_00162ed4:\n  *param_4 = iVar7;\n  return;\n}" primitive_type (function_declarator "FUN_00162e14(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  byte bVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int iVar7;\n  \n  puVar5 = *(undefined4 **)(param_1 + 0x84);\n  piVar6 = (int *)*puVar5;\n  piVar1 = (int *)puVar5[1];\n  *param_3 = *(undefined4 *)(param_1 + 0x88);\n  if (piVar6 == piVar1) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 0;\n    do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    /* WARNING: Subroutine does not return */\n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);\n  }\nLAB_00162ed4:\n  *param_4 = iVar7;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "puVar5 = *(undefined4 **)(param_1 + 0x84);" (assignment_expression "puVar5 = *(undefined4 **)(param_1 + 0x84)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x84)" * (cast_expression "(undefined4 **)(param_1 + 0x84)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x84)" ( (binary_expression "param_1 + 0x84" identifier + number_literal) ))))) ;) (expression_statement "piVar6 = (int *)*puVar5;" (assignment_expression "piVar6 = (int *)*puVar5" identifier = (cast_expression "(int *)*puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) (expression_statement "piVar1 = (int *)puVar5[1];" (assignment_expression "piVar1 = (int *)puVar5[1]" identifier = (cast_expression "(int *)puVar5[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) ;) (expression_statement "*param_3 = *(undefined4 *)(param_1 + 0x88);" (assignment_expression "*param_3 = *(undefined4 *)(param_1 + 0x88)" (pointer_expression "*param_3" * identifier) = (pointer_expression "*(undefined4 *)(param_1 + 0x88)" * (cast_expression "(undefined4 *)(param_1 + 0x88)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) ))))) ;) (if_statement "if (piVar6 == piVar1) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 0;\n    do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    /* WARNING: Subroutine does not return */\n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);\n  }" if (parenthesized_expression "(piVar6 == piVar1)" ( (binary_expression "piVar6 == piVar1" identifier == identifier) )) (compound_statement "{\n    iVar7 = 0;\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar7 = 0;\n    do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    /* WARNING: Subroutine does not return */\n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);\n  }" else (compound_statement "{\n    iVar7 = 0;\n    do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    /* WARNING: Subroutine does not return */\n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    /* WARNING: Subroutine does not return */\n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);" do (compound_statement "{\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    /* WARNING: Subroutine does not return */\n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    }" { (while_statement "while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }" while (parenthesized_expression "(iVar2 = *piVar6, iVar2 == 0)" ( (comma_expression "iVar2 = *piVar6, iVar2 == 0" (assignment_expression "iVar2 = *piVar6" identifier = (pointer_expression "*piVar6" * identifier)) , (binary_expression "iVar2 == 0" identifier == number_literal)) )) (compound_statement "{\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }" { (labeled_statement "LAB_00162e5c:\n        piVar6 = piVar6 + 1;" statement_identifier : (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;)) (if_statement "if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;" if (parenthesized_expression "((int *)puVar5[1] == piVar6)" ( (binary_expression "(int *)puVar5[1] == piVar6" (cast_expression "(int *)puVar5[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ])) == identifier) )) (goto_statement "goto LAB_00162ed4;" goto statement_identifier ;)) })) (expression_statement "uVar4 = *(uint *)(iVar2 + 0x28);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x28)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x28)" * (cast_expression "(uint *)(iVar2 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x28)" ( (binary_expression "iVar2 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;" if (parenthesized_expression "((uVar4 << 0x10) >> 0x1d != 0)" ( (binary_expression "(uVar4 << 0x10) >> 0x1d != 0" (binary_expression "(uVar4 << 0x10) >> 0x1d" (parenthesized_expression "(uVar4 << 0x10)" ( (binary_expression "uVar4 << 0x10" identifier << number_literal) )) >> number_literal) != number_literal) )) (goto_statement "goto LAB_00162e5c;" goto statement_identifier ;)) (if_statement "if ((uVar4 & 0xe000) != 0) {\n                    /* WARNING: Subroutine does not return */\n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }" if (parenthesized_expression "((uVar4 & 0xe000) != 0)" ( (binary_expression "(uVar4 & 0xe000) != 0" (parenthesized_expression "(uVar4 & 0xe000)" ( (binary_expression "uVar4 & 0xe000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }" { comment (labeled_statement "gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);" statement_identifier : (ERROR ":" :) (expression_statement "do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);" (call_expression "do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8)" identifier (argument_list "(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860" identifier + number_literal) , number_literal , (binary_expression "PTR_s__s_004c1a50 + -0x6b8" identifier + number_literal) ))) ;)) })) (if_statement "if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;" if (parenthesized_expression "(param_1 != *(int *)(iVar2 + 8))" ( (binary_expression "param_1 != *(int *)(iVar2 + 8)" identifier != (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) )) (goto_statement "goto LAB_00162e5c;" goto statement_identifier ;)) (if_statement "if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }" if (parenthesized_expression "((int)(uVar4 << 0x1d) < 0)" ( (binary_expression "(int)(uVar4 << 0x1d) < 0" (cast_expression "(int)(uVar4 << 0x1d)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar4 << 0x1d)" ( (binary_expression "uVar4 << 0x1d" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }" { (expression_statement "bVar3 = *(int *)(iVar2 + 0xc) != 0;" (assignment_expression "bVar3 = *(int *)(iVar2 + 0xc) != 0" identifier = (binary_expression "*(int *)(iVar2 + 0xc) != 0" (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) != number_literal)) ;) }) (else_clause "else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }" else (compound_statement "{\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }" { (expression_statement "bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();" (assignment_expression "bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)()" identifier = (call_expression "(*(code *)PTR_is_common_shndx_004c1ccc)()" (parenthesized_expression "(*(code *)PTR_is_common_shndx_004c1ccc)" ( (pointer_expression "*(code *)PTR_is_common_shndx_004c1ccc" * (cast_expression "(code *)PTR_is_common_shndx_004c1ccc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "bVar3 = bVar3 ^ 1;" (assignment_expression "bVar3 = bVar3 ^ 1" identifier = (binary_expression "bVar3 ^ 1" identifier ^ number_literal)) ;) (expression_statement "puVar5 = *(undefined4 **)(param_1 + 0x84);" (assignment_expression "puVar5 = *(undefined4 **)(param_1 + 0x84)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x84)" * (cast_expression "(undefined4 **)(param_1 + 0x84)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x84)" ( (binary_expression "param_1 + 0x84" identifier + number_literal) ))))) ;) }))) (if_statement "if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;" if (parenthesized_expression "((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0))" ( (binary_expression "(bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)" (parenthesized_expression "(bVar3 == 0)" ( (binary_expression "bVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(*piVar6 + 0x14) == 0)" ( (binary_expression "*(int *)(*piVar6 + 0x14) == 0" (pointer_expression "*(int *)(*piVar6 + 0x14)" * (cast_expression "(int *)(*piVar6 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar6 + 0x14)" ( (binary_expression "*piVar6 + 0x14" (pointer_expression "*piVar6" * identifier) + number_literal) )))) == number_literal) ))) )) (goto_statement "goto LAB_00162e5c;" goto statement_identifier ;)) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int *)puVar5[1] != piVar6)" ( (binary_expression "(int *)puVar5[1] != piVar6" (cast_expression "(int *)puVar5[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ])) != identifier) )) ;) }))) (labeled_statement "LAB_00162ed4:\n  *param_4 = iVar7;" statement_identifier : (expression_statement "*param_4 = iVar7;" (assignment_expression "*param_4 = iVar7" (pointer_expression "*param_4" * identifier) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */\n/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */\n/* DWARF original prototype: void do_get_global_symbol_counts(Sized_dynobj<64,_true> * this,\n   Symbol_table * param_1, size_t * defined, size_t * used) */\n\nvoid __thiscall\ngold::Sized_dynobj<64,_true>::do_get_global_symbol_counts\n          (Sized_dynobj<64,_true> *this,Symbol_table *param_1,size_t *defined,size_t *used)\n\n{\n  pointer ppSVar1;\n  Symbol *pSVar2;\n  byte bVar3;\n  uint uVar4;\n  Symbols *pSVar5;\n  pointer ppSVar6;\n  size_t sVar7;\n  \n  pSVar5 = this->symbols_;\n  ppSVar6 = (pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_start;\n  ppSVar1 = (pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_finish;\n  *defined = this->defined_count_;\n  if (ppSVar6 == ppSVar1) {\n    sVar7 = 0;\n  }\n  else {\n    sVar7 = 0;\n    do {\n      while (pSVar2 = *ppSVar6, pSVar2 == (Symbol *)0x0) {\nLAB_00162e5c:\n        ppSVar6 = ppSVar6 + 1;\n        if ((pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_finish == ppSVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)&pSVar2->field_0x28;\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                            PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (this != (Sized_dynobj<64,_true> *)(pSVar2->u1_).object) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = (pSVar2->u2_).shndx != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        pSVar5 = this->symbols_;\n      }\n      if ((bVar3 == 0) || ((*ppSVar6)->dynsym_index_ == 0)) goto LAB_00162e5c;\n      ppSVar6 = ppSVar6 + 1;\n      sVar7 = sVar7 + 1;\n    } while ((pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n             _M_finish != ppSVar6);\n  }\nLAB_00162ed4:\n  *used = sVar7;\n  return;\n}\n\n" comment comment comment (declaration "void __thiscall\ngold::Sized_dynobj<64,_true>::do_get_global_symbol_counts\n          (Sized_dynobj<64,_true> *this,Symbol_table *param_1,size_t *defined,size_t *used)\n\n{\n  pointer ppSVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_true>::do_get_global_symbol_counts\n          (Sized_dynobj<64,_true> *this,Symbol_table *param_1,size_t *defined,size_t *used)\n\n{\n  pointer" identifier > : : (function_declarator "do_get_global_symbol_counts\n          (Sized_dynobj<64,_true> *this,Symbol_table *param_1,size_t *defined,size_t *used)" identifier (parameter_list "(Sized_dynobj<64,_true> *this,Symbol_table *param_1,size_t *defined,size_t *used)" ( (parameter_declaration "Sized_dynobj" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol_table *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "size_t *defined" primitive_type (pointer_declarator "*defined" * identifier)) , (parameter_declaration "size_t *used" primitive_type (pointer_declarator "*used" * identifier)) ))) { identifier) identifier ;) (declaration "Symbol *pSVar2;" type_identifier (pointer_declarator "*pSVar2" * identifier) ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "Symbols *pSVar5;" type_identifier (pointer_declarator "*pSVar5" * identifier) ;) (declaration "pointer ppSVar6;" type_identifier identifier ;) (declaration "size_t sVar7;" primitive_type identifier ;) (expression_statement "pSVar5 = this->symbols_;" (assignment_expression "pSVar5 = this->symbols_" identifier = (field_expression "this->symbols_" identifier -> field_identifier)) ;) (expression_statement "ppSVar6 = (pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_start;" (assignment_expression "ppSVar6 = (pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_start" identifier = (field_expression "(pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_start" (field_expression "(pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl" (parenthesized_expression "(pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)" ( (binary_expression "pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>" (binary_expression "pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_" (binary_expression "pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*" (binary_expression "pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold" (binary_expression "pSVar5->super__Vector_base<gold::Symbol*,_std" (binary_expression "pSVar5->super__Vector_base<gold" (field_expression "pSVar5->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol" : : identifier) * identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "ppSVar1 = (pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_finish;" (assignment_expression "ppSVar1 = (pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_finish" identifier = (field_expression "(pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_finish" (field_expression "(pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl" (parenthesized_expression "(pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)" ( (binary_expression "pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>" (binary_expression "pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_" (binary_expression "pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*" (binary_expression "pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold" (binary_expression "pSVar5->super__Vector_base<gold::Symbol*,_std" (binary_expression "pSVar5->super__Vector_base<gold" (field_expression "pSVar5->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol" : : identifier) * identifier) > identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "*defined = this->defined_count_;" (assignment_expression "*defined = this->defined_count_" (pointer_expression "*defined" * identifier) = (field_expression "this->defined_count_" identifier -> field_identifier)) ;) (if_statement "if (ppSVar6 == ppSVar1) {\n    sVar7 = 0;\n  }\n  else {\n    sVar7 = 0;\n    do {\n      while (pSVar2 = *ppSVar6, pSVar2 == (Symbol *)0x0) {\nLAB_00162e5c:\n        ppSVar6 = ppSVar6 + 1;\n        if ((pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_finish == ppSVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)&pSVar2->field_0x28;\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                            PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (this != (Sized_dynobj<64,_true> *)(pSVar2->u1_).object) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = (pSVar2->u2_).shndx != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        pSVar5 = this->symbols_;\n      }\n      if ((bVar3 == 0) || ((*ppSVar6)->dynsym_index_ == 0)) goto LAB_00162e5c;\n      ppSVar6 = ppSVar6 + 1;\n      sVar7 = sVar7 + 1;\n    } while ((pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n             _M_finish != ppSVar6);\n  }" if (parenthesized_expression "(ppSVar6 == ppSVar1)" ( (binary_expression "ppSVar6 == ppSVar1" identifier == identifier) )) (compound_statement "{\n    sVar7 = 0;\n  }" { (expression_statement "sVar7 = 0;" (assignment_expression "sVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    sVar7 = 0;\n    do {\n      while (pSVar2 = *ppSVar6, pSVar2 == (Symbol *)0x0) {\nLAB_00162e5c:\n        ppSVar6 = ppSVar6 + 1;\n        if ((pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_finish == ppSVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)&pSVar2->field_0x28;\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                            PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (this != (Sized_dynobj<64,_true> *)(pSVar2->u1_).object) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = (pSVar2->u2_).shndx != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        pSVar5 = this->symbols_;\n      }\n      if ((bVar3 == 0) || ((*ppSVar6)->dynsym_index_ == 0)) goto LAB_00162e5c;\n      ppSVar6 = ppSVar6 + 1;\n      sVar7 = sVar7 + 1;\n    } while ((pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n             _M_finish != ppSVar6);\n  }" else (compound_statement "{\n    sVar7 = 0;\n    do {\n      while (pSVar2 = *ppSVar6, pSVar2 == (Symbol *)0x0) {\nLAB_00162e5c:\n        ppSVar6 = ppSVar6 + 1;\n        if ((pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_finish == ppSVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)&pSVar2->field_0x28;\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                            PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (this != (Sized_dynobj<64,_true> *)(pSVar2->u1_).object) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = (pSVar2->u2_).shndx != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        pSVar5 = this->symbols_;\n      }\n      if ((bVar3 == 0) || ((*ppSVar6)->dynsym_index_ == 0)) goto LAB_00162e5c;\n      ppSVar6 = ppSVar6 + 1;\n      sVar7 = sVar7 + 1;\n    } while ((pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n             _M_finish != ppSVar6);\n  }" { (expression_statement "sVar7 = 0;" (assignment_expression "sVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (pSVar2 = *ppSVar6, pSVar2 == (Symbol *)0x0) {\nLAB_00162e5c:\n        ppSVar6 = ppSVar6 + 1;\n        if ((pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_finish == ppSVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)&pSVar2->field_0x28;\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                            PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (this != (Sized_dynobj<64,_true> *)(pSVar2->u1_).object) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = (pSVar2->u2_).shndx != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        pSVar5 = this->symbols_;\n      }\n      if ((bVar3 == 0) || ((*ppSVar6)->dynsym_index_ == 0)) goto LAB_00162e5c;\n      ppSVar6 = ppSVar6 + 1;\n      sVar7 = sVar7 + 1;\n    } while ((pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n             _M_finish != ppSVar6);" do (compound_statement "{\n      while (pSVar2 = *ppSVar6, pSVar2 == (Symbol *)0x0) {\nLAB_00162e5c:\n        ppSVar6 = ppSVar6 + 1;\n        if ((pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_finish == ppSVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)&pSVar2->field_0x28;\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                            PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (this != (Sized_dynobj<64,_true> *)(pSVar2->u1_).object) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = (pSVar2->u2_).shndx != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        pSVar5 = this->symbols_;\n      }\n      if ((bVar3 == 0) || ((*ppSVar6)->dynsym_index_ == 0)) goto LAB_00162e5c;\n      ppSVar6 = ppSVar6 + 1;\n      sVar7 = sVar7 + 1;\n    }" { (while_statement "while (pSVar2 = *ppSVar6, pSVar2 == (Symbol *)0x0) {\nLAB_00162e5c:\n        ppSVar6 = ppSVar6 + 1;\n        if ((pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_finish == ppSVar6) goto LAB_00162ed4;\n      }" while (parenthesized_expression "(pSVar2 = *ppSVar6, pSVar2 == (Symbol *)0x0)" ( (comma_expression "pSVar2 = *ppSVar6, pSVar2 == (Symbol *)0x0" (assignment_expression "pSVar2 = *ppSVar6" identifier = (pointer_expression "*ppSVar6" * identifier)) , (binary_expression "pSVar2 == (Symbol *)0x0" identifier == (cast_expression "(Symbol *)0x0" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\nLAB_00162e5c:\n        ppSVar6 = ppSVar6 + 1;\n        if ((pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_finish == ppSVar6) goto LAB_00162ed4;\n      }" { (labeled_statement "LAB_00162e5c:\n        ppSVar6 = ppSVar6 + 1;" statement_identifier : (expression_statement "ppSVar6 = ppSVar6 + 1;" (assignment_expression "ppSVar6 = ppSVar6 + 1" identifier = (binary_expression "ppSVar6 + 1" identifier + number_literal)) ;)) (if_statement "if ((pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_finish == ppSVar6) goto LAB_00162ed4;" if (parenthesized_expression "((pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_finish == ppSVar6)" ( (binary_expression "(pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_finish == ppSVar6" (field_expression "(pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n            _M_finish" (field_expression "(pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl" (parenthesized_expression "(pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)" ( (binary_expression "pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>" (binary_expression "pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_" (binary_expression "pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold" (binary_expression "pSVar5->super__Vector_base<gold::Symbol*,_std" (binary_expression "pSVar5->super__Vector_base<gold" (field_expression "pSVar5->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) == identifier) )) (goto_statement "goto LAB_00162ed4;" goto statement_identifier ;)) })) (expression_statement "uVar4 = *(uint *)&pSVar2->field_0x28;" (assignment_expression "uVar4 = *(uint *)&pSVar2->field_0x28" identifier = (pointer_expression "*(uint *)&pSVar2->field_0x28" * (cast_expression "(uint *)&pSVar2->field_0x28" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pSVar2->field_0x28" & (field_expression "pSVar2->field_0x28" identifier -> field_identifier))))) ;) (if_statement "if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;" if (parenthesized_expression "((uVar4 << 0x10) >> 0x1d != 0)" ( (binary_expression "(uVar4 << 0x10) >> 0x1d != 0" (binary_expression "(uVar4 << 0x10) >> 0x1d" (parenthesized_expression "(uVar4 << 0x10)" ( (binary_expression "uVar4 << 0x10" identifier << number_literal) )) >> number_literal) != number_literal) )) (goto_statement "goto LAB_00162e5c;" goto statement_identifier ;)) (if_statement "if ((uVar4 & 0xe000) != 0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                            PTR_s__s_004c1a50 + -0x6b8);\n      }" if (parenthesized_expression "((uVar4 & 0xe000) != 0)" ( (binary_expression "(uVar4 & 0xe000) != 0" (parenthesized_expression "(uVar4 & 0xe000)" ( (binary_expression "uVar4 & 0xe000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                            PTR_s__s_004c1a50 + -0x6b8);\n      }" { comment (expression_statement "do_gold_unreachable(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                            PTR_s__s_004c1a50 + -0x6b8);" (call_expression "do_gold_unreachable(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                            PTR_s__s_004c1a50 + -0x6b8)" identifier (argument_list "(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                            PTR_s__s_004c1a50 + -0x6b8)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860" identifier + number_literal) , number_literal , (binary_expression "PTR_s__s_004c1a50 + -0x6b8" identifier + number_literal) ))) ;) })) (if_statement "if (this != (Sized_dynobj<64,_true> *)(pSVar2->u1_).object) goto LAB_00162e5c;" if (parenthesized_expression "(this != (Sized_dynobj<64,_true> *)(pSVar2->u1_).object)" ( (binary_expression "this != (Sized_dynobj<64,_true> *)(pSVar2->u1_).object" identifier != (field_expression "(Sized_dynobj<64,_true> *)(pSVar2->u1_).object" (call_expression "(Sized_dynobj<64,_true> *)(pSVar2->u1_)" (parenthesized_expression "(Sized_dynobj<64,_true> *)" ( (comma_expression "Sized_dynobj<64,_true> *" (binary_expression "Sized_dynobj<64" identifier < number_literal) , (binary_expression "_true> *" identifier > (pointer_expression "*" * identifier))) )) (argument_list "(pSVar2->u1_)" ( (field_expression "pSVar2->u1_" identifier -> field_identifier) ))) . field_identifier)) )) (goto_statement "goto LAB_00162e5c;" goto statement_identifier ;)) (if_statement "if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = (pSVar2->u2_).shndx != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        pSVar5 = this->symbols_;\n      }" if (parenthesized_expression "((int)(uVar4 << 0x1d) < 0)" ( (binary_expression "(int)(uVar4 << 0x1d) < 0" (cast_expression "(int)(uVar4 << 0x1d)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar4 << 0x1d)" ( (binary_expression "uVar4 << 0x1d" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n        bVar3 = (pSVar2->u2_).shndx != 0;\n      }" { (expression_statement "bVar3 = (pSVar2->u2_).shndx != 0;" (assignment_expression "bVar3 = (pSVar2->u2_).shndx != 0" identifier = (binary_expression "(pSVar2->u2_).shndx != 0" (field_expression "(pSVar2->u2_).shndx" (parenthesized_expression "(pSVar2->u2_)" ( (field_expression "pSVar2->u2_" identifier -> field_identifier) )) . field_identifier) != number_literal)) ;) }) (else_clause "else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        pSVar5 = this->symbols_;\n      }" else (compound_statement "{\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        pSVar5 = this->symbols_;\n      }" { (expression_statement "bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();" (assignment_expression "bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)()" identifier = (call_expression "(*(code *)PTR_is_common_shndx_004c1ccc)()" (parenthesized_expression "(*(code *)PTR_is_common_shndx_004c1ccc)" ( (pointer_expression "*(code *)PTR_is_common_shndx_004c1ccc" * (cast_expression "(code *)PTR_is_common_shndx_004c1ccc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "bVar3 = bVar3 ^ 1;" (assignment_expression "bVar3 = bVar3 ^ 1" identifier = (binary_expression "bVar3 ^ 1" identifier ^ number_literal)) ;) (expression_statement "pSVar5 = this->symbols_;" (assignment_expression "pSVar5 = this->symbols_" identifier = (field_expression "this->symbols_" identifier -> field_identifier)) ;) }))) (if_statement "if ((bVar3 == 0) || ((*ppSVar6)->dynsym_index_ == 0)) goto LAB_00162e5c;" if (parenthesized_expression "((bVar3 == 0) || ((*ppSVar6)->dynsym_index_ == 0))" ( (binary_expression "(bVar3 == 0) || ((*ppSVar6)->dynsym_index_ == 0)" (parenthesized_expression "(bVar3 == 0)" ( (binary_expression "bVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "((*ppSVar6)->dynsym_index_ == 0)" ( (binary_expression "(*ppSVar6)->dynsym_index_ == 0" (field_expression "(*ppSVar6)->dynsym_index_" (parenthesized_expression "(*ppSVar6)" ( (pointer_expression "*ppSVar6" * identifier) )) -> field_identifier) == number_literal) ))) )) (goto_statement "goto LAB_00162e5c;" goto statement_identifier ;)) (expression_statement "ppSVar6 = ppSVar6 + 1;" (assignment_expression "ppSVar6 = ppSVar6 + 1" identifier = (binary_expression "ppSVar6 + 1" identifier + number_literal)) ;) (expression_statement "sVar7 = sVar7 + 1;" (assignment_expression "sVar7 = sVar7 + 1" identifier = (binary_expression "sVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n             _M_finish != ppSVar6)" ( (binary_expression "(pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n             _M_finish != ppSVar6" (field_expression "(pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl.\n             _M_finish" (field_expression "(pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)._M_impl" (parenthesized_expression "(pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>)" ( (binary_expression "pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>" (binary_expression "pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_" (binary_expression "pSVar5->super__Vector_base<gold::Symbol*,_std::allocator<gold" (binary_expression "pSVar5->super__Vector_base<gold::Symbol*,_std" (binary_expression "pSVar5->super__Vector_base<gold" (field_expression "pSVar5->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) != identifier) )) ;) }))) (labeled_statement "LAB_00162ed4:\n  *used = sVar7;" statement_identifier : (expression_statement "*used = sVar7;" (assignment_expression "*used = sVar7" (pointer_expression "*used" * identifier) = identifier) ;)) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_00162e14(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  byte bVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int iVar7;\n  \n  puVar5 = *(undefined4 **)(param_1 + 0x84);\n  piVar6 = (int *)*puVar5;\n  piVar1 = (int *)puVar5[1];\n  *param_3 = *(undefined4 *)(param_1 + 0x88);\n  if (piVar6 == piVar1) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 0;\n    do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);\n  }\nLAB_00162ed4:\n  *param_4 = iVar7;\n  return;\n}\n\n" (function_definition "void FUN_00162e14(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  byte bVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int iVar7;\n  \n  puVar5 = *(undefined4 **)(param_1 + 0x84);\n  piVar6 = (int *)*puVar5;\n  piVar1 = (int *)puVar5[1];\n  *param_3 = *(undefined4 *)(param_1 + 0x88);\n  if (piVar6 == piVar1) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 0;\n    do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);\n  }\nLAB_00162ed4:\n  *param_4 = iVar7;\n  return;\n}" primitive_type (function_declarator "FUN_00162e14(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  byte bVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int iVar7;\n  \n  puVar5 = *(undefined4 **)(param_1 + 0x84);\n  piVar6 = (int *)*puVar5;\n  piVar1 = (int *)puVar5[1];\n  *param_3 = *(undefined4 *)(param_1 + 0x88);\n  if (piVar6 == piVar1) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 0;\n    do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);\n  }\nLAB_00162ed4:\n  *param_4 = iVar7;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "puVar5 = *(undefined4 **)(param_1 + 0x84);" (assignment_expression "puVar5 = *(undefined4 **)(param_1 + 0x84)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x84)" * (cast_expression "(undefined4 **)(param_1 + 0x84)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x84)" ( (binary_expression "param_1 + 0x84" identifier + number_literal) ))))) ;) (expression_statement "piVar6 = (int *)*puVar5;" (assignment_expression "piVar6 = (int *)*puVar5" identifier = (cast_expression "(int *)*puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) (expression_statement "piVar1 = (int *)puVar5[1];" (assignment_expression "piVar1 = (int *)puVar5[1]" identifier = (cast_expression "(int *)puVar5[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) ;) (expression_statement "*param_3 = *(undefined4 *)(param_1 + 0x88);" (assignment_expression "*param_3 = *(undefined4 *)(param_1 + 0x88)" (pointer_expression "*param_3" * identifier) = (pointer_expression "*(undefined4 *)(param_1 + 0x88)" * (cast_expression "(undefined4 *)(param_1 + 0x88)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) ))))) ;) (if_statement "if (piVar6 == piVar1) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 0;\n    do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);\n  }" if (parenthesized_expression "(piVar6 == piVar1)" ( (binary_expression "piVar6 == piVar1" identifier == identifier) )) (compound_statement "{\n    iVar7 = 0;\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar7 = 0;\n    do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);\n  }" else (compound_statement "{\n    iVar7 = 0;\n    do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);" do (compound_statement "{\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    }" { (while_statement "while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }" while (parenthesized_expression "(iVar2 = *piVar6, iVar2 == 0)" ( (comma_expression "iVar2 = *piVar6, iVar2 == 0" (assignment_expression "iVar2 = *piVar6" identifier = (pointer_expression "*piVar6" * identifier)) , (binary_expression "iVar2 == 0" identifier == number_literal)) )) (compound_statement "{\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }" { (labeled_statement "LAB_00162e5c:\n        piVar6 = piVar6 + 1;" statement_identifier : (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;)) (if_statement "if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;" if (parenthesized_expression "((int *)puVar5[1] == piVar6)" ( (binary_expression "(int *)puVar5[1] == piVar6" (cast_expression "(int *)puVar5[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ])) == identifier) )) (goto_statement "goto LAB_00162ed4;" goto statement_identifier ;)) })) (expression_statement "uVar4 = *(uint *)(iVar2 + 0x28);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x28)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x28)" * (cast_expression "(uint *)(iVar2 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x28)" ( (binary_expression "iVar2 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;" if (parenthesized_expression "((uVar4 << 0x10) >> 0x1d != 0)" ( (binary_expression "(uVar4 << 0x10) >> 0x1d != 0" (binary_expression "(uVar4 << 0x10) >> 0x1d" (parenthesized_expression "(uVar4 << 0x10)" ( (binary_expression "uVar4 << 0x10" identifier << number_literal) )) >> number_literal) != number_literal) )) (goto_statement "goto LAB_00162e5c;" goto statement_identifier ;)) (if_statement "if ((uVar4 & 0xe000) != 0) {\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }" if (parenthesized_expression "((uVar4 & 0xe000) != 0)" ( (binary_expression "(uVar4 & 0xe000) != 0" (parenthesized_expression "(uVar4 & 0xe000)" ( (binary_expression "uVar4 & 0xe000" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }" { (labeled_statement "gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);" statement_identifier : (ERROR ":" :) (expression_statement "do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);" (call_expression "do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8)" identifier (argument_list "(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860" identifier + number_literal) , number_literal , (binary_expression "PTR_s__s_004c1a50 + -0x6b8" identifier + number_literal) ))) ;)) })) (if_statement "if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;" if (parenthesized_expression "(param_1 != *(int *)(iVar2 + 8))" ( (binary_expression "param_1 != *(int *)(iVar2 + 8)" identifier != (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) )) (goto_statement "goto LAB_00162e5c;" goto statement_identifier ;)) (if_statement "if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }" if (parenthesized_expression "((int)(uVar4 << 0x1d) < 0)" ( (binary_expression "(int)(uVar4 << 0x1d) < 0" (cast_expression "(int)(uVar4 << 0x1d)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar4 << 0x1d)" ( (binary_expression "uVar4 << 0x1d" identifier << number_literal) ))) < number_literal) )) (compound_statement "{\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }" { (expression_statement "bVar3 = *(int *)(iVar2 + 0xc) != 0;" (assignment_expression "bVar3 = *(int *)(iVar2 + 0xc) != 0" identifier = (binary_expression "*(int *)(iVar2 + 0xc) != 0" (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) != number_literal)) ;) }) (else_clause "else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }" else (compound_statement "{\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }" { (expression_statement "bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();" (assignment_expression "bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)()" identifier = (call_expression "(*(code *)PTR_is_common_shndx_004c1ccc)()" (parenthesized_expression "(*(code *)PTR_is_common_shndx_004c1ccc)" ( (pointer_expression "*(code *)PTR_is_common_shndx_004c1ccc" * (cast_expression "(code *)PTR_is_common_shndx_004c1ccc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "bVar3 = bVar3 ^ 1;" (assignment_expression "bVar3 = bVar3 ^ 1" identifier = (binary_expression "bVar3 ^ 1" identifier ^ number_literal)) ;) (expression_statement "puVar5 = *(undefined4 **)(param_1 + 0x84);" (assignment_expression "puVar5 = *(undefined4 **)(param_1 + 0x84)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x84)" * (cast_expression "(undefined4 **)(param_1 + 0x84)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x84)" ( (binary_expression "param_1 + 0x84" identifier + number_literal) ))))) ;) }))) (if_statement "if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;" if (parenthesized_expression "((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0))" ( (binary_expression "(bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)" (parenthesized_expression "(bVar3 == 0)" ( (binary_expression "bVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(*piVar6 + 0x14) == 0)" ( (binary_expression "*(int *)(*piVar6 + 0x14) == 0" (pointer_expression "*(int *)(*piVar6 + 0x14)" * (cast_expression "(int *)(*piVar6 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar6 + 0x14)" ( (binary_expression "*piVar6 + 0x14" (pointer_expression "*piVar6" * identifier) + number_literal) )))) == number_literal) ))) )) (goto_statement "goto LAB_00162e5c;" goto statement_identifier ;)) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int *)puVar5[1] != piVar6)" ( (binary_expression "(int *)puVar5[1] != piVar6" (cast_expression "(int *)puVar5[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ])) != identifier) )) ;) }))) (labeled_statement "LAB_00162ed4:\n  *param_4 = iVar7;" statement_identifier : (expression_statement "*param_4 = iVar7;" (assignment_expression "*param_4 = iVar7" (pointer_expression "*param_4" * identifier) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (pointer_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 == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * IDENT)) , (binary_expression IDENT == LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == IDENT) )) (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 (binary_expression (parenthesized_expression ( (binary_expression IDENT << LIT) )) >> LIT) != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;)) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (goto_statement goto statement_identifier ;)) (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 = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT ^ LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == LIT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != IDENT) )) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (return_statement return ;) })))
(function_definition "void FUN_00162e14(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  byte bVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int iVar7;\n  \n  puVar5 = *(undefined4 **)(param_1 + 0x84);\n  piVar6 = (int *)*puVar5;\n  piVar1 = (int *)puVar5[1];\n  *param_3 = *(undefined4 *)(param_1 + 0x88);\n  if (piVar6 == piVar1) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 0;\n    do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);\n  }\nLAB_00162ed4:\n  *param_4 = iVar7;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00162e14(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)" (identifier "FUN_00162e14") (parameter_list "(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int *param_4" (primitive_type "int") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  byte bVar3;\n  uint uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int iVar7;\n  \n  puVar5 = *(undefined4 **)(param_1 + 0x84);\n  piVar6 = (int *)*puVar5;\n  piVar1 = (int *)puVar5[1];\n  *param_3 = *(undefined4 *)(param_1 + 0x88);\n  if (piVar6 == piVar1) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 0;\n    do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);\n  }\nLAB_00162ed4:\n  *param_4 = iVar7;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "byte bVar3;" (type_identifier "byte") (identifier "bVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (expression_statement "puVar5 = *(undefined4 **)(param_1 + 0x84);" (assignment_expression "puVar5 = *(undefined4 **)(param_1 + 0x84)" (identifier "puVar5") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x84)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x84)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x84)" (( "(") (binary_expression "param_1 + 0x84" (identifier "param_1") (+ "+") (number_literal "0x84")) () ")"))))) (; ";")) (expression_statement "piVar6 = (int *)*puVar5;" (assignment_expression "piVar6 = (int *)*puVar5" (identifier "piVar6") (= "=") (cast_expression "(int *)*puVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) (; ";")) (expression_statement "piVar1 = (int *)puVar5[1];" (assignment_expression "piVar1 = (int *)puVar5[1]" (identifier "piVar1") (= "=") (cast_expression "(int *)puVar5[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "*param_3 = *(undefined4 *)(param_1 + 0x88);" (assignment_expression "*param_3 = *(undefined4 *)(param_1 + 0x88)" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x88)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x88)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x88)" (( "(") (binary_expression "param_1 + 0x88" (identifier "param_1") (+ "+") (number_literal "0x88")) () ")"))))) (; ";")) (if_statement "if (piVar6 == piVar1) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 0;\n    do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);\n  }" (if "if") (parenthesized_expression "(piVar6 == piVar1)" (( "(") (binary_expression "piVar6 == piVar1" (identifier "piVar6") (== "==") (identifier "piVar1")) () ")")) (compound_statement "{\n    iVar7 = 0;\n  }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    iVar7 = 0;\n    do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);\n  }" (else "else") (compound_statement "{\n    iVar7 = 0;\n    do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);\n  }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while ((int *)puVar5[1] != piVar6);" (do "do") (compound_statement "{\n      while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }\n      uVar4 = *(uint *)(iVar2 + 0x28);\n      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;\n      if ((uVar4 & 0xe000) != 0) {\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }\n      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;\n      if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }\n      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;\n      piVar6 = piVar6 + 1;\n      iVar7 = iVar7 + 1;\n    }" ({ "{") (while_statement "while (iVar2 = *piVar6, iVar2 == 0) {\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }" (while "while") (parenthesized_expression "(iVar2 = *piVar6, iVar2 == 0)" (( "(") (comma_expression "iVar2 = *piVar6, iVar2 == 0" (assignment_expression "iVar2 = *piVar6" (identifier "iVar2") (= "=") (pointer_expression "*piVar6" (* "*") (identifier "piVar6"))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")")) (compound_statement "{\nLAB_00162e5c:\n        piVar6 = piVar6 + 1;\n        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;\n      }" ({ "{") (labeled_statement "LAB_00162e5c:\n        piVar6 = piVar6 + 1;" (statement_identifier "LAB_00162e5c") (: ":") (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" (identifier "piVar6") (= "=") (binary_expression "piVar6 + 1" (identifier "piVar6") (+ "+") (number_literal "1"))) (; ";"))) (if_statement "if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;" (if "if") (parenthesized_expression "((int *)puVar5[1] == piVar6)" (( "(") (binary_expression "(int *)puVar5[1] == piVar6" (cast_expression "(int *)puVar5[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]"))) (== "==") (identifier "piVar6")) () ")")) (goto_statement "goto LAB_00162ed4;" (goto "goto") (statement_identifier "LAB_00162ed4") (; ";"))) (} "}"))) (expression_statement "uVar4 = *(uint *)(iVar2 + 0x28);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x28)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(iVar2 + 0x28)" (* "*") (cast_expression "(uint *)(iVar2 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x28)" (( "(") (binary_expression "iVar2 + 0x28" (identifier "iVar2") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;" (if "if") (parenthesized_expression "((uVar4 << 0x10) >> 0x1d != 0)" (( "(") (binary_expression "(uVar4 << 0x10) >> 0x1d != 0" (binary_expression "(uVar4 << 0x10) >> 0x1d" (parenthesized_expression "(uVar4 << 0x10)" (( "(") (binary_expression "uVar4 << 0x10" (identifier "uVar4") (<< "<<") (number_literal "0x10")) () ")")) (>> ">>") (number_literal "0x1d")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00162e5c;" (goto "goto") (statement_identifier "LAB_00162e5c") (; ";"))) (if_statement "if ((uVar4 & 0xe000) != 0) {\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }" (if "if") (parenthesized_expression "((uVar4 & 0xe000) != 0)" (( "(") (binary_expression "(uVar4 & 0xe000) != 0" (parenthesized_expression "(uVar4 & 0xe000)" (( "(") (binary_expression "uVar4 & 0xe000" (identifier "uVar4") (& "&") (number_literal "0xe000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);\n      }" ({ "{") (labeled_statement "gold::do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);" (statement_identifier "gold") (: ":") (ERROR ":" (: ":")) (expression_statement "do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8);" (call_expression "do_gold_unreachable\n                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8)" (identifier "do_gold_unreachable") (argument_list "(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,\n                   PTR_s__s_004c1a50 + -0x6b8)" (( "(") (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860" (identifier "PTR_s_ral_options14Struct_no_crefE_004c127c") (+ "+") (number_literal "0x3860")) (, ",") (number_literal "0xa1") (, ",") (binary_expression "PTR_s__s_004c1a50 + -0x6b8" (identifier "PTR_s__s_004c1a50") (+ "+") (number_literal "-0x6b8")) () ")"))) (; ";"))) (} "}"))) (if_statement "if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;" (if "if") (parenthesized_expression "(param_1 != *(int *)(iVar2 + 8))" (( "(") (binary_expression "param_1 != *(int *)(iVar2 + 8)" (identifier "param_1") (!= "!=") (pointer_expression "*(int *)(iVar2 + 8)" (* "*") (cast_expression "(int *)(iVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")"))))) () ")")) (goto_statement "goto LAB_00162e5c;" (goto "goto") (statement_identifier "LAB_00162e5c") (; ";"))) (if_statement "if ((int)(uVar4 << 0x1d) < 0) {\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }\n      else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }" (if "if") (parenthesized_expression "((int)(uVar4 << 0x1d) < 0)" (( "(") (binary_expression "(int)(uVar4 << 0x1d) < 0" (cast_expression "(int)(uVar4 << 0x1d)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar4 << 0x1d)" (( "(") (binary_expression "uVar4 << 0x1d" (identifier "uVar4") (<< "<<") (number_literal "0x1d")) () ")"))) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        bVar3 = *(int *)(iVar2 + 0xc) != 0;\n      }" ({ "{") (expression_statement "bVar3 = *(int *)(iVar2 + 0xc) != 0;" (assignment_expression "bVar3 = *(int *)(iVar2 + 0xc) != 0" (identifier "bVar3") (= "=") (binary_expression "*(int *)(iVar2 + 0xc) != 0" (pointer_expression "*(int *)(iVar2 + 0xc)" (* "*") (cast_expression "(int *)(iVar2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0"))) (; ";")) (} "}")) (else_clause "else {\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }" (else "else") (compound_statement "{\n        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();\n        bVar3 = bVar3 ^ 1;\n        puVar5 = *(undefined4 **)(param_1 + 0x84);\n      }" ({ "{") (expression_statement "bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();" (assignment_expression "bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)()" (identifier "bVar3") (= "=") (call_expression "(*(code *)PTR_is_common_shndx_004c1ccc)()" (parenthesized_expression "(*(code *)PTR_is_common_shndx_004c1ccc)" (( "(") (pointer_expression "*(code *)PTR_is_common_shndx_004c1ccc" (* "*") (cast_expression "(code *)PTR_is_common_shndx_004c1ccc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_is_common_shndx_004c1ccc"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "bVar3 = bVar3 ^ 1;" (assignment_expression "bVar3 = bVar3 ^ 1" (identifier "bVar3") (= "=") (binary_expression "bVar3 ^ 1" (identifier "bVar3") (^ "^") (number_literal "1"))) (; ";")) (expression_statement "puVar5 = *(undefined4 **)(param_1 + 0x84);" (assignment_expression "puVar5 = *(undefined4 **)(param_1 + 0x84)" (identifier "puVar5") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x84)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x84)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x84)" (( "(") (binary_expression "param_1 + 0x84" (identifier "param_1") (+ "+") (number_literal "0x84")) () ")"))))) (; ";")) (} "}")))) (if_statement "if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;" (if "if") (parenthesized_expression "((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0))" (( "(") (binary_expression "(bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)" (parenthesized_expression "(bVar3 == 0)" (( "(") (binary_expression "bVar3 == 0" (identifier "bVar3") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(int *)(*piVar6 + 0x14) == 0)" (( "(") (binary_expression "*(int *)(*piVar6 + 0x14) == 0" (pointer_expression "*(int *)(*piVar6 + 0x14)" (* "*") (cast_expression "(int *)(*piVar6 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar6 + 0x14)" (( "(") (binary_expression "*piVar6 + 0x14" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (+ "+") (number_literal "0x14")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_00162e5c;" (goto "goto") (statement_identifier "LAB_00162e5c") (; ";"))) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" (identifier "piVar6") (= "=") (binary_expression "piVar6 + 1" (identifier "piVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int *)puVar5[1] != piVar6)" (( "(") (binary_expression "(int *)puVar5[1] != piVar6" (cast_expression "(int *)puVar5[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (identifier "piVar6")) () ")")) (; ";")) (} "}")))) (labeled_statement "LAB_00162ed4:\n  *param_4 = iVar7;" (statement_identifier "LAB_00162ed4") (: ":") (expression_statement "*param_4 = iVar7;" (assignment_expression "*param_4 = iVar7" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "iVar7")) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(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)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (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: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))) right: (binary_expression left: (identifier) right: (number_literal)))) body: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier))) 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: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (number_literal))) consequence: (goto_statement label: (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 (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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))))))) consequence: (goto_statement label: (statement_identifier))) (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: (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))))) alternative: (else_clause (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: (identifier)))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator 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: (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: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (return_statement))))

void MASKED(int param_1,undefined4 param_2,undefined4 *param_3,int *param_4)

{
  int *piVar1;
  int iVar2;
  byte bVar3;
  uint uVar4;
  undefined4 *puVar5;
  int *piVar6;
  int iVar7;
  
  puVar5 = *(undefined4 **)(param_1 + 0x84);
  piVar6 = (int *)*puVar5;
  piVar1 = (int *)puVar5[1];
  *param_3 = *(undefined4 *)(param_1 + 0x88);
  if (piVar6 == piVar1) {
    iVar7 = 0;
  }
  else {
    iVar7 = 0;
    do {
      while (iVar2 = *piVar6, iVar2 == 0) {
LAB_00162e5c:
        piVar6 = piVar6 + 1;
        if ((int *)puVar5[1] == piVar6) goto LAB_00162ed4;
      }
      uVar4 = *(uint *)(iVar2 + 0x28);
      if ((uVar4 << 0x10) >> 0x1d != 0) goto LAB_00162e5c;
      if ((uVar4 & 0xe000) != 0) {
                    /* WARNING: Subroutine does not return */
        gold::do_gold_unreachable
                  (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x3860,0xa1,
                   PTR_s__s_004c1a50 + -0x6b8);
      }
      if (param_1 != *(int *)(iVar2 + 8)) goto LAB_00162e5c;
      if ((int)(uVar4 << 0x1d) < 0) {
        bVar3 = *(int *)(iVar2 + 0xc) != 0;
      }
      else {
        bVar3 = (*(code *)PTR_is_common_shndx_004c1ccc)();
        bVar3 = bVar3 ^ 1;
        puVar5 = *(undefined4 **)(param_1 + 0x84);
      }
      if ((bVar3 == 0) || (*(int *)(*piVar6 + 0x14) == 0)) goto LAB_00162e5c;
      piVar6 = piVar6 + 1;
      iVar7 = iVar7 + 1;
    } while ((int *)puVar5[1] != piVar6);
  }
LAB_00162ed4:
  *param_4 = iVar7;
  return;
}

