
/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */
/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */
/* DWARF original prototype: Location section_contents(Elf_file<64,_true,_gold::Incremental_binary>
   * this, uint shndx) */

Location * __thiscall
elfcpp::Elf_file<64,_true,_gold::Incremental_binary>::section_contents
          (Location *__return_storage_ptr__,Elf_file<64,_true,_gold::Incremental_binary> *this,
          uint shndx)

{
  Output_file *pOVar1;
  char *format;
  int iVar2;
  undefined4 uVar3;
  uchar *puVar4;
  undefined4 uVar5;
  Output_file *size;
  undefined4 uVar6;
  Output_file *this_1;
  Incremental_binary *this_00;
  off_t oVar7;
  int iVar8;
  undefined4 in_stack_ffffffdc;
  
  iVar8 = 0x43a1d0;
  this_00 = this->file_;
  this_1 = (Output_file *)shndx;
  initialize_shnum(this);
  if (this->shnum_ <= shndx) {
    format = (char *)(**(code **)(iVar8 + -0x39b8))(*(int *)(iVar8 + -0x7fc4) + 0x5028);
    initialize_shnum(this);
    this_1 = (Output_file *)shndx;
    gold::Incremental_binary::error(this_00,format,shndx,this->shnum_);
  }
  oVar7 = section_header_offset(this,shndx);
  iVar2 = (int)oVar7;
  size = this_00->output_;
  if (-1 < oVar7) {
    this_1 = *(Output_file **)&size->file_size_;
    pOVar1 = (Output_file *)((ulonglong)(oVar7 + 0x40) >> 0x20);
    this = (Elf_file<64,_true,_gold::Incremental_binary> *)(uint)((int)this_1 < (int)pOVar1);
    if ((this == (Elf_file<64,_true,_gold::Incremental_binary> *)0x0) &&
       ((this_1 != pOVar1 || ((uint)(oVar7 + 0x40) <= (uint)size->file_size_)))) {
      puVar4 = size->base_;
      uVar6 = *(undefined4 *)(puVar4 + iVar2 + 0x1c);
      uVar5 = *(undefined4 *)(puVar4 + iVar2 + 0x18);
      uVar3 = *(undefined4 *)(puVar4 + iVar2 + 0x24);
      *(undefined4 *)&__return_storage_ptr__->data_size = 0;
      *(undefined4 *)((int)&__return_storage_ptr__->file_offset + 4) = uVar6;
      *(undefined4 *)&__return_storage_ptr__->file_offset = uVar5;
      *(undefined4 *)((int)&__return_storage_ptr__->data_size + 4) = uVar3;
      return __return_storage_ptr__;
    }
  }
                    /* WARNING: Subroutine does not return */
  gold::Output_file::get_output_view
            ((Output_file *)this,CONCAT44(iVar8,in_stack_ffffffdc),(size_t)size,this_1);
}



/* elfcpp::Elf_file<64, true, gold::Incremental_binary>::section_contents(unsigned int) */

uint elfcpp::Elf_file<64,true,gold::Incremental_binary>::section_contents(uint param_1)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  Elf_file<64,true,gold::Incremental_binary> *in_a1;
  int iVar4;
  undefined4 uVar5;
  uint in_a2;
  char *pcVar6;
  longlong lVar7;
  
  pcVar6 = *(char **)in_a1;
  initialize_shnum(in_a1);
  if (*(uint *)(in_a1 + 0x10) <= in_a2) {
    uVar2 = (*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028);
    initialize_shnum(in_a1);
    gold::Incremental_binary::error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));
  }
  lVar7 = section_header_offset(in_a1,in_a2);
  iVar4 = *(int *)(pcVar6 + 0x28);
  if (-1 < lVar7) {
    iVar1 = (int)((ulonglong)(lVar7 + 0x40) >> 0x20);
    if ((iVar1 <= *(int *)(iVar4 + 8)) &&
       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))) {
      iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;
      uVar5 = *(undefined4 *)(iVar4 + 0x1c);
      uVar3 = *(undefined4 *)(iVar4 + 0x18);
      uVar2 = *(undefined4 *)(iVar4 + 0x24);
      *(undefined4 *)(param_1 + 8) = 0;
      *(undefined4 *)(param_1 + 4) = uVar5;
      *(undefined4 *)param_1 = uVar3;
      *(undefined4 *)(param_1 + 0xc) = uVar2;
      return param_1;
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_000f2f54();
}


lui gp,0x33
addiu gp,gp,-0x41d8
addu gp,gp,t9
addiu sp,sp,-0x38
sw s4,0x2c(sp)
sw s0,0x1c(sp)
or s0,a1,zero
sw gp,0x10(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
or s2,a2,zero
sw s1,0x20(sp)
or s1,a0,zero
sw ra,0x34(sp)
or a0,a1,zero
sw s5,0x30(sp)
lw s4,-0x5f90(gp)
or t9,s4,zero
bal 0x0010dbec
_lw s3,0x0(a1)
lw v0,0x10(s0)
sltu v0,s2,v0
beq v0,zero,0x0010e494
_lw gp,0x10(sp)
lw t9,-0x5f8c(gp)
or a1,s2,zero
bal 0x0010de3c
_or a0,s0,zero
lw gp,0x10(sp)
bltz v0,0x0010e4e8
_lw a1,0x28(s3)
addiu a3,v1,0x40
lw a2,0x8(a1)
sltu a0,a3,v1
addu v0,a0,v0
slt a0,a2,v0
bne a0,zero,0x0010e4ec
_lw t9,-0x6190(gp)
beq a2,v0,0x0010e4d8
_nop
lw a0,0x10(a1)
or v0,s1,zero
lw ra,0x34(sp)
lw s5,0x30(sp)
addu v1,a0,v1
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw a1,0x1c(v1)
lw a0,0x18(v1)
lw v1,0x24(v1)
lw s0,0x1c(sp)
sw zero,0x8(s1)
sw a1,0x4(s1)
sw a0,0x0(s1)
sw v1,0xc(s1)
lw s1,0x20(sp)
jr ra
_addiu sp,sp,0x38
lw a0,-0x7fc4(gp)
lw t9,-0x39b8(gp)
jalr t9
_addiu a0,a0,0x5028
or a0,s0,zero
or t9,s4,zero
bal 0x0010dbec
_or s5,v0,zero
lw gp,0x10(sp)
or a2,s2,zero
lw a3,0x10(s0)
or a1,s5,zero
lw t9,-0x60d0(gp)
bal 0x000f30ec
_or a0,s3,zero
b 0x0010e408
_lw gp,0x10(sp)
lw v0,0xc(a1)
sltu a3,v0,a3
beq a3,zero,0x0010e448
_nop
lw t9,-0x6190(gp)
addiu t9,t9,0x2f54
bal 0x000f2f54
_nop
(translation_unit "/* elfcpp::Elf_file<64, true, gold::Incremental_binary>::section_contents(unsigned int) */\n\nuint elfcpp::Elf_file<64,true,gold::Incremental_binary>::section_contents(uint param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  Elf_file<64,true,gold::Incremental_binary> *in_a1;\n  int iVar4;\n  undefined4 uVar5;\n  uint in_a2;\n  char *pcVar6;\n  longlong lVar7;\n  \n  pcVar6 = *(char **)in_a1;\n  initialize_shnum(in_a1);\n  if (*(uint *)(in_a1 + 0x10) <= in_a2) {\n    uVar2 = (*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028);\n    initialize_shnum(in_a1);\n    gold::Incremental_binary::error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));\n  }\n  lVar7 = section_header_offset(in_a1,in_a2);\n  iVar4 = *(int *)(pcVar6 + 0x28);\n  if (-1 < lVar7) {\n    iVar1 = (int)((ulonglong)(lVar7 + 0x40) >> 0x20);\n    if ((iVar1 <= *(int *)(iVar4 + 8)) &&\n       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))) {\n      iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;\n      uVar5 = *(undefined4 *)(iVar4 + 0x1c);\n      uVar3 = *(undefined4 *)(iVar4 + 0x18);\n      uVar2 = *(undefined4 *)(iVar4 + 0x24);\n      *(undefined4 *)(param_1 + 8) = 0;\n      *(undefined4 *)(param_1 + 4) = uVar5;\n      *(undefined4 *)param_1 = uVar3;\n      *(undefined4 *)(param_1 + 0xc) = uVar2;\n      return param_1;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000f2f54();\n}\n\n" comment (declaration "uint elfcpp::Elf_file<64,true,gold::Incremental_binary>::section_contents(uint param_1)\n\n{\n  int iVar1;" type_identifier (ERROR "elfcpp::" identifier : :) identifier (ERROR "<64" < number_literal) , identifier , (ERROR "gold::Incremental_binary>::section_contents(uint param_1)\n\n{\n  int" identifier : : identifier > : : (function_declarator "section_contents(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) { primitive_type) identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (ERROR "Elf_file<64,true," (binary_expression "Elf_file<64" identifier < number_literal) , true ,) (labeled_statement "gold::Incremental_binary> *in_a1;" statement_identifier : (ERROR ":" :) (expression_statement "Incremental_binary> *in_a1;" (binary_expression "Incremental_binary> *in_a1" identifier > (pointer_expression "*in_a1" * identifier)) ;)) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "uint in_a2;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "longlong lVar7;" type_identifier identifier ;) (expression_statement "pcVar6 = *(char **)in_a1;" (assignment_expression "pcVar6 = *(char **)in_a1" identifier = (pointer_expression "*(char **)in_a1" * (cast_expression "(char **)in_a1" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "initialize_shnum(in_a1);" (call_expression "initialize_shnum(in_a1)" identifier (argument_list "(in_a1)" ( identifier ))) ;) (if_statement "if (*(uint *)(in_a1 + 0x10) <= in_a2) {\n    uVar2 = (*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028);\n    initialize_shnum(in_a1);\n    gold::Incremental_binary::error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));\n  }" if (parenthesized_expression "(*(uint *)(in_a1 + 0x10) <= in_a2)" ( (binary_expression "*(uint *)(in_a1 + 0x10) <= in_a2" (pointer_expression "*(uint *)(in_a1 + 0x10)" * (cast_expression "(uint *)(in_a1 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a1 + 0x10)" ( (binary_expression "in_a1 + 0x10" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n    uVar2 = (*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028);\n    initialize_shnum(in_a1);\n    gold::Incremental_binary::error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));\n  }" { (expression_statement "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028);" (assignment_expression "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028)" identifier = (call_expression "(*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" ( (pointer_expression "*(code *)PTR_gettext_00436818" * (cast_expression "(code *)PTR_gettext_00436818" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_0043220c + 0x5028)" ( (binary_expression "PTR_LAB_0043220c + 0x5028" identifier + number_literal) )))) ;) (expression_statement "initialize_shnum(in_a1);" (call_expression "initialize_shnum(in_a1)" identifier (argument_list "(in_a1)" ( identifier ))) ;) (labeled_statement "gold::Incremental_binary::error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));" statement_identifier : (ERROR ":" :) (labeled_statement "Incremental_binary::error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));" statement_identifier : (ERROR ":" :) (expression_statement "error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));" (call_expression "error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10))" identifier (argument_list "(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10))" ( identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(in_a1 + 0x10)" * (cast_expression "(undefined4 *)(in_a1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a1 + 0x10)" ( (binary_expression "in_a1 + 0x10" identifier + number_literal) )))) ))) ;))) })) (expression_statement "lVar7 = section_header_offset(in_a1,in_a2);" (assignment_expression "lVar7 = section_header_offset(in_a1,in_a2)" identifier = (call_expression "section_header_offset(in_a1,in_a2)" identifier (argument_list "(in_a1,in_a2)" ( identifier , identifier )))) ;) (expression_statement "iVar4 = *(int *)(pcVar6 + 0x28);" (assignment_expression "iVar4 = *(int *)(pcVar6 + 0x28)" identifier = (pointer_expression "*(int *)(pcVar6 + 0x28)" * (cast_expression "(int *)(pcVar6 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x28)" ( (binary_expression "pcVar6 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (-1 < lVar7) {\n    iVar1 = (int)((ulonglong)(lVar7 + 0x40) >> 0x20);\n    if ((iVar1 <= *(int *)(iVar4 + 8)) &&\n       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))) {\n      iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;\n      uVar5 = *(undefined4 *)(iVar4 + 0x1c);\n      uVar3 = *(undefined4 *)(iVar4 + 0x18);\n      uVar2 = *(undefined4 *)(iVar4 + 0x24);\n      *(undefined4 *)(param_1 + 8) = 0;\n      *(undefined4 *)(param_1 + 4) = uVar5;\n      *(undefined4 *)param_1 = uVar3;\n      *(undefined4 *)(param_1 + 0xc) = uVar2;\n      return param_1;\n    }\n  }" if (parenthesized_expression "(-1 < lVar7)" ( (binary_expression "-1 < lVar7" number_literal < identifier) )) (compound_statement "{\n    iVar1 = (int)((ulonglong)(lVar7 + 0x40) >> 0x20);\n    if ((iVar1 <= *(int *)(iVar4 + 8)) &&\n       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))) {\n      iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;\n      uVar5 = *(undefined4 *)(iVar4 + 0x1c);\n      uVar3 = *(undefined4 *)(iVar4 + 0x18);\n      uVar2 = *(undefined4 *)(iVar4 + 0x24);\n      *(undefined4 *)(param_1 + 8) = 0;\n      *(undefined4 *)(param_1 + 4) = uVar5;\n      *(undefined4 *)param_1 = uVar3;\n      *(undefined4 *)(param_1 + 0xc) = uVar2;\n      return param_1;\n    }\n  }" { (expression_statement "iVar1 = (int)((ulonglong)(lVar7 + 0x40) >> 0x20);" (assignment_expression "iVar1 = (int)((ulonglong)(lVar7 + 0x40) >> 0x20)" identifier = (cast_expression "(int)((ulonglong)(lVar7 + 0x40) >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)(lVar7 + 0x40) >> 0x20)" ( (binary_expression "(ulonglong)(lVar7 + 0x40) >> 0x20" (call_expression "(ulonglong)(lVar7 + 0x40)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(lVar7 + 0x40)" ( (binary_expression "lVar7 + 0x40" identifier + number_literal) ))) >> number_literal) )))) ;) (if_statement "if ((iVar1 <= *(int *)(iVar4 + 8)) &&\n       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))) {\n      iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;\n      uVar5 = *(undefined4 *)(iVar4 + 0x1c);\n      uVar3 = *(undefined4 *)(iVar4 + 0x18);\n      uVar2 = *(undefined4 *)(iVar4 + 0x24);\n      *(undefined4 *)(param_1 + 8) = 0;\n      *(undefined4 *)(param_1 + 4) = uVar5;\n      *(undefined4 *)param_1 = uVar3;\n      *(undefined4 *)(param_1 + 0xc) = uVar2;\n      return param_1;\n    }" if (parenthesized_expression "((iVar1 <= *(int *)(iVar4 + 8)) &&\n       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc)))))" ( (binary_expression "(iVar1 <= *(int *)(iVar4 + 8)) &&\n       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))" (parenthesized_expression "(iVar1 <= *(int *)(iVar4 + 8))" ( (binary_expression "iVar1 <= *(int *)(iVar4 + 8)" identifier <= (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) )) && (parenthesized_expression "((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))" ( (parenthesized_expression "(*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc)))" ( (binary_expression "*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))" (binary_expression "*(int *)(iVar4 + 8) != iVar1" (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) != identifier) || (parenthesized_expression "((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))" ( (binary_expression "(uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc)" (call_expression "(uint)(lVar7 + 0x40)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(lVar7 + 0x40)" ( (binary_expression "lVar7 + 0x40" identifier + number_literal) ))) <= (pointer_expression "*(uint *)(iVar4 + 0xc)" * (cast_expression "(uint *)(iVar4 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) ))) )) ))) )) (compound_statement "{\n      iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;\n      uVar5 = *(undefined4 *)(iVar4 + 0x1c);\n      uVar3 = *(undefined4 *)(iVar4 + 0x18);\n      uVar2 = *(undefined4 *)(iVar4 + 0x24);\n      *(undefined4 *)(param_1 + 8) = 0;\n      *(undefined4 *)(param_1 + 4) = uVar5;\n      *(undefined4 *)param_1 = uVar3;\n      *(undefined4 *)(param_1 + 0xc) = uVar2;\n      return param_1;\n    }" { (expression_statement "iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;" (assignment_expression "iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7" identifier = (binary_expression "*(int *)(iVar4 + 0x10) + (int)lVar7" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) + (cast_expression "(int)lVar7" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar5 = *(undefined4 *)(iVar4 + 0x1c);" (assignment_expression "uVar5 = *(undefined4 *)(iVar4 + 0x1c)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x1c)" * (cast_expression "(undefined4 *)(iVar4 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar4 + 0x18);" (assignment_expression "uVar3 = *(undefined4 *)(iVar4 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x18)" * (cast_expression "(undefined4 *)(iVar4 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(iVar4 + 0x24);" (assignment_expression "uVar2 = *(undefined4 *)(iVar4 + 0x24)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x24)" * (cast_expression "(undefined4 *)(iVar4 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x24)" ( (binary_expression "iVar4 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 8) = 0" (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 4) = uVar5;" (assignment_expression "*(undefined4 *)(param_1 + 4) = uVar5" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)param_1 = uVar3;" (assignment_expression "*(undefined4 *)param_1 = uVar3" (pointer_expression "*(undefined4 *)param_1" * (cast_expression "(undefined4 *)param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0xc) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0xc) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) })) comment (expression_statement "FUN_000f2f54();" (call_expression "FUN_000f2f54()" identifier (argument_list "()" ( ))) ;) (ERROR "}" }))
(translation_unit "/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */\n/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */\n/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */\n/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */\n/* DWARF original prototype: Location section_contents(Elf_file<64,_true,_gold::Incremental_binary>\n   * this, uint shndx) */\n\nLocation * __thiscall\nelfcpp::Elf_file<64,_true,_gold::Incremental_binary>::section_contents\n          (Location *__return_storage_ptr__,Elf_file<64,_true,_gold::Incremental_binary> *this,\n          uint shndx)\n\n{\n  Output_file *pOVar1;\n  char *format;\n  int iVar2;\n  undefined4 uVar3;\n  uchar *puVar4;\n  undefined4 uVar5;\n  Output_file *size;\n  undefined4 uVar6;\n  Output_file *this_1;\n  Incremental_binary *this_00;\n  off_t oVar7;\n  int iVar8;\n  undefined4 in_stack_ffffffdc;\n  \n  iVar8 = 0x43a1d0;\n  this_00 = this->file_;\n  this_1 = (Output_file *)shndx;\n  initialize_shnum(this);\n  if (this->shnum_ <= shndx) {\n    format = (char *)(**(code **)(iVar8 + -0x39b8))(*(int *)(iVar8 + -0x7fc4) + 0x5028);\n    initialize_shnum(this);\n    this_1 = (Output_file *)shndx;\n    gold::Incremental_binary::error(this_00,format,shndx,this->shnum_);\n  }\n  oVar7 = section_header_offset(this,shndx);\n  iVar2 = (int)oVar7;\n  size = this_00->output_;\n  if (-1 < oVar7) {\n    this_1 = *(Output_file **)&size->file_size_;\n    pOVar1 = (Output_file *)((ulonglong)(oVar7 + 0x40) >> 0x20);\n    this = (Elf_file<64,_true,_gold::Incremental_binary> *)(uint)((int)this_1 < (int)pOVar1);\n    if ((this == (Elf_file<64,_true,_gold::Incremental_binary> *)0x0) &&\n       ((this_1 != pOVar1 || ((uint)(oVar7 + 0x40) <= (uint)size->file_size_)))) {\n      puVar4 = size->base_;\n      uVar6 = *(undefined4 *)(puVar4 + iVar2 + 0x1c);\n      uVar5 = *(undefined4 *)(puVar4 + iVar2 + 0x18);\n      uVar3 = *(undefined4 *)(puVar4 + iVar2 + 0x24);\n      *(undefined4 *)&__return_storage_ptr__->data_size = 0;\n      *(undefined4 *)((int)&__return_storage_ptr__->file_offset + 4) = uVar6;\n      *(undefined4 *)&__return_storage_ptr__->file_offset = uVar5;\n      *(undefined4 *)((int)&__return_storage_ptr__->data_size + 4) = uVar3;\n      return __return_storage_ptr__;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::Output_file::get_output_view\n            ((Output_file *)this,CONCAT44(iVar8,in_stack_ffffffdc),(size_t)size,this_1);\n}\n\n" comment comment comment comment comment comment comment (ERROR "Location * __thiscall\nelfcpp::Elf_file<64,_true," (binary_expression "Location * __thiscall\nelfcpp::Elf_file<64" (binary_expression "Location * __thiscall" identifier * identifier) (ERROR "elfcpp::Elf_file" identifier : : identifier) < number_literal) , identifier ,) (labeled_statement "_gold::Incremental_binary>::section_contents\n          (Location *__return_storage_ptr__,Elf_file<64,_true,_gold::Incremental_binary> *this,\n          uint shndx)" statement_identifier (ERROR "::Incremental_binary>:" : : identifier > :) : (expression_statement "section_contents\n          (Location *__return_storage_ptr__,Elf_file<64,_true,_gold::Incremental_binary> *this,\n          uint shndx)" (call_expression "section_contents\n          (Location *__return_storage_ptr__,Elf_file<64,_true,_gold::Incremental_binary> *this,\n          uint shndx)" identifier (argument_list "(Location *__return_storage_ptr__,Elf_file<64,_true,_gold::Incremental_binary> *this,\n          uint shndx)" ( (binary_expression "Location *__return_storage_ptr__" identifier * identifier) , (binary_expression "Elf_file<64" identifier < number_literal) , identifier , (ERROR "_gold::" identifier : :) (binary_expression "Incremental_binary> *this" identifier > (pointer_expression "*this" * identifier)) , (ERROR "uint" identifier) identifier ))) ;)) (compound_statement "{\n  Output_file *pOVar1;\n  char *format;\n  int iVar2;\n  undefined4 uVar3;\n  uchar *puVar4;\n  undefined4 uVar5;\n  Output_file *size;\n  undefined4 uVar6;\n  Output_file *this_1;\n  Incremental_binary *this_00;\n  off_t oVar7;\n  int iVar8;\n  undefined4 in_stack_ffffffdc;\n  \n  iVar8 = 0x43a1d0;\n  this_00 = this->file_;\n  this_1 = (Output_file *)shndx;\n  initialize_shnum(this);\n  if (this->shnum_ <= shndx) {\n    format = (char *)(**(code **)(iVar8 + -0x39b8))(*(int *)(iVar8 + -0x7fc4) + 0x5028);\n    initialize_shnum(this);\n    this_1 = (Output_file *)shndx;\n    gold::Incremental_binary::error(this_00,format,shndx,this->shnum_);\n  }\n  oVar7 = section_header_offset(this,shndx);\n  iVar2 = (int)oVar7;\n  size = this_00->output_;\n  if (-1 < oVar7) {\n    this_1 = *(Output_file **)&size->file_size_;\n    pOVar1 = (Output_file *)((ulonglong)(oVar7 + 0x40) >> 0x20);\n    this = (Elf_file<64,_true,_gold::Incremental_binary> *)(uint)((int)this_1 < (int)pOVar1);\n    if ((this == (Elf_file<64,_true,_gold::Incremental_binary> *)0x0) &&\n       ((this_1 != pOVar1 || ((uint)(oVar7 + 0x40) <= (uint)size->file_size_)))) {\n      puVar4 = size->base_;\n      uVar6 = *(undefined4 *)(puVar4 + iVar2 + 0x1c);\n      uVar5 = *(undefined4 *)(puVar4 + iVar2 + 0x18);\n      uVar3 = *(undefined4 *)(puVar4 + iVar2 + 0x24);\n      *(undefined4 *)&__return_storage_ptr__->data_size = 0;\n      *(undefined4 *)((int)&__return_storage_ptr__->file_offset + 4) = uVar6;\n      *(undefined4 *)&__return_storage_ptr__->file_offset = uVar5;\n      *(undefined4 *)((int)&__return_storage_ptr__->data_size + 4) = uVar3;\n      return __return_storage_ptr__;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::Output_file::get_output_view\n            ((Output_file *)this,CONCAT44(iVar8,in_stack_ffffffdc),(size_t)size,this_1);\n}" { (declaration "Output_file *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uchar *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "Output_file *size;" type_identifier (pointer_declarator "*size" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "Output_file *this_1;" type_identifier (pointer_declarator "*this_1" * identifier) ;) (declaration "Incremental_binary *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "off_t oVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined4 in_stack_ffffffdc;" type_identifier identifier ;) (expression_statement "iVar8 = 0x43a1d0;" (assignment_expression "iVar8 = 0x43a1d0" identifier = number_literal) ;) (expression_statement "this_00 = this->file_;" (assignment_expression "this_00 = this->file_" identifier = (field_expression "this->file_" identifier -> field_identifier)) ;) (expression_statement "this_1 = (Output_file *)shndx;" (assignment_expression "this_1 = (Output_file *)shndx" identifier = (cast_expression "(Output_file *)shndx" ( (type_descriptor "Output_file *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "initialize_shnum(this);" (call_expression "initialize_shnum(this)" identifier (argument_list "(this)" ( identifier ))) ;) (if_statement "if (this->shnum_ <= shndx) {\n    format = (char *)(**(code **)(iVar8 + -0x39b8))(*(int *)(iVar8 + -0x7fc4) + 0x5028);\n    initialize_shnum(this);\n    this_1 = (Output_file *)shndx;\n    gold::Incremental_binary::error(this_00,format,shndx,this->shnum_);\n  }" if (parenthesized_expression "(this->shnum_ <= shndx)" ( (binary_expression "this->shnum_ <= shndx" (field_expression "this->shnum_" identifier -> field_identifier) <= identifier) )) (compound_statement "{\n    format = (char *)(**(code **)(iVar8 + -0x39b8))(*(int *)(iVar8 + -0x7fc4) + 0x5028);\n    initialize_shnum(this);\n    this_1 = (Output_file *)shndx;\n    gold::Incremental_binary::error(this_00,format,shndx,this->shnum_);\n  }" { (expression_statement "format = (char *)(**(code **)(iVar8 + -0x39b8))(*(int *)(iVar8 + -0x7fc4) + 0x5028);" (assignment_expression "format = (char *)(**(code **)(iVar8 + -0x39b8))(*(int *)(iVar8 + -0x7fc4) + 0x5028)" identifier = (cast_expression "(char *)(**(code **)(iVar8 + -0x39b8))(*(int *)(iVar8 + -0x7fc4) + 0x5028)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(iVar8 + -0x39b8))(*(int *)(iVar8 + -0x7fc4) + 0x5028)" (parenthesized_expression "(**(code **)(iVar8 + -0x39b8))" ( (pointer_expression "**(code **)(iVar8 + -0x39b8)" * (pointer_expression "*(code **)(iVar8 + -0x39b8)" * (cast_expression "(code **)(iVar8 + -0x39b8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar8 + -0x39b8)" ( (binary_expression "iVar8 + -0x39b8" identifier + number_literal) ))))) )) (argument_list "(*(int *)(iVar8 + -0x7fc4) + 0x5028)" ( (binary_expression "*(int *)(iVar8 + -0x7fc4) + 0x5028" (pointer_expression "*(int *)(iVar8 + -0x7fc4)" * (cast_expression "(int *)(iVar8 + -0x7fc4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + -0x7fc4)" ( (binary_expression "iVar8 + -0x7fc4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "initialize_shnum(this);" (call_expression "initialize_shnum(this)" identifier (argument_list "(this)" ( identifier ))) ;) (expression_statement "this_1 = (Output_file *)shndx;" (assignment_expression "this_1 = (Output_file *)shndx" identifier = (cast_expression "(Output_file *)shndx" ( (type_descriptor "Output_file *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (labeled_statement "gold::Incremental_binary::error(this_00,format,shndx,this->shnum_);" statement_identifier : (ERROR ":" :) (labeled_statement "Incremental_binary::error(this_00,format,shndx,this->shnum_);" statement_identifier : (ERROR ":" :) (expression_statement "error(this_00,format,shndx,this->shnum_);" (call_expression "error(this_00,format,shndx,this->shnum_)" identifier (argument_list "(this_00,format,shndx,this->shnum_)" ( identifier , identifier , identifier , (field_expression "this->shnum_" identifier -> field_identifier) ))) ;))) })) (expression_statement "oVar7 = section_header_offset(this,shndx);" (assignment_expression "oVar7 = section_header_offset(this,shndx)" identifier = (call_expression "section_header_offset(this,shndx)" identifier (argument_list "(this,shndx)" ( identifier , identifier )))) ;) (expression_statement "iVar2 = (int)oVar7;" (assignment_expression "iVar2 = (int)oVar7" identifier = (cast_expression "(int)oVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "size = this_00->output_;" (assignment_expression "size = this_00->output_" identifier = (field_expression "this_00->output_" identifier -> field_identifier)) ;) (if_statement "if (-1 < oVar7) {\n    this_1 = *(Output_file **)&size->file_size_;\n    pOVar1 = (Output_file *)((ulonglong)(oVar7 + 0x40) >> 0x20);\n    this = (Elf_file<64,_true,_gold::Incremental_binary> *)(uint)((int)this_1 < (int)pOVar1);\n    if ((this == (Elf_file<64,_true,_gold::Incremental_binary> *)0x0) &&\n       ((this_1 != pOVar1 || ((uint)(oVar7 + 0x40) <= (uint)size->file_size_)))) {\n      puVar4 = size->base_;\n      uVar6 = *(undefined4 *)(puVar4 + iVar2 + 0x1c);\n      uVar5 = *(undefined4 *)(puVar4 + iVar2 + 0x18);\n      uVar3 = *(undefined4 *)(puVar4 + iVar2 + 0x24);\n      *(undefined4 *)&__return_storage_ptr__->data_size = 0;\n      *(undefined4 *)((int)&__return_storage_ptr__->file_offset + 4) = uVar6;\n      *(undefined4 *)&__return_storage_ptr__->file_offset = uVar5;\n      *(undefined4 *)((int)&__return_storage_ptr__->data_size + 4) = uVar3;\n      return __return_storage_ptr__;\n    }\n  }" if (parenthesized_expression "(-1 < oVar7)" ( (binary_expression "-1 < oVar7" number_literal < identifier) )) (compound_statement "{\n    this_1 = *(Output_file **)&size->file_size_;\n    pOVar1 = (Output_file *)((ulonglong)(oVar7 + 0x40) >> 0x20);\n    this = (Elf_file<64,_true,_gold::Incremental_binary> *)(uint)((int)this_1 < (int)pOVar1);\n    if ((this == (Elf_file<64,_true,_gold::Incremental_binary> *)0x0) &&\n       ((this_1 != pOVar1 || ((uint)(oVar7 + 0x40) <= (uint)size->file_size_)))) {\n      puVar4 = size->base_;\n      uVar6 = *(undefined4 *)(puVar4 + iVar2 + 0x1c);\n      uVar5 = *(undefined4 *)(puVar4 + iVar2 + 0x18);\n      uVar3 = *(undefined4 *)(puVar4 + iVar2 + 0x24);\n      *(undefined4 *)&__return_storage_ptr__->data_size = 0;\n      *(undefined4 *)((int)&__return_storage_ptr__->file_offset + 4) = uVar6;\n      *(undefined4 *)&__return_storage_ptr__->file_offset = uVar5;\n      *(undefined4 *)((int)&__return_storage_ptr__->data_size + 4) = uVar3;\n      return __return_storage_ptr__;\n    }\n  }" { (expression_statement "this_1 = *(Output_file **)&size->file_size_;" (assignment_expression "this_1 = *(Output_file **)&size->file_size_" identifier = (pointer_expression "*(Output_file **)&size->file_size_" * (cast_expression "(Output_file **)&size->file_size_" ( (type_descriptor "Output_file **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&size->file_size_" & (field_expression "size->file_size_" identifier -> field_identifier))))) ;) (expression_statement "pOVar1 = (Output_file *)((ulonglong)(oVar7 + 0x40) >> 0x20);" (assignment_expression "pOVar1 = (Output_file *)((ulonglong)(oVar7 + 0x40) >> 0x20)" identifier = (cast_expression "(Output_file *)((ulonglong)(oVar7 + 0x40) >> 0x20)" ( (type_descriptor "Output_file *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)(oVar7 + 0x40) >> 0x20)" ( (binary_expression "(ulonglong)(oVar7 + 0x40) >> 0x20" (call_expression "(ulonglong)(oVar7 + 0x40)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(oVar7 + 0x40)" ( (binary_expression "oVar7 + 0x40" identifier + number_literal) ))) >> number_literal) )))) ;) (expression_statement "this = (Elf_file<64,_true,_gold::Incremental_binary> *)(uint)((int)this_1 < (int)pOVar1);" (assignment_expression "this = (Elf_file<64,_true,_gold::Incremental_binary> *)(uint)((int)this_1 < (int)pOVar1)" identifier = (call_expression "(Elf_file<64,_true,_gold::Incremental_binary> *)(uint)((int)this_1 < (int)pOVar1)" (call_expression "(Elf_file<64,_true,_gold::Incremental_binary> *)(uint)" (parenthesized_expression "(Elf_file<64,_true,_gold::Incremental_binary> *)" ( (ERROR "Elf_file<64,_true,_gold::" (comma_expression "Elf_file<64,_true,_gold" (binary_expression "Elf_file<64" identifier < number_literal) , (comma_expression "_true,_gold" identifier , identifier)) : :) (binary_expression "Incremental_binary> *" identifier > (pointer_expression "*" * identifier)) )) (argument_list "(uint)" ( identifier ))) (argument_list "((int)this_1 < (int)pOVar1)" ( (binary_expression "(int)this_1 < (int)pOVar1" (cast_expression "(int)this_1" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)pOVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if ((this == (Elf_file<64,_true,_gold::Incremental_binary> *)0x0) &&\n       ((this_1 != pOVar1 || ((uint)(oVar7 + 0x40) <= (uint)size->file_size_)))) {\n      puVar4 = size->base_;\n      uVar6 = *(undefined4 *)(puVar4 + iVar2 + 0x1c);\n      uVar5 = *(undefined4 *)(puVar4 + iVar2 + 0x18);\n      uVar3 = *(undefined4 *)(puVar4 + iVar2 + 0x24);\n      *(undefined4 *)&__return_storage_ptr__->data_size = 0;\n      *(undefined4 *)((int)&__return_storage_ptr__->file_offset + 4) = uVar6;\n      *(undefined4 *)&__return_storage_ptr__->file_offset = uVar5;\n      *(undefined4 *)((int)&__return_storage_ptr__->data_size + 4) = uVar3;\n      return __return_storage_ptr__;\n    }" if (parenthesized_expression "((this == (Elf_file<64,_true,_gold::Incremental_binary> *)0x0) &&\n       ((this_1 != pOVar1 || ((uint)(oVar7 + 0x40) <= (uint)size->file_size_))))" ( (parenthesized_expression "(this == (Elf_file<64,_true,_gold::Incremental_binary> *)0x0) &&\n       ((this_1 != pOVar1 || ((uint)(oVar7 + 0x40) <= (uint)size->file_size_))))" ( (binary_expression "this == (Elf_file<64,_true,_gold::Incremental_binary> *)0x0) &&\n       ((this_1 != pOVar1 || ((uint)(oVar7 + 0x40) <= (uint)size->file_size_)))" (binary_expression "this == (Elf_file<64,_true,_gold::Incremental_binary> *)0x0)" identifier == (parenthesized_expression "(Elf_file<64,_true,_gold::Incremental_binary> *)0x0)" ( (ERROR "Elf_file<64,_true,_gold::" (comma_expression "Elf_file<64,_true,_gold" (binary_expression "Elf_file<64" identifier < number_literal) , (comma_expression "_true,_gold" identifier , identifier)) : :) (binary_expression "Incremental_binary> *)0x0" identifier > (pointer_expression "*)0x0" * (ERROR ")" )) number_literal)) ))) && (parenthesized_expression "((this_1 != pOVar1 || ((uint)(oVar7 + 0x40) <= (uint)size->file_size_)))" ( (parenthesized_expression "(this_1 != pOVar1 || ((uint)(oVar7 + 0x40) <= (uint)size->file_size_))" ( (binary_expression "this_1 != pOVar1 || ((uint)(oVar7 + 0x40) <= (uint)size->file_size_)" (binary_expression "this_1 != pOVar1" identifier != identifier) || (parenthesized_expression "((uint)(oVar7 + 0x40) <= (uint)size->file_size_)" ( (binary_expression "(uint)(oVar7 + 0x40) <= (uint)size->file_size_" (call_expression "(uint)(oVar7 + 0x40)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(oVar7 + 0x40)" ( (binary_expression "oVar7 + 0x40" identifier + number_literal) ))) <= (cast_expression "(uint)size->file_size_" ( (type_descriptor "uint" type_identifier) ) (field_expression "size->file_size_" identifier -> field_identifier))) ))) )) ))) )) )) (compound_statement "{\n      puVar4 = size->base_;\n      uVar6 = *(undefined4 *)(puVar4 + iVar2 + 0x1c);\n      uVar5 = *(undefined4 *)(puVar4 + iVar2 + 0x18);\n      uVar3 = *(undefined4 *)(puVar4 + iVar2 + 0x24);\n      *(undefined4 *)&__return_storage_ptr__->data_size = 0;\n      *(undefined4 *)((int)&__return_storage_ptr__->file_offset + 4) = uVar6;\n      *(undefined4 *)&__return_storage_ptr__->file_offset = uVar5;\n      *(undefined4 *)((int)&__return_storage_ptr__->data_size + 4) = uVar3;\n      return __return_storage_ptr__;\n    }" { (expression_statement "puVar4 = size->base_;" (assignment_expression "puVar4 = size->base_" identifier = (field_expression "size->base_" identifier -> field_identifier)) ;) (expression_statement "uVar6 = *(undefined4 *)(puVar4 + iVar2 + 0x1c);" (assignment_expression "uVar6 = *(undefined4 *)(puVar4 + iVar2 + 0x1c)" identifier = (pointer_expression "*(undefined4 *)(puVar4 + iVar2 + 0x1c)" * (cast_expression "(undefined4 *)(puVar4 + iVar2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + iVar2 + 0x1c)" ( (binary_expression "puVar4 + iVar2 + 0x1c" (binary_expression "puVar4 + iVar2" identifier + identifier) + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(puVar4 + iVar2 + 0x18);" (assignment_expression "uVar5 = *(undefined4 *)(puVar4 + iVar2 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(puVar4 + iVar2 + 0x18)" * (cast_expression "(undefined4 *)(puVar4 + iVar2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + iVar2 + 0x18)" ( (binary_expression "puVar4 + iVar2 + 0x18" (binary_expression "puVar4 + iVar2" identifier + identifier) + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(puVar4 + iVar2 + 0x24);" (assignment_expression "uVar3 = *(undefined4 *)(puVar4 + iVar2 + 0x24)" identifier = (pointer_expression "*(undefined4 *)(puVar4 + iVar2 + 0x24)" * (cast_expression "(undefined4 *)(puVar4 + iVar2 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + iVar2 + 0x24)" ( (binary_expression "puVar4 + iVar2 + 0x24" (binary_expression "puVar4 + iVar2" identifier + identifier) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)&__return_storage_ptr__->data_size = 0;" (assignment_expression "*(undefined4 *)&__return_storage_ptr__->data_size = 0" (pointer_expression "*(undefined4 *)&__return_storage_ptr__->data_size" * (cast_expression "(undefined4 *)&__return_storage_ptr__->data_size" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&__return_storage_ptr__->data_size" & (field_expression "__return_storage_ptr__->data_size" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&__return_storage_ptr__->file_offset + 4) = uVar6;" (assignment_expression "*(undefined4 *)((int)&__return_storage_ptr__->file_offset + 4) = uVar6" (pointer_expression "*(undefined4 *)((int)&__return_storage_ptr__->file_offset + 4)" * (cast_expression "(undefined4 *)((int)&__return_storage_ptr__->file_offset + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&__return_storage_ptr__->file_offset + 4)" ( (binary_expression "(int)&__return_storage_ptr__->file_offset + 4" (cast_expression "(int)&__return_storage_ptr__->file_offset" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__return_storage_ptr__->file_offset" & (field_expression "__return_storage_ptr__->file_offset" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)&__return_storage_ptr__->file_offset = uVar5;" (assignment_expression "*(undefined4 *)&__return_storage_ptr__->file_offset = uVar5" (pointer_expression "*(undefined4 *)&__return_storage_ptr__->file_offset" * (cast_expression "(undefined4 *)&__return_storage_ptr__->file_offset" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&__return_storage_ptr__->file_offset" & (field_expression "__return_storage_ptr__->file_offset" identifier -> field_identifier)))) = identifier) ;) (expression_statement "*(undefined4 *)((int)&__return_storage_ptr__->data_size + 4) = uVar3;" (assignment_expression "*(undefined4 *)((int)&__return_storage_ptr__->data_size + 4) = uVar3" (pointer_expression "*(undefined4 *)((int)&__return_storage_ptr__->data_size + 4)" * (cast_expression "(undefined4 *)((int)&__return_storage_ptr__->data_size + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&__return_storage_ptr__->data_size + 4)" ( (binary_expression "(int)&__return_storage_ptr__->data_size + 4" (cast_expression "(int)&__return_storage_ptr__->data_size" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__return_storage_ptr__->data_size" & (field_expression "__return_storage_ptr__->data_size" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (return_statement "return __return_storage_ptr__;" return identifier ;) })) })) comment (labeled_statement "gold::Output_file::get_output_view\n            ((Output_file *)this,CONCAT44(iVar8,in_stack_ffffffdc),(size_t)size,this_1);" statement_identifier : (ERROR ":" :) (labeled_statement "Output_file::get_output_view\n            ((Output_file *)this,CONCAT44(iVar8,in_stack_ffffffdc),(size_t)size,this_1);" statement_identifier : (ERROR ":" :) (expression_statement "get_output_view\n            ((Output_file *)this,CONCAT44(iVar8,in_stack_ffffffdc),(size_t)size,this_1);" (call_expression "get_output_view\n            ((Output_file *)this,CONCAT44(iVar8,in_stack_ffffffdc),(size_t)size,this_1)" identifier (argument_list "((Output_file *)this,CONCAT44(iVar8,in_stack_ffffffdc),(size_t)size,this_1)" ( (cast_expression "(Output_file *)this" ( (type_descriptor "Output_file *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (call_expression "CONCAT44(iVar8,in_stack_ffffffdc)" identifier (argument_list "(iVar8,in_stack_ffffffdc)" ( identifier , identifier ))) , (cast_expression "(size_t)size" ( (type_descriptor "size_t" primitive_type) ) identifier) , identifier ))) ;))) }))
(translation_unit "uint elfcpp::Elf_file<64,true,gold::Incremental_binary>::section_contents(uint param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  Elf_file<64,true,gold::Incremental_binary> *in_a1;\n  int iVar4;\n  undefined4 uVar5;\n  uint in_a2;\n  char *pcVar6;\n  longlong lVar7;\n  \n  pcVar6 = *(char **)in_a1;\n  initialize_shnum(in_a1);\n  if (*(uint *)(in_a1 + 0x10) <= in_a2) {\n    uVar2 = (*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028);\n    initialize_shnum(in_a1);\n    gold::Incremental_binary::error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));\n  }\n  lVar7 = section_header_offset(in_a1,in_a2);\n  iVar4 = *(int *)(pcVar6 + 0x28);\n  if (-1 < lVar7) {\n    iVar1 = (int)((ulonglong)(lVar7 + 0x40) >> 0x20);\n    if ((iVar1 <= *(int *)(iVar4 + 8)) &&\n       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))) {\n      iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;\n      uVar5 = *(undefined4 *)(iVar4 + 0x1c);\n      uVar3 = *(undefined4 *)(iVar4 + 0x18);\n      uVar2 = *(undefined4 *)(iVar4 + 0x24);\n      *(undefined4 *)(param_1 + 8) = 0;\n      *(undefined4 *)(param_1 + 4) = uVar5;\n      *(undefined4 *)param_1 = uVar3;\n      *(undefined4 *)(param_1 + 0xc) = uVar2;\n      return param_1;\n    }\n  }\n                    \n  FUN_000f2f54();\n}\n\n" (declaration "uint elfcpp::Elf_file<64,true,gold::Incremental_binary>::section_contents(uint param_1)\n\n{\n  int iVar1;" type_identifier (ERROR "elfcpp::" identifier : :) identifier (ERROR "<64" < number_literal) , identifier , (ERROR "gold::Incremental_binary>::section_contents(uint param_1)\n\n{\n  int" identifier : : identifier > : : (function_declarator "section_contents(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) { primitive_type) identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (ERROR "Elf_file<64,true," (binary_expression "Elf_file<64" identifier < number_literal) , true ,) (labeled_statement "gold::Incremental_binary> *in_a1;" statement_identifier : (ERROR ":" :) (expression_statement "Incremental_binary> *in_a1;" (binary_expression "Incremental_binary> *in_a1" identifier > (pointer_expression "*in_a1" * identifier)) ;)) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "uint in_a2;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "longlong lVar7;" type_identifier identifier ;) (expression_statement "pcVar6 = *(char **)in_a1;" (assignment_expression "pcVar6 = *(char **)in_a1" identifier = (pointer_expression "*(char **)in_a1" * (cast_expression "(char **)in_a1" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "initialize_shnum(in_a1);" (call_expression "initialize_shnum(in_a1)" identifier (argument_list "(in_a1)" ( identifier ))) ;) (if_statement "if (*(uint *)(in_a1 + 0x10) <= in_a2) {\n    uVar2 = (*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028);\n    initialize_shnum(in_a1);\n    gold::Incremental_binary::error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));\n  }" if (parenthesized_expression "(*(uint *)(in_a1 + 0x10) <= in_a2)" ( (binary_expression "*(uint *)(in_a1 + 0x10) <= in_a2" (pointer_expression "*(uint *)(in_a1 + 0x10)" * (cast_expression "(uint *)(in_a1 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a1 + 0x10)" ( (binary_expression "in_a1 + 0x10" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n    uVar2 = (*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028);\n    initialize_shnum(in_a1);\n    gold::Incremental_binary::error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));\n  }" { (expression_statement "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028);" (assignment_expression "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028)" identifier = (call_expression "(*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" ( (pointer_expression "*(code *)PTR_gettext_00436818" * (cast_expression "(code *)PTR_gettext_00436818" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_0043220c + 0x5028)" ( (binary_expression "PTR_LAB_0043220c + 0x5028" identifier + number_literal) )))) ;) (expression_statement "initialize_shnum(in_a1);" (call_expression "initialize_shnum(in_a1)" identifier (argument_list "(in_a1)" ( identifier ))) ;) (labeled_statement "gold::Incremental_binary::error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));" statement_identifier : (ERROR ":" :) (labeled_statement "Incremental_binary::error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));" statement_identifier : (ERROR ":" :) (expression_statement "error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));" (call_expression "error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10))" identifier (argument_list "(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10))" ( identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(in_a1 + 0x10)" * (cast_expression "(undefined4 *)(in_a1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a1 + 0x10)" ( (binary_expression "in_a1 + 0x10" identifier + number_literal) )))) ))) ;))) })) (expression_statement "lVar7 = section_header_offset(in_a1,in_a2);" (assignment_expression "lVar7 = section_header_offset(in_a1,in_a2)" identifier = (call_expression "section_header_offset(in_a1,in_a2)" identifier (argument_list "(in_a1,in_a2)" ( identifier , identifier )))) ;) (expression_statement "iVar4 = *(int *)(pcVar6 + 0x28);" (assignment_expression "iVar4 = *(int *)(pcVar6 + 0x28)" identifier = (pointer_expression "*(int *)(pcVar6 + 0x28)" * (cast_expression "(int *)(pcVar6 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x28)" ( (binary_expression "pcVar6 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (-1 < lVar7) {\n    iVar1 = (int)((ulonglong)(lVar7 + 0x40) >> 0x20);\n    if ((iVar1 <= *(int *)(iVar4 + 8)) &&\n       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))) {\n      iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;\n      uVar5 = *(undefined4 *)(iVar4 + 0x1c);\n      uVar3 = *(undefined4 *)(iVar4 + 0x18);\n      uVar2 = *(undefined4 *)(iVar4 + 0x24);\n      *(undefined4 *)(param_1 + 8) = 0;\n      *(undefined4 *)(param_1 + 4) = uVar5;\n      *(undefined4 *)param_1 = uVar3;\n      *(undefined4 *)(param_1 + 0xc) = uVar2;\n      return param_1;\n    }\n  }" if (parenthesized_expression "(-1 < lVar7)" ( (binary_expression "-1 < lVar7" number_literal < identifier) )) (compound_statement "{\n    iVar1 = (int)((ulonglong)(lVar7 + 0x40) >> 0x20);\n    if ((iVar1 <= *(int *)(iVar4 + 8)) &&\n       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))) {\n      iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;\n      uVar5 = *(undefined4 *)(iVar4 + 0x1c);\n      uVar3 = *(undefined4 *)(iVar4 + 0x18);\n      uVar2 = *(undefined4 *)(iVar4 + 0x24);\n      *(undefined4 *)(param_1 + 8) = 0;\n      *(undefined4 *)(param_1 + 4) = uVar5;\n      *(undefined4 *)param_1 = uVar3;\n      *(undefined4 *)(param_1 + 0xc) = uVar2;\n      return param_1;\n    }\n  }" { (expression_statement "iVar1 = (int)((ulonglong)(lVar7 + 0x40) >> 0x20);" (assignment_expression "iVar1 = (int)((ulonglong)(lVar7 + 0x40) >> 0x20)" identifier = (cast_expression "(int)((ulonglong)(lVar7 + 0x40) >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)(lVar7 + 0x40) >> 0x20)" ( (binary_expression "(ulonglong)(lVar7 + 0x40) >> 0x20" (call_expression "(ulonglong)(lVar7 + 0x40)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(lVar7 + 0x40)" ( (binary_expression "lVar7 + 0x40" identifier + number_literal) ))) >> number_literal) )))) ;) (if_statement "if ((iVar1 <= *(int *)(iVar4 + 8)) &&\n       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))) {\n      iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;\n      uVar5 = *(undefined4 *)(iVar4 + 0x1c);\n      uVar3 = *(undefined4 *)(iVar4 + 0x18);\n      uVar2 = *(undefined4 *)(iVar4 + 0x24);\n      *(undefined4 *)(param_1 + 8) = 0;\n      *(undefined4 *)(param_1 + 4) = uVar5;\n      *(undefined4 *)param_1 = uVar3;\n      *(undefined4 *)(param_1 + 0xc) = uVar2;\n      return param_1;\n    }" if (parenthesized_expression "((iVar1 <= *(int *)(iVar4 + 8)) &&\n       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc)))))" ( (binary_expression "(iVar1 <= *(int *)(iVar4 + 8)) &&\n       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))" (parenthesized_expression "(iVar1 <= *(int *)(iVar4 + 8))" ( (binary_expression "iVar1 <= *(int *)(iVar4 + 8)" identifier <= (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) )) && (parenthesized_expression "((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))" ( (parenthesized_expression "(*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc)))" ( (binary_expression "*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))" (binary_expression "*(int *)(iVar4 + 8) != iVar1" (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) != identifier) || (parenthesized_expression "((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))" ( (binary_expression "(uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc)" (call_expression "(uint)(lVar7 + 0x40)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(lVar7 + 0x40)" ( (binary_expression "lVar7 + 0x40" identifier + number_literal) ))) <= (pointer_expression "*(uint *)(iVar4 + 0xc)" * (cast_expression "(uint *)(iVar4 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) ))) )) ))) )) (compound_statement "{\n      iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;\n      uVar5 = *(undefined4 *)(iVar4 + 0x1c);\n      uVar3 = *(undefined4 *)(iVar4 + 0x18);\n      uVar2 = *(undefined4 *)(iVar4 + 0x24);\n      *(undefined4 *)(param_1 + 8) = 0;\n      *(undefined4 *)(param_1 + 4) = uVar5;\n      *(undefined4 *)param_1 = uVar3;\n      *(undefined4 *)(param_1 + 0xc) = uVar2;\n      return param_1;\n    }" { (expression_statement "iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;" (assignment_expression "iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7" identifier = (binary_expression "*(int *)(iVar4 + 0x10) + (int)lVar7" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) + (cast_expression "(int)lVar7" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar5 = *(undefined4 *)(iVar4 + 0x1c);" (assignment_expression "uVar5 = *(undefined4 *)(iVar4 + 0x1c)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x1c)" * (cast_expression "(undefined4 *)(iVar4 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar4 + 0x18);" (assignment_expression "uVar3 = *(undefined4 *)(iVar4 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x18)" * (cast_expression "(undefined4 *)(iVar4 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(iVar4 + 0x24);" (assignment_expression "uVar2 = *(undefined4 *)(iVar4 + 0x24)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0x24)" * (cast_expression "(undefined4 *)(iVar4 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x24)" ( (binary_expression "iVar4 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 8) = 0" (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 4) = uVar5;" (assignment_expression "*(undefined4 *)(param_1 + 4) = uVar5" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)param_1 = uVar3;" (assignment_expression "*(undefined4 *)param_1 = uVar3" (pointer_expression "*(undefined4 *)param_1" * (cast_expression "(undefined4 *)param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0xc) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0xc) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) })) (expression_statement "FUN_000f2f54();" (call_expression "FUN_000f2f54()" identifier (argument_list "()" ( ))) ;) (ERROR "}" }))
(translation_unit (declaration TYPE (ERROR IDENT : :) IDENT (ERROR < LIT) , IDENT , (ERROR IDENT : : IDENT > : : (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) { TYPE) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (ERROR (binary_expression IDENT < LIT) , BOOL ,) (labeled_statement statement_identifier : (ERROR :) (expression_statement (binary_expression IDENT > (pointer_expression * IDENT)) ;)) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;))) })) (expression_statement (assignment_expression IDENT = (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 LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) || (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (ERROR }))
(declaration "uint elfcpp::Elf_file<64,true,gold::Incremental_binary>::section_contents(uint param_1)\n\n{\n  int iVar1;" (type_identifier "uint") (ERROR "elfcpp::" (identifier "elfcpp") (: ":") (: ":")) (identifier "Elf_file") (ERROR "<64" (< "<") (number_literal "64")) (, ",") (identifier "true") (, ",") (ERROR "gold::Incremental_binary>::section_contents(uint param_1)\n\n{\n  int" (identifier "gold") (: ":") (: ":") (identifier "Incremental_binary") (> ">") (: ":") (: ":") (function_declarator "section_contents(uint param_1)" (identifier "section_contents") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) ({ "{") (primitive_type "int")) (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (ERROR "Elf_file<64,true," (binary_expression "Elf_file<64" (identifier "Elf_file") (< "<") (number_literal "64")) (, ",") (true "true") (, ",")) (labeled_statement "gold::Incremental_binary> *in_a1;" (statement_identifier "gold") (: ":") (ERROR ":" (: ":")) (expression_statement "Incremental_binary> *in_a1;" (binary_expression "Incremental_binary> *in_a1" (identifier "Incremental_binary") (> ">") (pointer_expression "*in_a1" (* "*") (identifier "in_a1"))) (; ";"))) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "uint in_a2;" (type_identifier "uint") (identifier "in_a2") (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "longlong lVar7;" (type_identifier "longlong") (identifier "lVar7") (; ";")) (expression_statement "pcVar6 = *(char **)in_a1;" (assignment_expression "pcVar6 = *(char **)in_a1" (identifier "pcVar6") (= "=") (pointer_expression "*(char **)in_a1" (* "*") (cast_expression "(char **)in_a1" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "in_a1")))) (; ";")) (expression_statement "initialize_shnum(in_a1);" (call_expression "initialize_shnum(in_a1)" (identifier "initialize_shnum") (argument_list "(in_a1)" (( "(") (identifier "in_a1") () ")"))) (; ";")) (if_statement "if (*(uint *)(in_a1 + 0x10) <= in_a2) {\n    uVar2 = (*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028);\n    initialize_shnum(in_a1);\n    gold::Incremental_binary::error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));\n  }" (if "if") (parenthesized_expression "(*(uint *)(in_a1 + 0x10) <= in_a2)" (( "(") (binary_expression "*(uint *)(in_a1 + 0x10) <= in_a2" (pointer_expression "*(uint *)(in_a1 + 0x10)" (* "*") (cast_expression "(uint *)(in_a1 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a1 + 0x10)" (( "(") (binary_expression "in_a1 + 0x10" (identifier "in_a1") (+ "+") (number_literal "0x10")) () ")")))) (<= "<=") (identifier "in_a2")) () ")")) (compound_statement "{\n    uVar2 = (*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028);\n    initialize_shnum(in_a1);\n    gold::Incremental_binary::error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));\n  }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028);" (assignment_expression "uVar2 = (*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028)" (parenthesized_expression "(*(code *)PTR_gettext_00436818)" (( "(") (pointer_expression "*(code *)PTR_gettext_00436818" (* "*") (cast_expression "(code *)PTR_gettext_00436818" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gettext_00436818"))) () ")")) (argument_list "(PTR_LAB_0043220c + 0x5028)" (( "(") (binary_expression "PTR_LAB_0043220c + 0x5028" (identifier "PTR_LAB_0043220c") (+ "+") (number_literal "0x5028")) () ")")))) (; ";")) (expression_statement "initialize_shnum(in_a1);" (call_expression "initialize_shnum(in_a1)" (identifier "initialize_shnum") (argument_list "(in_a1)" (( "(") (identifier "in_a1") () ")"))) (; ";")) (labeled_statement "gold::Incremental_binary::error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));" (statement_identifier "gold") (: ":") (ERROR ":" (: ":")) (labeled_statement "Incremental_binary::error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));" (statement_identifier "Incremental_binary") (: ":") (ERROR ":" (: ":")) (expression_statement "error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));" (call_expression "error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10))" (identifier "error") (argument_list "(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10))" (( "(") (identifier "pcVar6") (, ",") (identifier "uVar2") (, ",") (identifier "in_a2") (, ",") (pointer_expression "*(undefined4 *)(in_a1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(in_a1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a1 + 0x10)" (( "(") (binary_expression "in_a1 + 0x10" (identifier "in_a1") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")))) (} "}"))) (expression_statement "lVar7 = section_header_offset(in_a1,in_a2);" (assignment_expression "lVar7 = section_header_offset(in_a1,in_a2)" (identifier "lVar7") (= "=") (call_expression "section_header_offset(in_a1,in_a2)" (identifier "section_header_offset") (argument_list "(in_a1,in_a2)" (( "(") (identifier "in_a1") (, ",") (identifier "in_a2") () ")")))) (; ";")) (expression_statement "iVar4 = *(int *)(pcVar6 + 0x28);" (assignment_expression "iVar4 = *(int *)(pcVar6 + 0x28)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(pcVar6 + 0x28)" (* "*") (cast_expression "(int *)(pcVar6 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar6 + 0x28)" (( "(") (binary_expression "pcVar6 + 0x28" (identifier "pcVar6") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (-1 < lVar7) {\n    iVar1 = (int)((ulonglong)(lVar7 + 0x40) >> 0x20);\n    if ((iVar1 <= *(int *)(iVar4 + 8)) &&\n       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))) {\n      iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;\n      uVar5 = *(undefined4 *)(iVar4 + 0x1c);\n      uVar3 = *(undefined4 *)(iVar4 + 0x18);\n      uVar2 = *(undefined4 *)(iVar4 + 0x24);\n      *(undefined4 *)(param_1 + 8) = 0;\n      *(undefined4 *)(param_1 + 4) = uVar5;\n      *(undefined4 *)param_1 = uVar3;\n      *(undefined4 *)(param_1 + 0xc) = uVar2;\n      return param_1;\n    }\n  }" (if "if") (parenthesized_expression "(-1 < lVar7)" (( "(") (binary_expression "-1 < lVar7" (number_literal "-1") (< "<") (identifier "lVar7")) () ")")) (compound_statement "{\n    iVar1 = (int)((ulonglong)(lVar7 + 0x40) >> 0x20);\n    if ((iVar1 <= *(int *)(iVar4 + 8)) &&\n       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))) {\n      iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;\n      uVar5 = *(undefined4 *)(iVar4 + 0x1c);\n      uVar3 = *(undefined4 *)(iVar4 + 0x18);\n      uVar2 = *(undefined4 *)(iVar4 + 0x24);\n      *(undefined4 *)(param_1 + 8) = 0;\n      *(undefined4 *)(param_1 + 4) = uVar5;\n      *(undefined4 *)param_1 = uVar3;\n      *(undefined4 *)(param_1 + 0xc) = uVar2;\n      return param_1;\n    }\n  }" ({ "{") (expression_statement "iVar1 = (int)((ulonglong)(lVar7 + 0x40) >> 0x20);" (assignment_expression "iVar1 = (int)((ulonglong)(lVar7 + 0x40) >> 0x20)" (identifier "iVar1") (= "=") (cast_expression "(int)((ulonglong)(lVar7 + 0x40) >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)(lVar7 + 0x40) >> 0x20)" (( "(") (binary_expression "(ulonglong)(lVar7 + 0x40) >> 0x20" (call_expression "(ulonglong)(lVar7 + 0x40)" (parenthesized_expression "(ulonglong)" (( "(") (identifier "ulonglong") () ")")) (argument_list "(lVar7 + 0x40)" (( "(") (binary_expression "lVar7 + 0x40" (identifier "lVar7") (+ "+") (number_literal "0x40")) () ")"))) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (if_statement "if ((iVar1 <= *(int *)(iVar4 + 8)) &&\n       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))) {\n      iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;\n      uVar5 = *(undefined4 *)(iVar4 + 0x1c);\n      uVar3 = *(undefined4 *)(iVar4 + 0x18);\n      uVar2 = *(undefined4 *)(iVar4 + 0x24);\n      *(undefined4 *)(param_1 + 8) = 0;\n      *(undefined4 *)(param_1 + 4) = uVar5;\n      *(undefined4 *)param_1 = uVar3;\n      *(undefined4 *)(param_1 + 0xc) = uVar2;\n      return param_1;\n    }" (if "if") (parenthesized_expression "((iVar1 <= *(int *)(iVar4 + 8)) &&\n       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc)))))" (( "(") (binary_expression "(iVar1 <= *(int *)(iVar4 + 8)) &&\n       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))" (parenthesized_expression "(iVar1 <= *(int *)(iVar4 + 8))" (( "(") (binary_expression "iVar1 <= *(int *)(iVar4 + 8)" (identifier "iVar1") (<= "<=") (pointer_expression "*(int *)(iVar4 + 8)" (* "*") (cast_expression "(int *)(iVar4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")"))))) () ")")) (&& "&&") (parenthesized_expression "((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))" (( "(") (parenthesized_expression "(*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc)))" (( "(") (binary_expression "*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))" (binary_expression "*(int *)(iVar4 + 8) != iVar1" (pointer_expression "*(int *)(iVar4 + 8)" (* "*") (cast_expression "(int *)(iVar4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (identifier "iVar1")) (|| "||") (parenthesized_expression "((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))" (( "(") (binary_expression "(uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc)" (call_expression "(uint)(lVar7 + 0x40)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(lVar7 + 0x40)" (( "(") (binary_expression "lVar7 + 0x40" (identifier "lVar7") (+ "+") (number_literal "0x40")) () ")"))) (<= "<=") (pointer_expression "*(uint *)(iVar4 + 0xc)" (* "*") (cast_expression "(uint *)(iVar4 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")"))))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;\n      uVar5 = *(undefined4 *)(iVar4 + 0x1c);\n      uVar3 = *(undefined4 *)(iVar4 + 0x18);\n      uVar2 = *(undefined4 *)(iVar4 + 0x24);\n      *(undefined4 *)(param_1 + 8) = 0;\n      *(undefined4 *)(param_1 + 4) = uVar5;\n      *(undefined4 *)param_1 = uVar3;\n      *(undefined4 *)(param_1 + 0xc) = uVar2;\n      return param_1;\n    }" ({ "{") (expression_statement "iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;" (assignment_expression "iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7" (identifier "iVar4") (= "=") (binary_expression "*(int *)(iVar4 + 0x10) + (int)lVar7" (pointer_expression "*(int *)(iVar4 + 0x10)" (* "*") (cast_expression "(int *)(iVar4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (cast_expression "(int)lVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar7")))) (; ";")) (expression_statement "uVar5 = *(undefined4 *)(iVar4 + 0x1c);" (assignment_expression "uVar5 = *(undefined4 *)(iVar4 + 0x1c)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(iVar4 + 0x18);" (assignment_expression "uVar3 = *(undefined4 *)(iVar4 + 0x18)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(iVar4 + 0x24);" (assignment_expression "uVar2 = *(undefined4 *)(iVar4 + 0x24)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0x24)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x24)" (( "(") (binary_expression "iVar4 + 0x24" (identifier "iVar4") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 8) = 0" (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 4) = uVar5;" (assignment_expression "*(undefined4 *)(param_1 + 4) = uVar5" (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "*(undefined4 *)param_1 = uVar3;" (assignment_expression "*(undefined4 *)param_1 = uVar3" (pointer_expression "*(undefined4 *)param_1" (* "*") (cast_expression "(undefined4 *)param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xc) = uVar2;" (assignment_expression "*(undefined4 *)(param_1 + 0xc) = uVar2" (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_000f2f54();" (call_expression "FUN_000f2f54()" (identifier "FUN_000f2f54") (argument_list "()" (( "(") () ")"))) (; ";")) (ERROR "}" (} "}"))

/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */
/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */
/* DWARF original prototype: Location section_contents(Elf_file<64,_true,_gold::Incremental_binary>
   * this, uint shndx) */

var_2 * __thiscall
elfcpp::var_4<64,_true,_gold::var_5>::var_1
          (var_2 *var_3,var_4<64,_true,_gold::var_5> *var_12,
          type_6 var_7)

{
  type_1 *var_14;
  char *format;
  int var_16;
  type_2 uVar3;
  type_3 *var_15;
  type_2 uVar5;
  type_1 *size;
  type_2 uVar6;
  type_1 *var_13;
  var_5 *this_00;
  type_4 var_11;
  int var_8;
  type_2 in_stack_ffffffdc;
  
  var_8 = 0x43a1d0;
  this_00 = var_12->file_;
  var_13 = (type_1 *)var_7;
  var_6(var_12);
  if (var_12->shnum_ <= var_7) {
    format = (char *)(**(type_5 **)(var_8 + -0x39b8))(*(int *)(var_8 + -0x7fc4) + 0x5028);
    var_6(var_12);
    var_13 = (type_1 *)var_7;
    gold::Incremental_binary::var_9(this_00,format,var_7,var_12->shnum_);
  }
  var_11 = var_10(var_12,var_7);
  var_16 = (int)var_11;
  size = this_00->output_;
  if (-1 < var_11) {
    var_13 = *(type_1 **)&size->file_size_;
    var_14 = (type_1 *)((ulonglong)(var_11 + 0x40) >> 0x20);
    var_12 = (var_4<64,_true,_gold::var_5> *)(type_6)((int)var_13 < (int)var_14);
    if ((var_12 == (var_4<64,_true,_gold::var_5> *)0x0) &&
       ((var_13 != var_14 || ((type_6)(var_11 + 0x40) <= (type_6)size->file_size_)))) {
      var_15 = size->base_;
      uVar6 = *(type_2 *)(var_15 + var_16 + 0x1c);
      uVar5 = *(type_2 *)(var_15 + var_16 + 0x18);
      uVar3 = *(type_2 *)(var_15 + var_16 + 0x24);
      *(type_2 *)&var_3->data_size = 0;
      *(type_2 *)((int)&var_3->file_offset + 4) = uVar6;
      *(type_2 *)&var_3->file_offset = uVar5;
      *(type_2 *)((int)&var_3->data_size + 4) = uVar3;
      return var_3;
    }
  }
                    /* WARNING: Subroutine does not return */
  gold::Output_file::var_17
            ((type_1 *)var_12,var_18(var_8,in_stack_ffffffdc),(size_t)size,var_13);
}


(translation_unit (declaration type: (type_identifier) (ERROR (identifier)) declarator: (identifier) (ERROR (number_literal)) declarator: (identifier) (ERROR (identifier) (identifier) (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) (primitive_type)) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (ERROR (binary_expression left: (identifier) right: (number_literal)) (true)) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (binary_expression left: (identifier) right: (pointer_expression argument: (identifier))))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))))) (expression_statement (assignment_expression left: (identifier) right: (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)) right: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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))))))) (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))))))) (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))))))) (expression_statement (assignment_expression left: (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))))) right: (number_literal))) (expression_statement (assignment_expression left: (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))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))) (expression_statement (assignment_expression left: (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))))) right: (identifier))) (return_statement (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (ERROR))

/* elfcpp::Elf_file<64, true, gold::Incremental_binary>::MASKED(unsigned int) */

uint elfcpp::Elf_file<64,true,gold::Incremental_binary>::MASKED(uint param_1)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  Elf_file<64,true,gold::Incremental_binary> *in_a1;
  int iVar4;
  undefined4 uVar5;
  uint in_a2;
  char *pcVar6;
  longlong lVar7;
  
  pcVar6 = *(char **)in_a1;
  initialize_shnum(in_a1);
  if (*(uint *)(in_a1 + 0x10) <= in_a2) {
    uVar2 = (*(code *)PTR_gettext_00436818)(PTR_LAB_0043220c + 0x5028);
    initialize_shnum(in_a1);
    gold::Incremental_binary::error(pcVar6,uVar2,in_a2,*(undefined4 *)(in_a1 + 0x10));
  }
  lVar7 = section_header_offset(in_a1,in_a2);
  iVar4 = *(int *)(pcVar6 + 0x28);
  if (-1 < lVar7) {
    iVar1 = (int)((ulonglong)(lVar7 + 0x40) >> 0x20);
    if ((iVar1 <= *(int *)(iVar4 + 8)) &&
       ((*(int *)(iVar4 + 8) != iVar1 || ((uint)(lVar7 + 0x40) <= *(uint *)(iVar4 + 0xc))))) {
      iVar4 = *(int *)(iVar4 + 0x10) + (int)lVar7;
      uVar5 = *(undefined4 *)(iVar4 + 0x1c);
      uVar3 = *(undefined4 *)(iVar4 + 0x18);
      uVar2 = *(undefined4 *)(iVar4 + 0x24);
      *(undefined4 *)(param_1 + 8) = 0;
      *(undefined4 *)(param_1 + 4) = uVar5;
      *(undefined4 *)param_1 = uVar3;
      *(undefined4 *)(param_1 + 0xc) = uVar2;
      return param_1;
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_000f2f54();
}

