
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Relobj * relobj(Input_section * this) */

Relobj * __thiscall gold::Output_section::Input_section::relobj(Input_section *this)

{
  uint uVar1;
  Relobj *pRVar2;
  
  uVar1 = this->shndx_;
  if (3 < uVar1 + 4) {
    return (this->u2_).object;
  }
  if (uVar1 + 3 < 2) {
    pRVar2 = (Relobj *)
             (((this->u2_).object)->output_sections_).
             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.
             _M_impl._M_start;
    if (pRVar2 == (Relobj *)0x0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/output.cc",0x8a4,"relobj");
    }
  }
  else {
    if (uVar1 != 0xfffffffc) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/output.cc",0x8aa,"relobj");
    }
    pRVar2 = *(Relobj **)&(((this->u2_).object)->super_Object).field_0x2c;
  }
  return pRVar2;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int FUN_00101710(int *param_1)

{
  int iVar1;
  
  iVar1 = *param_1;
  if (3 < iVar1 + 4U) {
    return param_1[4];
  }
  if (iVar1 + 3U < 2) {
    iVar1 = *(int *)(param_1[4] + 0x38);
    if (iVar1 == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);
    }
  }
  else {
    if (iVar1 != -4) {
                    /* WARNING: Subroutine does not return */
      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);
    }
    iVar1 = *(int *)(param_1[4] + 0x2c);
  }
  return iVar1;
}


PUSH EBX
CALL 0x00036db0
ADD EBX,0x2a88ea
SUB ESP,0x8
MOV EDX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EDX]
LEA ECX,[EAX + 0x4]
CMP ECX,0x3
JA 0x00101770
LEA ECX,[EAX + 0x3]
CMP ECX,0x1
JBE 0x00101748
CMP EAX,-0x4
JNZ 0x00101778
MOV EAX,dword ptr [EDX + 0x10]
MOV EAX,dword ptr [EAX + 0x2c]
ADD ESP,0x8
POP EBX
RET
MOV EAX,dword ptr [EDX + 0x10]
MOV EAX,dword ptr [EAX + 0x38]
TEST EAX,EAX
JNZ 0x00101740
LEA EAX,[EBX + 0xfff023b4]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xfff0078b]
PUSH 0x8a4
PUSH EAX
CALL 0x0007ac80
MOV EAX,dword ptr [EDX + 0x10]
ADD ESP,0x8
POP EBX
RET
PUSH EAX
LEA EAX,[EBX + 0xfff023b4]
PUSH EAX
LEA EAX,[EBX + 0xfff0078b]
PUSH 0x8aa
PUSH EAX
CALL 0x0007ac80
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_00101710(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (3 < iVar1 + 4U) {\n    return param_1[4];\n  }\n  if (iVar1 + 3U < 2) {\n    iVar1 = *(int *)(param_1[4] + 0x38);\n    if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }\n  }\n  else {\n    if (iVar1 != -4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }\n    iVar1 = *(int *)(param_1[4] + 0x2c);\n  }\n  return iVar1;\n}\n\n" comment (function_definition "int FUN_00101710(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (3 < iVar1 + 4U) {\n    return param_1[4];\n  }\n  if (iVar1 + 3U < 2) {\n    iVar1 = *(int *)(param_1[4] + 0x38);\n    if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }\n  }\n  else {\n    if (iVar1 != -4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }\n    iVar1 = *(int *)(param_1[4] + 0x2c);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00101710(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (3 < iVar1 + 4U) {\n    return param_1[4];\n  }\n  if (iVar1 + 3U < 2) {\n    iVar1 = *(int *)(param_1[4] + 0x38);\n    if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }\n  }\n  else {\n    if (iVar1 != -4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }\n    iVar1 = *(int *)(param_1[4] + 0x2c);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (3 < iVar1 + 4U) {\n    return param_1[4];\n  }" if (parenthesized_expression "(3 < iVar1 + 4U)" ( (binary_expression "3 < iVar1 + 4U" number_literal < (binary_expression "iVar1 + 4U" identifier + number_literal)) )) (compound_statement "{\n    return param_1[4];\n  }" { (return_statement "return param_1[4];" return (subscript_expression "param_1[4]" identifier [ number_literal ]) ;) })) (if_statement "if (iVar1 + 3U < 2) {\n    iVar1 = *(int *)(param_1[4] + 0x38);\n    if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }\n  }\n  else {\n    if (iVar1 != -4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }\n    iVar1 = *(int *)(param_1[4] + 0x2c);\n  }" if (parenthesized_expression "(iVar1 + 3U < 2)" ( (binary_expression "iVar1 + 3U < 2" (binary_expression "iVar1 + 3U" identifier + number_literal) < number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(param_1[4] + 0x38);\n    if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }\n  }" { (expression_statement "iVar1 = *(int *)(param_1[4] + 0x38);" (assignment_expression "iVar1 = *(int *)(param_1[4] + 0x38)" identifier = (pointer_expression "*(int *)(param_1[4] + 0x38)" * (cast_expression "(int *)(param_1[4] + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[4] + 0x38)" ( (binary_expression "param_1[4] + 0x38" (subscript_expression "param_1[4]" identifier [ number_literal ]) + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }" { comment (expression_statement "FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);" (call_expression "FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1)" identifier (argument_list "("../../gold/output.cc",0x8a4,"relobj",param_1)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""relobj"" " string_content ") , identifier ))) ;) })) }) (else_clause "else {\n    if (iVar1 != -4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }\n    iVar1 = *(int *)(param_1[4] + 0x2c);\n  }" else (compound_statement "{\n    if (iVar1 != -4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }\n    iVar1 = *(int *)(param_1[4] + 0x2c);\n  }" { (if_statement "if (iVar1 != -4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }" if (parenthesized_expression "(iVar1 != -4)" ( (binary_expression "iVar1 != -4" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }" { comment (expression_statement "FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);" (call_expression "FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1)" identifier (argument_list "("../../gold/output.cc",0x8aa,"relobj",iVar1)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""relobj"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar1 = *(int *)(param_1[4] + 0x2c);" (assignment_expression "iVar1 = *(int *)(param_1[4] + 0x2c)" identifier = (pointer_expression "*(int *)(param_1[4] + 0x2c)" * (cast_expression "(int *)(param_1[4] + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[4] + 0x2c)" ( (binary_expression "param_1[4] + 0x2c" (subscript_expression "param_1[4]" identifier [ number_literal ]) + number_literal) ))))) ;) }))) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: Relobj * relobj(Input_section * this) */\n\nRelobj * __thiscall gold::Output_section::Input_section::relobj(Input_section *this)\n\n{\n  uint uVar1;\n  Relobj *pRVar2;\n  \n  uVar1 = this->shndx_;\n  if (3 < uVar1 + 4) {\n    return (this->u2_).object;\n  }\n  if (uVar1 + 3 < 2) {\n    pRVar2 = (Relobj *)\n             (((this->u2_).object)->output_sections_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_start;\n    if (pRVar2 == (Relobj *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x8a4,"relobj");\n    }\n  }\n  else {\n    if (uVar1 != 0xfffffffc) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x8aa,"relobj");\n    }\n    pRVar2 = *(Relobj **)&(((this->u2_).object)->super_Object).field_0x2c;\n  }\n  return pRVar2;\n}\n\n" comment comment (ERROR "Relobj * __thiscall gold::Output_section::Input_section::relobj(Input_section *this)" (binary_expression "Relobj * __thiscall gold::Output_section::Input_section::relobj(Input_section *this" (binary_expression "Relobj * __thiscall" identifier * identifier) (ERROR "gold::Output_section::Input_section::relobj(Input_section" identifier : : identifier : : identifier : : identifier ( identifier) * identifier) )) (compound_statement "{\n  uint uVar1;\n  Relobj *pRVar2;\n  \n  uVar1 = this->shndx_;\n  if (3 < uVar1 + 4) {\n    return (this->u2_).object;\n  }\n  if (uVar1 + 3 < 2) {\n    pRVar2 = (Relobj *)\n             (((this->u2_).object)->output_sections_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_start;\n    if (pRVar2 == (Relobj *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x8a4,"relobj");\n    }\n  }\n  else {\n    if (uVar1 != 0xfffffffc) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x8aa,"relobj");\n    }\n    pRVar2 = *(Relobj **)&(((this->u2_).object)->super_Object).field_0x2c;\n  }\n  return pRVar2;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "Relobj *pRVar2;" type_identifier (pointer_declarator "*pRVar2" * identifier) ;) (expression_statement "uVar1 = this->shndx_;" (assignment_expression "uVar1 = this->shndx_" identifier = (field_expression "this->shndx_" identifier -> field_identifier)) ;) (if_statement "if (3 < uVar1 + 4) {\n    return (this->u2_).object;\n  }" if (parenthesized_expression "(3 < uVar1 + 4)" ( (binary_expression "3 < uVar1 + 4" number_literal < (binary_expression "uVar1 + 4" identifier + number_literal)) )) (compound_statement "{\n    return (this->u2_).object;\n  }" { (return_statement "return (this->u2_).object;" return (field_expression "(this->u2_).object" (parenthesized_expression "(this->u2_)" ( (field_expression "this->u2_" identifier -> field_identifier) )) . field_identifier) ;) })) (if_statement "if (uVar1 + 3 < 2) {\n    pRVar2 = (Relobj *)\n             (((this->u2_).object)->output_sections_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_start;\n    if (pRVar2 == (Relobj *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x8a4,"relobj");\n    }\n  }\n  else {\n    if (uVar1 != 0xfffffffc) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x8aa,"relobj");\n    }\n    pRVar2 = *(Relobj **)&(((this->u2_).object)->super_Object).field_0x2c;\n  }" if (parenthesized_expression "(uVar1 + 3 < 2)" ( (binary_expression "uVar1 + 3 < 2" (binary_expression "uVar1 + 3" identifier + number_literal) < number_literal) )) (compound_statement "{\n    pRVar2 = (Relobj *)\n             (((this->u2_).object)->output_sections_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_start;\n    if (pRVar2 == (Relobj *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x8a4,"relobj");\n    }\n  }" { (expression_statement "pRVar2 = (Relobj *)\n             (((this->u2_).object)->output_sections_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_start;" (field_expression "pRVar2 = (Relobj *)\n             (((this->u2_).object)->output_sections_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_start" (field_expression "pRVar2 = (Relobj *)\n             (((this->u2_).object)->output_sections_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl" (binary_expression "pRVar2 = (Relobj *)\n             (((this->u2_).object)->output_sections_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "pRVar2 = (Relobj *)\n             (((this->u2_).object)->output_sections_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "pRVar2 = (Relobj *)\n             (((this->u2_).object)->output_sections_).\n             super__Vector_base<gold::Output_section*,_std" (assignment_expression "pRVar2 = (Relobj *)\n             (((this->u2_).object)->output_sections_).\n             super__Vector_base<gold" identifier = (binary_expression "(Relobj *)\n             (((this->u2_).object)->output_sections_).\n             super__Vector_base<gold" (cast_expression "(Relobj *)\n             (((this->u2_).object)->output_sections_).\n             super__Vector_base" ( (type_descriptor "Relobj *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(((this->u2_).object)->output_sections_).\n             super__Vector_base" (parenthesized_expression "(((this->u2_).object)->output_sections_)" ( (field_expression "((this->u2_).object)->output_sections_" (parenthesized_expression "((this->u2_).object)" ( (field_expression "(this->u2_).object" (parenthesized_expression "(this->u2_)" ( (field_expression "this->u2_" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) )) . field_identifier)) < identifier)) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (pRVar2 == (Relobj *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x8a4,"relobj");\n    }" if (parenthesized_expression "(pRVar2 == (Relobj *)0x0)" ( (binary_expression "pRVar2 == (Relobj *)0x0" identifier == (cast_expression "(Relobj *)0x0" ( (type_descriptor "Relobj *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x8a4,"relobj");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/output.cc",0x8a4,"relobj");" (call_expression "do_gold_unreachable("../../gold/output.cc",0x8a4,"relobj")" identifier (argument_list "("../../gold/output.cc",0x8a4,"relobj")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""relobj"" " string_content ") ))) ;) })) }) (else_clause "else {\n    if (uVar1 != 0xfffffffc) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x8aa,"relobj");\n    }\n    pRVar2 = *(Relobj **)&(((this->u2_).object)->super_Object).field_0x2c;\n  }" else (compound_statement "{\n    if (uVar1 != 0xfffffffc) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x8aa,"relobj");\n    }\n    pRVar2 = *(Relobj **)&(((this->u2_).object)->super_Object).field_0x2c;\n  }" { (if_statement "if (uVar1 != 0xfffffffc) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x8aa,"relobj");\n    }" if (parenthesized_expression "(uVar1 != 0xfffffffc)" ( (binary_expression "uVar1 != 0xfffffffc" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x8aa,"relobj");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/output.cc",0x8aa,"relobj");" (call_expression "do_gold_unreachable("../../gold/output.cc",0x8aa,"relobj")" identifier (argument_list "("../../gold/output.cc",0x8aa,"relobj")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""relobj"" " string_content ") ))) ;) })) (expression_statement "pRVar2 = *(Relobj **)&(((this->u2_).object)->super_Object).field_0x2c;" (assignment_expression "pRVar2 = *(Relobj **)&(((this->u2_).object)->super_Object).field_0x2c" identifier = (pointer_expression "*(Relobj **)&(((this->u2_).object)->super_Object).field_0x2c" * (cast_expression "(Relobj **)&(((this->u2_).object)->super_Object).field_0x2c" ( (type_descriptor "Relobj **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&(((this->u2_).object)->super_Object).field_0x2c" & (field_expression "(((this->u2_).object)->super_Object).field_0x2c" (parenthesized_expression "(((this->u2_).object)->super_Object)" ( (field_expression "((this->u2_).object)->super_Object" (parenthesized_expression "((this->u2_).object)" ( (field_expression "(this->u2_).object" (parenthesized_expression "(this->u2_)" ( (field_expression "this->u2_" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) )) . field_identifier))))) ;) }))) (return_statement "return pRVar2;" return identifier ;) }))
(translation_unit "int FUN_00101710(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (3 < iVar1 + 4U) {\n    return param_1[4];\n  }\n  if (iVar1 + 3U < 2) {\n    iVar1 = *(int *)(param_1[4] + 0x38);\n    if (iVar1 == 0) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }\n  }\n  else {\n    if (iVar1 != -4) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }\n    iVar1 = *(int *)(param_1[4] + 0x2c);\n  }\n  return iVar1;\n}\n\n" (function_definition "int FUN_00101710(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (3 < iVar1 + 4U) {\n    return param_1[4];\n  }\n  if (iVar1 + 3U < 2) {\n    iVar1 = *(int *)(param_1[4] + 0x38);\n    if (iVar1 == 0) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }\n  }\n  else {\n    if (iVar1 != -4) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }\n    iVar1 = *(int *)(param_1[4] + 0x2c);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00101710(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (3 < iVar1 + 4U) {\n    return param_1[4];\n  }\n  if (iVar1 + 3U < 2) {\n    iVar1 = *(int *)(param_1[4] + 0x38);\n    if (iVar1 == 0) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }\n  }\n  else {\n    if (iVar1 != -4) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }\n    iVar1 = *(int *)(param_1[4] + 0x2c);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (3 < iVar1 + 4U) {\n    return param_1[4];\n  }" if (parenthesized_expression "(3 < iVar1 + 4U)" ( (binary_expression "3 < iVar1 + 4U" number_literal < (binary_expression "iVar1 + 4U" identifier + number_literal)) )) (compound_statement "{\n    return param_1[4];\n  }" { (return_statement "return param_1[4];" return (subscript_expression "param_1[4]" identifier [ number_literal ]) ;) })) (if_statement "if (iVar1 + 3U < 2) {\n    iVar1 = *(int *)(param_1[4] + 0x38);\n    if (iVar1 == 0) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }\n  }\n  else {\n    if (iVar1 != -4) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }\n    iVar1 = *(int *)(param_1[4] + 0x2c);\n  }" if (parenthesized_expression "(iVar1 + 3U < 2)" ( (binary_expression "iVar1 + 3U < 2" (binary_expression "iVar1 + 3U" identifier + number_literal) < number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(param_1[4] + 0x38);\n    if (iVar1 == 0) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }\n  }" { (expression_statement "iVar1 = *(int *)(param_1[4] + 0x38);" (assignment_expression "iVar1 = *(int *)(param_1[4] + 0x38)" identifier = (pointer_expression "*(int *)(param_1[4] + 0x38)" * (cast_expression "(int *)(param_1[4] + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[4] + 0x38)" ( (binary_expression "param_1[4] + 0x38" (subscript_expression "param_1[4]" identifier [ number_literal ]) + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }" { (expression_statement "FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);" (call_expression "FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1)" identifier (argument_list "("../../gold/output.cc",0x8a4,"relobj",param_1)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""relobj"" " string_content ") , identifier ))) ;) })) }) (else_clause "else {\n    if (iVar1 != -4) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }\n    iVar1 = *(int *)(param_1[4] + 0x2c);\n  }" else (compound_statement "{\n    if (iVar1 != -4) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }\n    iVar1 = *(int *)(param_1[4] + 0x2c);\n  }" { (if_statement "if (iVar1 != -4) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }" if (parenthesized_expression "(iVar1 != -4)" ( (binary_expression "iVar1 != -4" identifier != number_literal) )) (compound_statement "{\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }" { (expression_statement "FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);" (call_expression "FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1)" identifier (argument_list "("../../gold/output.cc",0x8aa,"relobj",iVar1)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""relobj"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar1 = *(int *)(param_1[4] + 0x2c);" (assignment_expression "iVar1 = *(int *)(param_1[4] + 0x2c)" identifier = (pointer_expression "*(int *)(param_1[4] + 0x2c)" * (cast_expression "(int *)(param_1[4] + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[4] + 0x2c)" ( (binary_expression "param_1[4] + 0x2c" (subscript_expression "param_1[4]" identifier [ number_literal ]) + number_literal) ))))) ;) }))) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT + LIT)) )) (compound_statement { (return_statement return (subscript_expression IDENT [ LIT ]) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) ;) (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 ") , IDENT ))) ;) })) }) (else_clause else (compound_statement { (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 ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "int FUN_00101710(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (3 < iVar1 + 4U) {\n    return param_1[4];\n  }\n  if (iVar1 + 3U < 2) {\n    iVar1 = *(int *)(param_1[4] + 0x38);\n    if (iVar1 == 0) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }\n  }\n  else {\n    if (iVar1 != -4) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }\n    iVar1 = *(int *)(param_1[4] + 0x2c);\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_00101710(int *param_1)" (identifier "FUN_00101710") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (3 < iVar1 + 4U) {\n    return param_1[4];\n  }\n  if (iVar1 + 3U < 2) {\n    iVar1 = *(int *)(param_1[4] + 0x38);\n    if (iVar1 == 0) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }\n  }\n  else {\n    if (iVar1 != -4) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }\n    iVar1 = *(int *)(param_1[4] + 0x2c);\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (3 < iVar1 + 4U) {\n    return param_1[4];\n  }" (if "if") (parenthesized_expression "(3 < iVar1 + 4U)" (( "(") (binary_expression "3 < iVar1 + 4U" (number_literal "3") (< "<") (binary_expression "iVar1 + 4U" (identifier "iVar1") (+ "+") (number_literal "4U"))) () ")")) (compound_statement "{\n    return param_1[4];\n  }" ({ "{") (return_statement "return param_1[4];" (return "return") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (; ";")) (} "}"))) (if_statement "if (iVar1 + 3U < 2) {\n    iVar1 = *(int *)(param_1[4] + 0x38);\n    if (iVar1 == 0) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }\n  }\n  else {\n    if (iVar1 != -4) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }\n    iVar1 = *(int *)(param_1[4] + 0x2c);\n  }" (if "if") (parenthesized_expression "(iVar1 + 3U < 2)" (( "(") (binary_expression "iVar1 + 3U < 2" (binary_expression "iVar1 + 3U" (identifier "iVar1") (+ "+") (number_literal "3U")) (< "<") (number_literal "2")) () ")")) (compound_statement "{\n    iVar1 = *(int *)(param_1[4] + 0x38);\n    if (iVar1 == 0) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(param_1[4] + 0x38);" (assignment_expression "iVar1 = *(int *)(param_1[4] + 0x38)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1[4] + 0x38)" (* "*") (cast_expression "(int *)(param_1[4] + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[4] + 0x38)" (( "(") (binary_expression "param_1[4] + 0x38" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 0) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);\n    }" ({ "{") (expression_statement "FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);" (call_expression "FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1)" (identifier "FUN_0007ac80") (argument_list "("../../gold/output.cc",0x8a4,"relobj",param_1)" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0x8a4") (, ",") (string_literal ""relobj"" (" """) (string_content "relobj") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (iVar1 != -4) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }\n    iVar1 = *(int *)(param_1[4] + 0x2c);\n  }" (else "else") (compound_statement "{\n    if (iVar1 != -4) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }\n    iVar1 = *(int *)(param_1[4] + 0x2c);\n  }" ({ "{") (if_statement "if (iVar1 != -4) {\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }" (if "if") (parenthesized_expression "(iVar1 != -4)" (( "(") (binary_expression "iVar1 != -4" (identifier "iVar1") (!= "!=") (number_literal "-4")) () ")")) (compound_statement "{\n                    \n      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);\n    }" ({ "{") (expression_statement "FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);" (call_expression "FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1)" (identifier "FUN_0007ac80") (argument_list "("../../gold/output.cc",0x8aa,"relobj",iVar1)" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0x8aa") (, ",") (string_literal ""relobj"" (" """) (string_content "relobj") (" """)) (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = *(int *)(param_1[4] + 0x2c);" (assignment_expression "iVar1 = *(int *)(param_1[4] + 0x2c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1[4] + 0x2c)" (* "*") (cast_expression "(int *)(param_1[4] + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[4] + 0x2c)" (( "(") (binary_expression "param_1[4] + 0x2c" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (} "}")))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Relobj * relobj(Input_section * this) */

type_2 * __thiscall var_2::Output_section::Input_section::relobj(Input_section *this)

{
  type_1 var_1;
  type_2 *var_5;
  
  var_1 = this->shndx_;
  if (3 < var_1 + 4) {
    return (this->u2_).object;
  }
  if (var_1 + 3 < 2) {
    var_5 = (type_2 *)
             (((this->u2_).object)->output_sections_).
             super__Vector_base<var_2::Output_section*,var_3::allocator<var_2::Output_section*>var_4>.
             _M_impl._M_start;
    if (var_5 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_6("../../gold/output.cc",0x8a4,"relobj");
    }
  }
  else {
    if (var_1 != 0xfffffffc) {
                    /* WARNING: Subroutine does not return */
      var_6("../../gold/output.cc",0x8aa,"relobj");
    }
    var_5 = *(type_2 **)&(((this->u2_).object)->super_Object).field_0x2c;
  }
  return var_5;
}


(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))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (return_statement (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))))) (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)) (identifier))))))) alternative: (else_clause (compound_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)) (identifier)))))) (expression_statement (assignment_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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))))))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int MASKED(int *param_1)

{
  int iVar1;
  
  iVar1 = *param_1;
  if (3 < iVar1 + 4U) {
    return param_1[4];
  }
  if (iVar1 + 3U < 2) {
    iVar1 = *(int *)(param_1[4] + 0x38);
    if (iVar1 == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0007ac80("../../gold/output.cc",0x8a4,"relobj",param_1);
    }
  }
  else {
    if (iVar1 != -4) {
                    /* WARNING: Subroutine does not return */
      FUN_0007ac80("../../gold/output.cc",0x8aa,"relobj",iVar1);
    }
    iVar1 = *(int *)(param_1[4] + 0x2c);
  }
  return iVar1;
}

