
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Elf_Addr value_from_output_section(Merged_symbol_value<64> * this,
   Relobj * object, uint input_shndx, Elf_Addr input_offset) */

Elf_Addr __thiscall
gold::Merged_symbol_value<64>::value_from_output_section
          (Merged_symbol_value<64> *this,Relobj *object,uint input_shndx,Elf_Addr input_offset)

{
  section_offset_type output_offset;
  
}



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

undefined8 FUN_001b3170(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  undefined4 uVar1;
  int iVar2;
  int iVar3;
  uint local_10 [2];
  undefined4 uStack_8;
  
  uStack_8 = 0x1b3176;
  uVar1 = FUN_00121e40(param_2,param_3,param_4,local_10);
  if ((char)uVar1 != '\0') {
    iVar2 = 0;
    iVar3 = 0;
    if (local_10[0] != 0xffffffff) {
      iVar2 = local_10[0] + *(uint *)(param_1 + 8);
      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +
              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));
    }
    return CONCAT44(iVar3,iVar2);
  }
                    /* WARNING: Subroutine does not return */
  FUN_000da200("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1);
}


PUSH EBX
CALL 0x0003a210
ADD EBX,0x260e8a
SUB ESP,0x18
LEA EAX,[ESP + 0xc]
PUSH EAX
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESP + 0x30]
CALL 0x00121e40
ADD ESP,0x10
TEST AL,AL
JZ 0x001b31bb
MOV ECX,dword ptr [ESP + 0xc]
XOR EAX,EAX
XOR EDX,EDX
CMP ECX,-0x1
JZ 0x001b31b6
MOV EAX,ECX
MOV ECX,dword ptr [ESP + 0x20]
CDQ
ADD EAX,dword ptr [ECX + 0x8]
ADC EDX,dword ptr [ECX + 0xc]
ADD ESP,0x18
POP EBX
RET
PUSH EAX
LEA EAX,[EBX + 0xffef52fc]
PUSH EAX
LEA EAX,[EBX + 0xffef4e87]
PUSH 0x5d7
PUSH EAX
CALL 0x000da200
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined8 FUN_001b3170(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  uint local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1b3176;\n  uVar1 = FUN_00121e40(param_2,param_3,param_4,local_10);\n  if ((char)uVar1 != '\0') {\n    iVar2 = 0;\n    iVar3 = 0;\n    if (local_10[0] != 0xffffffff) {\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }\n    return CONCAT44(iVar3,iVar2);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1);\n}\n\n" comment (function_definition "undefined8 FUN_001b3170(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  uint local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1b3176;\n  uVar1 = FUN_00121e40(param_2,param_3,param_4,local_10);\n  if ((char)uVar1 != '\0') {\n    iVar2 = 0;\n    iVar3 = 0;\n    if (local_10[0] != 0xffffffff) {\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }\n    return CONCAT44(iVar3,iVar2);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1);\n}" type_identifier (function_declarator "FUN_001b3170(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  uint local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1b3176;\n  uVar1 = FUN_00121e40(param_2,param_3,param_4,local_10);\n  if ((char)uVar1 != '\0') {\n    iVar2 = 0;\n    iVar3 = 0;\n    if (local_10[0] != 0xffffffff) {\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }\n    return CONCAT44(iVar3,iVar2);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000da200("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint local_10 [2];" type_identifier (array_declarator "local_10 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0x1b3176;" (assignment_expression "uStack_8 = 0x1b3176" identifier = number_literal) ;) (expression_statement "uVar1 = FUN_00121e40(param_2,param_3,param_4,local_10);" (assignment_expression "uVar1 = FUN_00121e40(param_2,param_3,param_4,local_10)" identifier = (call_expression "FUN_00121e40(param_2,param_3,param_4,local_10)" identifier (argument_list "(param_2,param_3,param_4,local_10)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if ((char)uVar1 != '\0') {\n    iVar2 = 0;\n    iVar3 = 0;\n    if (local_10[0] != 0xffffffff) {\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }\n    return CONCAT44(iVar3,iVar2);\n  }" if (parenthesized_expression "((char)uVar1 != '\0')" ( (binary_expression "(char)uVar1 != '\0'" (cast_expression "(char)uVar1" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar2 = 0;\n    iVar3 = 0;\n    if (local_10[0] != 0xffffffff) {\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }\n    return CONCAT44(iVar3,iVar2);\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (local_10[0] != 0xffffffff) {\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }" if (parenthesized_expression "(local_10[0] != 0xffffffff)" ( (binary_expression "local_10[0] != 0xffffffff" (subscript_expression "local_10[0]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }" { (expression_statement "iVar2 = local_10[0] + *(uint *)(param_1 + 8);" (assignment_expression "iVar2 = local_10[0] + *(uint *)(param_1 + 8)" identifier = (binary_expression "local_10[0] + *(uint *)(param_1 + 8)" (subscript_expression "local_10[0]" identifier [ number_literal ]) + (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))))) ;) (expression_statement "iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));" (assignment_expression "iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8))" identifier = (binary_expression "((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8))" (binary_expression "((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc)" (parenthesized_expression "((int)local_10[0] >> 0x1f)" ( (binary_expression "(int)local_10[0] >> 0x1f" (cast_expression "(int)local_10[0]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "local_10[0]" identifier [ number_literal ])) >> number_literal) )) + (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) + (cast_expression "(uint)CARRY4(local_10[0],*(uint *)(param_1 + 8))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(local_10[0],*(uint *)(param_1 + 8))" identifier (argument_list "(local_10[0],*(uint *)(param_1 + 8))" ( (subscript_expression "local_10[0]" identifier [ number_literal ]) , (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) )))))) ;) })) (return_statement "return CONCAT44(iVar3,iVar2);" return (call_expression "CONCAT44(iVar3,iVar2)" identifier (argument_list "(iVar3,iVar2)" ( identifier , identifier ))) ;) })) comment (expression_statement "FUN_000da200("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1);" (call_expression "FUN_000da200("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1)" identifier (argument_list "("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1)" ( (string_literal ""../../gold/reloc.cc"" " string_content ") , number_literal , (string_literal ""value_from_output_section"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: Elf_Addr value_from_output_section(Merged_symbol_value<64> * this,\n   Relobj * object, uint input_shndx, Elf_Addr input_offset) */\n\nElf_Addr __thiscall\ngold::Merged_symbol_value<64>::value_from_output_section\n          (Merged_symbol_value<64> *this,Relobj *object,uint input_shndx,Elf_Addr input_offset)\n\n{\n  section_offset_type output_offset;\n  \n}\n\n" comment comment (function_definition "Elf_Addr __thiscall\ngold::Merged_symbol_value<64>::value_from_output_section\n          (Merged_symbol_value<64> *this,Relobj *object,uint input_shndx,Elf_Addr input_offset)\n\n{\n  section_offset_type output_offset;\n  \n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Merged_symbol_value<64>::" identifier : : identifier < number_literal > : :) (function_declarator "value_from_output_section\n          (Merged_symbol_value<64> *this,Relobj *object,uint input_shndx,Elf_Addr input_offset)" identifier (parameter_list "(Merged_symbol_value<64> *this,Relobj *object,uint input_shndx,Elf_Addr input_offset)" ( (parameter_declaration "Merged_symbol_value<64> *this" type_identifier (ERROR "<64>" < number_literal >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Relobj *object" type_identifier (pointer_declarator "*object" * identifier)) , (parameter_declaration "uint input_shndx" type_identifier identifier) , (parameter_declaration "Elf_Addr input_offset" type_identifier identifier) ))) (compound_statement "{\n  section_offset_type output_offset;\n  \n}" { (declaration "section_offset_type output_offset;" type_identifier identifier ;) })))
(translation_unit "undefined8 FUN_001b3170(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  uint local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1b3176;\n  uVar1 = FUN_00121e40(param_2,param_3,param_4,local_10);\n  if ((char)uVar1 != '\0') {\n    iVar2 = 0;\n    iVar3 = 0;\n    if (local_10[0] != 0xffffffff) {\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }\n    return CONCAT44(iVar3,iVar2);\n  }\n                    \n  FUN_000da200("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1);\n}\n\n" (function_definition "undefined8 FUN_001b3170(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  uint local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1b3176;\n  uVar1 = FUN_00121e40(param_2,param_3,param_4,local_10);\n  if ((char)uVar1 != '\0') {\n    iVar2 = 0;\n    iVar3 = 0;\n    if (local_10[0] != 0xffffffff) {\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }\n    return CONCAT44(iVar3,iVar2);\n  }\n                    \n  FUN_000da200("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1);\n}" type_identifier (function_declarator "FUN_001b3170(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  uint local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1b3176;\n  uVar1 = FUN_00121e40(param_2,param_3,param_4,local_10);\n  if ((char)uVar1 != '\0') {\n    iVar2 = 0;\n    iVar3 = 0;\n    if (local_10[0] != 0xffffffff) {\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }\n    return CONCAT44(iVar3,iVar2);\n  }\n                    \n  FUN_000da200("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint local_10 [2];" type_identifier (array_declarator "local_10 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0x1b3176;" (assignment_expression "uStack_8 = 0x1b3176" identifier = number_literal) ;) (expression_statement "uVar1 = FUN_00121e40(param_2,param_3,param_4,local_10);" (assignment_expression "uVar1 = FUN_00121e40(param_2,param_3,param_4,local_10)" identifier = (call_expression "FUN_00121e40(param_2,param_3,param_4,local_10)" identifier (argument_list "(param_2,param_3,param_4,local_10)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if ((char)uVar1 != '\0') {\n    iVar2 = 0;\n    iVar3 = 0;\n    if (local_10[0] != 0xffffffff) {\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }\n    return CONCAT44(iVar3,iVar2);\n  }" if (parenthesized_expression "((char)uVar1 != '\0')" ( (binary_expression "(char)uVar1 != '\0'" (cast_expression "(char)uVar1" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar2 = 0;\n    iVar3 = 0;\n    if (local_10[0] != 0xffffffff) {\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }\n    return CONCAT44(iVar3,iVar2);\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (local_10[0] != 0xffffffff) {\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }" if (parenthesized_expression "(local_10[0] != 0xffffffff)" ( (binary_expression "local_10[0] != 0xffffffff" (subscript_expression "local_10[0]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }" { (expression_statement "iVar2 = local_10[0] + *(uint *)(param_1 + 8);" (assignment_expression "iVar2 = local_10[0] + *(uint *)(param_1 + 8)" identifier = (binary_expression "local_10[0] + *(uint *)(param_1 + 8)" (subscript_expression "local_10[0]" identifier [ number_literal ]) + (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))))) ;) (expression_statement "iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));" (assignment_expression "iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8))" identifier = (binary_expression "((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8))" (binary_expression "((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc)" (parenthesized_expression "((int)local_10[0] >> 0x1f)" ( (binary_expression "(int)local_10[0] >> 0x1f" (cast_expression "(int)local_10[0]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "local_10[0]" identifier [ number_literal ])) >> number_literal) )) + (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) + (cast_expression "(uint)CARRY4(local_10[0],*(uint *)(param_1 + 8))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(local_10[0],*(uint *)(param_1 + 8))" identifier (argument_list "(local_10[0],*(uint *)(param_1 + 8))" ( (subscript_expression "local_10[0]" identifier [ number_literal ]) , (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) )))))) ;) })) (return_statement "return CONCAT44(iVar3,iVar2);" return (call_expression "CONCAT44(iVar3,iVar2)" identifier (argument_list "(iVar3,iVar2)" ( identifier , identifier ))) ;) })) (expression_statement "FUN_000da200("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1);" (call_expression "FUN_000da200("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1)" identifier (argument_list "("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1)" ( (string_literal ""../../gold/reloc.cc"" " string_content ") , number_literal , (string_literal ""value_from_output_section"" " 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 { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) >> LIT) )) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))))) ;) })) (return_statement return (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "undefined8 FUN_001b3170(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  uint local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1b3176;\n  uVar1 = FUN_00121e40(param_2,param_3,param_4,local_10);\n  if ((char)uVar1 != '\0') {\n    iVar2 = 0;\n    iVar3 = 0;\n    if (local_10[0] != 0xffffffff) {\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }\n    return CONCAT44(iVar3,iVar2);\n  }\n                    \n  FUN_000da200("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1);\n}" (type_identifier "undefined8") (function_declarator "FUN_001b3170(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_001b3170") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int iVar3;\n  uint local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x1b3176;\n  uVar1 = FUN_00121e40(param_2,param_3,param_4,local_10);\n  if ((char)uVar1 != '\0') {\n    iVar2 = 0;\n    iVar3 = 0;\n    if (local_10[0] != 0xffffffff) {\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }\n    return CONCAT44(iVar3,iVar2);\n  }\n                    \n  FUN_000da200("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1);\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint local_10 [2];" (type_identifier "uint") (array_declarator "local_10 [2]" (identifier "local_10") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "undefined4 uStack_8;" (type_identifier "undefined4") (identifier "uStack_8") (; ";")) (expression_statement "uStack_8 = 0x1b3176;" (assignment_expression "uStack_8 = 0x1b3176" (identifier "uStack_8") (= "=") (number_literal "0x1b3176")) (; ";")) (expression_statement "uVar1 = FUN_00121e40(param_2,param_3,param_4,local_10);" (assignment_expression "uVar1 = FUN_00121e40(param_2,param_3,param_4,local_10)" (identifier "uVar1") (= "=") (call_expression "FUN_00121e40(param_2,param_3,param_4,local_10)" (identifier "FUN_00121e40") (argument_list "(param_2,param_3,param_4,local_10)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "local_10") () ")")))) (; ";")) (if_statement "if ((char)uVar1 != '\0') {\n    iVar2 = 0;\n    iVar3 = 0;\n    if (local_10[0] != 0xffffffff) {\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }\n    return CONCAT44(iVar3,iVar2);\n  }" (if "if") (parenthesized_expression "((char)uVar1 != '\0')" (( "(") (binary_expression "(char)uVar1 != '\0'" (cast_expression "(char)uVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar1")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar2 = 0;\n    iVar3 = 0;\n    if (local_10[0] != 0xffffffff) {\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }\n    return CONCAT44(iVar3,iVar2);\n  }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (local_10[0] != 0xffffffff) {\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }" (if "if") (parenthesized_expression "(local_10[0] != 0xffffffff)" (( "(") (binary_expression "local_10[0] != 0xffffffff" (subscript_expression "local_10[0]" (identifier "local_10") ([ "[") (number_literal "0") (] "]")) (!= "!=") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n      iVar2 = local_10[0] + *(uint *)(param_1 + 8);\n      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));\n    }" ({ "{") (expression_statement "iVar2 = local_10[0] + *(uint *)(param_1 + 8);" (assignment_expression "iVar2 = local_10[0] + *(uint *)(param_1 + 8)" (identifier "iVar2") (= "=") (binary_expression "local_10[0] + *(uint *)(param_1 + 8)" (subscript_expression "local_10[0]" (identifier "local_10") ([ "[") (number_literal "0") (] "]")) (+ "+") (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))))) (; ";")) (expression_statement "iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));" (assignment_expression "iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8))" (identifier "iVar3") (= "=") (binary_expression "((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +\n              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8))" (binary_expression "((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc)" (parenthesized_expression "((int)local_10[0] >> 0x1f)" (( "(") (binary_expression "(int)local_10[0] >> 0x1f" (cast_expression "(int)local_10[0]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "local_10[0]" (identifier "local_10") ([ "[") (number_literal "0") (] "]"))) (>> ">>") (number_literal "0x1f")) () ")")) (+ "+") (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (+ "+") (cast_expression "(uint)CARRY4(local_10[0],*(uint *)(param_1 + 8))" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(local_10[0],*(uint *)(param_1 + 8))" (identifier "CARRY4") (argument_list "(local_10[0],*(uint *)(param_1 + 8))" (( "(") (subscript_expression "local_10[0]" (identifier "local_10") ([ "[") (number_literal "0") (] "]")) (, ",") (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) () ")")))))) (; ";")) (} "}"))) (return_statement "return CONCAT44(iVar3,iVar2);" (return "return") (call_expression "CONCAT44(iVar3,iVar2)" (identifier "CONCAT44") (argument_list "(iVar3,iVar2)" (( "(") (identifier "iVar3") (, ",") (identifier "iVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_000da200("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1);" (call_expression "FUN_000da200("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1)" (identifier "FUN_000da200") (argument_list "("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1)" (( "(") (string_literal ""../../gold/reloc.cc"" (" """) (string_content "../../gold/reloc.cc") (" """)) (, ",") (number_literal "0x5d7") (, ",") (string_literal ""value_from_output_section"" (" """) (string_content "value_from_output_section") (" """)) (, ",") (identifier "uVar1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Elf_Addr value_from_output_section(Merged_symbol_value<64> * this,
   Relobj * object, uint input_shndx, Elf_Addr input_offset) */

type_1 __thiscall
gold::type_2<64>::function_1
          (type_2<64> *this,type_3 *object,type_4 input_shndx,type_1 input_offset)

{
  type_5 output_offset;
  
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))))))) (return_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (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.bx replaced with injection: get_pc_thunk_bx */

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

{
  undefined4 uVar1;
  int iVar2;
  int iVar3;
  uint local_10 [2];
  undefined4 uStack_8;
  
  uStack_8 = 0x1b3176;
  uVar1 = FUN_00121e40(param_2,param_3,param_4,local_10);
  if ((char)uVar1 != '\0') {
    iVar2 = 0;
    iVar3 = 0;
    if (local_10[0] != 0xffffffff) {
      iVar2 = local_10[0] + *(uint *)(param_1 + 8);
      iVar3 = ((int)local_10[0] >> 0x1f) + *(int *)(param_1 + 0xc) +
              (uint)CARRY4(local_10[0],*(uint *)(param_1 + 8));
    }
    return CONCAT44(iVar3,iVar2);
  }
                    /* WARNING: Subroutine does not return */
  FUN_000da200("../../gold/reloc.cc",0x5d7,"value_from_output_section",uVar1);
}

