
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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
          (Elf_file<64,_true,_gold::Incremental_binary> *this,uint shndx)

{
  Incremental_binary *this_00;
  Output_file *pOVar1;
  int iVar2;
  uchar *puVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  int iVar7;
  int iVar8;
  char *format;
  int iVar9;
  off_t oVar10;
  Location *in_stack_00000004;
  Incremental_binary *in_stack_ffffffd4;
  off_t in_stack_ffffffd8;
  uint in_stack_ffffffe0;
  
  this_00 = this->file_;
  initialize_shnum(this);
  if (this->shnum_ <= shndx) {
    initialize_shnum(this);
    in_stack_ffffffe0 = this->shnum_;
    format = (char *)gettext("section_contents: bad shndx %u >= %u");
    gold::Incremental_binary::error(this_00,format,shndx,in_stack_ffffffe0);
  }
  oVar10 = section_header_offset(this,shndx);
  iVar8 = (int)oVar10;
  pOVar1 = this_00->output_;
  if ((-1 < oVar10) &&
     (iVar2 = *(int *)((int)&pOVar1->file_size_ + 4),
     iVar9 = (int)((ulonglong)(oVar10 + 0x40) >> 0x20),
     uVar6 = (uint)((uint)pOVar1->file_size_ < (uint)(oVar10 + 0x40)), iVar7 = iVar2 - iVar9,
     (SBORROW4(iVar2,iVar9) != SBORROW4(iVar7,uVar6)) == (int)(iVar7 - uVar6) < 0)) {
    puVar3 = pOVar1->base_;
    *(undefined4 *)((int)&in_stack_00000004->data_size + 4) = 0;
    uVar6 = *(uint *)(puVar3 + iVar8 + 0x24);
    uVar4 = *(uint *)(puVar3 + iVar8 + 0x18);
    uVar5 = *(uint *)(puVar3 + iVar8 + 0x1c);
    *(uint *)&in_stack_00000004->data_size =
         uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;
    *(uint *)((int)&in_stack_00000004->file_offset + 4) =
         uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;
    *(uint *)&in_stack_00000004->file_offset =
         uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;
    return in_stack_00000004;
  }
                    /* WARNING: Subroutine does not return */
  gold::Incremental_binary::view(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffe0);
}



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

uint * FUN_0009a180(uint *param_1,int *param_2,uint param_3)

{
  uint uVar1;
  uint uVar2;
  uint uVar3;
  int iVar4;
  int iVar5;
  undefined4 uVar6;
  int iVar7;
  longlong lVar8;
  
  iVar5 = *param_2;
  FUN_00099f00(param_2);
  if ((uint)param_2[3] <= param_3) {
    FUN_00099f00(param_2);
    iVar4 = param_2[3];
    uVar6 = gettext("section_contents: bad shndx %u >= %u");
    FUN_00082070(iVar5,uVar6,param_3,iVar4);
  }
  lVar8 = FUN_0009a090(param_2,param_3);
  iVar5 = *(int *)(iVar5 + 0x28);
  if ((-1 < lVar8) &&
     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),
     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),
     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,
     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0))
  {
    iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);
    param_1[3] = 0;
    uVar3 = *(uint *)(iVar5 + 0x24);
    uVar1 = *(uint *)(iVar5 + 0x18);
    uVar2 = *(uint *)(iVar5 + 0x1c);
    param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
    param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00081f50();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00036db0
ADD EBX,0x30fe77
SUB ESP,0x28
MOV EBP,dword ptr [ESP + 0x40]
MOV ESI,dword ptr [ESP + 0x3c]
MOV EDI,dword ptr [EBP]
PUSH EBP
CALL 0x00099f00
ADD ESP,0x10
MOV EAX,dword ptr [EBP + 0xc]
CMP dword ptr [ESP + 0x38],EAX
JNC 0x0009a210
SUB ESP,0x8
PUSH dword ptr [ESP + 0x40]
PUSH EBP
CALL 0x0009a090
MOV EDI,dword ptr [EDI + 0x28]
ADD ESP,0x10
TEST EDX,EDX
JS 0x0009a249
MOV ECX,EAX
MOV EBX,EDX
MOV EBP,dword ptr [EDI + 0xc]
ADD ECX,0x40
ADC EBX,0x0
CMP dword ptr [EDI + 0x8],ECX
SBB EBP,EBX
JL 0x0009a249
ADD EAX,dword ptr [EDI + 0x10]
MOV dword ptr [ESI + 0xc],0x0
MOV EDX,dword ptr [EAX + 0x24]
MOV ECX,dword ptr [EAX + 0x18]
MOV EAX,dword ptr [EAX + 0x1c]
BSWAP EDX
BSWAP ECX
MOV dword ptr [ESI + 0x8],EDX
MOV dword ptr [ESI + 0x4],ECX
BSWAP EAX
MOV dword ptr [ESI],EAX
ADD ESP,0x1c
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
SUB ESP,0xc
PUSH EBP
CALL 0x00099f00
MOV ECX,dword ptr [EBP + 0xc]
LEA EAX,[EBX + 0xffef6464]
MOV dword ptr [ESP],EAX
MOV dword ptr [ESP + 0x1c],ECX
CALL 0x0002a3c0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0xc]
PUSH ECX
PUSH dword ptr [ESP + 0x3c]
PUSH EAX
PUSH EDI
CALL 0x00082070
ADD ESP,0x10
JMP 0x0009a1af
CALL 0x00081f50
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint * FUN_0009a180(uint *param_1,int *param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  longlong lVar8;\n  \n  iVar5 = *param_2;\n  FUN_00099f00(param_2);\n  if ((uint)param_2[3] <= param_3) {\n    FUN_00099f00(param_2);\n    iVar4 = param_2[3];\n    uVar6 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_00082070(iVar5,uVar6,param_3,iVar4);\n  }\n  lVar8 = FUN_0009a090(param_2,param_3);\n  iVar5 = *(int *)(iVar5 + 0x28);\n  if ((-1 < lVar8) &&\n     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0))\n  {\n    iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);\n    param_1[3] = 0;\n    uVar3 = *(uint *)(iVar5 + 0x24);\n    uVar1 = *(uint *)(iVar5 + 0x18);\n    uVar2 = *(uint *)(iVar5 + 0x1c);\n    param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00081f50();\n}\n\n" comment (function_definition "uint * FUN_0009a180(uint *param_1,int *param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  longlong lVar8;\n  \n  iVar5 = *param_2;\n  FUN_00099f00(param_2);\n  if ((uint)param_2[3] <= param_3) {\n    FUN_00099f00(param_2);\n    iVar4 = param_2[3];\n    uVar6 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_00082070(iVar5,uVar6,param_3,iVar4);\n  }\n  lVar8 = FUN_0009a090(param_2,param_3);\n  iVar5 = *(int *)(iVar5 + 0x28);\n  if ((-1 < lVar8) &&\n     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0))\n  {\n    iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);\n    param_1[3] = 0;\n    uVar3 = *(uint *)(iVar5 + 0x24);\n    uVar1 = *(uint *)(iVar5 + 0x18);\n    uVar2 = *(uint *)(iVar5 + 0x1c);\n    param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00081f50();\n}" type_identifier (pointer_declarator "* FUN_0009a180(uint *param_1,int *param_2,uint param_3)" * (function_declarator "FUN_0009a180(uint *param_1,int *param_2,uint param_3)" identifier (parameter_list "(uint *param_1,int *param_2,uint param_3)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) )))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  longlong lVar8;\n  \n  iVar5 = *param_2;\n  FUN_00099f00(param_2);\n  if ((uint)param_2[3] <= param_3) {\n    FUN_00099f00(param_2);\n    iVar4 = param_2[3];\n    uVar6 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_00082070(iVar5,uVar6,param_3,iVar4);\n  }\n  lVar8 = FUN_0009a090(param_2,param_3);\n  iVar5 = *(int *)(iVar5 + 0x28);\n  if ((-1 < lVar8) &&\n     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0))\n  {\n    iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);\n    param_1[3] = 0;\n    uVar3 = *(uint *)(iVar5 + 0x24);\n    uVar1 = *(uint *)(iVar5 + 0x18);\n    uVar2 = *(uint *)(iVar5 + 0x1c);\n    param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00081f50();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "longlong lVar8;" type_identifier identifier ;) (expression_statement "iVar5 = *param_2;" (assignment_expression "iVar5 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "FUN_00099f00(param_2);" (call_expression "FUN_00099f00(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (if_statement "if ((uint)param_2[3] <= param_3) {\n    FUN_00099f00(param_2);\n    iVar4 = param_2[3];\n    uVar6 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_00082070(iVar5,uVar6,param_3,iVar4);\n  }" if (parenthesized_expression "((uint)param_2[3] <= param_3)" ( (binary_expression "(uint)param_2[3] <= param_3" (cast_expression "(uint)param_2[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[3]" identifier [ number_literal ])) <= identifier) )) (compound_statement "{\n    FUN_00099f00(param_2);\n    iVar4 = param_2[3];\n    uVar6 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_00082070(iVar5,uVar6,param_3,iVar4);\n  }" { (expression_statement "FUN_00099f00(param_2);" (call_expression "FUN_00099f00(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "iVar4 = param_2[3];" (assignment_expression "iVar4 = param_2[3]" identifier = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = gettext("section_contents: bad shndx %u >= %u");" (assignment_expression "uVar6 = gettext("section_contents: bad shndx %u >= %u")" identifier = (call_expression "gettext("section_contents: bad shndx %u >= %u")" identifier (argument_list "("section_contents: bad shndx %u >= %u")" ( (string_literal ""section_contents: bad shndx %u >= %u"" " string_content ") )))) ;) (expression_statement "FUN_00082070(iVar5,uVar6,param_3,iVar4);" (call_expression "FUN_00082070(iVar5,uVar6,param_3,iVar4)" identifier (argument_list "(iVar5,uVar6,param_3,iVar4)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "lVar8 = FUN_0009a090(param_2,param_3);" (assignment_expression "lVar8 = FUN_0009a090(param_2,param_3)" identifier = (call_expression "FUN_0009a090(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier )))) ;) (expression_statement "iVar5 = *(int *)(iVar5 + 0x28);" (assignment_expression "iVar5 = *(int *)(iVar5 + 0x28)" identifier = (pointer_expression "*(int *)(iVar5 + 0x28)" * (cast_expression "(int *)(iVar5 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x28)" ( (binary_expression "iVar5 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if ((-1 < lVar8) &&\n     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0))\n  {\n    iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);\n    param_1[3] = 0;\n    uVar3 = *(uint *)(iVar5 + 0x24);\n    uVar1 = *(uint *)(iVar5 + 0x18);\n    uVar2 = *(uint *)(iVar5 + 0x1c);\n    param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    return param_1;\n  }" if (parenthesized_expression "((-1 < lVar8) &&\n     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0))" ( (binary_expression "(-1 < lVar8) &&\n     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0)" (parenthesized_expression "(-1 < lVar8)" ( (binary_expression "-1 < lVar8" number_literal < identifier) )) && (parenthesized_expression "(iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0)" ( (comma_expression "iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0" (assignment_expression "iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20)" identifier = (cast_expression "(int)((ulonglong)(lVar8 + 0x40) >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)(lVar8 + 0x40) >> 0x20)" ( (binary_expression "(ulonglong)(lVar8 + 0x40) >> 0x20" (call_expression "(ulonglong)(lVar8 + 0x40)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(lVar8 + 0x40)" ( (binary_expression "lVar8 + 0x40" identifier + number_literal) ))) >> number_literal) )))) , (comma_expression "uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0" (assignment_expression "uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40))" identifier = (call_expression "(uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40))" ( (binary_expression "*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)" (pointer_expression "*(uint *)(iVar5 + 8)" * (cast_expression "(uint *)(iVar5 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) )))) < (call_expression "(uint)(lVar8 + 0x40)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(lVar8 + 0x40)" ( (binary_expression "lVar8 + 0x40" identifier + number_literal) )))) )))) , (comma_expression "iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0" (assignment_expression "iVar4 = *(int *)(iVar5 + 0xc) - iVar7" identifier = (binary_expression "*(int *)(iVar5 + 0xc) - iVar7" (pointer_expression "*(int *)(iVar5 + 0xc)" * (cast_expression "(int *)(iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) )))) - identifier)) , (binary_expression "(SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0" (parenthesized_expression "(SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3))" ( (binary_expression "SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)" (call_expression "SBORROW4(*(int *)(iVar5 + 0xc),iVar7)" identifier (argument_list "(*(int *)(iVar5 + 0xc),iVar7)" ( (pointer_expression "*(int *)(iVar5 + 0xc)" * (cast_expression "(int *)(iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) )))) , identifier ))) != (call_expression "SBORROW4(iVar4,uVar3)" identifier (argument_list "(iVar4,uVar3)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar4 - uVar3) < 0" (cast_expression "(int)(iVar4 - uVar3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar4 - uVar3)" ( (binary_expression "iVar4 - uVar3" identifier - identifier) ))) < number_literal))))) ))) )) (compound_statement "{\n    iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);\n    param_1[3] = 0;\n    uVar3 = *(uint *)(iVar5 + 0x24);\n    uVar1 = *(uint *)(iVar5 + 0x18);\n    uVar2 = *(uint *)(iVar5 + 0x1c);\n    param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    return param_1;\n  }" { (expression_statement "iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);" (assignment_expression "iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10)" identifier = (binary_expression "(int)lVar8 + *(int *)(iVar5 + 0x10)" (cast_expression "(int)lVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))))) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar3 = *(uint *)(iVar5 + 0x24);" (assignment_expression "uVar3 = *(uint *)(iVar5 + 0x24)" identifier = (pointer_expression "*(uint *)(iVar5 + 0x24)" * (cast_expression "(uint *)(iVar5 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x24)" ( (binary_expression "iVar5 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(uint *)(iVar5 + 0x18);" (assignment_expression "uVar1 = *(uint *)(iVar5 + 0x18)" identifier = (pointer_expression "*(uint *)(iVar5 + 0x18)" * (cast_expression "(uint *)(iVar5 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x18)" ( (binary_expression "iVar5 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(iVar5 + 0x1c);" (assignment_expression "uVar2 = *(uint *)(iVar5 + 0x1c)" identifier = (pointer_expression "*(uint *)(iVar5 + 0x1c)" * (cast_expression "(uint *)(iVar5 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x1c)" ( (binary_expression "iVar5 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal))) ;) (expression_statement "param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (expression_statement "*param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;" (assignment_expression "*param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (pointer_expression "*param_1" * identifier) = (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 << 0x18" identifier << number_literal))) ;) (return_statement "return param_1;" return identifier ;) })) comment (expression_statement "FUN_00081f50();" (call_expression "FUN_00081f50()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\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          (Elf_file<64,_true,_gold::Incremental_binary> *this,uint shndx)\n\n{\n  Incremental_binary *this_00;\n  Output_file *pOVar1;\n  int iVar2;\n  uchar *puVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  char *format;\n  int iVar9;\n  off_t oVar10;\n  Location *in_stack_00000004;\n  Incremental_binary *in_stack_ffffffd4;\n  off_t in_stack_ffffffd8;\n  uint in_stack_ffffffe0;\n  \n  this_00 = this->file_;\n  initialize_shnum(this);\n  if (this->shnum_ <= shndx) {\n    initialize_shnum(this);\n    in_stack_ffffffe0 = this->shnum_;\n    format = (char *)gettext("section_contents: bad shndx %u >= %u");\n    gold::Incremental_binary::error(this_00,format,shndx,in_stack_ffffffe0);\n  }\n  oVar10 = section_header_offset(this,shndx);\n  iVar8 = (int)oVar10;\n  pOVar1 = this_00->output_;\n  if ((-1 < oVar10) &&\n     (iVar2 = *(int *)((int)&pOVar1->file_size_ + 4),\n     iVar9 = (int)((ulonglong)(oVar10 + 0x40) >> 0x20),\n     uVar6 = (uint)((uint)pOVar1->file_size_ < (uint)(oVar10 + 0x40)), iVar7 = iVar2 - iVar9,\n     (SBORROW4(iVar2,iVar9) != SBORROW4(iVar7,uVar6)) == (int)(iVar7 - uVar6) < 0)) {\n    puVar3 = pOVar1->base_;\n    *(undefined4 *)((int)&in_stack_00000004->data_size + 4) = 0;\n    uVar6 = *(uint *)(puVar3 + iVar8 + 0x24);\n    uVar4 = *(uint *)(puVar3 + iVar8 + 0x18);\n    uVar5 = *(uint *)(puVar3 + iVar8 + 0x1c);\n    *(uint *)&in_stack_00000004->data_size =\n         uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    *(uint *)((int)&in_stack_00000004->file_offset + 4) =\n         uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    *(uint *)&in_stack_00000004->file_offset =\n         uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    return in_stack_00000004;\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::Incremental_binary::view(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffe0);\n}\n\n" 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          (Elf_file<64,_true,_gold::Incremental_binary> *this,uint shndx)" statement_identifier (ERROR "::Incremental_binary>:" : : identifier > :) : (expression_statement "section_contents\n          (Elf_file<64,_true,_gold::Incremental_binary> *this,uint shndx)" (call_expression "section_contents\n          (Elf_file<64,_true,_gold::Incremental_binary> *this,uint shndx)" identifier (argument_list "(Elf_file<64,_true,_gold::Incremental_binary> *this,uint shndx)" ( (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  Incremental_binary *this_00;\n  Output_file *pOVar1;\n  int iVar2;\n  uchar *puVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  int iVar7;\n  int iVar8;\n  char *format;\n  int iVar9;\n  off_t oVar10;\n  Location *in_stack_00000004;\n  Incremental_binary *in_stack_ffffffd4;\n  off_t in_stack_ffffffd8;\n  uint in_stack_ffffffe0;\n  \n  this_00 = this->file_;\n  initialize_shnum(this);\n  if (this->shnum_ <= shndx) {\n    initialize_shnum(this);\n    in_stack_ffffffe0 = this->shnum_;\n    format = (char *)gettext("section_contents: bad shndx %u >= %u");\n    gold::Incremental_binary::error(this_00,format,shndx,in_stack_ffffffe0);\n  }\n  oVar10 = section_header_offset(this,shndx);\n  iVar8 = (int)oVar10;\n  pOVar1 = this_00->output_;\n  if ((-1 < oVar10) &&\n     (iVar2 = *(int *)((int)&pOVar1->file_size_ + 4),\n     iVar9 = (int)((ulonglong)(oVar10 + 0x40) >> 0x20),\n     uVar6 = (uint)((uint)pOVar1->file_size_ < (uint)(oVar10 + 0x40)), iVar7 = iVar2 - iVar9,\n     (SBORROW4(iVar2,iVar9) != SBORROW4(iVar7,uVar6)) == (int)(iVar7 - uVar6) < 0)) {\n    puVar3 = pOVar1->base_;\n    *(undefined4 *)((int)&in_stack_00000004->data_size + 4) = 0;\n    uVar6 = *(uint *)(puVar3 + iVar8 + 0x24);\n    uVar4 = *(uint *)(puVar3 + iVar8 + 0x18);\n    uVar5 = *(uint *)(puVar3 + iVar8 + 0x1c);\n    *(uint *)&in_stack_00000004->data_size =\n         uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    *(uint *)((int)&in_stack_00000004->file_offset + 4) =\n         uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    *(uint *)&in_stack_00000004->file_offset =\n         uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    return in_stack_00000004;\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::Incremental_binary::view(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffe0);\n}" { (declaration "Incremental_binary *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "Output_file *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uchar *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "off_t oVar10;" type_identifier identifier ;) (declaration "Location *in_stack_00000004;" type_identifier (pointer_declarator "*in_stack_00000004" * identifier) ;) (declaration "Incremental_binary *in_stack_ffffffd4;" type_identifier (pointer_declarator "*in_stack_ffffffd4" * identifier) ;) (declaration "off_t in_stack_ffffffd8;" type_identifier identifier ;) (declaration "uint in_stack_ffffffe0;" type_identifier identifier ;) (expression_statement "this_00 = this->file_;" (assignment_expression "this_00 = this->file_" identifier = (field_expression "this->file_" identifier -> field_identifier)) ;) (expression_statement "initialize_shnum(this);" (call_expression "initialize_shnum(this)" identifier (argument_list "(this)" ( identifier ))) ;) (if_statement "if (this->shnum_ <= shndx) {\n    initialize_shnum(this);\n    in_stack_ffffffe0 = this->shnum_;\n    format = (char *)gettext("section_contents: bad shndx %u >= %u");\n    gold::Incremental_binary::error(this_00,format,shndx,in_stack_ffffffe0);\n  }" if (parenthesized_expression "(this->shnum_ <= shndx)" ( (binary_expression "this->shnum_ <= shndx" (field_expression "this->shnum_" identifier -> field_identifier) <= identifier) )) (compound_statement "{\n    initialize_shnum(this);\n    in_stack_ffffffe0 = this->shnum_;\n    format = (char *)gettext("section_contents: bad shndx %u >= %u");\n    gold::Incremental_binary::error(this_00,format,shndx,in_stack_ffffffe0);\n  }" { (expression_statement "initialize_shnum(this);" (call_expression "initialize_shnum(this)" identifier (argument_list "(this)" ( identifier ))) ;) (expression_statement "in_stack_ffffffe0 = this->shnum_;" (assignment_expression "in_stack_ffffffe0 = this->shnum_" identifier = (field_expression "this->shnum_" identifier -> field_identifier)) ;) (expression_statement "format = (char *)gettext("section_contents: bad shndx %u >= %u");" (assignment_expression "format = (char *)gettext("section_contents: bad shndx %u >= %u")" identifier = (cast_expression "(char *)gettext("section_contents: bad shndx %u >= %u")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("section_contents: bad shndx %u >= %u")" identifier (argument_list "("section_contents: bad shndx %u >= %u")" ( (string_literal ""section_contents: bad shndx %u >= %u"" " string_content ") ))))) ;) (labeled_statement "gold::Incremental_binary::error(this_00,format,shndx,in_stack_ffffffe0);" statement_identifier : (ERROR ":" :) (labeled_statement "Incremental_binary::error(this_00,format,shndx,in_stack_ffffffe0);" statement_identifier : (ERROR ":" :) (expression_statement "error(this_00,format,shndx,in_stack_ffffffe0);" (call_expression "error(this_00,format,shndx,in_stack_ffffffe0)" identifier (argument_list "(this_00,format,shndx,in_stack_ffffffe0)" ( identifier , identifier , identifier , identifier ))) ;))) })) (expression_statement "oVar10 = section_header_offset(this,shndx);" (assignment_expression "oVar10 = section_header_offset(this,shndx)" identifier = (call_expression "section_header_offset(this,shndx)" identifier (argument_list "(this,shndx)" ( identifier , identifier )))) ;) (expression_statement "iVar8 = (int)oVar10;" (assignment_expression "iVar8 = (int)oVar10" identifier = (cast_expression "(int)oVar10" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "pOVar1 = this_00->output_;" (assignment_expression "pOVar1 = this_00->output_" identifier = (field_expression "this_00->output_" identifier -> field_identifier)) ;) (if_statement "if ((-1 < oVar10) &&\n     (iVar2 = *(int *)((int)&pOVar1->file_size_ + 4),\n     iVar9 = (int)((ulonglong)(oVar10 + 0x40) >> 0x20),\n     uVar6 = (uint)((uint)pOVar1->file_size_ < (uint)(oVar10 + 0x40)), iVar7 = iVar2 - iVar9,\n     (SBORROW4(iVar2,iVar9) != SBORROW4(iVar7,uVar6)) == (int)(iVar7 - uVar6) < 0)) {\n    puVar3 = pOVar1->base_;\n    *(undefined4 *)((int)&in_stack_00000004->data_size + 4) = 0;\n    uVar6 = *(uint *)(puVar3 + iVar8 + 0x24);\n    uVar4 = *(uint *)(puVar3 + iVar8 + 0x18);\n    uVar5 = *(uint *)(puVar3 + iVar8 + 0x1c);\n    *(uint *)&in_stack_00000004->data_size =\n         uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    *(uint *)((int)&in_stack_00000004->file_offset + 4) =\n         uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    *(uint *)&in_stack_00000004->file_offset =\n         uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    return in_stack_00000004;\n  }" if (parenthesized_expression "((-1 < oVar10) &&\n     (iVar2 = *(int *)((int)&pOVar1->file_size_ + 4),\n     iVar9 = (int)((ulonglong)(oVar10 + 0x40) >> 0x20),\n     uVar6 = (uint)((uint)pOVar1->file_size_ < (uint)(oVar10 + 0x40)), iVar7 = iVar2 - iVar9,\n     (SBORROW4(iVar2,iVar9) != SBORROW4(iVar7,uVar6)) == (int)(iVar7 - uVar6) < 0))" ( (binary_expression "(-1 < oVar10) &&\n     (iVar2 = *(int *)((int)&pOVar1->file_size_ + 4),\n     iVar9 = (int)((ulonglong)(oVar10 + 0x40) >> 0x20),\n     uVar6 = (uint)((uint)pOVar1->file_size_ < (uint)(oVar10 + 0x40)), iVar7 = iVar2 - iVar9,\n     (SBORROW4(iVar2,iVar9) != SBORROW4(iVar7,uVar6)) == (int)(iVar7 - uVar6) < 0)" (parenthesized_expression "(-1 < oVar10)" ( (binary_expression "-1 < oVar10" number_literal < identifier) )) && (parenthesized_expression "(iVar2 = *(int *)((int)&pOVar1->file_size_ + 4),\n     iVar9 = (int)((ulonglong)(oVar10 + 0x40) >> 0x20),\n     uVar6 = (uint)((uint)pOVar1->file_size_ < (uint)(oVar10 + 0x40)), iVar7 = iVar2 - iVar9,\n     (SBORROW4(iVar2,iVar9) != SBORROW4(iVar7,uVar6)) == (int)(iVar7 - uVar6) < 0)" ( (comma_expression "iVar2 = *(int *)((int)&pOVar1->file_size_ + 4),\n     iVar9 = (int)((ulonglong)(oVar10 + 0x40) >> 0x20),\n     uVar6 = (uint)((uint)pOVar1->file_size_ < (uint)(oVar10 + 0x40)), iVar7 = iVar2 - iVar9,\n     (SBORROW4(iVar2,iVar9) != SBORROW4(iVar7,uVar6)) == (int)(iVar7 - uVar6) < 0" (assignment_expression "iVar2 = *(int *)((int)&pOVar1->file_size_ + 4)" identifier = (pointer_expression "*(int *)((int)&pOVar1->file_size_ + 4)" * (cast_expression "(int *)((int)&pOVar1->file_size_ + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pOVar1->file_size_ + 4)" ( (binary_expression "(int)&pOVar1->file_size_ + 4" (cast_expression "(int)&pOVar1->file_size_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pOVar1->file_size_" & (field_expression "pOVar1->file_size_" identifier -> field_identifier))) + number_literal) ))))) , (comma_expression "iVar9 = (int)((ulonglong)(oVar10 + 0x40) >> 0x20),\n     uVar6 = (uint)((uint)pOVar1->file_size_ < (uint)(oVar10 + 0x40)), iVar7 = iVar2 - iVar9,\n     (SBORROW4(iVar2,iVar9) != SBORROW4(iVar7,uVar6)) == (int)(iVar7 - uVar6) < 0" (assignment_expression "iVar9 = (int)((ulonglong)(oVar10 + 0x40) >> 0x20)" identifier = (cast_expression "(int)((ulonglong)(oVar10 + 0x40) >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)(oVar10 + 0x40) >> 0x20)" ( (binary_expression "(ulonglong)(oVar10 + 0x40) >> 0x20" (call_expression "(ulonglong)(oVar10 + 0x40)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(oVar10 + 0x40)" ( (binary_expression "oVar10 + 0x40" identifier + number_literal) ))) >> number_literal) )))) , (comma_expression "uVar6 = (uint)((uint)pOVar1->file_size_ < (uint)(oVar10 + 0x40)), iVar7 = iVar2 - iVar9,\n     (SBORROW4(iVar2,iVar9) != SBORROW4(iVar7,uVar6)) == (int)(iVar7 - uVar6) < 0" (assignment_expression "uVar6 = (uint)((uint)pOVar1->file_size_ < (uint)(oVar10 + 0x40))" identifier = (call_expression "(uint)((uint)pOVar1->file_size_ < (uint)(oVar10 + 0x40))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)pOVar1->file_size_ < (uint)(oVar10 + 0x40))" ( (binary_expression "(uint)pOVar1->file_size_ < (uint)(oVar10 + 0x40)" (cast_expression "(uint)pOVar1->file_size_" ( (type_descriptor "uint" type_identifier) ) (field_expression "pOVar1->file_size_" identifier -> field_identifier)) < (call_expression "(uint)(oVar10 + 0x40)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(oVar10 + 0x40)" ( (binary_expression "oVar10 + 0x40" identifier + number_literal) )))) )))) , (comma_expression "iVar7 = iVar2 - iVar9,\n     (SBORROW4(iVar2,iVar9) != SBORROW4(iVar7,uVar6)) == (int)(iVar7 - uVar6) < 0" (assignment_expression "iVar7 = iVar2 - iVar9" identifier = (binary_expression "iVar2 - iVar9" identifier - identifier)) , (binary_expression "(SBORROW4(iVar2,iVar9) != SBORROW4(iVar7,uVar6)) == (int)(iVar7 - uVar6) < 0" (parenthesized_expression "(SBORROW4(iVar2,iVar9) != SBORROW4(iVar7,uVar6))" ( (binary_expression "SBORROW4(iVar2,iVar9) != SBORROW4(iVar7,uVar6)" (call_expression "SBORROW4(iVar2,iVar9)" identifier (argument_list "(iVar2,iVar9)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar7,uVar6)" identifier (argument_list "(iVar7,uVar6)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar7 - uVar6) < 0" (cast_expression "(int)(iVar7 - uVar6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar7 - uVar6)" ( (binary_expression "iVar7 - uVar6" identifier - identifier) ))) < number_literal)))))) ))) )) (compound_statement "{\n    puVar3 = pOVar1->base_;\n    *(undefined4 *)((int)&in_stack_00000004->data_size + 4) = 0;\n    uVar6 = *(uint *)(puVar3 + iVar8 + 0x24);\n    uVar4 = *(uint *)(puVar3 + iVar8 + 0x18);\n    uVar5 = *(uint *)(puVar3 + iVar8 + 0x1c);\n    *(uint *)&in_stack_00000004->data_size =\n         uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;\n    *(uint *)((int)&in_stack_00000004->file_offset + 4) =\n         uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    *(uint *)&in_stack_00000004->file_offset =\n         uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    return in_stack_00000004;\n  }" { (expression_statement "puVar3 = pOVar1->base_;" (assignment_expression "puVar3 = pOVar1->base_" identifier = (field_expression "pOVar1->base_" identifier -> field_identifier)) ;) (expression_statement "*(undefined4 *)((int)&in_stack_00000004->data_size + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&in_stack_00000004->data_size + 4) = 0" (pointer_expression "*(undefined4 *)((int)&in_stack_00000004->data_size + 4)" * (cast_expression "(undefined4 *)((int)&in_stack_00000004->data_size + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&in_stack_00000004->data_size + 4)" ( (binary_expression "(int)&in_stack_00000004->data_size + 4" (cast_expression "(int)&in_stack_00000004->data_size" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&in_stack_00000004->data_size" & (field_expression "in_stack_00000004->data_size" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "uVar6 = *(uint *)(puVar3 + iVar8 + 0x24);" (assignment_expression "uVar6 = *(uint *)(puVar3 + iVar8 + 0x24)" identifier = (pointer_expression "*(uint *)(puVar3 + iVar8 + 0x24)" * (cast_expression "(uint *)(puVar3 + iVar8 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + iVar8 + 0x24)" ( (binary_expression "puVar3 + iVar8 + 0x24" (binary_expression "puVar3 + iVar8" identifier + identifier) + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(puVar3 + iVar8 + 0x18);" (assignment_expression "uVar4 = *(uint *)(puVar3 + iVar8 + 0x18)" identifier = (pointer_expression "*(uint *)(puVar3 + iVar8 + 0x18)" * (cast_expression "(uint *)(puVar3 + iVar8 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + iVar8 + 0x18)" ( (binary_expression "puVar3 + iVar8 + 0x18" (binary_expression "puVar3 + iVar8" identifier + identifier) + number_literal) ))))) ;) (expression_statement "uVar5 = *(uint *)(puVar3 + iVar8 + 0x1c);" (assignment_expression "uVar5 = *(uint *)(puVar3 + iVar8 + 0x1c)" identifier = (pointer_expression "*(uint *)(puVar3 + iVar8 + 0x1c)" * (cast_expression "(uint *)(puVar3 + iVar8 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + iVar8 + 0x1c)" ( (binary_expression "puVar3 + iVar8 + 0x1c" (binary_expression "puVar3 + iVar8" identifier + identifier) + number_literal) ))))) ;) (expression_statement "*(uint *)&in_stack_00000004->data_size =\n         uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18;" (assignment_expression "*(uint *)&in_stack_00000004->data_size =\n         uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" (pointer_expression "*(uint *)&in_stack_00000004->data_size" * (cast_expression "(uint *)&in_stack_00000004->data_size" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&in_stack_00000004->data_size" & (field_expression "in_stack_00000004->data_size" identifier -> field_identifier)))) = (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8 | uVar6 << 0x18" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8 | (uVar6 & 0xff00) << 8" (binary_expression "uVar6 >> 0x18 | (uVar6 & 0xff0000) >> 8" (binary_expression "uVar6 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar6 & 0xff0000) >> 8" (parenthesized_expression "(uVar6 & 0xff0000)" ( (binary_expression "uVar6 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar6 & 0xff00) << 8" (parenthesized_expression "(uVar6 & 0xff00)" ( (binary_expression "uVar6 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar6 << 0x18" identifier << number_literal))) ;) (expression_statement "*(uint *)((int)&in_stack_00000004->file_offset + 4) =\n         uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;" (assignment_expression "*(uint *)((int)&in_stack_00000004->file_offset + 4) =\n         uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (pointer_expression "*(uint *)((int)&in_stack_00000004->file_offset + 4)" * (cast_expression "(uint *)((int)&in_stack_00000004->file_offset + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&in_stack_00000004->file_offset + 4)" ( (binary_expression "(int)&in_stack_00000004->file_offset + 4" (cast_expression "(int)&in_stack_00000004->file_offset" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&in_stack_00000004->file_offset" & (field_expression "in_stack_00000004->file_offset" identifier -> field_identifier))) + number_literal) )))) = (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal))) ;) (expression_statement "*(uint *)&in_stack_00000004->file_offset =\n         uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;" (assignment_expression "*(uint *)&in_stack_00000004->file_offset =\n         uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (pointer_expression "*(uint *)&in_stack_00000004->file_offset" * (cast_expression "(uint *)&in_stack_00000004->file_offset" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&in_stack_00000004->file_offset" & (field_expression "in_stack_00000004->file_offset" identifier -> field_identifier)))) = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal))) ;) (return_statement "return in_stack_00000004;" return identifier ;) })) comment (labeled_statement "gold::Incremental_binary::view(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffe0);" statement_identifier : (ERROR ":" :) (labeled_statement "Incremental_binary::view(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffe0);" statement_identifier : (ERROR ":" :) (expression_statement "view(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffe0);" (call_expression "view(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffe0)" identifier (argument_list "(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffe0)" ( identifier , identifier , identifier ))) ;))) }))
(translation_unit "uint * FUN_0009a180(uint *param_1,int *param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  longlong lVar8;\n  \n  iVar5 = *param_2;\n  FUN_00099f00(param_2);\n  if ((uint)param_2[3] <= param_3) {\n    FUN_00099f00(param_2);\n    iVar4 = param_2[3];\n    uVar6 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_00082070(iVar5,uVar6,param_3,iVar4);\n  }\n  lVar8 = FUN_0009a090(param_2,param_3);\n  iVar5 = *(int *)(iVar5 + 0x28);\n  if ((-1 < lVar8) &&\n     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0))\n  {\n    iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);\n    param_1[3] = 0;\n    uVar3 = *(uint *)(iVar5 + 0x24);\n    uVar1 = *(uint *)(iVar5 + 0x18);\n    uVar2 = *(uint *)(iVar5 + 0x1c);\n    param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    return param_1;\n  }\n                    \n  FUN_00081f50();\n}\n\n" (function_definition "uint * FUN_0009a180(uint *param_1,int *param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  longlong lVar8;\n  \n  iVar5 = *param_2;\n  FUN_00099f00(param_2);\n  if ((uint)param_2[3] <= param_3) {\n    FUN_00099f00(param_2);\n    iVar4 = param_2[3];\n    uVar6 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_00082070(iVar5,uVar6,param_3,iVar4);\n  }\n  lVar8 = FUN_0009a090(param_2,param_3);\n  iVar5 = *(int *)(iVar5 + 0x28);\n  if ((-1 < lVar8) &&\n     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0))\n  {\n    iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);\n    param_1[3] = 0;\n    uVar3 = *(uint *)(iVar5 + 0x24);\n    uVar1 = *(uint *)(iVar5 + 0x18);\n    uVar2 = *(uint *)(iVar5 + 0x1c);\n    param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    return param_1;\n  }\n                    \n  FUN_00081f50();\n}" type_identifier (pointer_declarator "* FUN_0009a180(uint *param_1,int *param_2,uint param_3)" * (function_declarator "FUN_0009a180(uint *param_1,int *param_2,uint param_3)" identifier (parameter_list "(uint *param_1,int *param_2,uint param_3)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) )))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  longlong lVar8;\n  \n  iVar5 = *param_2;\n  FUN_00099f00(param_2);\n  if ((uint)param_2[3] <= param_3) {\n    FUN_00099f00(param_2);\n    iVar4 = param_2[3];\n    uVar6 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_00082070(iVar5,uVar6,param_3,iVar4);\n  }\n  lVar8 = FUN_0009a090(param_2,param_3);\n  iVar5 = *(int *)(iVar5 + 0x28);\n  if ((-1 < lVar8) &&\n     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0))\n  {\n    iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);\n    param_1[3] = 0;\n    uVar3 = *(uint *)(iVar5 + 0x24);\n    uVar1 = *(uint *)(iVar5 + 0x18);\n    uVar2 = *(uint *)(iVar5 + 0x1c);\n    param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    return param_1;\n  }\n                    \n  FUN_00081f50();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "longlong lVar8;" type_identifier identifier ;) (expression_statement "iVar5 = *param_2;" (assignment_expression "iVar5 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "FUN_00099f00(param_2);" (call_expression "FUN_00099f00(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (if_statement "if ((uint)param_2[3] <= param_3) {\n    FUN_00099f00(param_2);\n    iVar4 = param_2[3];\n    uVar6 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_00082070(iVar5,uVar6,param_3,iVar4);\n  }" if (parenthesized_expression "((uint)param_2[3] <= param_3)" ( (binary_expression "(uint)param_2[3] <= param_3" (cast_expression "(uint)param_2[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[3]" identifier [ number_literal ])) <= identifier) )) (compound_statement "{\n    FUN_00099f00(param_2);\n    iVar4 = param_2[3];\n    uVar6 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_00082070(iVar5,uVar6,param_3,iVar4);\n  }" { (expression_statement "FUN_00099f00(param_2);" (call_expression "FUN_00099f00(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "iVar4 = param_2[3];" (assignment_expression "iVar4 = param_2[3]" identifier = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "uVar6 = gettext("section_contents: bad shndx %u >= %u");" (assignment_expression "uVar6 = gettext("section_contents: bad shndx %u >= %u")" identifier = (call_expression "gettext("section_contents: bad shndx %u >= %u")" identifier (argument_list "("section_contents: bad shndx %u >= %u")" ( (string_literal ""section_contents: bad shndx %u >= %u"" " string_content ") )))) ;) (expression_statement "FUN_00082070(iVar5,uVar6,param_3,iVar4);" (call_expression "FUN_00082070(iVar5,uVar6,param_3,iVar4)" identifier (argument_list "(iVar5,uVar6,param_3,iVar4)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "lVar8 = FUN_0009a090(param_2,param_3);" (assignment_expression "lVar8 = FUN_0009a090(param_2,param_3)" identifier = (call_expression "FUN_0009a090(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier )))) ;) (expression_statement "iVar5 = *(int *)(iVar5 + 0x28);" (assignment_expression "iVar5 = *(int *)(iVar5 + 0x28)" identifier = (pointer_expression "*(int *)(iVar5 + 0x28)" * (cast_expression "(int *)(iVar5 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x28)" ( (binary_expression "iVar5 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if ((-1 < lVar8) &&\n     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0))\n  {\n    iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);\n    param_1[3] = 0;\n    uVar3 = *(uint *)(iVar5 + 0x24);\n    uVar1 = *(uint *)(iVar5 + 0x18);\n    uVar2 = *(uint *)(iVar5 + 0x1c);\n    param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    return param_1;\n  }" if (parenthesized_expression "((-1 < lVar8) &&\n     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0))" ( (binary_expression "(-1 < lVar8) &&\n     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0)" (parenthesized_expression "(-1 < lVar8)" ( (binary_expression "-1 < lVar8" number_literal < identifier) )) && (parenthesized_expression "(iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0)" ( (comma_expression "iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0" (assignment_expression "iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20)" identifier = (cast_expression "(int)((ulonglong)(lVar8 + 0x40) >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)(lVar8 + 0x40) >> 0x20)" ( (binary_expression "(ulonglong)(lVar8 + 0x40) >> 0x20" (call_expression "(ulonglong)(lVar8 + 0x40)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(lVar8 + 0x40)" ( (binary_expression "lVar8 + 0x40" identifier + number_literal) ))) >> number_literal) )))) , (comma_expression "uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0" (assignment_expression "uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40))" identifier = (call_expression "(uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40))" ( (binary_expression "*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)" (pointer_expression "*(uint *)(iVar5 + 8)" * (cast_expression "(uint *)(iVar5 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) )))) < (call_expression "(uint)(lVar8 + 0x40)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(lVar8 + 0x40)" ( (binary_expression "lVar8 + 0x40" identifier + number_literal) )))) )))) , (comma_expression "iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0" (assignment_expression "iVar4 = *(int *)(iVar5 + 0xc) - iVar7" identifier = (binary_expression "*(int *)(iVar5 + 0xc) - iVar7" (pointer_expression "*(int *)(iVar5 + 0xc)" * (cast_expression "(int *)(iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) )))) - identifier)) , (binary_expression "(SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0" (parenthesized_expression "(SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3))" ( (binary_expression "SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)" (call_expression "SBORROW4(*(int *)(iVar5 + 0xc),iVar7)" identifier (argument_list "(*(int *)(iVar5 + 0xc),iVar7)" ( (pointer_expression "*(int *)(iVar5 + 0xc)" * (cast_expression "(int *)(iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) )))) , identifier ))) != (call_expression "SBORROW4(iVar4,uVar3)" identifier (argument_list "(iVar4,uVar3)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar4 - uVar3) < 0" (cast_expression "(int)(iVar4 - uVar3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar4 - uVar3)" ( (binary_expression "iVar4 - uVar3" identifier - identifier) ))) < number_literal))))) ))) )) (compound_statement "{\n    iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);\n    param_1[3] = 0;\n    uVar3 = *(uint *)(iVar5 + 0x24);\n    uVar1 = *(uint *)(iVar5 + 0x18);\n    uVar2 = *(uint *)(iVar5 + 0x1c);\n    param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    return param_1;\n  }" { (expression_statement "iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);" (assignment_expression "iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10)" identifier = (binary_expression "(int)lVar8 + *(int *)(iVar5 + 0x10)" (cast_expression "(int)lVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))))) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar3 = *(uint *)(iVar5 + 0x24);" (assignment_expression "uVar3 = *(uint *)(iVar5 + 0x24)" identifier = (pointer_expression "*(uint *)(iVar5 + 0x24)" * (cast_expression "(uint *)(iVar5 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x24)" ( (binary_expression "iVar5 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(uint *)(iVar5 + 0x18);" (assignment_expression "uVar1 = *(uint *)(iVar5 + 0x18)" identifier = (pointer_expression "*(uint *)(iVar5 + 0x18)" * (cast_expression "(uint *)(iVar5 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x18)" ( (binary_expression "iVar5 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(iVar5 + 0x1c);" (assignment_expression "uVar2 = *(uint *)(iVar5 + 0x1c)" identifier = (pointer_expression "*(uint *)(iVar5 + 0x1c)" * (cast_expression "(uint *)(iVar5 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x1c)" ( (binary_expression "iVar5 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" ( (binary_expression "uVar3 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" ( (binary_expression "uVar3 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar3 << 0x18" identifier << number_literal))) ;) (expression_statement "param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (expression_statement "*param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;" (assignment_expression "*param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (pointer_expression "*param_1" * identifier) = (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 << 0x18" identifier << number_literal))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "FUN_00081f50();" (call_expression "FUN_00081f50()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) })) (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 (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) >> LIT) )))) , (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) )))) )))) , (comma_expression (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT)) , (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) != (call_expression IDENT (argument_list ( IDENT , IDENT )))) )) == (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) < LIT))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = 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 IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "uint * FUN_0009a180(uint *param_1,int *param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  longlong lVar8;\n  \n  iVar5 = *param_2;\n  FUN_00099f00(param_2);\n  if ((uint)param_2[3] <= param_3) {\n    FUN_00099f00(param_2);\n    iVar4 = param_2[3];\n    uVar6 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_00082070(iVar5,uVar6,param_3,iVar4);\n  }\n  lVar8 = FUN_0009a090(param_2,param_3);\n  iVar5 = *(int *)(iVar5 + 0x28);\n  if ((-1 < lVar8) &&\n     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0))\n  {\n    iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);\n    param_1[3] = 0;\n    uVar3 = *(uint *)(iVar5 + 0x24);\n    uVar1 = *(uint *)(iVar5 + 0x18);\n    uVar2 = *(uint *)(iVar5 + 0x1c);\n    param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    return param_1;\n  }\n                    \n  FUN_00081f50();\n}" (type_identifier "uint") (pointer_declarator "* FUN_0009a180(uint *param_1,int *param_2,uint param_3)" (* "*") (function_declarator "FUN_0009a180(uint *param_1,int *param_2,uint param_3)" (identifier "FUN_0009a180") (parameter_list "(uint *param_1,int *param_2,uint param_3)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")")))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  longlong lVar8;\n  \n  iVar5 = *param_2;\n  FUN_00099f00(param_2);\n  if ((uint)param_2[3] <= param_3) {\n    FUN_00099f00(param_2);\n    iVar4 = param_2[3];\n    uVar6 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_00082070(iVar5,uVar6,param_3,iVar4);\n  }\n  lVar8 = FUN_0009a090(param_2,param_3);\n  iVar5 = *(int *)(iVar5 + 0x28);\n  if ((-1 < lVar8) &&\n     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0))\n  {\n    iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);\n    param_1[3] = 0;\n    uVar3 = *(uint *)(iVar5 + 0x24);\n    uVar1 = *(uint *)(iVar5 + 0x18);\n    uVar2 = *(uint *)(iVar5 + 0x1c);\n    param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    return param_1;\n  }\n                    \n  FUN_00081f50();\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "longlong lVar8;" (type_identifier "longlong") (identifier "lVar8") (; ";")) (expression_statement "iVar5 = *param_2;" (assignment_expression "iVar5 = *param_2" (identifier "iVar5") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "FUN_00099f00(param_2);" (call_expression "FUN_00099f00(param_2)" (identifier "FUN_00099f00") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (if_statement "if ((uint)param_2[3] <= param_3) {\n    FUN_00099f00(param_2);\n    iVar4 = param_2[3];\n    uVar6 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_00082070(iVar5,uVar6,param_3,iVar4);\n  }" (if "if") (parenthesized_expression "((uint)param_2[3] <= param_3)" (( "(") (binary_expression "(uint)param_2[3] <= param_3" (cast_expression "(uint)param_2[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (<= "<=") (identifier "param_3")) () ")")) (compound_statement "{\n    FUN_00099f00(param_2);\n    iVar4 = param_2[3];\n    uVar6 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_00082070(iVar5,uVar6,param_3,iVar4);\n  }" ({ "{") (expression_statement "FUN_00099f00(param_2);" (call_expression "FUN_00099f00(param_2)" (identifier "FUN_00099f00") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (expression_statement "iVar4 = param_2[3];" (assignment_expression "iVar4 = param_2[3]" (identifier "iVar4") (= "=") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "uVar6 = gettext("section_contents: bad shndx %u >= %u");" (assignment_expression "uVar6 = gettext("section_contents: bad shndx %u >= %u")" (identifier "uVar6") (= "=") (call_expression "gettext("section_contents: bad shndx %u >= %u")" (identifier "gettext") (argument_list "("section_contents: bad shndx %u >= %u")" (( "(") (string_literal ""section_contents: bad shndx %u >= %u"" (" """) (string_content "section_contents: bad shndx %u >= %u") (" """)) () ")")))) (; ";")) (expression_statement "FUN_00082070(iVar5,uVar6,param_3,iVar4);" (call_expression "FUN_00082070(iVar5,uVar6,param_3,iVar4)" (identifier "FUN_00082070") (argument_list "(iVar5,uVar6,param_3,iVar4)" (( "(") (identifier "iVar5") (, ",") (identifier "uVar6") (, ",") (identifier "param_3") (, ",") (identifier "iVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "lVar8 = FUN_0009a090(param_2,param_3);" (assignment_expression "lVar8 = FUN_0009a090(param_2,param_3)" (identifier "lVar8") (= "=") (call_expression "FUN_0009a090(param_2,param_3)" (identifier "FUN_0009a090") (argument_list "(param_2,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "iVar5 = *(int *)(iVar5 + 0x28);" (assignment_expression "iVar5 = *(int *)(iVar5 + 0x28)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar5 + 0x28)" (* "*") (cast_expression "(int *)(iVar5 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x28)" (( "(") (binary_expression "iVar5 + 0x28" (identifier "iVar5") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if ((-1 < lVar8) &&\n     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0))\n  {\n    iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);\n    param_1[3] = 0;\n    uVar3 = *(uint *)(iVar5 + 0x24);\n    uVar1 = *(uint *)(iVar5 + 0x18);\n    uVar2 = *(uint *)(iVar5 + 0x1c);\n    param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    return param_1;\n  }" (if "if") (parenthesized_expression "((-1 < lVar8) &&\n     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0))" (( "(") (binary_expression "(-1 < lVar8) &&\n     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0)" (parenthesized_expression "(-1 < lVar8)" (( "(") (binary_expression "-1 < lVar8" (number_literal "-1") (< "<") (identifier "lVar8")) () ")")) (&& "&&") (parenthesized_expression "(iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0)" (( "(") (comma_expression "iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),\n     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0" (assignment_expression "iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20)" (identifier "iVar7") (= "=") (cast_expression "(int)((ulonglong)(lVar8 + 0x40) >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)(lVar8 + 0x40) >> 0x20)" (( "(") (binary_expression "(ulonglong)(lVar8 + 0x40) >> 0x20" (call_expression "(ulonglong)(lVar8 + 0x40)" (parenthesized_expression "(ulonglong)" (( "(") (identifier "ulonglong") () ")")) (argument_list "(lVar8 + 0x40)" (( "(") (binary_expression "lVar8 + 0x40" (identifier "lVar8") (+ "+") (number_literal "0x40")) () ")"))) (>> ">>") (number_literal "0x20")) () ")")))) (, ",") (comma_expression "uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),\n     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0" (assignment_expression "uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40))" (identifier "uVar3") (= "=") (call_expression "(uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40))" (( "(") (binary_expression "*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)" (pointer_expression "*(uint *)(iVar5 + 8)" (* "*") (cast_expression "(uint *)(iVar5 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 8)" (( "(") (binary_expression "iVar5 + 8" (identifier "iVar5") (+ "+") (number_literal "8")) () ")")))) (< "<") (call_expression "(uint)(lVar8 + 0x40)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(lVar8 + 0x40)" (( "(") (binary_expression "lVar8 + 0x40" (identifier "lVar8") (+ "+") (number_literal "0x40")) () ")")))) () ")")))) (, ",") (comma_expression "iVar4 = *(int *)(iVar5 + 0xc) - iVar7,\n     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0" (assignment_expression "iVar4 = *(int *)(iVar5 + 0xc) - iVar7" (identifier "iVar4") (= "=") (binary_expression "*(int *)(iVar5 + 0xc) - iVar7" (pointer_expression "*(int *)(iVar5 + 0xc)" (* "*") (cast_expression "(int *)(iVar5 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xc)" (( "(") (binary_expression "iVar5 + 0xc" (identifier "iVar5") (+ "+") (number_literal "0xc")) () ")")))) (- "-") (identifier "iVar7"))) (, ",") (binary_expression "(SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0" (parenthesized_expression "(SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3))" (( "(") (binary_expression "SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)" (call_expression "SBORROW4(*(int *)(iVar5 + 0xc),iVar7)" (identifier "SBORROW4") (argument_list "(*(int *)(iVar5 + 0xc),iVar7)" (( "(") (pointer_expression "*(int *)(iVar5 + 0xc)" (* "*") (cast_expression "(int *)(iVar5 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xc)" (( "(") (binary_expression "iVar5 + 0xc" (identifier "iVar5") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "iVar7") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar4,uVar3)" (identifier "SBORROW4") (argument_list "(iVar4,uVar3)" (( "(") (identifier "iVar4") (, ",") (identifier "uVar3") () ")")))) () ")")) (== "==") (binary_expression "(int)(iVar4 - uVar3) < 0" (cast_expression "(int)(iVar4 - uVar3)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar4 - uVar3)" (( "(") (binary_expression "iVar4 - uVar3" (identifier "iVar4") (- "-") (identifier "uVar3")) () ")"))) (< "<") (number_literal "0")))))) () ")"))) () ")")) (compound_statement "{\n    iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);\n    param_1[3] = 0;\n    uVar3 = *(uint *)(iVar5 + 0x24);\n    uVar1 = *(uint *)(iVar5 + 0x18);\n    uVar2 = *(uint *)(iVar5 + 0x1c);\n    param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;\n    param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    return param_1;\n  }" ({ "{") (expression_statement "iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);" (assignment_expression "iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10)" (identifier "iVar5") (= "=") (binary_expression "(int)lVar8 + *(int *)(iVar5 + 0x10)" (cast_expression "(int)lVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar8")) (+ "+") (pointer_expression "*(int *)(iVar5 + 0x10)" (* "*") (cast_expression "(int *)(iVar5 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")")))))) (; ";")) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = *(uint *)(iVar5 + 0x24);" (assignment_expression "uVar3 = *(uint *)(iVar5 + 0x24)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(iVar5 + 0x24)" (* "*") (cast_expression "(uint *)(iVar5 + 0x24)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x24)" (( "(") (binary_expression "iVar5 + 0x24" (identifier "iVar5") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "uVar1 = *(uint *)(iVar5 + 0x18);" (assignment_expression "uVar1 = *(uint *)(iVar5 + 0x18)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(iVar5 + 0x18)" (* "*") (cast_expression "(uint *)(iVar5 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x18)" (( "(") (binary_expression "iVar5 + 0x18" (identifier "iVar5") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(uint *)(iVar5 + 0x1c);" (assignment_expression "uVar2 = *(uint *)(iVar5 + 0x1c)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(iVar5 + 0x1c)" (* "*") (cast_expression "(uint *)(iVar5 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x1c)" (( "(") (binary_expression "iVar5 + 0x1c" (identifier "iVar5") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;" (assignment_expression "param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8" (binary_expression "uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8" (binary_expression "uVar3 >> 0x18" (identifier "uVar3") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar3 & 0xff0000) >> 8" (parenthesized_expression "(uVar3 & 0xff0000)" (( "(") (binary_expression "uVar3 & 0xff0000" (identifier "uVar3") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar3 & 0xff00) << 8" (parenthesized_expression "(uVar3 & 0xff00)" (( "(") (binary_expression "uVar3 & 0xff00" (identifier "uVar3") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar3 << 0x18" (identifier "uVar3") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" (identifier "uVar1") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar1 << 0x18" (identifier "uVar1") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "*param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;" (assignment_expression "*param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" (identifier "uVar2") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" (( "(") (binary_expression "uVar2 & 0xff0000" (identifier "uVar2") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" (( "(") (binary_expression "uVar2 & 0xff00" (identifier "uVar2") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar2 << 0x18" (identifier "uVar2") (<< "<<") (number_literal "0x18")))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "FUN_00081f50();" (call_expression "FUN_00081f50()" (identifier "FUN_00081f50") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Location section_contents(Elf_file<64,_true,_gold::Incremental_binary>
   * this, uint shndx) */

type_5 * __thiscall
elfcpp::var_2<64,_true,_gold::var_3>::var_1
          (var_2<64,_true,_gold::var_3> *this,type_3 var_5)

{
  var_3 *this_00;
  type_1 *pOVar1;
  int var_10;
  type_2 *var_15;
  type_3 var_17;
  type_3 var_18;
  type_3 var_14;
  int var_13;
  int var_16;
  char *format;
  int var_11;
  type_4 var_9;
  type_5 *in_stack_00000004;
  var_3 *in_stack_ffffffd4;
  type_4 in_stack_ffffffd8;
  type_3 in_stack_ffffffe0;
  
  this_00 = this->file_;
  var_4(this);
  if (this->shnum_ <= var_5) {
    var_4(this);
    in_stack_ffffffe0 = this->shnum_;
    format = (char *)var_6("section_contents: bad shndx %u >= %u");
    gold::Incremental_binary::var_7(this_00,format,var_5,in_stack_ffffffe0);
  }
  var_9 = var_8(this,var_5);
  var_16 = (int)var_9;
  pOVar1 = this_00->output_;
  if ((-1 < var_9) &&
     (var_10 = *(int *)((int)&pOVar1->file_size_ + 4),
     var_11 = (int)((ulonglong)(var_9 + 0x40) >> 0x20),
     var_14 = (type_3)((type_3)pOVar1->file_size_ < (type_3)(var_9 + 0x40)), var_13 = var_10 - var_11,
     (var_12(var_10,var_11) != var_12(var_13,var_14)) == (int)(var_13 - var_14) < 0)) {
    var_15 = pOVar1->base_;
    *(type_6 *)((int)&in_stack_00000004->data_size + 4) = 0;
    var_14 = *(type_3 *)(var_15 + var_16 + 0x24);
    var_17 = *(type_3 *)(var_15 + var_16 + 0x18);
    var_18 = *(type_3 *)(var_15 + var_16 + 0x1c);
    *(type_3 *)&in_stack_00000004->data_size =
         var_14 >> 0x18 | (var_14 & 0xff0000) >> 8 | (var_14 & 0xff00) << 8 | var_14 << 0x18;
    *(type_3 *)((int)&in_stack_00000004->file_offset + 4) =
         var_17 >> 0x18 | (var_17 & 0xff0000) >> 8 | (var_17 & 0xff00) << 8 | var_17 << 0x18;
    *(type_3 *)&in_stack_00000004->file_offset =
         var_18 >> 0x18 | (var_18 & 0xff0000) >> 8 | (var_18 & 0xff00) << 8 | var_18 << 0x18;
    return in_stack_00000004;
  }
                    /* WARNING: Subroutine does not return */
  gold::Incremental_binary::var_19(in_stack_ffffffd4,in_stack_ffffffd8,in_stack_ffffffe0);
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))))) (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: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (parenthesized_expression (comma_expression left: (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))))) right: (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (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: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))))) right: (comma_expression left: (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: (identifier))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (call_expression function: (identifier) arguments: (argument_list (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))))) (identifier))) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) right: (number_literal))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

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

uint * MASKED(uint *param_1,int *param_2,uint param_3)

{
  uint uVar1;
  uint uVar2;
  uint uVar3;
  int iVar4;
  int iVar5;
  undefined4 uVar6;
  int iVar7;
  longlong lVar8;
  
  iVar5 = *param_2;
  FUN_00099f00(param_2);
  if ((uint)param_2[3] <= param_3) {
    FUN_00099f00(param_2);
    iVar4 = param_2[3];
    uVar6 = gettext("section_contents: bad shndx %u >= %u");
    FUN_00082070(iVar5,uVar6,param_3,iVar4);
  }
  lVar8 = FUN_0009a090(param_2,param_3);
  iVar5 = *(int *)(iVar5 + 0x28);
  if ((-1 < lVar8) &&
     (iVar7 = (int)((ulonglong)(lVar8 + 0x40) >> 0x20),
     uVar3 = (uint)(*(uint *)(iVar5 + 8) < (uint)(lVar8 + 0x40)),
     iVar4 = *(int *)(iVar5 + 0xc) - iVar7,
     (SBORROW4(*(int *)(iVar5 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == (int)(iVar4 - uVar3) < 0))
  {
    iVar5 = (int)lVar8 + *(int *)(iVar5 + 0x10);
    param_1[3] = 0;
    uVar3 = *(uint *)(iVar5 + 0x24);
    uVar1 = *(uint *)(iVar5 + 0x18);
    uVar2 = *(uint *)(iVar5 + 0x1c);
    param_1[2] = uVar3 >> 0x18 | (uVar3 & 0xff0000) >> 8 | (uVar3 & 0xff00) << 8 | uVar3 << 0x18;
    param_1[1] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00081f50();
}

