
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: off_t section_header_offset(Elf_file<32,_false,_gold::Object> * this,
   uint shndx) */

off_t __thiscall
elfcpp::Elf_file<32,_false,_gold::Object>::section_header_offset
          (Elf_file<32,_false,_gold::Object> *this,uint shndx)

{
}



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

undefined8 FUN_000b0a90(undefined4 *param_1,uint param_2)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  undefined4 uVar4;
  uint uVar5;
  
  uVar5 = param_1[3];
  if (uVar5 == 0) {
    iVar3 = param_1[2];
    iVar1 = param_1[1];
    uVar4 = *param_1;
    if (iVar3 != 0 || iVar1 != 0) {
      uVar2 = gettext("ELF file has not been initialized yet (internal error)");
      FUN_00121be0(uVar4,uVar2);
      uVar5 = param_1[3];
      if (param_2 < uVar5) goto LAB_000b0b0a;
      uVar4 = *param_1;
      if (uVar5 != 0) goto LAB_000b0acb;
      iVar1 = param_1[1];
      iVar3 = param_1[2];
    }
    if (iVar3 != 0 || iVar1 != 0) {
      uVar2 = gettext("ELF file has not been initialized yet (internal error)");
      FUN_00121be0(uVar4,uVar2);
      uVar5 = param_1[3];
    }
  }
  else {
    if (param_2 < uVar5) goto LAB_000b0b0a;
    uVar4 = *param_1;
  }
LAB_000b0acb:
  uVar2 = gettext("section_header_offset: bad shndx %u >= %u");
  FUN_00121be0(uVar4,uVar2,param_2,uVar5);
LAB_000b0b0a:
  return CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1]);
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x363567
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [ESP + 0x34]
MOV EBP,dword ptr [ESI + 0xc]
MOV dword ptr [ESP + 0x8],EAX
TEST EBP,EBP
JNZ 0x000b0b00
MOV ECX,dword ptr [ESI + 0x8]
MOV EAX,dword ptr [ESI + 0x4]
MOV EDX,dword ptr [ESI]
MOV EDI,ECX
OR EDI,EAX
JNZ 0x000b0b28
OR ECX,EAX
JNZ 0x000b0b70
MOV dword ptr [ESP + 0xc],EDX
LEA EAX,[EBX + 0xffee3d4c]
SUB ESP,0xc
PUSH EAX
CALL 0x0002c440
ADD ESP,0x10
PUSH EBP
PUSH dword ptr [ESP + 0xc]
PUSH EAX
MOV EDX,dword ptr [ESP + 0x18]
PUSH EDX
CALL 0x00121be0
ADD ESP,0x10
JMP 0x000b0b0a
CMP dword ptr [ESP + 0x8],EBP
JNC 0x000b0ba3
MOV EAX,dword ptr [ESP + 0x8]
XOR EDX,EDX
LEA EAX,[EAX + EAX*0x4]
SHL EAX,0x3
ADD EAX,dword ptr [ESI + 0x4]
ADC EDX,dword ptr [ESI + 0x8]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ESP + 0xc],EDX
LEA EAX,[EBX + 0xffee3d14]
SUB ESP,0xc
PUSH EAX
CALL 0x0002c440
POP EDI
POP EBP
PUSH EAX
MOV EDX,dword ptr [ESP + 0x18]
PUSH EDX
CALL 0x00121be0
ADD ESP,0x10
MOV EBP,dword ptr [ESI + 0xc]
CMP dword ptr [ESP + 0x8],EBP
JC 0x000b0b0a
MOV EDX,dword ptr [ESI]
TEST EBP,EBP
JNZ 0x000b0acb
MOV EAX,dword ptr [ESI + 0x4]
MOV ECX,dword ptr [ESI + 0x8]
JMP 0x000b0ac3
MOV dword ptr [ESP + 0xc],EDX
LEA EAX,[EBX + 0xffee3d14]
SUB ESP,0xc
PUSH EAX
CALL 0x0002c440
POP EDX
POP ECX
PUSH EAX
MOV EDX,dword ptr [ESP + 0x18]
PUSH EDX
MOV dword ptr [ESP + 0x1c],EDX
CALL 0x00121be0
ADD ESP,0x10
MOV EBP,dword ptr [ESI + 0xc]
MOV EDX,dword ptr [ESP + 0xc]
JMP 0x000b0acb
MOV EDX,dword ptr [ESI]
JMP 0x000b0acb
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined8 FUN_000b0a90(undefined4 *param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  \n  uVar5 = param_1[3];\n  if (uVar5 == 0) {\n    iVar3 = param_1[2];\n    iVar1 = param_1[1];\n    uVar4 = *param_1;\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }\n  }\n  else {\n    if (param_2 < uVar5) goto LAB_000b0b0a;\n    uVar4 = *param_1;\n  }\nLAB_000b0acb:\n  uVar2 = gettext("section_header_offset: bad shndx %u >= %u");\n  FUN_00121be0(uVar4,uVar2,param_2,uVar5);\nLAB_000b0b0a:\n  return CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1]);\n}\n\n" comment (function_definition "undefined8 FUN_000b0a90(undefined4 *param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  \n  uVar5 = param_1[3];\n  if (uVar5 == 0) {\n    iVar3 = param_1[2];\n    iVar1 = param_1[1];\n    uVar4 = *param_1;\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }\n  }\n  else {\n    if (param_2 < uVar5) goto LAB_000b0b0a;\n    uVar4 = *param_1;\n  }\nLAB_000b0acb:\n  uVar2 = gettext("section_header_offset: bad shndx %u >= %u");\n  FUN_00121be0(uVar4,uVar2,param_2,uVar5);\nLAB_000b0b0a:\n  return CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1]);\n}" type_identifier (function_declarator "FUN_000b0a90(undefined4 *param_1,uint param_2)" identifier (parameter_list "(undefined4 *param_1,uint param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  \n  uVar5 = param_1[3];\n  if (uVar5 == 0) {\n    iVar3 = param_1[2];\n    iVar1 = param_1[1];\n    uVar4 = *param_1;\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }\n  }\n  else {\n    if (param_2 < uVar5) goto LAB_000b0b0a;\n    uVar4 = *param_1;\n  }\nLAB_000b0acb:\n  uVar2 = gettext("section_header_offset: bad shndx %u >= %u");\n  FUN_00121be0(uVar4,uVar2,param_2,uVar5);\nLAB_000b0b0a:\n  return CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1]);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "uVar5 = param_1[3];" (assignment_expression "uVar5 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (if_statement "if (uVar5 == 0) {\n    iVar3 = param_1[2];\n    iVar1 = param_1[1];\n    uVar4 = *param_1;\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }\n  }\n  else {\n    if (param_2 < uVar5) goto LAB_000b0b0a;\n    uVar4 = *param_1;\n  }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = param_1[2];\n    iVar1 = param_1[1];\n    uVar4 = *param_1;\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }\n  }" { (expression_statement "iVar3 = param_1[2];" (assignment_expression "iVar3 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }" if (parenthesized_expression "(iVar3 != 0 || iVar1 != 0)" ( (binary_expression "iVar3 != 0 || iVar1 != 0" (binary_expression "iVar3 != 0" identifier != number_literal) || (binary_expression "iVar1 != 0" identifier != number_literal)) )) (compound_statement "{\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }" { (expression_statement "uVar2 = gettext("ELF file has not been initialized yet (internal error)");" (assignment_expression "uVar2 = gettext("ELF file has not been initialized yet (internal error)")" identifier = (call_expression "gettext("ELF file has not been initialized yet (internal error)")" identifier (argument_list "("ELF file has not been initialized yet (internal error)")" ( (string_literal ""ELF file has not been initialized yet (internal error)"" " string_content ") )))) ;) (expression_statement "FUN_00121be0(uVar4,uVar2);" (call_expression "FUN_00121be0(uVar4,uVar2)" identifier (argument_list "(uVar4,uVar2)" ( identifier , identifier ))) ;) (expression_statement "uVar5 = param_1[3];" (assignment_expression "uVar5 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (if_statement "if (param_2 < uVar5) goto LAB_000b0b0a;" if (parenthesized_expression "(param_2 < uVar5)" ( (binary_expression "param_2 < uVar5" identifier < identifier) )) (goto_statement "goto LAB_000b0b0a;" goto statement_identifier ;)) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (uVar5 != 0) goto LAB_000b0acb;" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000b0acb;" goto statement_identifier ;)) (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_1[2];" (assignment_expression "iVar3 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) })) (if_statement "if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }" if (parenthesized_expression "(iVar3 != 0 || iVar1 != 0)" ( (binary_expression "iVar3 != 0 || iVar1 != 0" (binary_expression "iVar3 != 0" identifier != number_literal) || (binary_expression "iVar1 != 0" identifier != number_literal)) )) (compound_statement "{\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }" { (expression_statement "uVar2 = gettext("ELF file has not been initialized yet (internal error)");" (assignment_expression "uVar2 = gettext("ELF file has not been initialized yet (internal error)")" identifier = (call_expression "gettext("ELF file has not been initialized yet (internal error)")" identifier (argument_list "("ELF file has not been initialized yet (internal error)")" ( (string_literal ""ELF file has not been initialized yet (internal error)"" " string_content ") )))) ;) (expression_statement "FUN_00121be0(uVar4,uVar2);" (call_expression "FUN_00121be0(uVar4,uVar2)" identifier (argument_list "(uVar4,uVar2)" ( identifier , identifier ))) ;) (expression_statement "uVar5 = param_1[3];" (assignment_expression "uVar5 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) })) }) (else_clause "else {\n    if (param_2 < uVar5) goto LAB_000b0b0a;\n    uVar4 = *param_1;\n  }" else (compound_statement "{\n    if (param_2 < uVar5) goto LAB_000b0b0a;\n    uVar4 = *param_1;\n  }" { (if_statement "if (param_2 < uVar5) goto LAB_000b0b0a;" if (parenthesized_expression "(param_2 < uVar5)" ( (binary_expression "param_2 < uVar5" identifier < identifier) )) (goto_statement "goto LAB_000b0b0a;" goto statement_identifier ;)) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) }))) (labeled_statement "LAB_000b0acb:\n  uVar2 = gettext("section_header_offset: bad shndx %u >= %u");" statement_identifier : (expression_statement "uVar2 = gettext("section_header_offset: bad shndx %u >= %u");" (assignment_expression "uVar2 = gettext("section_header_offset: bad shndx %u >= %u")" identifier = (call_expression "gettext("section_header_offset: bad shndx %u >= %u")" identifier (argument_list "("section_header_offset: bad shndx %u >= %u")" ( (string_literal ""section_header_offset: bad shndx %u >= %u"" " string_content ") )))) ;)) (expression_statement "FUN_00121be0(uVar4,uVar2,param_2,uVar5);" (call_expression "FUN_00121be0(uVar4,uVar2,param_2,uVar5)" identifier (argument_list "(uVar4,uVar2,param_2,uVar5)" ( identifier , identifier , identifier , identifier ))) ;) (labeled_statement "LAB_000b0b0a:\n  return CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1]);" statement_identifier : (return_statement "return CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1]);" return (call_expression "CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1])" identifier (argument_list "(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1])" ( (binary_expression "param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1])" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (cast_expression "(uint)CARRY4(param_2 * 0x28,param_1[1])" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(param_2 * 0x28,param_1[1])" identifier (argument_list "(param_2 * 0x28,param_1[1])" ( (binary_expression "param_2 * 0x28" identifier * number_literal) , (subscript_expression "param_1[1]" identifier [ number_literal ]) ))))) , (binary_expression "param_2 * 0x28 + param_1[1]" (binary_expression "param_2 * 0x28" identifier * number_literal) + (subscript_expression "param_1[1]" identifier [ number_literal ])) ))) ;)) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: off_t section_header_offset(Elf_file<32,_false,_gold::Object> * this,\n   uint shndx) */\n\noff_t __thiscall\nelfcpp::Elf_file<32,_false,_gold::Object>::section_header_offset\n          (Elf_file<32,_false,_gold::Object> *this,uint shndx)\n\n{\n}\n\n" comment comment (ERROR "off_t __thiscall\nelfcpp::Elf_file<32,_false,_gold::Object>::section_header_offset\n          (Elf_file<32,_false,_gold::Object> *this,uint shndx)" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "elfcpp::" identifier : :) identifier (ERROR "<32" < number_literal) , identifier , (ERROR "_gold::Object>::" identifier : : identifier > : :) (function_declarator "section_header_offset\n          (Elf_file<32,_false,_gold::Object> *this,uint shndx)" identifier (parameter_list "(Elf_file<32,_false,_gold::Object> *this,uint shndx)" ( (parameter_declaration "Elf_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false" type_identifier) , (parameter_declaration "_gold::Object> *this" type_identifier (ERROR "::Object>" : : identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint shndx" type_identifier identifier) )))) (compound_statement "{\n}" { }))
(translation_unit "undefined8 FUN_000b0a90(undefined4 *param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  \n  uVar5 = param_1[3];\n  if (uVar5 == 0) {\n    iVar3 = param_1[2];\n    iVar1 = param_1[1];\n    uVar4 = *param_1;\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }\n  }\n  else {\n    if (param_2 < uVar5) goto LAB_000b0b0a;\n    uVar4 = *param_1;\n  }\nLAB_000b0acb:\n  uVar2 = gettext("section_header_offset: bad shndx %u >= %u");\n  FUN_00121be0(uVar4,uVar2,param_2,uVar5);\nLAB_000b0b0a:\n  return CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1]);\n}\n\n" (function_definition "undefined8 FUN_000b0a90(undefined4 *param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  \n  uVar5 = param_1[3];\n  if (uVar5 == 0) {\n    iVar3 = param_1[2];\n    iVar1 = param_1[1];\n    uVar4 = *param_1;\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }\n  }\n  else {\n    if (param_2 < uVar5) goto LAB_000b0b0a;\n    uVar4 = *param_1;\n  }\nLAB_000b0acb:\n  uVar2 = gettext("section_header_offset: bad shndx %u >= %u");\n  FUN_00121be0(uVar4,uVar2,param_2,uVar5);\nLAB_000b0b0a:\n  return CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1]);\n}" type_identifier (function_declarator "FUN_000b0a90(undefined4 *param_1,uint param_2)" identifier (parameter_list "(undefined4 *param_1,uint param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  \n  uVar5 = param_1[3];\n  if (uVar5 == 0) {\n    iVar3 = param_1[2];\n    iVar1 = param_1[1];\n    uVar4 = *param_1;\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }\n  }\n  else {\n    if (param_2 < uVar5) goto LAB_000b0b0a;\n    uVar4 = *param_1;\n  }\nLAB_000b0acb:\n  uVar2 = gettext("section_header_offset: bad shndx %u >= %u");\n  FUN_00121be0(uVar4,uVar2,param_2,uVar5);\nLAB_000b0b0a:\n  return CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1]);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "uVar5 = param_1[3];" (assignment_expression "uVar5 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (if_statement "if (uVar5 == 0) {\n    iVar3 = param_1[2];\n    iVar1 = param_1[1];\n    uVar4 = *param_1;\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }\n  }\n  else {\n    if (param_2 < uVar5) goto LAB_000b0b0a;\n    uVar4 = *param_1;\n  }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = param_1[2];\n    iVar1 = param_1[1];\n    uVar4 = *param_1;\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }\n  }" { (expression_statement "iVar3 = param_1[2];" (assignment_expression "iVar3 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }" if (parenthesized_expression "(iVar3 != 0 || iVar1 != 0)" ( (binary_expression "iVar3 != 0 || iVar1 != 0" (binary_expression "iVar3 != 0" identifier != number_literal) || (binary_expression "iVar1 != 0" identifier != number_literal)) )) (compound_statement "{\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }" { (expression_statement "uVar2 = gettext("ELF file has not been initialized yet (internal error)");" (assignment_expression "uVar2 = gettext("ELF file has not been initialized yet (internal error)")" identifier = (call_expression "gettext("ELF file has not been initialized yet (internal error)")" identifier (argument_list "("ELF file has not been initialized yet (internal error)")" ( (string_literal ""ELF file has not been initialized yet (internal error)"" " string_content ") )))) ;) (expression_statement "FUN_00121be0(uVar4,uVar2);" (call_expression "FUN_00121be0(uVar4,uVar2)" identifier (argument_list "(uVar4,uVar2)" ( identifier , identifier ))) ;) (expression_statement "uVar5 = param_1[3];" (assignment_expression "uVar5 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (if_statement "if (param_2 < uVar5) goto LAB_000b0b0a;" if (parenthesized_expression "(param_2 < uVar5)" ( (binary_expression "param_2 < uVar5" identifier < identifier) )) (goto_statement "goto LAB_000b0b0a;" goto statement_identifier ;)) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (uVar5 != 0) goto LAB_000b0acb;" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000b0acb;" goto statement_identifier ;)) (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_1[2];" (assignment_expression "iVar3 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) })) (if_statement "if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }" if (parenthesized_expression "(iVar3 != 0 || iVar1 != 0)" ( (binary_expression "iVar3 != 0 || iVar1 != 0" (binary_expression "iVar3 != 0" identifier != number_literal) || (binary_expression "iVar1 != 0" identifier != number_literal)) )) (compound_statement "{\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }" { (expression_statement "uVar2 = gettext("ELF file has not been initialized yet (internal error)");" (assignment_expression "uVar2 = gettext("ELF file has not been initialized yet (internal error)")" identifier = (call_expression "gettext("ELF file has not been initialized yet (internal error)")" identifier (argument_list "("ELF file has not been initialized yet (internal error)")" ( (string_literal ""ELF file has not been initialized yet (internal error)"" " string_content ") )))) ;) (expression_statement "FUN_00121be0(uVar4,uVar2);" (call_expression "FUN_00121be0(uVar4,uVar2)" identifier (argument_list "(uVar4,uVar2)" ( identifier , identifier ))) ;) (expression_statement "uVar5 = param_1[3];" (assignment_expression "uVar5 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) })) }) (else_clause "else {\n    if (param_2 < uVar5) goto LAB_000b0b0a;\n    uVar4 = *param_1;\n  }" else (compound_statement "{\n    if (param_2 < uVar5) goto LAB_000b0b0a;\n    uVar4 = *param_1;\n  }" { (if_statement "if (param_2 < uVar5) goto LAB_000b0b0a;" if (parenthesized_expression "(param_2 < uVar5)" ( (binary_expression "param_2 < uVar5" identifier < identifier) )) (goto_statement "goto LAB_000b0b0a;" goto statement_identifier ;)) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) }))) (labeled_statement "LAB_000b0acb:\n  uVar2 = gettext("section_header_offset: bad shndx %u >= %u");" statement_identifier : (expression_statement "uVar2 = gettext("section_header_offset: bad shndx %u >= %u");" (assignment_expression "uVar2 = gettext("section_header_offset: bad shndx %u >= %u")" identifier = (call_expression "gettext("section_header_offset: bad shndx %u >= %u")" identifier (argument_list "("section_header_offset: bad shndx %u >= %u")" ( (string_literal ""section_header_offset: bad shndx %u >= %u"" " string_content ") )))) ;)) (expression_statement "FUN_00121be0(uVar4,uVar2,param_2,uVar5);" (call_expression "FUN_00121be0(uVar4,uVar2,param_2,uVar5)" identifier (argument_list "(uVar4,uVar2,param_2,uVar5)" ( identifier , identifier , identifier , identifier ))) ;) (labeled_statement "LAB_000b0b0a:\n  return CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1]);" statement_identifier : (return_statement "return CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1]);" return (call_expression "CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1])" identifier (argument_list "(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1])" ( (binary_expression "param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1])" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (cast_expression "(uint)CARRY4(param_2 * 0x28,param_1[1])" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(param_2 * 0x28,param_1[1])" identifier (argument_list "(param_2 * 0x28,param_1[1])" ( (binary_expression "param_2 * 0x28" identifier * number_literal) , (subscript_expression "param_1[1]" identifier [ number_literal ]) ))))) , (binary_expression "param_2 * 0x28 + param_1[1]" (binary_expression "param_2 * 0x28" identifier * number_literal) + (subscript_expression "param_1[1]" identifier [ number_literal ])) ))) ;)) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (labeled_statement statement_identifier : (return_statement return (call_expression IDENT (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (binary_expression IDENT * LIT) , (subscript_expression IDENT [ LIT ]) ))))) , (binary_expression (binary_expression IDENT * LIT) + (subscript_expression IDENT [ LIT ])) ))) ;)) })))
(function_definition "undefined8 FUN_000b0a90(undefined4 *param_1,uint param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  \n  uVar5 = param_1[3];\n  if (uVar5 == 0) {\n    iVar3 = param_1[2];\n    iVar1 = param_1[1];\n    uVar4 = *param_1;\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }\n  }\n  else {\n    if (param_2 < uVar5) goto LAB_000b0b0a;\n    uVar4 = *param_1;\n  }\nLAB_000b0acb:\n  uVar2 = gettext("section_header_offset: bad shndx %u >= %u");\n  FUN_00121be0(uVar4,uVar2,param_2,uVar5);\nLAB_000b0b0a:\n  return CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1]);\n}" (type_identifier "undefined8") (function_declarator "FUN_000b0a90(undefined4 *param_1,uint param_2)" (identifier "FUN_000b0a90") (parameter_list "(undefined4 *param_1,uint param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  \n  uVar5 = param_1[3];\n  if (uVar5 == 0) {\n    iVar3 = param_1[2];\n    iVar1 = param_1[1];\n    uVar4 = *param_1;\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }\n  }\n  else {\n    if (param_2 < uVar5) goto LAB_000b0b0a;\n    uVar4 = *param_1;\n  }\nLAB_000b0acb:\n  uVar2 = gettext("section_header_offset: bad shndx %u >= %u");\n  FUN_00121be0(uVar4,uVar2,param_2,uVar5);\nLAB_000b0b0a:\n  return CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1]);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (expression_statement "uVar5 = param_1[3];" (assignment_expression "uVar5 = param_1[3]" (identifier "uVar5") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if (uVar5 == 0) {\n    iVar3 = param_1[2];\n    iVar1 = param_1[1];\n    uVar4 = *param_1;\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }\n  }\n  else {\n    if (param_2 < uVar5) goto LAB_000b0b0a;\n    uVar4 = *param_1;\n  }" (if "if") (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = param_1[2];\n    iVar1 = param_1[1];\n    uVar4 = *param_1;\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }\n    if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }\n  }" ({ "{") (expression_statement "iVar3 = param_1[2];" (assignment_expression "iVar3 = param_1[2]" (identifier "iVar3") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" (identifier "iVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" (identifier "uVar4") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }" (if "if") (parenthesized_expression "(iVar3 != 0 || iVar1 != 0)" (( "(") (binary_expression "iVar3 != 0 || iVar1 != 0" (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n      if (param_2 < uVar5) goto LAB_000b0b0a;\n      uVar4 = *param_1;\n      if (uVar5 != 0) goto LAB_000b0acb;\n      iVar1 = param_1[1];\n      iVar3 = param_1[2];\n    }" ({ "{") (expression_statement "uVar2 = gettext("ELF file has not been initialized yet (internal error)");" (assignment_expression "uVar2 = gettext("ELF file has not been initialized yet (internal error)")" (identifier "uVar2") (= "=") (call_expression "gettext("ELF file has not been initialized yet (internal error)")" (identifier "gettext") (argument_list "("ELF file has not been initialized yet (internal error)")" (( "(") (string_literal ""ELF file has not been initialized yet (internal error)"" (" """) (string_content "ELF file has not been initialized yet (internal error)") (" """)) () ")")))) (; ";")) (expression_statement "FUN_00121be0(uVar4,uVar2);" (call_expression "FUN_00121be0(uVar4,uVar2)" (identifier "FUN_00121be0") (argument_list "(uVar4,uVar2)" (( "(") (identifier "uVar4") (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "uVar5 = param_1[3];" (assignment_expression "uVar5 = param_1[3]" (identifier "uVar5") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if (param_2 < uVar5) goto LAB_000b0b0a;" (if "if") (parenthesized_expression "(param_2 < uVar5)" (( "(") (binary_expression "param_2 < uVar5" (identifier "param_2") (< "<") (identifier "uVar5")) () ")")) (goto_statement "goto LAB_000b0b0a;" (goto "goto") (statement_identifier "LAB_000b0b0a") (; ";"))) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" (identifier "uVar4") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (uVar5 != 0) goto LAB_000b0acb;" (if "if") (parenthesized_expression "(uVar5 != 0)" (( "(") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000b0acb;" (goto "goto") (statement_identifier "LAB_000b0acb") (; ";"))) (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" (identifier "iVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar3 = param_1[2];" (assignment_expression "iVar3 = param_1[2]" (identifier "iVar3") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}"))) (if_statement "if (iVar3 != 0 || iVar1 != 0) {\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }" (if "if") (parenthesized_expression "(iVar3 != 0 || iVar1 != 0)" (( "(") (binary_expression "iVar3 != 0 || iVar1 != 0" (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n      uVar2 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_00121be0(uVar4,uVar2);\n      uVar5 = param_1[3];\n    }" ({ "{") (expression_statement "uVar2 = gettext("ELF file has not been initialized yet (internal error)");" (assignment_expression "uVar2 = gettext("ELF file has not been initialized yet (internal error)")" (identifier "uVar2") (= "=") (call_expression "gettext("ELF file has not been initialized yet (internal error)")" (identifier "gettext") (argument_list "("ELF file has not been initialized yet (internal error)")" (( "(") (string_literal ""ELF file has not been initialized yet (internal error)"" (" """) (string_content "ELF file has not been initialized yet (internal error)") (" """)) () ")")))) (; ";")) (expression_statement "FUN_00121be0(uVar4,uVar2);" (call_expression "FUN_00121be0(uVar4,uVar2)" (identifier "FUN_00121be0") (argument_list "(uVar4,uVar2)" (( "(") (identifier "uVar4") (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "uVar5 = param_1[3];" (assignment_expression "uVar5 = param_1[3]" (identifier "uVar5") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (param_2 < uVar5) goto LAB_000b0b0a;\n    uVar4 = *param_1;\n  }" (else "else") (compound_statement "{\n    if (param_2 < uVar5) goto LAB_000b0b0a;\n    uVar4 = *param_1;\n  }" ({ "{") (if_statement "if (param_2 < uVar5) goto LAB_000b0b0a;" (if "if") (parenthesized_expression "(param_2 < uVar5)" (( "(") (binary_expression "param_2 < uVar5" (identifier "param_2") (< "<") (identifier "uVar5")) () ")")) (goto_statement "goto LAB_000b0b0a;" (goto "goto") (statement_identifier "LAB_000b0b0a") (; ";"))) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" (identifier "uVar4") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}")))) (labeled_statement "LAB_000b0acb:\n  uVar2 = gettext("section_header_offset: bad shndx %u >= %u");" (statement_identifier "LAB_000b0acb") (: ":") (expression_statement "uVar2 = gettext("section_header_offset: bad shndx %u >= %u");" (assignment_expression "uVar2 = gettext("section_header_offset: bad shndx %u >= %u")" (identifier "uVar2") (= "=") (call_expression "gettext("section_header_offset: bad shndx %u >= %u")" (identifier "gettext") (argument_list "("section_header_offset: bad shndx %u >= %u")" (( "(") (string_literal ""section_header_offset: bad shndx %u >= %u"" (" """) (string_content "section_header_offset: bad shndx %u >= %u") (" """)) () ")")))) (; ";"))) (expression_statement "FUN_00121be0(uVar4,uVar2,param_2,uVar5);" (call_expression "FUN_00121be0(uVar4,uVar2,param_2,uVar5)" (identifier "FUN_00121be0") (argument_list "(uVar4,uVar2,param_2,uVar5)" (( "(") (identifier "uVar4") (, ",") (identifier "uVar2") (, ",") (identifier "param_2") (, ",") (identifier "uVar5") () ")"))) (; ";")) (labeled_statement "LAB_000b0b0a:\n  return CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1]);" (statement_identifier "LAB_000b0b0a") (: ":") (return_statement "return CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1]);" (return "return") (call_expression "CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1])" (identifier "CONCAT44") (argument_list "(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1])" (( "(") (binary_expression "param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1])" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (cast_expression "(uint)CARRY4(param_2 * 0x28,param_1[1])" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(param_2 * 0x28,param_1[1])" (identifier "CARRY4") (argument_list "(param_2 * 0x28,param_1[1])" (( "(") (binary_expression "param_2 * 0x28" (identifier "param_2") (* "*") (number_literal "0x28")) (, ",") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) () ")"))))) (, ",") (binary_expression "param_2 * 0x28 + param_1[1]" (binary_expression "param_2 * 0x28" (identifier "param_2") (* "*") (number_literal "0x28")) (+ "+") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) () ")"))) (; ";"))) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: off_t section_header_offset(Elf_file<32,_false,_gold::Object> * this,
   uint shndx) */

off_t __thiscall
elfcpp::Elf_file<32,_false,_gold::Object>::section_header_offset
          (Elf_file<32,_false,_gold::Object> *this,uint shndx)

{
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))) (labeled_statement label: (statement_identifier) (return_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)))))) (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal))))))))))

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

undefined8 MASKED(undefined4 *param_1,uint param_2)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  undefined4 uVar4;
  uint uVar5;
  
  uVar5 = param_1[3];
  if (uVar5 == 0) {
    iVar3 = param_1[2];
    iVar1 = param_1[1];
    uVar4 = *param_1;
    if (iVar3 != 0 || iVar1 != 0) {
      uVar2 = gettext("ELF file has not been initialized yet (internal error)");
      FUN_00121be0(uVar4,uVar2);
      uVar5 = param_1[3];
      if (param_2 < uVar5) goto LAB_000b0b0a;
      uVar4 = *param_1;
      if (uVar5 != 0) goto LAB_000b0acb;
      iVar1 = param_1[1];
      iVar3 = param_1[2];
    }
    if (iVar3 != 0 || iVar1 != 0) {
      uVar2 = gettext("ELF file has not been initialized yet (internal error)");
      FUN_00121be0(uVar4,uVar2);
      uVar5 = param_1[3];
    }
  }
  else {
    if (param_2 < uVar5) goto LAB_000b0b0a;
    uVar4 = *param_1;
  }
LAB_000b0acb:
  uVar2 = gettext("section_header_offset: bad shndx %u >= %u");
  FUN_00121be0(uVar4,uVar2,param_2,uVar5);
LAB_000b0b0a:
  return CONCAT44(param_1[2] + (uint)CARRY4(param_2 * 0x28,param_1[1]),param_2 * 0x28 + param_1[1]);
}

