
/* DWARF original prototype: off_t section_header_offset(Elf_file<64,_false,_gold::Object> * this,
   uint shndx) */

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

{
  char *pcVar1;
  uint uVar2;
  Object *this_00;
  
  uVar2 = this->shnum_;
  if (uVar2 == 0) {
    this_00 = this->file_;
    if (this->shoff_ != 0) {
      pcVar1 = (char *)gettext("ELF file has not been initialized yet (internal error)");
      gold::Object::error(this_00,pcVar1);
      uVar2 = this->shnum_;
      if (shndx < uVar2) goto LAB_0015e0d5;
      this_00 = this->file_;
      if (uVar2 != 0) goto LAB_0015e0a9;
    }
    if (this->shoff_ != 0) {
      pcVar1 = (char *)gettext("ELF file has not been initialized yet (internal error)");
      gold::Object::error(this_00,pcVar1);
      uVar2 = this->shnum_;
    }
  }
  else {
    if (shndx < uVar2) goto LAB_0015e0d5;
    this_00 = this->file_;
  }
LAB_0015e0a9:
  pcVar1 = (char *)gettext("section_header_offset: bad shndx %u >= %u");
  gold::Object::error(this_00,pcVar1,shndx,(ulong)uVar2);
LAB_0015e0d5:
  return (ulong)(shndx << 6) + this->shoff_;
}



long FUN_0015e080(undefined8 *param_1,uint param_2)

{
  undefined8 uVar1;
  uint uVar2;
  undefined8 uVar3;
  
  uVar2 = *(uint *)(param_1 + 2);
  if (uVar2 == 0) {
    uVar3 = *param_1;
    if (param_1[1] != 0) {
      uVar1 = gettext("ELF file has not been initialized yet (internal error)");
      FUN_0019a740(uVar3,uVar1);
      uVar2 = *(uint *)(param_1 + 2);
      if (param_2 < uVar2) goto LAB_0015e0d5;
      uVar3 = *param_1;
      if (uVar2 != 0) goto LAB_0015e0a9;
    }
    if (param_1[1] != 0) {
      uVar1 = gettext("ELF file has not been initialized yet (internal error)");
      FUN_0019a740(uVar3,uVar1);
      uVar2 = *(uint *)(param_1 + 2);
    }
  }
  else {
    if (param_2 < uVar2) goto LAB_0015e0d5;
    uVar3 = *param_1;
  }
LAB_0015e0a9:
  uVar1 = gettext("section_header_offset: bad shndx %u >= %u");
  FUN_0019a740(uVar3,uVar1,param_2,uVar2);
LAB_0015e0d5:
  return (ulong)(param_2 << 6) + param_1[1];
}


PUSH R13
PUSH R12
PUSH RBP
MOV RBP,RDI
PUSH RBX
MOV EBX,ESI
SUB RSP,0x8
MOV R12D,dword ptr [RDI + 0x10]
TEST R12D,R12D
JNZ 0x0015e0d0
CMP qword ptr [RDI + 0x8],0x0
MOV R13,qword ptr [RDI]
JNZ 0x0015e0f0
CMP qword ptr [RBP + 0x8],0x0
JNZ 0x0015e120
LEA RDI,[0x3079f8]
CALL 0x0013e320
MOV ECX,R12D
MOV EDX,EBX
MOV RDI,R13
MOV RSI,RAX
XOR EAX,EAX
CALL 0x0019a740
JMP 0x0015e0d5
CMP ESI,R12D
JNC 0x0015e142
SHL EBX,0x6
MOV EAX,EBX
ADD RAX,qword ptr [RBP + 0x8]
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
RET
LEA RDI,[0x3079c0]
CALL 0x0013e320
MOV RDI,R13
MOV RSI,RAX
XOR EAX,EAX
CALL 0x0019a740
MOV R12D,dword ptr [RBP + 0x10]
CMP EBX,R12D
JC 0x0015e0d5
MOV R13,qword ptr [RBP]
TEST R12D,R12D
JNZ 0x0015e0a9
JMP 0x0015e0a2
LEA RDI,[0x3079c0]
CALL 0x0013e320
MOV RDI,R13
MOV RSI,RAX
XOR EAX,EAX
CALL 0x0019a740
MOV R12D,dword ptr [RBP + 0x10]
JMP 0x0015e0a9
MOV R13,qword ptr [RBP]
JMP 0x0015e0a9
(translation_unit "long FUN_0015e080(undefined8 *param_1,uint param_2)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  \n  uVar2 = *(uint *)(param_1 + 2);\n  if (uVar2 == 0) {\n    uVar3 = *param_1;\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }\n  }\n  else {\n    if (param_2 < uVar2) goto LAB_0015e0d5;\n    uVar3 = *param_1;\n  }\nLAB_0015e0a9:\n  uVar1 = gettext("section_header_offset: bad shndx %u >= %u");\n  FUN_0019a740(uVar3,uVar1,param_2,uVar2);\nLAB_0015e0d5:\n  return (ulong)(param_2 << 6) + param_1[1];\n}\n\n" (function_definition "long FUN_0015e080(undefined8 *param_1,uint param_2)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  \n  uVar2 = *(uint *)(param_1 + 2);\n  if (uVar2 == 0) {\n    uVar3 = *param_1;\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }\n  }\n  else {\n    if (param_2 < uVar2) goto LAB_0015e0d5;\n    uVar3 = *param_1;\n  }\nLAB_0015e0a9:\n  uVar1 = gettext("section_header_offset: bad shndx %u >= %u");\n  FUN_0019a740(uVar3,uVar1,param_2,uVar2);\nLAB_0015e0d5:\n  return (ulong)(param_2 << 6) + param_1[1];\n}" (sized_type_specifier "long" long) (function_declarator "FUN_0015e080(undefined8 *param_1,uint param_2)" identifier (parameter_list "(undefined8 *param_1,uint param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  \n  uVar2 = *(uint *)(param_1 + 2);\n  if (uVar2 == 0) {\n    uVar3 = *param_1;\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }\n  }\n  else {\n    if (param_2 < uVar2) goto LAB_0015e0d5;\n    uVar3 = *param_1;\n  }\nLAB_0015e0a9:\n  uVar1 = gettext("section_header_offset: bad shndx %u >= %u");\n  FUN_0019a740(uVar3,uVar1,param_2,uVar2);\nLAB_0015e0d5:\n  return (ulong)(param_2 << 6) + param_1[1];\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (expression_statement "uVar2 = *(uint *)(param_1 + 2);" (assignment_expression "uVar2 = *(uint *)(param_1 + 2)" identifier = (pointer_expression "*(uint *)(param_1 + 2)" * (cast_expression "(uint *)(param_1 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) (if_statement "if (uVar2 == 0) {\n    uVar3 = *param_1;\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }\n  }\n  else {\n    if (param_2 < uVar2) goto LAB_0015e0d5;\n    uVar3 = *param_1;\n  }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = *param_1;\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }\n  }" { (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }" if (parenthesized_expression "(param_1[1] != 0)" ( (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }" { (expression_statement "uVar1 = gettext("ELF file has not been initialized yet (internal error)");" (assignment_expression "uVar1 = 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_0019a740(uVar3,uVar1);" (call_expression "FUN_0019a740(uVar3,uVar1)" identifier (argument_list "(uVar3,uVar1)" ( identifier , identifier ))) ;) (expression_statement "uVar2 = *(uint *)(param_1 + 2);" (assignment_expression "uVar2 = *(uint *)(param_1 + 2)" identifier = (pointer_expression "*(uint *)(param_1 + 2)" * (cast_expression "(uint *)(param_1 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) (if_statement "if (param_2 < uVar2) goto LAB_0015e0d5;" if (parenthesized_expression "(param_2 < uVar2)" ( (binary_expression "param_2 < uVar2" identifier < identifier) )) (goto_statement "goto LAB_0015e0d5;" goto statement_identifier ;)) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (uVar2 != 0) goto LAB_0015e0a9;" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0015e0a9;" goto statement_identifier ;)) })) (if_statement "if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }" if (parenthesized_expression "(param_1[1] != 0)" ( (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }" { (expression_statement "uVar1 = gettext("ELF file has not been initialized yet (internal error)");" (assignment_expression "uVar1 = 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_0019a740(uVar3,uVar1);" (call_expression "FUN_0019a740(uVar3,uVar1)" identifier (argument_list "(uVar3,uVar1)" ( identifier , identifier ))) ;) (expression_statement "uVar2 = *(uint *)(param_1 + 2);" (assignment_expression "uVar2 = *(uint *)(param_1 + 2)" identifier = (pointer_expression "*(uint *)(param_1 + 2)" * (cast_expression "(uint *)(param_1 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) })) }) (else_clause "else {\n    if (param_2 < uVar2) goto LAB_0015e0d5;\n    uVar3 = *param_1;\n  }" else (compound_statement "{\n    if (param_2 < uVar2) goto LAB_0015e0d5;\n    uVar3 = *param_1;\n  }" { (if_statement "if (param_2 < uVar2) goto LAB_0015e0d5;" if (parenthesized_expression "(param_2 < uVar2)" ( (binary_expression "param_2 < uVar2" identifier < identifier) )) (goto_statement "goto LAB_0015e0d5;" goto statement_identifier ;)) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) }))) (labeled_statement "LAB_0015e0a9:\n  uVar1 = gettext("section_header_offset: bad shndx %u >= %u");" statement_identifier : (expression_statement "uVar1 = gettext("section_header_offset: bad shndx %u >= %u");" (assignment_expression "uVar1 = 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_0019a740(uVar3,uVar1,param_2,uVar2);" (call_expression "FUN_0019a740(uVar3,uVar1,param_2,uVar2)" identifier (argument_list "(uVar3,uVar1,param_2,uVar2)" ( identifier , identifier , identifier , identifier ))) ;) (labeled_statement "LAB_0015e0d5:\n  return (ulong)(param_2 << 6) + param_1[1];" statement_identifier : (return_statement "return (ulong)(param_2 << 6) + param_1[1];" return (binary_expression "(ulong)(param_2 << 6) + param_1[1]" (call_expression "(ulong)(param_2 << 6)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(param_2 << 6)" ( (binary_expression "param_2 << 6" identifier << number_literal) ))) + (subscript_expression "param_1[1]" identifier [ number_literal ])) ;)) })))
(translation_unit "/* DWARF original prototype: off_t section_header_offset(Elf_file<64,_false,_gold::Object> * this,\n   uint shndx) */\n\noff_t __thiscall\nelfcpp::Elf_file<64,_false,_gold::Object>::section_header_offset\n          (Elf_file<64,_false,_gold::Object> *this,uint shndx)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  Object *this_00;\n  \n  uVar2 = this->shnum_;\n  if (uVar2 == 0) {\n    this_00 = this->file_;\n    if (this->shoff_ != 0) {\n      pcVar1 = (char *)gettext("ELF file has not been initialized yet (internal error)");\n      gold::Object::error(this_00,pcVar1);\n      uVar2 = this->shnum_;\n      if (shndx < uVar2) goto LAB_0015e0d5;\n      this_00 = this->file_;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }\n    if (this->shoff_ != 0) {\n      pcVar1 = (char *)gettext("ELF file has not been initialized yet (internal error)");\n      gold::Object::error(this_00,pcVar1);\n      uVar2 = this->shnum_;\n    }\n  }\n  else {\n    if (shndx < uVar2) goto LAB_0015e0d5;\n    this_00 = this->file_;\n  }\nLAB_0015e0a9:\n  pcVar1 = (char *)gettext("section_header_offset: bad shndx %u >= %u");\n  gold::Object::error(this_00,pcVar1,shndx,(ulong)uVar2);\nLAB_0015e0d5:\n  return (ulong)(shndx << 6) + this->shoff_;\n}\n\n" comment (declaration "off_t __thiscall\nelfcpp::Elf_file<64,_false,_gold::Object>::section_header_offset\n          (Elf_file<64,_false,_gold::Object> *this,uint shndx)\n\n{\n  char *pcVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "elfcpp::" identifier : :) identifier (ERROR "<64" < number_literal) , identifier , (ERROR "_gold::Object>::section_header_offset\n          (Elf_file<64,_false,_gold::Object> *this,uint shndx)\n\n{\n  char" identifier : : identifier > : : (function_declarator "section_header_offset\n          (Elf_file<64,_false,_gold::Object> *this,uint shndx)" identifier (parameter_list "(Elf_file<64,_false,_gold::Object> *this,uint shndx)" ( (parameter_declaration "Elf_file" type_identifier) (ERROR "<64" < 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) ))) { primitive_type) (pointer_declarator "*pcVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "Object *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (expression_statement "uVar2 = this->shnum_;" (assignment_expression "uVar2 = this->shnum_" identifier = (field_expression "this->shnum_" identifier -> field_identifier)) ;) (if_statement "if (uVar2 == 0) {\n    this_00 = this->file_;\n    if (this->shoff_ != 0) {\n      pcVar1 = (char *)gettext("ELF file has not been initialized yet (internal error)");\n      gold::Object::error(this_00,pcVar1);\n      uVar2 = this->shnum_;\n      if (shndx < uVar2) goto LAB_0015e0d5;\n      this_00 = this->file_;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }\n    if (this->shoff_ != 0) {\n      pcVar1 = (char *)gettext("ELF file has not been initialized yet (internal error)");\n      gold::Object::error(this_00,pcVar1);\n      uVar2 = this->shnum_;\n    }\n  }\n  else {\n    if (shndx < uVar2) goto LAB_0015e0d5;\n    this_00 = this->file_;\n  }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    this_00 = this->file_;\n    if (this->shoff_ != 0) {\n      pcVar1 = (char *)gettext("ELF file has not been initialized yet (internal error)");\n      gold::Object::error(this_00,pcVar1);\n      uVar2 = this->shnum_;\n      if (shndx < uVar2) goto LAB_0015e0d5;\n      this_00 = this->file_;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }\n    if (this->shoff_ != 0) {\n      pcVar1 = (char *)gettext("ELF file has not been initialized yet (internal error)");\n      gold::Object::error(this_00,pcVar1);\n      uVar2 = this->shnum_;\n    }\n  }" { (expression_statement "this_00 = this->file_;" (assignment_expression "this_00 = this->file_" identifier = (field_expression "this->file_" identifier -> field_identifier)) ;) (if_statement "if (this->shoff_ != 0) {\n      pcVar1 = (char *)gettext("ELF file has not been initialized yet (internal error)");\n      gold::Object::error(this_00,pcVar1);\n      uVar2 = this->shnum_;\n      if (shndx < uVar2) goto LAB_0015e0d5;\n      this_00 = this->file_;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }" if (parenthesized_expression "(this->shoff_ != 0)" ( (binary_expression "this->shoff_ != 0" (field_expression "this->shoff_" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n      pcVar1 = (char *)gettext("ELF file has not been initialized yet (internal error)");\n      gold::Object::error(this_00,pcVar1);\n      uVar2 = this->shnum_;\n      if (shndx < uVar2) goto LAB_0015e0d5;\n      this_00 = this->file_;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }" { (expression_statement "pcVar1 = (char *)gettext("ELF file has not been initialized yet (internal error)");" (assignment_expression "pcVar1 = (char *)gettext("ELF file has not been initialized yet (internal error)")" identifier = (cast_expression "(char *)gettext("ELF file has not been initialized yet (internal error)")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (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 ") ))))) ;) (labeled_statement "gold::Object::error(this_00,pcVar1);" statement_identifier : (ERROR ":" :) (labeled_statement "Object::error(this_00,pcVar1);" statement_identifier : (ERROR ":" :) (expression_statement "error(this_00,pcVar1);" (call_expression "error(this_00,pcVar1)" identifier (argument_list "(this_00,pcVar1)" ( identifier , identifier ))) ;))) (expression_statement "uVar2 = this->shnum_;" (assignment_expression "uVar2 = this->shnum_" identifier = (field_expression "this->shnum_" identifier -> field_identifier)) ;) (if_statement "if (shndx < uVar2) goto LAB_0015e0d5;" if (parenthesized_expression "(shndx < uVar2)" ( (binary_expression "shndx < uVar2" identifier < identifier) )) (goto_statement "goto LAB_0015e0d5;" goto statement_identifier ;)) (expression_statement "this_00 = this->file_;" (assignment_expression "this_00 = this->file_" identifier = (field_expression "this->file_" identifier -> field_identifier)) ;) (if_statement "if (uVar2 != 0) goto LAB_0015e0a9;" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0015e0a9;" goto statement_identifier ;)) })) (if_statement "if (this->shoff_ != 0) {\n      pcVar1 = (char *)gettext("ELF file has not been initialized yet (internal error)");\n      gold::Object::error(this_00,pcVar1);\n      uVar2 = this->shnum_;\n    }" if (parenthesized_expression "(this->shoff_ != 0)" ( (binary_expression "this->shoff_ != 0" (field_expression "this->shoff_" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n      pcVar1 = (char *)gettext("ELF file has not been initialized yet (internal error)");\n      gold::Object::error(this_00,pcVar1);\n      uVar2 = this->shnum_;\n    }" { (expression_statement "pcVar1 = (char *)gettext("ELF file has not been initialized yet (internal error)");" (assignment_expression "pcVar1 = (char *)gettext("ELF file has not been initialized yet (internal error)")" identifier = (cast_expression "(char *)gettext("ELF file has not been initialized yet (internal error)")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (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 ") ))))) ;) (labeled_statement "gold::Object::error(this_00,pcVar1);" statement_identifier : (ERROR ":" :) (labeled_statement "Object::error(this_00,pcVar1);" statement_identifier : (ERROR ":" :) (expression_statement "error(this_00,pcVar1);" (call_expression "error(this_00,pcVar1)" identifier (argument_list "(this_00,pcVar1)" ( identifier , identifier ))) ;))) (expression_statement "uVar2 = this->shnum_;" (assignment_expression "uVar2 = this->shnum_" identifier = (field_expression "this->shnum_" identifier -> field_identifier)) ;) })) }) (else_clause "else {\n    if (shndx < uVar2) goto LAB_0015e0d5;\n    this_00 = this->file_;\n  }" else (compound_statement "{\n    if (shndx < uVar2) goto LAB_0015e0d5;\n    this_00 = this->file_;\n  }" { (if_statement "if (shndx < uVar2) goto LAB_0015e0d5;" if (parenthesized_expression "(shndx < uVar2)" ( (binary_expression "shndx < uVar2" identifier < identifier) )) (goto_statement "goto LAB_0015e0d5;" goto statement_identifier ;)) (expression_statement "this_00 = this->file_;" (assignment_expression "this_00 = this->file_" identifier = (field_expression "this->file_" identifier -> field_identifier)) ;) }))) (labeled_statement "LAB_0015e0a9:\n  pcVar1 = (char *)gettext("section_header_offset: bad shndx %u >= %u");" statement_identifier : (expression_statement "pcVar1 = (char *)gettext("section_header_offset: bad shndx %u >= %u");" (assignment_expression "pcVar1 = (char *)gettext("section_header_offset: bad shndx %u >= %u")" identifier = (cast_expression "(char *)gettext("section_header_offset: bad shndx %u >= %u")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (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 ") ))))) ;)) (labeled_statement "gold::Object::error(this_00,pcVar1,shndx,(ulong)uVar2);" statement_identifier : (ERROR ":" :) (labeled_statement "Object::error(this_00,pcVar1,shndx,(ulong)uVar2);" statement_identifier : (ERROR ":" :) (expression_statement "error(this_00,pcVar1,shndx,(ulong)uVar2);" (call_expression "error(this_00,pcVar1,shndx,(ulong)uVar2)" identifier (argument_list "(this_00,pcVar1,shndx,(ulong)uVar2)" ( identifier , identifier , identifier , (cast_expression "(ulong)uVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) ))) ;))) (labeled_statement "LAB_0015e0d5:\n  return (ulong)(shndx << 6) + this->shoff_;" statement_identifier : (return_statement "return (ulong)(shndx << 6) + this->shoff_;" return (binary_expression "(ulong)(shndx << 6) + this->shoff_" (call_expression "(ulong)(shndx << 6)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(shndx << 6)" ( (binary_expression "shndx << 6" identifier << number_literal) ))) + (field_expression "this->shoff_" identifier -> field_identifier)) ;)) (ERROR "}" }))
(translation_unit "long FUN_0015e080(undefined8 *param_1,uint param_2)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  \n  uVar2 = *(uint *)(param_1 + 2);\n  if (uVar2 == 0) {\n    uVar3 = *param_1;\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }\n  }\n  else {\n    if (param_2 < uVar2) goto LAB_0015e0d5;\n    uVar3 = *param_1;\n  }\nLAB_0015e0a9:\n  uVar1 = gettext("section_header_offset: bad shndx %u >= %u");\n  FUN_0019a740(uVar3,uVar1,param_2,uVar2);\nLAB_0015e0d5:\n  return (ulong)(param_2 << 6) + param_1[1];\n}\n\n" (function_definition "long FUN_0015e080(undefined8 *param_1,uint param_2)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  \n  uVar2 = *(uint *)(param_1 + 2);\n  if (uVar2 == 0) {\n    uVar3 = *param_1;\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }\n  }\n  else {\n    if (param_2 < uVar2) goto LAB_0015e0d5;\n    uVar3 = *param_1;\n  }\nLAB_0015e0a9:\n  uVar1 = gettext("section_header_offset: bad shndx %u >= %u");\n  FUN_0019a740(uVar3,uVar1,param_2,uVar2);\nLAB_0015e0d5:\n  return (ulong)(param_2 << 6) + param_1[1];\n}" (sized_type_specifier "long" long) (function_declarator "FUN_0015e080(undefined8 *param_1,uint param_2)" identifier (parameter_list "(undefined8 *param_1,uint param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  \n  uVar2 = *(uint *)(param_1 + 2);\n  if (uVar2 == 0) {\n    uVar3 = *param_1;\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }\n  }\n  else {\n    if (param_2 < uVar2) goto LAB_0015e0d5;\n    uVar3 = *param_1;\n  }\nLAB_0015e0a9:\n  uVar1 = gettext("section_header_offset: bad shndx %u >= %u");\n  FUN_0019a740(uVar3,uVar1,param_2,uVar2);\nLAB_0015e0d5:\n  return (ulong)(param_2 << 6) + param_1[1];\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (expression_statement "uVar2 = *(uint *)(param_1 + 2);" (assignment_expression "uVar2 = *(uint *)(param_1 + 2)" identifier = (pointer_expression "*(uint *)(param_1 + 2)" * (cast_expression "(uint *)(param_1 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) (if_statement "if (uVar2 == 0) {\n    uVar3 = *param_1;\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }\n  }\n  else {\n    if (param_2 < uVar2) goto LAB_0015e0d5;\n    uVar3 = *param_1;\n  }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = *param_1;\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }\n  }" { (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }" if (parenthesized_expression "(param_1[1] != 0)" ( (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }" { (expression_statement "uVar1 = gettext("ELF file has not been initialized yet (internal error)");" (assignment_expression "uVar1 = 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_0019a740(uVar3,uVar1);" (call_expression "FUN_0019a740(uVar3,uVar1)" identifier (argument_list "(uVar3,uVar1)" ( identifier , identifier ))) ;) (expression_statement "uVar2 = *(uint *)(param_1 + 2);" (assignment_expression "uVar2 = *(uint *)(param_1 + 2)" identifier = (pointer_expression "*(uint *)(param_1 + 2)" * (cast_expression "(uint *)(param_1 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) (if_statement "if (param_2 < uVar2) goto LAB_0015e0d5;" if (parenthesized_expression "(param_2 < uVar2)" ( (binary_expression "param_2 < uVar2" identifier < identifier) )) (goto_statement "goto LAB_0015e0d5;" goto statement_identifier ;)) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (uVar2 != 0) goto LAB_0015e0a9;" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0015e0a9;" goto statement_identifier ;)) })) (if_statement "if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }" if (parenthesized_expression "(param_1[1] != 0)" ( (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }" { (expression_statement "uVar1 = gettext("ELF file has not been initialized yet (internal error)");" (assignment_expression "uVar1 = 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_0019a740(uVar3,uVar1);" (call_expression "FUN_0019a740(uVar3,uVar1)" identifier (argument_list "(uVar3,uVar1)" ( identifier , identifier ))) ;) (expression_statement "uVar2 = *(uint *)(param_1 + 2);" (assignment_expression "uVar2 = *(uint *)(param_1 + 2)" identifier = (pointer_expression "*(uint *)(param_1 + 2)" * (cast_expression "(uint *)(param_1 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) })) }) (else_clause "else {\n    if (param_2 < uVar2) goto LAB_0015e0d5;\n    uVar3 = *param_1;\n  }" else (compound_statement "{\n    if (param_2 < uVar2) goto LAB_0015e0d5;\n    uVar3 = *param_1;\n  }" { (if_statement "if (param_2 < uVar2) goto LAB_0015e0d5;" if (parenthesized_expression "(param_2 < uVar2)" ( (binary_expression "param_2 < uVar2" identifier < identifier) )) (goto_statement "goto LAB_0015e0d5;" goto statement_identifier ;)) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) }))) (labeled_statement "LAB_0015e0a9:\n  uVar1 = gettext("section_header_offset: bad shndx %u >= %u");" statement_identifier : (expression_statement "uVar1 = gettext("section_header_offset: bad shndx %u >= %u");" (assignment_expression "uVar1 = 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_0019a740(uVar3,uVar1,param_2,uVar2);" (call_expression "FUN_0019a740(uVar3,uVar1,param_2,uVar2)" identifier (argument_list "(uVar3,uVar1,param_2,uVar2)" ( identifier , identifier , identifier , identifier ))) ;) (labeled_statement "LAB_0015e0d5:\n  return (ulong)(param_2 << 6) + param_1[1];" statement_identifier : (return_statement "return (ulong)(param_2 << 6) + param_1[1];" return (binary_expression "(ulong)(param_2 << 6) + param_1[1]" (call_expression "(ulong)(param_2 << 6)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(param_2 << 6)" ( (binary_expression "param_2 << 6" identifier << number_literal) ))) + (subscript_expression "param_1[1]" identifier [ number_literal ])) ;)) })))
(translation_unit (function_definition (sized_type_specifier long) (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 ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != 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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 ;)) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != 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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT << LIT) ))) + (subscript_expression IDENT [ LIT ])) ;)) })))
(function_definition "long FUN_0015e080(undefined8 *param_1,uint param_2)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  \n  uVar2 = *(uint *)(param_1 + 2);\n  if (uVar2 == 0) {\n    uVar3 = *param_1;\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }\n  }\n  else {\n    if (param_2 < uVar2) goto LAB_0015e0d5;\n    uVar3 = *param_1;\n  }\nLAB_0015e0a9:\n  uVar1 = gettext("section_header_offset: bad shndx %u >= %u");\n  FUN_0019a740(uVar3,uVar1,param_2,uVar2);\nLAB_0015e0d5:\n  return (ulong)(param_2 << 6) + param_1[1];\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_0015e080(undefined8 *param_1,uint param_2)" (identifier "FUN_0015e080") (parameter_list "(undefined8 *param_1,uint param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  uint uVar2;\n  undefined8 uVar3;\n  \n  uVar2 = *(uint *)(param_1 + 2);\n  if (uVar2 == 0) {\n    uVar3 = *param_1;\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }\n  }\n  else {\n    if (param_2 < uVar2) goto LAB_0015e0d5;\n    uVar3 = *param_1;\n  }\nLAB_0015e0a9:\n  uVar1 = gettext("section_header_offset: bad shndx %u >= %u");\n  FUN_0019a740(uVar3,uVar1,param_2,uVar2);\nLAB_0015e0d5:\n  return (ulong)(param_2 << 6) + param_1[1];\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (expression_statement "uVar2 = *(uint *)(param_1 + 2);" (assignment_expression "uVar2 = *(uint *)(param_1 + 2)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_1 + 2)" (* "*") (cast_expression "(uint *)(param_1 + 2)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (if_statement "if (uVar2 == 0) {\n    uVar3 = *param_1;\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }\n  }\n  else {\n    if (param_2 < uVar2) goto LAB_0015e0d5;\n    uVar3 = *param_1;\n  }" (if "if") (parenthesized_expression "(uVar2 == 0)" (( "(") (binary_expression "uVar2 == 0" (identifier "uVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = *param_1;\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }\n    if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }\n  }" ({ "{") (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" (identifier "uVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }" (if "if") (parenthesized_expression "(param_1[1] != 0)" (( "(") (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n      if (param_2 < uVar2) goto LAB_0015e0d5;\n      uVar3 = *param_1;\n      if (uVar2 != 0) goto LAB_0015e0a9;\n    }" ({ "{") (expression_statement "uVar1 = gettext("ELF file has not been initialized yet (internal error)");" (assignment_expression "uVar1 = gettext("ELF file has not been initialized yet (internal error)")" (identifier "uVar1") (= "=") (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_0019a740(uVar3,uVar1);" (call_expression "FUN_0019a740(uVar3,uVar1)" (identifier "FUN_0019a740") (argument_list "(uVar3,uVar1)" (( "(") (identifier "uVar3") (, ",") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "uVar2 = *(uint *)(param_1 + 2);" (assignment_expression "uVar2 = *(uint *)(param_1 + 2)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_1 + 2)" (* "*") (cast_expression "(uint *)(param_1 + 2)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (if_statement "if (param_2 < uVar2) goto LAB_0015e0d5;" (if "if") (parenthesized_expression "(param_2 < uVar2)" (( "(") (binary_expression "param_2 < uVar2" (identifier "param_2") (< "<") (identifier "uVar2")) () ")")) (goto_statement "goto LAB_0015e0d5;" (goto "goto") (statement_identifier "LAB_0015e0d5") (; ";"))) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" (identifier "uVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (uVar2 != 0) goto LAB_0015e0a9;" (if "if") (parenthesized_expression "(uVar2 != 0)" (( "(") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0015e0a9;" (goto "goto") (statement_identifier "LAB_0015e0a9") (; ";"))) (} "}"))) (if_statement "if (param_1[1] != 0) {\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }" (if "if") (parenthesized_expression "(param_1[1] != 0)" (( "(") (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar1 = gettext("ELF file has not been initialized yet (internal error)");\n      FUN_0019a740(uVar3,uVar1);\n      uVar2 = *(uint *)(param_1 + 2);\n    }" ({ "{") (expression_statement "uVar1 = gettext("ELF file has not been initialized yet (internal error)");" (assignment_expression "uVar1 = gettext("ELF file has not been initialized yet (internal error)")" (identifier "uVar1") (= "=") (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_0019a740(uVar3,uVar1);" (call_expression "FUN_0019a740(uVar3,uVar1)" (identifier "FUN_0019a740") (argument_list "(uVar3,uVar1)" (( "(") (identifier "uVar3") (, ",") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "uVar2 = *(uint *)(param_1 + 2);" (assignment_expression "uVar2 = *(uint *)(param_1 + 2)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_1 + 2)" (* "*") (cast_expression "(uint *)(param_1 + 2)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (param_2 < uVar2) goto LAB_0015e0d5;\n    uVar3 = *param_1;\n  }" (else "else") (compound_statement "{\n    if (param_2 < uVar2) goto LAB_0015e0d5;\n    uVar3 = *param_1;\n  }" ({ "{") (if_statement "if (param_2 < uVar2) goto LAB_0015e0d5;" (if "if") (parenthesized_expression "(param_2 < uVar2)" (( "(") (binary_expression "param_2 < uVar2" (identifier "param_2") (< "<") (identifier "uVar2")) () ")")) (goto_statement "goto LAB_0015e0d5;" (goto "goto") (statement_identifier "LAB_0015e0d5") (; ";"))) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" (identifier "uVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}")))) (labeled_statement "LAB_0015e0a9:\n  uVar1 = gettext("section_header_offset: bad shndx %u >= %u");" (statement_identifier "LAB_0015e0a9") (: ":") (expression_statement "uVar1 = gettext("section_header_offset: bad shndx %u >= %u");" (assignment_expression "uVar1 = gettext("section_header_offset: bad shndx %u >= %u")" (identifier "uVar1") (= "=") (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_0019a740(uVar3,uVar1,param_2,uVar2);" (call_expression "FUN_0019a740(uVar3,uVar1,param_2,uVar2)" (identifier "FUN_0019a740") (argument_list "(uVar3,uVar1,param_2,uVar2)" (( "(") (identifier "uVar3") (, ",") (identifier "uVar1") (, ",") (identifier "param_2") (, ",") (identifier "uVar2") () ")"))) (; ";")) (labeled_statement "LAB_0015e0d5:\n  return (ulong)(param_2 << 6) + param_1[1];" (statement_identifier "LAB_0015e0d5") (: ":") (return_statement "return (ulong)(param_2 << 6) + param_1[1];" (return "return") (binary_expression "(ulong)(param_2 << 6) + param_1[1]" (call_expression "(ulong)(param_2 << 6)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(param_2 << 6)" (( "(") (binary_expression "param_2 << 6" (identifier "param_2") (<< "<<") (number_literal "6")) () ")"))) (+ "+") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";"))) (} "}")))

/* DWARF original prototype: off_t section_header_offset(Elf_file<64,_false,_gold::Object> * this,
   uint shndx) */

type_1 __thiscall
elfcpp::Elf_file<64,_false,_gold::type_3>::section_header_offset
          (Elf_file<64,_false,_gold::type_3> *this,type_2 var_4)

{
  char *pcVar1;
  type_2 var_1;
  type_3 *this_00;
  
  var_1 = this->shnum_;
  if (var_1 == 0) {
    this_00 = this->file_;
    if (this->shoff_ != 0) {
      pcVar1 = (char *)var_2("ELF file has not been initialized yet (internal error)");
      gold::Object::var_3(this_00,pcVar1);
      var_1 = this->shnum_;
      if (var_4 < var_1) goto LAB_0015e0d5;
      this_00 = this->file_;
      if (var_1 != 0) goto LAB_0015e0a9;
    }
    if (this->shoff_ != 0) {
      pcVar1 = (char *)var_2("ELF file has not been initialized yet (internal error)");
      gold::Object::var_3(this_00,pcVar1);
      var_1 = this->shnum_;
    }
  }
  else {
    if (var_4 < var_1) goto LAB_0015e0d5;
    this_00 = this->file_;
  }
LAB_0015e0a9:
  pcVar1 = (char *)var_2("section_header_offset: bad shndx %u >= %u");
  gold::Object::var_3(this_00,pcVar1,var_4,(type_4)var_1);
LAB_0015e0d5:
  return (type_4)(var_4 << 6) + this->shoff_;
}


(translation_unit (function_definition type: (sized_type_specifier) 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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) 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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (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: (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: (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))))))) (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))))) (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: (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: (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)))))))))) 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 (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (subscript_expression argument: (identifier) index: (number_literal))))))))

long MASKED(undefined8 *param_1,uint param_2)

{
  undefined8 uVar1;
  uint uVar2;
  undefined8 uVar3;
  
  uVar2 = *(uint *)(param_1 + 2);
  if (uVar2 == 0) {
    uVar3 = *param_1;
    if (param_1[1] != 0) {
      uVar1 = gettext("ELF file has not been initialized yet (internal error)");
      FUN_0019a740(uVar3,uVar1);
      uVar2 = *(uint *)(param_1 + 2);
      if (param_2 < uVar2) goto LAB_0015e0d5;
      uVar3 = *param_1;
      if (uVar2 != 0) goto LAB_0015e0a9;
    }
    if (param_1[1] != 0) {
      uVar1 = gettext("ELF file has not been initialized yet (internal error)");
      FUN_0019a740(uVar3,uVar1);
      uVar2 = *(uint *)(param_1 + 2);
    }
  }
  else {
    if (param_2 < uVar2) goto LAB_0015e0d5;
    uVar3 = *param_1;
  }
LAB_0015e0a9:
  uVar1 = gettext("section_header_offset: bad shndx %u >= %u");
  FUN_0019a740(uVar3,uVar1,param_2,uVar2);
LAB_0015e0d5:
  return (ulong)(param_2 << 6) + param_1[1];
}

