
/* DWARF original name: initialize_symtab_xindex<32, true>
   DWARF original prototype: void initialize_symtab_xindex<32,_true>(Xindex * this, Object * object,
   uint symtab_shndx) */

void __thiscall
gold::Xindex::initialize_symtab_xindex<32,_true>(Xindex *this,Object *object,uint symtab_shndx)

{
  int iVar1;
  uint uVar2;
  char *format;
  uint xindex_shndx;
  
  if ((this->symtab_xindex_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl
      ._M_start !=
      (this->symtab_xindex_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl
      ._M_finish) {
    return;
  }
  if (symtab_shndx == 0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/object.cc",0x55,"initialize_symtab_xindex");
  }
  xindex_shndx = object->shnum_;
  do {
    do {
      if (xindex_shndx == 0) {
        format = (char *)gettext("missing SHT_SYMTAB_SHNDX section");
        Object::error(object,format);
        return;
      }
      xindex_shndx = xindex_shndx - 1;
      iVar1 = (*object->_vptr_Object[0x14])(object,(ulong)xindex_shndx);
    } while (iVar1 != 0x12);
    uVar2 = (*object->_vptr_Object[0x15])(object,(ulong)xindex_shndx);
    if (0xfeff < uVar2) {
      uVar2 = uVar2 + this->large_shndx_offset_;
    }
  } while (symtab_shndx != uVar2);
  read_symtab_xindex<32,_true>(this,object,xindex_shndx,(uchar *)0x0);
  return;
}



void FUN_001cdea0(int *param_1,long *param_2,uint param_3)

{
  int iVar1;
  uint uVar2;
  undefined8 uVar3;
  int iVar4;
  
  if (*(long *)(param_1 + 2) != *(long *)(param_1 + 4)) {
    return;
  }
  if (param_3 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");
  }
  iVar4 = (int)param_2[7];
  do {
    do {
      if (iVar4 == 0) {
        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");
        FUN_001bd150(param_2,uVar3);
        return;
      }
      iVar4 = iVar4 + -1;
      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);
    } while (iVar1 != 0x12);
    uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);
    if (0xfeff < uVar2) {
      uVar2 = uVar2 + *param_1;
    }
  } while (param_3 != uVar2);
  FUN_001cdc90(param_1,param_2,iVar4,0);
  return;
}


MOV RAX,qword ptr [RDI + 0x10]
CMP qword ptr [RDI + 0x8],RAX
JZ 0x001cdeb0
RET
PUSH R13
MOV R13,RDI
PUSH R12
MOV R12D,EDX
PUSH RBP
MOV RBP,RSI
PUSH RBX
SUB RSP,0x8
TEST EDX,EDX
JZ 0x001cdf53
MOV EBX,dword ptr [RSI + 0x38]
TEST EBX,EBX
JNZ 0x001cdedc
JMP 0x001cdf30
TEST EBX,EBX
JZ 0x001cdf30
MOV RAX,qword ptr [RBP]
SUB EBX,0x1
MOV RDI,RBP
MOV ESI,EBX
CALL qword ptr [RAX + 0xa0]
CMP EAX,0x12
JNZ 0x001cded8
MOV RAX,qword ptr [RBP]
MOV ESI,EBX
MOV RDI,RBP
CALL qword ptr [RAX + 0xa8]
CMP EAX,0xfeff
JBE 0x001cdf0d
ADD EAX,dword ptr [R13]
CMP R12D,EAX
JNZ 0x001cded8
ADD RSP,0x8
MOV EDX,EBX
MOV RSI,RBP
MOV RDI,R13
POP RBX
XOR ECX,ECX
POP RBP
POP R12
POP R13
JMP 0x001cdc90
LEA RDI,[0x3782e0]
CALL 0x00147320
ADD RSP,0x8
MOV RDI,RBP
POP RBX
MOV RSI,RAX
POP RBP
XOR EAX,EAX
POP R12
POP R13
JMP 0x001bd150
LEA RDX,[0x378620]
MOV ESI,0x55
LEA RDI,[0x377f68]
CALL 0x0017c650
(translation_unit "void FUN_001cdea0(int *param_1,long *param_2,uint param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  int iVar4;\n  \n  if (*(long *)(param_1 + 2) != *(long *)(param_1 + 4)) {\n    return;\n  }\n  if (param_3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");\n  }\n  iVar4 = (int)param_2[7];\n  do {\n    do {\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    } while (iVar1 != 0x12);\n    uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);\n    if (0xfeff < uVar2) {\n      uVar2 = uVar2 + *param_1;\n    }\n  } while (param_3 != uVar2);\n  FUN_001cdc90(param_1,param_2,iVar4,0);\n  return;\n}\n\n" (function_definition "void FUN_001cdea0(int *param_1,long *param_2,uint param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  int iVar4;\n  \n  if (*(long *)(param_1 + 2) != *(long *)(param_1 + 4)) {\n    return;\n  }\n  if (param_3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");\n  }\n  iVar4 = (int)param_2[7];\n  do {\n    do {\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    } while (iVar1 != 0x12);\n    uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);\n    if (0xfeff < uVar2) {\n      uVar2 = uVar2 + *param_1;\n    }\n  } while (param_3 != uVar2);\n  FUN_001cdc90(param_1,param_2,iVar4,0);\n  return;\n}" primitive_type (function_declarator "FUN_001cdea0(int *param_1,long *param_2,uint param_3)" identifier (parameter_list "(int *param_1,long *param_2,uint param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  int iVar4;\n  \n  if (*(long *)(param_1 + 2) != *(long *)(param_1 + 4)) {\n    return;\n  }\n  if (param_3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");\n  }\n  iVar4 = (int)param_2[7];\n  do {\n    do {\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    } while (iVar1 != 0x12);\n    uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);\n    if (0xfeff < uVar2) {\n      uVar2 = uVar2 + *param_1;\n    }\n  } while (param_3 != uVar2);\n  FUN_001cdc90(param_1,param_2,iVar4,0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (*(long *)(param_1 + 2) != *(long *)(param_1 + 4)) {\n    return;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 2) != *(long *)(param_1 + 4))" ( (binary_expression "*(long *)(param_1 + 2) != *(long *)(param_1 + 4)" (pointer_expression "*(long *)(param_1 + 2)" * (cast_expression "(long *)(param_1 + 2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) != (pointer_expression "*(long *)(param_1 + 4)" * (cast_expression "(long *)(param_1 + 4)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (param_3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");\n  }" { comment (expression_statement "FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");" (call_expression "FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex")" identifier (argument_list "("../../gold/object.cc",0x55,"initialize_symtab_xindex")" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""initialize_symtab_xindex"" " string_content ") ))) ;) })) (expression_statement "iVar4 = (int)param_2[7];" (assignment_expression "iVar4 = (int)param_2[7]" identifier = (cast_expression "(int)param_2[7]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_2[7]" identifier [ number_literal ]))) ;) (do_statement "do {\n    do {\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    } while (iVar1 != 0x12);\n    uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);\n    if (0xfeff < uVar2) {\n      uVar2 = uVar2 + *param_1;\n    }\n  } while (param_3 != uVar2);" do (compound_statement "{\n    do {\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    } while (iVar1 != 0x12);\n    uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);\n    if (0xfeff < uVar2) {\n      uVar2 = uVar2 + *param_1;\n    }\n  }" { (do_statement "do {\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    } while (iVar1 != 0x12);" do (compound_statement "{\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    }" { (if_statement "if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }" { (expression_statement "uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");" (assignment_expression "uVar3 = gettext("missing SHT_SYMTAB_SHNDX section")" identifier = (call_expression "gettext("missing SHT_SYMTAB_SHNDX section")" identifier (argument_list "("missing SHT_SYMTAB_SHNDX section")" ( (string_literal ""missing SHT_SYMTAB_SHNDX section"" " string_content ") )))) ;) (expression_statement "FUN_001bd150(param_2,uVar3);" (call_expression "FUN_001bd150(param_2,uVar3)" identifier (argument_list "(param_2,uVar3)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);" (assignment_expression "iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4)" identifier = (call_expression "(**(code **)(*param_2 + 0xa0))(param_2,iVar4)" (parenthesized_expression "(**(code **)(*param_2 + 0xa0))" ( (pointer_expression "**(code **)(*param_2 + 0xa0)" * (pointer_expression "*(code **)(*param_2 + 0xa0)" * (cast_expression "(code **)(*param_2 + 0xa0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xa0)" ( (binary_expression "*param_2 + 0xa0" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2,iVar4)" ( identifier , identifier )))) ;) }) while (parenthesized_expression "(iVar1 != 0x12)" ( (binary_expression "iVar1 != 0x12" identifier != number_literal) )) ;) (expression_statement "uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);" (assignment_expression "uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4)" identifier = (call_expression "(**(code **)(*param_2 + 0xa8))(param_2,iVar4)" (parenthesized_expression "(**(code **)(*param_2 + 0xa8))" ( (pointer_expression "**(code **)(*param_2 + 0xa8)" * (pointer_expression "*(code **)(*param_2 + 0xa8)" * (cast_expression "(code **)(*param_2 + 0xa8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xa8)" ( (binary_expression "*param_2 + 0xa8" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2,iVar4)" ( identifier , identifier )))) ;) (if_statement "if (0xfeff < uVar2) {\n      uVar2 = uVar2 + *param_1;\n    }" if (parenthesized_expression "(0xfeff < uVar2)" ( (binary_expression "0xfeff < uVar2" number_literal < identifier) )) (compound_statement "{\n      uVar2 = uVar2 + *param_1;\n    }" { (expression_statement "uVar2 = uVar2 + *param_1;" (assignment_expression "uVar2 = uVar2 + *param_1" identifier = (binary_expression "uVar2 + *param_1" identifier + (pointer_expression "*param_1" * identifier))) ;) })) }) while (parenthesized_expression "(param_3 != uVar2)" ( (binary_expression "param_3 != uVar2" identifier != identifier) )) ;) (expression_statement "FUN_001cdc90(param_1,param_2,iVar4,0);" (call_expression "FUN_001cdc90(param_1,param_2,iVar4,0)" identifier (argument_list "(param_1,param_2,iVar4,0)" ( identifier , identifier , identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original name: initialize_symtab_xindex<32, true>\n   DWARF original prototype: void initialize_symtab_xindex<32,_true>(Xindex * this, Object * object,\n   uint symtab_shndx) */\n\nvoid __thiscall\ngold::Xindex::initialize_symtab_xindex<32,_true>(Xindex *this,Object *object,uint symtab_shndx)\n\n{\n  int iVar1;\n  uint uVar2;\n  char *format;\n  uint xindex_shndx;\n  \n  if ((this->symtab_xindex_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl\n      ._M_start !=\n      (this->symtab_xindex_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl\n      ._M_finish) {\n    return;\n  }\n  if (symtab_shndx == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.cc",0x55,"initialize_symtab_xindex");\n  }\n  xindex_shndx = object->shnum_;\n  do {\n    do {\n      if (xindex_shndx == 0) {\n        format = (char *)gettext("missing SHT_SYMTAB_SHNDX section");\n        Object::error(object,format);\n        return;\n      }\n      xindex_shndx = xindex_shndx - 1;\n      iVar1 = (*object->_vptr_Object[0x14])(object,(ulong)xindex_shndx);\n    } while (iVar1 != 0x12);\n    uVar2 = (*object->_vptr_Object[0x15])(object,(ulong)xindex_shndx);\n    if (0xfeff < uVar2) {\n      uVar2 = uVar2 + this->large_shndx_offset_;\n    }\n  } while (symtab_shndx != uVar2);\n  read_symtab_xindex<32,_true>(this,object,xindex_shndx,(uchar *)0x0);\n  return;\n}\n\n" comment (declaration "void __thiscall\ngold::Xindex::initialize_symtab_xindex<32,_true>(Xindex *this,Object *object,uint symtab_shndx)\n\n{\n  int iVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Xindex::" identifier : : identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_true>(Xindex" identifier > ( identifier) (pointer_declarator "*this" * identifier) , (ERROR "Object" identifier) (pointer_declarator "*object" * identifier) , (ERROR "uint symtab_shndx)\n\n{\n  int" identifier identifier ) { primitive_type) identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "uint xindex_shndx;" type_identifier identifier ;) (if_statement "if ((this->symtab_xindex_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl\n      ._M_start !=\n      (this->symtab_xindex_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl\n      ._M_finish) {\n    return;\n  }" if (parenthesized_expression "((this->symtab_xindex_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl\n      ._M_start !=\n      (this->symtab_xindex_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl\n      ._M_finish)" ( (ERROR "(this->symtab_xindex_).super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl\n      ._M_start !=\n      (this->symtab_xindex_).super__Vector_base<unsigned_int,_std::" (comma_expression "(this->symtab_xindex_).super__Vector_base<unsigned_int,_std" (binary_expression "(this->symtab_xindex_).super__Vector_base<unsigned_int" (field_expression "(this->symtab_xindex_).super__Vector_base" (parenthesized_expression "(this->symtab_xindex_)" ( (field_expression "this->symtab_xindex_" identifier -> field_identifier) )) . field_identifier) < identifier) , identifier) : : (comma_expression "allocator<unsigned_int>_>._M_impl\n      ._M_start !=\n      (this->symtab_xindex_).super__Vector_base<unsigned_int,_std" (binary_expression "allocator<unsigned_int>_>._M_impl\n      ._M_start !=\n      (this->symtab_xindex_).super__Vector_base<unsigned_int" (field_expression "allocator<unsigned_int>_>._M_impl\n      ._M_start" (field_expression "allocator<unsigned_int>_>._M_impl" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) != (binary_expression "(this->symtab_xindex_).super__Vector_base<unsigned_int" (field_expression "(this->symtab_xindex_).super__Vector_base" (parenthesized_expression "(this->symtab_xindex_)" ( (field_expression "this->symtab_xindex_" identifier -> field_identifier) )) . field_identifier) < identifier)) , identifier) : :) (field_expression "allocator<unsigned_int>_>._M_impl\n      ._M_finish" (field_expression "allocator<unsigned_int>_>._M_impl" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (symtab_shndx == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.cc",0x55,"initialize_symtab_xindex");\n  }" if (parenthesized_expression "(symtab_shndx == 0)" ( (binary_expression "symtab_shndx == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.cc",0x55,"initialize_symtab_xindex");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/object.cc",0x55,"initialize_symtab_xindex");" (call_expression "do_gold_unreachable("../../gold/object.cc",0x55,"initialize_symtab_xindex")" identifier (argument_list "("../../gold/object.cc",0x55,"initialize_symtab_xindex")" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""initialize_symtab_xindex"" " string_content ") ))) ;) })) (expression_statement "xindex_shndx = object->shnum_;" (assignment_expression "xindex_shndx = object->shnum_" identifier = (field_expression "object->shnum_" identifier -> field_identifier)) ;) (do_statement "do {\n    do {\n      if (xindex_shndx == 0) {\n        format = (char *)gettext("missing SHT_SYMTAB_SHNDX section");\n        Object::error(object,format);\n        return;\n      }\n      xindex_shndx = xindex_shndx - 1;\n      iVar1 = (*object->_vptr_Object[0x14])(object,(ulong)xindex_shndx);\n    } while (iVar1 != 0x12);\n    uVar2 = (*object->_vptr_Object[0x15])(object,(ulong)xindex_shndx);\n    if (0xfeff < uVar2) {\n      uVar2 = uVar2 + this->large_shndx_offset_;\n    }\n  } while (symtab_shndx != uVar2);" do (compound_statement "{\n    do {\n      if (xindex_shndx == 0) {\n        format = (char *)gettext("missing SHT_SYMTAB_SHNDX section");\n        Object::error(object,format);\n        return;\n      }\n      xindex_shndx = xindex_shndx - 1;\n      iVar1 = (*object->_vptr_Object[0x14])(object,(ulong)xindex_shndx);\n    } while (iVar1 != 0x12);\n    uVar2 = (*object->_vptr_Object[0x15])(object,(ulong)xindex_shndx);\n    if (0xfeff < uVar2) {\n      uVar2 = uVar2 + this->large_shndx_offset_;\n    }\n  }" { (do_statement "do {\n      if (xindex_shndx == 0) {\n        format = (char *)gettext("missing SHT_SYMTAB_SHNDX section");\n        Object::error(object,format);\n        return;\n      }\n      xindex_shndx = xindex_shndx - 1;\n      iVar1 = (*object->_vptr_Object[0x14])(object,(ulong)xindex_shndx);\n    } while (iVar1 != 0x12);" do (compound_statement "{\n      if (xindex_shndx == 0) {\n        format = (char *)gettext("missing SHT_SYMTAB_SHNDX section");\n        Object::error(object,format);\n        return;\n      }\n      xindex_shndx = xindex_shndx - 1;\n      iVar1 = (*object->_vptr_Object[0x14])(object,(ulong)xindex_shndx);\n    }" { (if_statement "if (xindex_shndx == 0) {\n        format = (char *)gettext("missing SHT_SYMTAB_SHNDX section");\n        Object::error(object,format);\n        return;\n      }" if (parenthesized_expression "(xindex_shndx == 0)" ( (binary_expression "xindex_shndx == 0" identifier == number_literal) )) (compound_statement "{\n        format = (char *)gettext("missing SHT_SYMTAB_SHNDX section");\n        Object::error(object,format);\n        return;\n      }" { (expression_statement "format = (char *)gettext("missing SHT_SYMTAB_SHNDX section");" (assignment_expression "format = (char *)gettext("missing SHT_SYMTAB_SHNDX section")" identifier = (cast_expression "(char *)gettext("missing SHT_SYMTAB_SHNDX section")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("missing SHT_SYMTAB_SHNDX section")" identifier (argument_list "("missing SHT_SYMTAB_SHNDX section")" ( (string_literal ""missing SHT_SYMTAB_SHNDX section"" " string_content ") ))))) ;) (labeled_statement "Object::error(object,format);" statement_identifier : (ERROR ":" :) (expression_statement "error(object,format);" (call_expression "error(object,format)" identifier (argument_list "(object,format)" ( identifier , identifier ))) ;)) (return_statement "return;" return ;) })) (expression_statement "xindex_shndx = xindex_shndx - 1;" (assignment_expression "xindex_shndx = xindex_shndx - 1" identifier = (binary_expression "xindex_shndx - 1" identifier - number_literal)) ;) (expression_statement "iVar1 = (*object->_vptr_Object[0x14])(object,(ulong)xindex_shndx);" (assignment_expression "iVar1 = (*object->_vptr_Object[0x14])(object,(ulong)xindex_shndx)" identifier = (call_expression "(*object->_vptr_Object[0x14])(object,(ulong)xindex_shndx)" (parenthesized_expression "(*object->_vptr_Object[0x14])" ( (pointer_expression "*object->_vptr_Object[0x14]" * (subscript_expression "object->_vptr_Object[0x14]" (field_expression "object->_vptr_Object" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(object,(ulong)xindex_shndx)" ( identifier , (cast_expression "(ulong)xindex_shndx" ( (type_descriptor "ulong" type_identifier) ) identifier) )))) ;) }) while (parenthesized_expression "(iVar1 != 0x12)" ( (binary_expression "iVar1 != 0x12" identifier != number_literal) )) ;) (expression_statement "uVar2 = (*object->_vptr_Object[0x15])(object,(ulong)xindex_shndx);" (assignment_expression "uVar2 = (*object->_vptr_Object[0x15])(object,(ulong)xindex_shndx)" identifier = (call_expression "(*object->_vptr_Object[0x15])(object,(ulong)xindex_shndx)" (parenthesized_expression "(*object->_vptr_Object[0x15])" ( (pointer_expression "*object->_vptr_Object[0x15]" * (subscript_expression "object->_vptr_Object[0x15]" (field_expression "object->_vptr_Object" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(object,(ulong)xindex_shndx)" ( identifier , (cast_expression "(ulong)xindex_shndx" ( (type_descriptor "ulong" type_identifier) ) identifier) )))) ;) (if_statement "if (0xfeff < uVar2) {\n      uVar2 = uVar2 + this->large_shndx_offset_;\n    }" if (parenthesized_expression "(0xfeff < uVar2)" ( (binary_expression "0xfeff < uVar2" number_literal < identifier) )) (compound_statement "{\n      uVar2 = uVar2 + this->large_shndx_offset_;\n    }" { (expression_statement "uVar2 = uVar2 + this->large_shndx_offset_;" (assignment_expression "uVar2 = uVar2 + this->large_shndx_offset_" identifier = (binary_expression "uVar2 + this->large_shndx_offset_" identifier + (field_expression "this->large_shndx_offset_" identifier -> field_identifier))) ;) })) }) while (parenthesized_expression "(symtab_shndx != uVar2)" ( (binary_expression "symtab_shndx != uVar2" identifier != identifier) )) ;) (expression_statement "read_symtab_xindex<32,_true>(this,object,xindex_shndx,(uchar *)0x0);" (update_expression "read_symtab_xindex<32,_true>(this,object,xindex_shndx,(uchar *)0x0)" (binary_expression "read_symtab_xindex<32,_true>(this,object,xindex_shndx,(uchar *)0x0)" (binary_expression "read_symtab_xindex<32" identifier < number_literal) (ERROR ",_true" , identifier) > (parenthesized_expression "(this,object,xindex_shndx,(uchar *)0x0)" ( (comma_expression "this,object,xindex_shndx,(uchar *)0x0" identifier , (comma_expression "object,xindex_shndx,(uchar *)0x0" identifier , (comma_expression "xindex_shndx,(uchar *)0x0" identifier , (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)))) ))) --) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_001cdea0(int *param_1,long *param_2,uint param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  int iVar4;\n  \n  if (*(long *)(param_1 + 2) != *(long *)(param_1 + 4)) {\n    return;\n  }\n  if (param_3 == 0) {\n                    \n    FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");\n  }\n  iVar4 = (int)param_2[7];\n  do {\n    do {\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    } while (iVar1 != 0x12);\n    uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);\n    if (0xfeff < uVar2) {\n      uVar2 = uVar2 + *param_1;\n    }\n  } while (param_3 != uVar2);\n  FUN_001cdc90(param_1,param_2,iVar4,0);\n  return;\n}\n\n" (function_definition "void FUN_001cdea0(int *param_1,long *param_2,uint param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  int iVar4;\n  \n  if (*(long *)(param_1 + 2) != *(long *)(param_1 + 4)) {\n    return;\n  }\n  if (param_3 == 0) {\n                    \n    FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");\n  }\n  iVar4 = (int)param_2[7];\n  do {\n    do {\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    } while (iVar1 != 0x12);\n    uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);\n    if (0xfeff < uVar2) {\n      uVar2 = uVar2 + *param_1;\n    }\n  } while (param_3 != uVar2);\n  FUN_001cdc90(param_1,param_2,iVar4,0);\n  return;\n}" primitive_type (function_declarator "FUN_001cdea0(int *param_1,long *param_2,uint param_3)" identifier (parameter_list "(int *param_1,long *param_2,uint param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  int iVar4;\n  \n  if (*(long *)(param_1 + 2) != *(long *)(param_1 + 4)) {\n    return;\n  }\n  if (param_3 == 0) {\n                    \n    FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");\n  }\n  iVar4 = (int)param_2[7];\n  do {\n    do {\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    } while (iVar1 != 0x12);\n    uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);\n    if (0xfeff < uVar2) {\n      uVar2 = uVar2 + *param_1;\n    }\n  } while (param_3 != uVar2);\n  FUN_001cdc90(param_1,param_2,iVar4,0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (*(long *)(param_1 + 2) != *(long *)(param_1 + 4)) {\n    return;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 2) != *(long *)(param_1 + 4))" ( (binary_expression "*(long *)(param_1 + 2) != *(long *)(param_1 + 4)" (pointer_expression "*(long *)(param_1 + 2)" * (cast_expression "(long *)(param_1 + 2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) != (pointer_expression "*(long *)(param_1 + 4)" * (cast_expression "(long *)(param_1 + 4)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (param_3 == 0) {\n                    \n    FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");\n  }" { (expression_statement "FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");" (call_expression "FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex")" identifier (argument_list "("../../gold/object.cc",0x55,"initialize_symtab_xindex")" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""initialize_symtab_xindex"" " string_content ") ))) ;) })) (expression_statement "iVar4 = (int)param_2[7];" (assignment_expression "iVar4 = (int)param_2[7]" identifier = (cast_expression "(int)param_2[7]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_2[7]" identifier [ number_literal ]))) ;) (do_statement "do {\n    do {\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    } while (iVar1 != 0x12);\n    uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);\n    if (0xfeff < uVar2) {\n      uVar2 = uVar2 + *param_1;\n    }\n  } while (param_3 != uVar2);" do (compound_statement "{\n    do {\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    } while (iVar1 != 0x12);\n    uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);\n    if (0xfeff < uVar2) {\n      uVar2 = uVar2 + *param_1;\n    }\n  }" { (do_statement "do {\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    } while (iVar1 != 0x12);" do (compound_statement "{\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    }" { (if_statement "if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }" { (expression_statement "uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");" (assignment_expression "uVar3 = gettext("missing SHT_SYMTAB_SHNDX section")" identifier = (call_expression "gettext("missing SHT_SYMTAB_SHNDX section")" identifier (argument_list "("missing SHT_SYMTAB_SHNDX section")" ( (string_literal ""missing SHT_SYMTAB_SHNDX section"" " string_content ") )))) ;) (expression_statement "FUN_001bd150(param_2,uVar3);" (call_expression "FUN_001bd150(param_2,uVar3)" identifier (argument_list "(param_2,uVar3)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);" (assignment_expression "iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4)" identifier = (call_expression "(**(code **)(*param_2 + 0xa0))(param_2,iVar4)" (parenthesized_expression "(**(code **)(*param_2 + 0xa0))" ( (pointer_expression "**(code **)(*param_2 + 0xa0)" * (pointer_expression "*(code **)(*param_2 + 0xa0)" * (cast_expression "(code **)(*param_2 + 0xa0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xa0)" ( (binary_expression "*param_2 + 0xa0" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2,iVar4)" ( identifier , identifier )))) ;) }) while (parenthesized_expression "(iVar1 != 0x12)" ( (binary_expression "iVar1 != 0x12" identifier != number_literal) )) ;) (expression_statement "uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);" (assignment_expression "uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4)" identifier = (call_expression "(**(code **)(*param_2 + 0xa8))(param_2,iVar4)" (parenthesized_expression "(**(code **)(*param_2 + 0xa8))" ( (pointer_expression "**(code **)(*param_2 + 0xa8)" * (pointer_expression "*(code **)(*param_2 + 0xa8)" * (cast_expression "(code **)(*param_2 + 0xa8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xa8)" ( (binary_expression "*param_2 + 0xa8" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2,iVar4)" ( identifier , identifier )))) ;) (if_statement "if (0xfeff < uVar2) {\n      uVar2 = uVar2 + *param_1;\n    }" if (parenthesized_expression "(0xfeff < uVar2)" ( (binary_expression "0xfeff < uVar2" number_literal < identifier) )) (compound_statement "{\n      uVar2 = uVar2 + *param_1;\n    }" { (expression_statement "uVar2 = uVar2 + *param_1;" (assignment_expression "uVar2 = uVar2 + *param_1" identifier = (binary_expression "uVar2 + *param_1" identifier + (pointer_expression "*param_1" * identifier))) ;) })) }) while (parenthesized_expression "(param_3 != uVar2)" ( (binary_expression "param_3 != uVar2" identifier != identifier) )) ;) (expression_statement "FUN_001cdc90(param_1,param_2,iVar4,0);" (call_expression "FUN_001cdc90(param_1,param_2,iVar4,0)" identifier (argument_list "(param_1,param_2,iVar4,0)" ( identifier , identifier , identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (do_statement do (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * IDENT))) ;) })) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001cdea0(int *param_1,long *param_2,uint param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  int iVar4;\n  \n  if (*(long *)(param_1 + 2) != *(long *)(param_1 + 4)) {\n    return;\n  }\n  if (param_3 == 0) {\n                    \n    FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");\n  }\n  iVar4 = (int)param_2[7];\n  do {\n    do {\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    } while (iVar1 != 0x12);\n    uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);\n    if (0xfeff < uVar2) {\n      uVar2 = uVar2 + *param_1;\n    }\n  } while (param_3 != uVar2);\n  FUN_001cdc90(param_1,param_2,iVar4,0);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001cdea0(int *param_1,long *param_2,uint param_3)" (identifier "FUN_001cdea0") (parameter_list "(int *param_1,long *param_2,uint param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  int iVar4;\n  \n  if (*(long *)(param_1 + 2) != *(long *)(param_1 + 4)) {\n    return;\n  }\n  if (param_3 == 0) {\n                    \n    FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");\n  }\n  iVar4 = (int)param_2[7];\n  do {\n    do {\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    } while (iVar1 != 0x12);\n    uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);\n    if (0xfeff < uVar2) {\n      uVar2 = uVar2 + *param_1;\n    }\n  } while (param_3 != uVar2);\n  FUN_001cdc90(param_1,param_2,iVar4,0);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (if_statement "if (*(long *)(param_1 + 2) != *(long *)(param_1 + 4)) {\n    return;\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 2) != *(long *)(param_1 + 4))" (( "(") (binary_expression "*(long *)(param_1 + 2) != *(long *)(param_1 + 4)" (pointer_expression "*(long *)(param_1 + 2)" (* "*") (cast_expression "(long *)(param_1 + 2)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (!= "!=") (pointer_expression "*(long *)(param_1 + 4)" (* "*") (cast_expression "(long *)(param_1 + 4)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (param_3 == 0) {\n                    \n    FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");\n  }" ({ "{") (expression_statement "FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");" (call_expression "FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex")" (identifier "FUN_0017c650") (argument_list "("../../gold/object.cc",0x55,"initialize_symtab_xindex")" (( "(") (string_literal ""../../gold/object.cc"" (" """) (string_content "../../gold/object.cc") (" """)) (, ",") (number_literal "0x55") (, ",") (string_literal ""initialize_symtab_xindex"" (" """) (string_content "initialize_symtab_xindex") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar4 = (int)param_2[7];" (assignment_expression "iVar4 = (int)param_2[7]" (identifier "iVar4") (= "=") (cast_expression "(int)param_2[7]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]")))) (; ";")) (do_statement "do {\n    do {\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    } while (iVar1 != 0x12);\n    uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);\n    if (0xfeff < uVar2) {\n      uVar2 = uVar2 + *param_1;\n    }\n  } while (param_3 != uVar2);" (do "do") (compound_statement "{\n    do {\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    } while (iVar1 != 0x12);\n    uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);\n    if (0xfeff < uVar2) {\n      uVar2 = uVar2 + *param_1;\n    }\n  }" ({ "{") (do_statement "do {\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    } while (iVar1 != 0x12);" (do "do") (compound_statement "{\n      if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }\n      iVar4 = iVar4 + -1;\n      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);\n    }" ({ "{") (if_statement "if (iVar4 == 0) {\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");\n        FUN_001bd150(param_2,uVar3);\n        return;\n      }" ({ "{") (expression_statement "uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");" (assignment_expression "uVar3 = gettext("missing SHT_SYMTAB_SHNDX section")" (identifier "uVar3") (= "=") (call_expression "gettext("missing SHT_SYMTAB_SHNDX section")" (identifier "gettext") (argument_list "("missing SHT_SYMTAB_SHNDX section")" (( "(") (string_literal ""missing SHT_SYMTAB_SHNDX section"" (" """) (string_content "missing SHT_SYMTAB_SHNDX section") (" """)) () ")")))) (; ";")) (expression_statement "FUN_001bd150(param_2,uVar3);" (call_expression "FUN_001bd150(param_2,uVar3)" (identifier "FUN_001bd150") (argument_list "(param_2,uVar3)" (( "(") (identifier "param_2") (, ",") (identifier "uVar3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);" (assignment_expression "iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(*param_2 + 0xa0))(param_2,iVar4)" (parenthesized_expression "(**(code **)(*param_2 + 0xa0))" (( "(") (pointer_expression "**(code **)(*param_2 + 0xa0)" (* "*") (pointer_expression "*(code **)(*param_2 + 0xa0)" (* "*") (cast_expression "(code **)(*param_2 + 0xa0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0xa0)" (( "(") (binary_expression "*param_2 + 0xa0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0xa0")) () ")"))))) () ")")) (argument_list "(param_2,iVar4)" (( "(") (identifier "param_2") (, ",") (identifier "iVar4") () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0x12)" (( "(") (binary_expression "iVar1 != 0x12" (identifier "iVar1") (!= "!=") (number_literal "0x12")) () ")")) (; ";")) (expression_statement "uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);" (assignment_expression "uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(*param_2 + 0xa8))(param_2,iVar4)" (parenthesized_expression "(**(code **)(*param_2 + 0xa8))" (( "(") (pointer_expression "**(code **)(*param_2 + 0xa8)" (* "*") (pointer_expression "*(code **)(*param_2 + 0xa8)" (* "*") (cast_expression "(code **)(*param_2 + 0xa8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0xa8)" (( "(") (binary_expression "*param_2 + 0xa8" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0xa8")) () ")"))))) () ")")) (argument_list "(param_2,iVar4)" (( "(") (identifier "param_2") (, ",") (identifier "iVar4") () ")")))) (; ";")) (if_statement "if (0xfeff < uVar2) {\n      uVar2 = uVar2 + *param_1;\n    }" (if "if") (parenthesized_expression "(0xfeff < uVar2)" (( "(") (binary_expression "0xfeff < uVar2" (number_literal "0xfeff") (< "<") (identifier "uVar2")) () ")")) (compound_statement "{\n      uVar2 = uVar2 + *param_1;\n    }" ({ "{") (expression_statement "uVar2 = uVar2 + *param_1;" (assignment_expression "uVar2 = uVar2 + *param_1" (identifier "uVar2") (= "=") (binary_expression "uVar2 + *param_1" (identifier "uVar2") (+ "+") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(param_3 != uVar2)" (( "(") (binary_expression "param_3 != uVar2" (identifier "param_3") (!= "!=") (identifier "uVar2")) () ")")) (; ";")) (expression_statement "FUN_001cdc90(param_1,param_2,iVar4,0);" (call_expression "FUN_001cdc90(param_1,param_2,iVar4,0)" (identifier "FUN_001cdc90") (argument_list "(param_1,param_2,iVar4,0)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "iVar4") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original name: initialize_symtab_xindex<32, true>
   DWARF original prototype: void initialize_symtab_xindex<32,_true>(Xindex * this, Object * object,
   uint symtab_shndx) */

void __thiscall
gold::Xindex::initialize_symtab_xindex<32,_true>(Xindex *this,Object *object,type_1 var_4)

{
  int var_9;
  type_1 var_10;
  char *format;
  type_1 var_6;
  
  if ((this->symtab_xindex_).super__Vector_base<var_2,_std::var_1<var_2>var_3>._M_impl
      ._M_start !=
      (this->symtab_xindex_).super__Vector_base<var_2,_std::var_1<var_2>var_3>._M_impl
      ._M_finish) {
    return;
  }
  if (var_4 == 0) {
                    /* WARNING: Subroutine does not return */
    var_5("../../gold/object.cc",0x55,"initialize_symtab_xindex");
  }
  var_6 = object->shnum_;
  do {
    do {
      if (var_6 == 0) {
        format = (char *)var_7("missing SHT_SYMTAB_SHNDX section");
        Object::var_8(object,format);
        return;
      }
      var_6 = var_6 - 1;
      var_9 = (*object->_vptr_Object[0x14])(object,(type_2)var_6);
    } while (var_9 != 0x12);
    var_10 = (*object->_vptr_Object[0x15])(object,(type_2)var_6);
    if (0xfeff < var_10) {
      var_10 = var_10 + this->large_shndx_offset_;
    }
  } while (var_4 != var_10);
  var_11<32,_true>(this,object,var_6,(type_3 *)0x0);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (do_statement body: (compound_statement (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (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: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (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: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (number_literal)))) (return_statement))))

void MASKED(int *param_1,long *param_2,uint param_3)

{
  int iVar1;
  uint uVar2;
  undefined8 uVar3;
  int iVar4;
  
  if (*(long *)(param_1 + 2) != *(long *)(param_1 + 4)) {
    return;
  }
  if (param_3 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/object.cc",0x55,"initialize_symtab_xindex");
  }
  iVar4 = (int)param_2[7];
  do {
    do {
      if (iVar4 == 0) {
        uVar3 = gettext("missing SHT_SYMTAB_SHNDX section");
        FUN_001bd150(param_2,uVar3);
        return;
      }
      iVar4 = iVar4 + -1;
      iVar1 = (**(code **)(*param_2 + 0xa0))(param_2,iVar4);
    } while (iVar1 != 0x12);
    uVar2 = (**(code **)(*param_2 + 0xa8))(param_2,iVar4);
    if (0xfeff < uVar2) {
      uVar2 = uVar2 + *param_1;
    }
  } while (param_3 != uVar2);
  FUN_001cdc90(param_1,param_2,iVar4,0);
  return;
}

