
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void relocate_relocs(Target_tilegx<64,_true> * this,
   Relocate_info<64,_true> * relinfo, uint sh_type, uchar * prelocs, size_t reloc_count,
   Output_section * output_section, Elf_Off offset_in_output_section, uchar * view, Elf_Addr
   view_address, section_size_type view_size, uchar * reloc_view, section_size_type reloc_view_size)
    */

void __thiscall
anon_unknown.dwarf_b97484::Target_tilegx<64,_true>::relocate_relocs
          (Target_tilegx<64,_true> *this,Relocate_info<64,_true> *relinfo,uint sh_type,
          uchar *prelocs,size_t reloc_count,Output_section *output_section,
          Elf_Off offset_in_output_section,uchar *view,Elf_Addr view_address,
          section_size_type view_size,uchar *reloc_view,section_size_type reloc_view_size)

{
  if (sh_type == 4) {
    gold::relocate_relocs<64,_true,_gold::Default_classify_reloc<4,_64,_true>_>
              (relinfo,prelocs,reloc_count,output_section,offset_in_output_section,view,view_address
               ,view_size,reloc_view,reloc_view_size);
    return;
  }
                    /* WARNING: Subroutine does not return */
  gold::do_gold_unreachable("../../gold/tilegx.cc",0x1327,"relocate_relocs");
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_00158980(undefined4 param_1,undefined4 param_2,int param_3,undefined4 param_4)

{
  if (param_3 == 4) {
    FUN_000a6c70();
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4);
}


CALL 0x00074f02
ADD EAX,0x49167b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x2c
MOV ESI,dword ptr [ESP + 0x58]
MOV EDI,dword ptr [ESP + 0x5c]
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [ESP + 0x44]
CMP dword ptr [ESP + 0x48],0x4
MOV EDX,dword ptr [ESP + 0x50]
MOV ECX,dword ptr [ESP + 0x54]
MOV dword ptr [ESP + 0x8],ESI
MOV ESI,dword ptr [ESP + 0x64]
MOV EBX,dword ptr [ESP + 0x60]
MOV dword ptr [ESP + 0xc],EDI
MOV EDI,dword ptr [ESP + 0x68]
MOV EBP,dword ptr [ESP + 0x74]
MOV dword ptr [ESP + 0x18],EAX
MOV dword ptr [ESP + 0x10],ESI
MOV EAX,dword ptr [ESP + 0x4c]
MOV dword ptr [ESP + 0x14],EDI
MOV ESI,dword ptr [ESP + 0x6c]
MOV EDI,dword ptr [ESP + 0x70]
JNZ 0x00158a30
MOV dword ptr [ESP + 0x64],ESI
MOV ESI,dword ptr [ESP + 0x10]
MOV dword ptr [ESP + 0x68],EDI
MOV EDI,dword ptr [ESP + 0x14]
MOV dword ptr [ESP + 0x5c],ESI
MOV ESI,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x58],EBX
MOV EBX,dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0x44],EAX
MOV EAX,dword ptr [ESP + 0x18]
MOV dword ptr [ESP + 0x6c],EBP
MOV dword ptr [ESP + 0x60],EDI
MOV dword ptr [ESP + 0x50],EBX
MOV dword ptr [ESP + 0x54],ESI
MOV dword ptr [ESP + 0x4c],ECX
MOV dword ptr [ESP + 0x48],EDX
MOV dword ptr [ESP + 0x40],EAX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x000a6c70
PUSH EAX
MOV EBX,dword ptr [ESP + 0x20]
LEA EAX,[EBX + 0xffe85a80]
PUSH EAX
LEA EAX,[EBX + 0xffe82a52]
PUSH 0x1327
PUSH EAX
CALL 0x002446e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_00158980(undefined4 param_1,undefined4 param_2,int param_3,undefined4 param_4)\n\n{\n  if (param_3 == 4) {\n    FUN_000a6c70();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4);\n}\n\n" comment (function_definition "void FUN_00158980(undefined4 param_1,undefined4 param_2,int param_3,undefined4 param_4)\n\n{\n  if (param_3 == 4) {\n    FUN_000a6c70();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4);\n}" primitive_type (function_declarator "FUN_00158980(undefined4 param_1,undefined4 param_2,int param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  if (param_3 == 4) {\n    FUN_000a6c70();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4);\n}" { (if_statement "if (param_3 == 4) {\n    FUN_000a6c70();\n    return;\n  }" if (parenthesized_expression "(param_3 == 4)" ( (binary_expression "param_3 == 4" identifier == number_literal) )) (compound_statement "{\n    FUN_000a6c70();\n    return;\n  }" { (expression_statement "FUN_000a6c70();" (call_expression "FUN_000a6c70()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_002446e0("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4);" (call_expression "FUN_002446e0("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4)" identifier (argument_list "("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4)" ( (string_literal ""../../gold/tilegx.cc"" " string_content ") , number_literal , (string_literal ""relocate_relocs"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void relocate_relocs(Target_tilegx<64,_true> * this,\n   Relocate_info<64,_true> * relinfo, uint sh_type, uchar * prelocs, size_t reloc_count,\n   Output_section * output_section, Elf_Off offset_in_output_section, uchar * view, Elf_Addr\n   view_address, section_size_type view_size, uchar * reloc_view, section_size_type reloc_view_size)\n    */\n\nvoid __thiscall\nanon_unknown.dwarf_b97484::Target_tilegx<64,_true>::relocate_relocs\n          (Target_tilegx<64,_true> *this,Relocate_info<64,_true> *relinfo,uint sh_type,\n          uchar *prelocs,size_t reloc_count,Output_section *output_section,\n          Elf_Off offset_in_output_section,uchar *view,Elf_Addr view_address,\n          section_size_type view_size,uchar *reloc_view,section_size_type reloc_view_size)\n\n{\n  if (sh_type == 4) {\n    gold::relocate_relocs<64,_true,_gold::Default_classify_reloc<4,_64,_true>_>\n              (relinfo,prelocs,reloc_count,output_section,offset_in_output_section,view,view_address\n               ,view_size,reloc_view,reloc_view_size);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::do_gold_unreachable("../../gold/tilegx.cc",0x1327,"relocate_relocs");\n}\n\n" comment comment comment comment (declaration "void __thiscall\nanon_unknown.dwarf_b97484::Target_tilegx<64,_true>::relocate_relocs\n          (Target_tilegx<64,_true> *this,Relocate_info<64,_true> *relinfo,uint sh_type,\n          uchar *prelocs,size_t reloc_count,Output_section *output_section,\n          Elf_Off offset_in_output_section,uchar *view,Elf_Addr view_address,\n          section_size_type view_size,uchar *reloc_view,section_size_type reloc_view_size)\n\n{\n  if (sh_type == 4) {\n    gold::relocate_relocs<64,_true,_gold::Default_classify_reloc<4,_64,_true>_>\n              (relinfo,prelocs,reloc_count,output_section,offset_in_output_section,view,view_address\n               ,view_size,reloc_view,reloc_view_size);" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_b97484::" identifier . identifier : :) identifier (ERROR "<64,_true>::relocate_relocs\n          (Target_tilegx<64,_true> *this,Relocate_info<64,_true> *relinfo,uint sh_type,\n          uchar *prelocs,size_t reloc_count,Output_section *output_section,\n          Elf_Off offset_in_output_section,uchar *view,Elf_Addr view_address,\n          section_size_type view_size,uchar *reloc_view,section_size_type reloc_view_size)\n\n{\n  if (sh_type == 4) {\n    gold::relocate_relocs<64" < number_literal , (ERROR "_true>::" identifier > : :) (function_declarator "relocate_relocs\n          (Target_tilegx<64,_true> *this,Relocate_info<64,_true> *relinfo,uint sh_type,\n          uchar *prelocs,size_t reloc_count,Output_section *output_section,\n          Elf_Off offset_in_output_section,uchar *view,Elf_Addr view_address,\n          section_size_type view_size,uchar *reloc_view,section_size_type reloc_view_size)\n\n{\n  if (sh_type == 4)" (function_declarator "relocate_relocs\n          (Target_tilegx<64,_true> *this,Relocate_info<64,_true> *relinfo,uint sh_type,\n          uchar *prelocs,size_t reloc_count,Output_section *output_section,\n          Elf_Off offset_in_output_section,uchar *view,Elf_Addr view_address,\n          section_size_type view_size,uchar *reloc_view,section_size_type reloc_view_size)" identifier (parameter_list "(Target_tilegx<64,_true> *this,Relocate_info<64,_true> *relinfo,uint sh_type,\n          uchar *prelocs,size_t reloc_count,Output_section *output_section,\n          Elf_Off offset_in_output_section,uchar *view,Elf_Addr view_address,\n          section_size_type view_size,uchar *reloc_view,section_size_type reloc_view_size)" ( (parameter_declaration "Target_tilegx" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Relocate_info" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_true> *relinfo" type_identifier (ERROR ">" >) (pointer_declarator "*relinfo" * identifier)) , (parameter_declaration "uint sh_type" type_identifier identifier) , (parameter_declaration "uchar *prelocs" type_identifier (pointer_declarator "*prelocs" * identifier)) , (parameter_declaration "size_t reloc_count" primitive_type identifier) , (parameter_declaration "Output_section *output_section" type_identifier (pointer_declarator "*output_section" * identifier)) , (parameter_declaration "Elf_Off offset_in_output_section" type_identifier identifier) , (parameter_declaration "uchar *view" type_identifier (pointer_declarator "*view" * identifier)) , (parameter_declaration "Elf_Addr view_address" type_identifier identifier) , (parameter_declaration "section_size_type view_size" type_identifier identifier) , (parameter_declaration "uchar *reloc_view" type_identifier (pointer_declarator "*reloc_view" * identifier)) , (parameter_declaration "section_size_type reloc_view_size" type_identifier identifier) ))) (ERROR "{\n  if" { if) (parameter_list "(sh_type == 4)" ( (parameter_declaration "sh_type" type_identifier) (ERROR "== 4" == number_literal) ))) { identifier : : identifier < number_literal) , identifier , (ERROR "_gold::" identifier : :) identifier (ERROR "<4" < number_literal) , identifier , (function_declarator "_true>_>\n              (relinfo,prelocs,reloc_count,output_section,offset_in_output_section,view,view_address\n               ,view_size,reloc_view,reloc_view_size)" identifier (ERROR ">_>" > identifier >) (parameter_list "(relinfo,prelocs,reloc_count,output_section,offset_in_output_section,view,view_address\n               ,view_size,reloc_view,reloc_view_size)" ( (parameter_declaration "relinfo" type_identifier) , (parameter_declaration "prelocs" type_identifier) , (parameter_declaration "reloc_count" type_identifier) , (parameter_declaration "output_section" type_identifier) , (parameter_declaration "offset_in_output_section" type_identifier) , (parameter_declaration "view" type_identifier) , (parameter_declaration "view_address" type_identifier) , (parameter_declaration "view_size" type_identifier) , (parameter_declaration "reloc_view" type_identifier) , (parameter_declaration "reloc_view_size" type_identifier) ))) ;) (return_statement "return;" return ;) (ERROR "}" }) comment (labeled_statement "gold::do_gold_unreachable("../../gold/tilegx.cc",0x1327,"relocate_relocs");" statement_identifier : (ERROR ":" :) (expression_statement "do_gold_unreachable("../../gold/tilegx.cc",0x1327,"relocate_relocs");" (call_expression "do_gold_unreachable("../../gold/tilegx.cc",0x1327,"relocate_relocs")" identifier (argument_list "("../../gold/tilegx.cc",0x1327,"relocate_relocs")" ( (string_literal ""../../gold/tilegx.cc"" " string_content ") , number_literal , (string_literal ""relocate_relocs"" " string_content ") ))) ;)) (ERROR "}" }))
(translation_unit "void FUN_00158980(undefined4 param_1,undefined4 param_2,int param_3,undefined4 param_4)\n\n{\n  if (param_3 == 4) {\n    FUN_000a6c70();\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4);\n}\n\n" (function_definition "void FUN_00158980(undefined4 param_1,undefined4 param_2,int param_3,undefined4 param_4)\n\n{\n  if (param_3 == 4) {\n    FUN_000a6c70();\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4);\n}" primitive_type (function_declarator "FUN_00158980(undefined4 param_1,undefined4 param_2,int param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  if (param_3 == 4) {\n    FUN_000a6c70();\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4);\n}" { (if_statement "if (param_3 == 4) {\n    FUN_000a6c70();\n    return;\n  }" if (parenthesized_expression "(param_3 == 4)" ( (binary_expression "param_3 == 4" identifier == number_literal) )) (compound_statement "{\n    FUN_000a6c70();\n    return;\n  }" { (expression_statement "FUN_000a6c70();" (call_expression "FUN_000a6c70()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_002446e0("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4);" (call_expression "FUN_002446e0("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4)" identifier (argument_list "("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4)" ( (string_literal ""../../gold/tilegx.cc"" " string_content ") , number_literal , (string_literal ""relocate_relocs"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_00158980(undefined4 param_1,undefined4 param_2,int param_3,undefined4 param_4)\n\n{\n  if (param_3 == 4) {\n    FUN_000a6c70();\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4);\n}" (primitive_type "void") (function_declarator "FUN_00158980(undefined4 param_1,undefined4 param_2,int param_3,undefined4 param_4)" (identifier "FUN_00158980") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3,undefined4 param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  if (param_3 == 4) {\n    FUN_000a6c70();\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4);\n}" ({ "{") (if_statement "if (param_3 == 4) {\n    FUN_000a6c70();\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 == 4)" (( "(") (binary_expression "param_3 == 4" (identifier "param_3") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n    FUN_000a6c70();\n    return;\n  }" ({ "{") (expression_statement "FUN_000a6c70();" (call_expression "FUN_000a6c70()" (identifier "FUN_000a6c70") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_002446e0("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4);" (call_expression "FUN_002446e0("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4)" (identifier "FUN_002446e0") (argument_list "("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4)" (( "(") (string_literal ""../../gold/tilegx.cc"" (" """) (string_content "../../gold/tilegx.cc") (" """)) (, ",") (number_literal "0x1327") (, ",") (string_literal ""relocate_relocs"" (" """) (string_content "relocate_relocs") (" """)) (, ",") (identifier "param_4") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void relocate_relocs(Target_tilegx<64,_true> * this,
   Relocate_info<64,_true> * relinfo, uint sh_type, uchar * prelocs, size_t reloc_count,
   Output_section * output_section, Elf_Off offset_in_output_section, uchar * view, Elf_Addr
   view_address, section_size_type view_size, uchar * reloc_view, section_size_type reloc_view_size)
    */

void __thiscall
anon_unknown.dwarf_b97484::Target_tilegx<64,function_1>::relocate_relocs
          (Target_tilegx<64,function_1> *this,Relocate_info<64,function_1> *type_1,uint sh_type,
          uchar *type_2,size_t type_3,Output_section *type_4,
          Elf_Off type_5,uchar *type_6,Elf_Addr type_7,
          section_size_type type_8,uchar *type_9,section_size_type type_10)

{
  if (sh_type == 4) {
    gold::relocate_relocs<64,function_1,_gold::Default_classify_reloc<4,_64,function_1>_>
              (type_1,type_2,type_3,type_4,type_5,type_6,type_7
               ,type_8,type_9,type_10);
    return;
  }
                    /* WARNING: Subroutine does not return */
  gold::var_1("../../gold/tilegx.cc",0x1327,"relocate_relocs");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (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))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

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

{
  if (param_3 == 4) {
    FUN_000a6c70();
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/tilegx.cc",0x1327,"relocate_relocs",param_4);
}

