
/* DWARF original prototype: void initialize_shnum(Elf_file<64,_false,_gold::Incremental_binary> *
   this) */

void __thiscall
elfcpp::Elf_file<64,_false,_gold::Incremental_binary>::initialize_shnum
          (Elf_file<64,_false,_gold::Incremental_binary> *this)

{
  int iVar1;
  Incremental_binary *this_00;
  Output_file *pOVar2;
  uchar *puVar3;
  uint uVar4;
  int iVar5;
  char *format;
  uint uVar6;
  int unaff_EDI;
  uint uVar7;
  uint in_stack_ffffffdc;
  section_size_type in_stack_ffffffe0;
  
  __x86_get_pc_thunk_di();
  uVar6 = this->shnum_;
  if ((uVar6 == 0) || (this->shstrndx_ == 0xffff)) {
    iVar1 = *(int *)((int)&this->shoff_ + 4);
    uVar7 = (uint)this->shoff_;
    if (iVar1 != 0 || uVar7 != 0) {
      this_00 = this->file_;
      pOVar2 = this_00->output_;
      if (-1 < iVar1) {
        in_stack_ffffffdc = uVar7 + 0x40;
        in_stack_ffffffe0 = iVar1 + (uint)(0xffffffbf < uVar7);
        iVar1 = *(int *)((int)&pOVar2->file_size_ + 4);
        uVar4 = (uint)((uint)pOVar2->file_size_ < in_stack_ffffffdc);
        iVar5 = iVar1 - in_stack_ffffffe0;
        if ((SBORROW4(iVar1,in_stack_ffffffe0) != SBORROW4(iVar5,uVar4)) == (int)(iVar5 - uVar4) < 0
           ) {
          puVar3 = pOVar2->base_;
          if (uVar6 == 0) {
            this->shnum_ = *(uint *)(puVar3 + uVar7 + 0x20);
          }
          if (this->shstrndx_ != 0xffff) {
            return;
          }
          uVar6 = *(uint *)(puVar3 + uVar7 + 0x28);
          uVar7 = this->shnum_;
          this->shstrndx_ = uVar6;
          if (uVar6 < uVar7) {
            return;
          }
          if (0xffff < uVar6) {
            uVar6 = uVar6 - 0x100;
            this->large_shndx_offset_ = -0x100;
            this->shstrndx_ = uVar6;
            if (uVar6 < uVar7) {
              return;
            }
          }
          format = (char *)gettext(unaff_EDI + 0x1ae866);
          gold::Incremental_binary::error(this_00,format,uVar6,uVar7);
          return;
        }
      }
                    /* WARNING: Subroutine does not return */
      gold::Incremental_binary::view
                ((Incremental_binary *)this,CONCAT44(in_stack_ffffffdc,uVar6),in_stack_ffffffe0);
    }
  }
  return;
}



void FUN_0009f5c0(int *param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  undefined4 uVar5;
  int iVar6;
  uint uVar7;
  int unaff_EDI;
  uint uVar8;
  int iVar9;
  
  FUN_00058c4a();
  iVar9 = param_1[3];
  if ((iVar9 == 0) || (param_1[4] == 0xffff)) {
    iVar6 = param_1[2];
    uVar7 = param_1[1];
    if (iVar6 != 0 || uVar7 != 0) {
      iVar1 = *param_1;
      iVar2 = *(int *)(iVar1 + 0x28);
      if ((iVar6 < 0) ||
         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),
         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,
         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=
         (int)(iVar3 - uVar8) < 0)) {
                    /* WARNING: Subroutine does not return */
        FUN_00092890();
      }
      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);
      if (iVar9 == 0) {
        param_1[3] = *(int *)(iVar6 + 0x20);
      }
      if (param_1[4] != 0xffff) {
        return;
      }
      uVar7 = *(uint *)(iVar6 + 0x28);
      uVar8 = param_1[3];
      param_1[4] = uVar7;
      if (uVar7 < uVar8) {
        return;
      }
      if (0xffff < uVar7) {
        uVar7 = uVar7 - 0x100;
        param_1[5] = -0x100;
        param_1[4] = uVar7;
        if (uVar7 < uVar8) {
          return;
        }
      }
      uVar5 = gettext(unaff_EDI + 0x1ae866);
      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);
      return;
    }
  }
  return;
}


PUSH EBP
PUSH EDI
CALL 0x00058c4a
ADD EDI,0x29fa39
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x30]
MOV EBX,dword ptr [EAX + 0xc]
MOV dword ptr [ESP],EAX
MOV dword ptr [ESP + 0x4],EBX
TEST EBX,EBX
JZ 0x0009f5f8
CMP dword ptr [EAX + 0x10],0xffff
JZ 0x0009f5f8
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP]
MOV EBX,dword ptr [EAX + 0x8]
MOV ECX,dword ptr [EAX + 0x4]
MOV EBP,EBX
OR EBP,ECX
JZ 0x0009f5ed
MOV EBP,dword ptr [EAX]
MOV ESI,dword ptr [EBP + 0x28]
TEST EBX,EBX
JS 0x0009f6ab
MOV EAX,ECX
MOV EDX,EBX
ADD EAX,0x40
ADC EDX,0x0
CMP dword ptr [ESI + 0x8],EAX
MOV dword ptr [ESP + 0x8],EAX
MOV dword ptr [ESP + 0xc],EDX
MOV EDX,dword ptr [ESI + 0xc]
SBB EDX,dword ptr [ESP + 0xc]
JL 0x0009f6ab
MOV EAX,dword ptr [ESP + 0x4]
ADD ECX,dword ptr [ESI + 0x10]
TEST EAX,EAX
JNZ 0x0009f646
MOV EDX,dword ptr [ECX + 0x20]
MOV EAX,dword ptr [ESP]
MOV dword ptr [EAX + 0xc],EDX
MOV EAX,dword ptr [ESP]
CMP dword ptr [EAX + 0x10],0xffff
JNZ 0x0009f5ed
MOV ESI,dword ptr [ECX + 0x28]
MOV EDX,dword ptr [EAX + 0xc]
MOV dword ptr [EAX + 0x10],ESI
CMP EDX,ESI
JA 0x0009f5ed
CMP ESI,0xffff
JBE 0x0009f680
SUB ESI,0x100
MOV dword ptr [EAX + 0x14],0xffffff00
MOV dword ptr [EAX + 0x10],ESI
CMP EDX,ESI
JA 0x0009f5ed
NOP
MOV dword ptr [ESP],EDX
LEA EAX,[EDI + 0xfff0ee2d]
SUB ESP,0xc
MOV EBX,EDI
PUSH EAX
CALL 0x000283c0
ADD ESP,0x10
MOV EDX,dword ptr [ESP]
PUSH EDX
PUSH ESI
PUSH EAX
PUSH EBP
CALL 0x000929b0
ADD ESP,0x10
JMP 0x0009f5ed
CALL 0x00092890
(translation_unit "void FUN_0009f5c0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int unaff_EDI;\n  uint uVar8;\n  int iVar9;\n  \n  FUN_00058c4a();\n  iVar9 = param_1[3];\n  if ((iVar9 == 0) || (param_1[4] == 0xffff)) {\n    iVar6 = param_1[2];\n    uVar7 = param_1[1];\n    if (iVar6 != 0 || uVar7 != 0) {\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0009f5c0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int unaff_EDI;\n  uint uVar8;\n  int iVar9;\n  \n  FUN_00058c4a();\n  iVar9 = param_1[3];\n  if ((iVar9 == 0) || (param_1[4] == 0xffff)) {\n    iVar6 = param_1[2];\n    uVar7 = param_1[1];\n    if (iVar6 != 0 || uVar7 != 0) {\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0009f5c0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int unaff_EDI;\n  uint uVar8;\n  int iVar9;\n  \n  FUN_00058c4a();\n  iVar9 = param_1[3];\n  if ((iVar9 == 0) || (param_1[4] == 0xffff)) {\n    iVar6 = param_1[2];\n    uVar7 = param_1[1];\n    if (iVar6 != 0 || uVar7 != 0) {\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (expression_statement "FUN_00058c4a();" (call_expression "FUN_00058c4a()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar9 = param_1[3];" (assignment_expression "iVar9 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (if_statement "if ((iVar9 == 0) || (param_1[4] == 0xffff)) {\n    iVar6 = param_1[2];\n    uVar7 = param_1[1];\n    if (iVar6 != 0 || uVar7 != 0) {\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }\n  }" if (parenthesized_expression "((iVar9 == 0) || (param_1[4] == 0xffff))" ( (binary_expression "(iVar9 == 0) || (param_1[4] == 0xffff)" (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) || (parenthesized_expression "(param_1[4] == 0xffff)" ( (binary_expression "param_1[4] == 0xffff" (subscript_expression "param_1[4]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n    iVar6 = param_1[2];\n    uVar7 = param_1[1];\n    if (iVar6 != 0 || uVar7 != 0) {\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }\n  }" { (expression_statement "iVar6 = param_1[2];" (assignment_expression "iVar6 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = param_1[1];" (assignment_expression "uVar7 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar6 != 0 || uVar7 != 0) {\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }" if (parenthesized_expression "(iVar6 != 0 || uVar7 != 0)" ( (binary_expression "iVar6 != 0 || uVar7 != 0" (binary_expression "iVar6 != 0" identifier != number_literal) || (binary_expression "uVar7 != 0" identifier != number_literal)) )) (compound_statement "{\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }" { (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar2 = *(int *)(iVar1 + 0x28);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x28)" identifier = (pointer_expression "*(int *)(iVar1 + 0x28)" * (cast_expression "(int *)(iVar1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x28)" ( (binary_expression "iVar1 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00092890();\n      }" if (parenthesized_expression "((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0))" ( (binary_expression "(iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)" (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) || (parenthesized_expression "(uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)" ( (comma_expression "uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0" (assignment_expression "uVar4 = uVar7 + 0x40" identifier = (binary_expression "uVar7 + 0x40" identifier + number_literal)) , (comma_expression "iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0" (assignment_expression "iVar6 = iVar6 + (uint)(0xffffffbf < uVar7)" identifier = (binary_expression "iVar6 + (uint)(0xffffffbf < uVar7)" identifier + (call_expression "(uint)(0xffffffbf < uVar7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xffffffbf < uVar7)" ( (binary_expression "0xffffffbf < uVar7" number_literal < identifier) ))))) , (comma_expression "uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0" (assignment_expression "uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4)" identifier = (call_expression "(uint)(*(uint *)(iVar2 + 8) < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar2 + 8) < uVar4)" ( (binary_expression "*(uint *)(iVar2 + 8) < uVar4" (pointer_expression "*(uint *)(iVar2 + 8)" * (cast_expression "(uint *)(iVar2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) < identifier) )))) , (comma_expression "iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0" (assignment_expression "iVar3 = *(int *)(iVar2 + 0xc) - iVar6" identifier = (binary_expression "*(int *)(iVar2 + 0xc) - iVar6" (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) - identifier)) , (binary_expression "(SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0" (parenthesized_expression "(SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8))" ( (binary_expression "SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)" (call_expression "SBORROW4(*(int *)(iVar2 + 0xc),iVar6)" identifier (argument_list "(*(int *)(iVar2 + 0xc),iVar6)" ( (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) , identifier ))) != (call_expression "SBORROW4(iVar3,uVar8)" identifier (argument_list "(iVar3,uVar8)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar3 - uVar8) < 0" (cast_expression "(int)(iVar3 - uVar8)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 - uVar8)" ( (binary_expression "iVar3 - uVar8" identifier - identifier) ))) < number_literal)))))) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_00092890();\n      }" { comment (expression_statement "FUN_00092890();" (call_expression "FUN_00092890()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar6 = uVar7 + *(int *)(iVar2 + 0x10);" (assignment_expression "iVar6 = uVar7 + *(int *)(iVar2 + 0x10)" identifier = (binary_expression "uVar7 + *(int *)(iVar2 + 0x10)" identifier + (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))))) ;) (if_statement "if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }" { (expression_statement "param_1[3] = *(int *)(iVar6 + 0x20);" (assignment_expression "param_1[3] = *(int *)(iVar6 + 0x20)" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (pointer_expression "*(int *)(iVar6 + 0x20)" * (cast_expression "(int *)(iVar6 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x20)" ( (binary_expression "iVar6 + 0x20" identifier + number_literal) ))))) ;) })) (if_statement "if (param_1[4] != 0xffff) {\n        return;\n      }" if (parenthesized_expression "(param_1[4] != 0xffff)" ( (binary_expression "param_1[4] != 0xffff" (subscript_expression "param_1[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "uVar7 = *(uint *)(iVar6 + 0x28);" (assignment_expression "uVar7 = *(uint *)(iVar6 + 0x28)" identifier = (pointer_expression "*(uint *)(iVar6 + 0x28)" * (cast_expression "(uint *)(iVar6 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x28)" ( (binary_expression "iVar6 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = param_1[3];" (assignment_expression "uVar8 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[4] = uVar7;" (assignment_expression "param_1[4] = uVar7" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar7 < uVar8) {\n        return;\n      }" if (parenthesized_expression "(uVar7 < uVar8)" ( (binary_expression "uVar7 < uVar8" identifier < identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (if_statement "if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }" if (parenthesized_expression "(0xffff < uVar7)" ( (binary_expression "0xffff < uVar7" number_literal < identifier) )) (compound_statement "{\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }" { (expression_statement "uVar7 = uVar7 - 0x100;" (assignment_expression "uVar7 = uVar7 - 0x100" identifier = (binary_expression "uVar7 - 0x100" identifier - number_literal)) ;) (expression_statement "param_1[5] = -0x100;" (assignment_expression "param_1[5] = -0x100" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = uVar7;" (assignment_expression "param_1[4] = uVar7" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar7 < uVar8) {\n          return;\n        }" if (parenthesized_expression "(uVar7 < uVar8)" ( (binary_expression "uVar7 < uVar8" identifier < identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "uVar5 = gettext(unaff_EDI + 0x1ae866);" (assignment_expression "uVar5 = gettext(unaff_EDI + 0x1ae866)" identifier = (call_expression "gettext(unaff_EDI + 0x1ae866)" identifier (argument_list "(unaff_EDI + 0x1ae866)" ( (binary_expression "unaff_EDI + 0x1ae866" identifier + number_literal) )))) ;) (expression_statement "FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);" (call_expression "FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4)" identifier (argument_list "(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void initialize_shnum(Elf_file<64,_false,_gold::Incremental_binary> *\n   this) */\n\nvoid __thiscall\nelfcpp::Elf_file<64,_false,_gold::Incremental_binary>::initialize_shnum\n          (Elf_file<64,_false,_gold::Incremental_binary> *this)\n\n{\n  int iVar1;\n  Incremental_binary *this_00;\n  Output_file *pOVar2;\n  uchar *puVar3;\n  uint uVar4;\n  int iVar5;\n  char *format;\n  uint uVar6;\n  int unaff_EDI;\n  uint uVar7;\n  uint in_stack_ffffffdc;\n  section_size_type in_stack_ffffffe0;\n  \n  __x86_get_pc_thunk_di();\n  uVar6 = this->shnum_;\n  if ((uVar6 == 0) || (this->shstrndx_ == 0xffff)) {\n    iVar1 = *(int *)((int)&this->shoff_ + 4);\n    uVar7 = (uint)this->shoff_;\n    if (iVar1 != 0 || uVar7 != 0) {\n      this_00 = this->file_;\n      pOVar2 = this_00->output_;\n      if (-1 < iVar1) {\n        in_stack_ffffffdc = uVar7 + 0x40;\n        in_stack_ffffffe0 = iVar1 + (uint)(0xffffffbf < uVar7);\n        iVar1 = *(int *)((int)&pOVar2->file_size_ + 4);\n        uVar4 = (uint)((uint)pOVar2->file_size_ < in_stack_ffffffdc);\n        iVar5 = iVar1 - in_stack_ffffffe0;\n        if ((SBORROW4(iVar1,in_stack_ffffffe0) != SBORROW4(iVar5,uVar4)) == (int)(iVar5 - uVar4) < 0\n           ) {\n          puVar3 = pOVar2->base_;\n          if (uVar6 == 0) {\n            this->shnum_ = *(uint *)(puVar3 + uVar7 + 0x20);\n          }\n          if (this->shstrndx_ != 0xffff) {\n            return;\n          }\n          uVar6 = *(uint *)(puVar3 + uVar7 + 0x28);\n          uVar7 = this->shnum_;\n          this->shstrndx_ = uVar6;\n          if (uVar6 < uVar7) {\n            return;\n          }\n          if (0xffff < uVar6) {\n            uVar6 = uVar6 - 0x100;\n            this->large_shndx_offset_ = -0x100;\n            this->shstrndx_ = uVar6;\n            if (uVar6 < uVar7) {\n              return;\n            }\n          }\n          format = (char *)gettext(unaff_EDI + 0x1ae866);\n          gold::Incremental_binary::error(this_00,format,uVar6,uVar7);\n          return;\n        }\n      }\n                    /* WARNING: Subroutine does not return */\n      gold::Incremental_binary::view\n                ((Incremental_binary *)this,CONCAT44(in_stack_ffffffdc,uVar6),in_stack_ffffffe0);\n    }\n  }\n  return;\n}\n\n" comment (declaration "void __thiscall\nelfcpp::Elf_file<64,_false,_gold::Incremental_binary>::initialize_shnum\n          (Elf_file<64,_false,_gold::Incremental_binary> *this)\n\n{\n  int iVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "elfcpp::" identifier : :) identifier (ERROR "<64" < number_literal) , identifier , (ERROR "_gold::Incremental_binary>::initialize_shnum\n          (Elf_file<64,_false,_gold::Incremental_binary> *this)\n\n{\n  int" identifier : : identifier > : : (function_declarator "initialize_shnum\n          (Elf_file<64,_false,_gold::Incremental_binary> *this)" identifier (parameter_list "(Elf_file<64,_false,_gold::Incremental_binary> *this)" ( (parameter_declaration "Elf_file" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false" type_identifier) , (parameter_declaration "_gold::Incremental_binary> *this" type_identifier (ERROR "::Incremental_binary>" : : identifier >) (pointer_declarator "*this" * identifier)) ))) { primitive_type) identifier ;) (declaration "Incremental_binary *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "Output_file *pOVar2;" type_identifier (pointer_declarator "*pOVar2" * identifier) ;) (declaration "uchar *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint in_stack_ffffffdc;" type_identifier identifier ;) (declaration "section_size_type in_stack_ffffffe0;" type_identifier identifier ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar6 = this->shnum_;" (assignment_expression "uVar6 = this->shnum_" identifier = (field_expression "this->shnum_" identifier -> field_identifier)) ;) (if_statement "if ((uVar6 == 0) || (this->shstrndx_ == 0xffff)) {\n    iVar1 = *(int *)((int)&this->shoff_ + 4);\n    uVar7 = (uint)this->shoff_;\n    if (iVar1 != 0 || uVar7 != 0) {\n      this_00 = this->file_;\n      pOVar2 = this_00->output_;\n      if (-1 < iVar1) {\n        in_stack_ffffffdc = uVar7 + 0x40;\n        in_stack_ffffffe0 = iVar1 + (uint)(0xffffffbf < uVar7);\n        iVar1 = *(int *)((int)&pOVar2->file_size_ + 4);\n        uVar4 = (uint)((uint)pOVar2->file_size_ < in_stack_ffffffdc);\n        iVar5 = iVar1 - in_stack_ffffffe0;\n        if ((SBORROW4(iVar1,in_stack_ffffffe0) != SBORROW4(iVar5,uVar4)) == (int)(iVar5 - uVar4) < 0\n           ) {\n          puVar3 = pOVar2->base_;\n          if (uVar6 == 0) {\n            this->shnum_ = *(uint *)(puVar3 + uVar7 + 0x20);\n          }\n          if (this->shstrndx_ != 0xffff) {\n            return;\n          }\n          uVar6 = *(uint *)(puVar3 + uVar7 + 0x28);\n          uVar7 = this->shnum_;\n          this->shstrndx_ = uVar6;\n          if (uVar6 < uVar7) {\n            return;\n          }\n          if (0xffff < uVar6) {\n            uVar6 = uVar6 - 0x100;\n            this->large_shndx_offset_ = -0x100;\n            this->shstrndx_ = uVar6;\n            if (uVar6 < uVar7) {\n              return;\n            }\n          }\n          format = (char *)gettext(unaff_EDI + 0x1ae866);\n          gold::Incremental_binary::error(this_00,format,uVar6,uVar7);\n          return;\n        }\n      }\n                    /* WARNING: Subroutine does not return */\n      gold::Incremental_binary::view\n                ((Incremental_binary *)this,CONCAT44(in_stack_ffffffdc,uVar6),in_stack_ffffffe0);\n    }\n  }" if (parenthesized_expression "((uVar6 == 0) || (this->shstrndx_ == 0xffff))" ( (binary_expression "(uVar6 == 0) || (this->shstrndx_ == 0xffff)" (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) || (parenthesized_expression "(this->shstrndx_ == 0xffff)" ( (binary_expression "this->shstrndx_ == 0xffff" (field_expression "this->shstrndx_" identifier -> field_identifier) == number_literal) ))) )) (compound_statement "{\n    iVar1 = *(int *)((int)&this->shoff_ + 4);\n    uVar7 = (uint)this->shoff_;\n    if (iVar1 != 0 || uVar7 != 0) {\n      this_00 = this->file_;\n      pOVar2 = this_00->output_;\n      if (-1 < iVar1) {\n        in_stack_ffffffdc = uVar7 + 0x40;\n        in_stack_ffffffe0 = iVar1 + (uint)(0xffffffbf < uVar7);\n        iVar1 = *(int *)((int)&pOVar2->file_size_ + 4);\n        uVar4 = (uint)((uint)pOVar2->file_size_ < in_stack_ffffffdc);\n        iVar5 = iVar1 - in_stack_ffffffe0;\n        if ((SBORROW4(iVar1,in_stack_ffffffe0) != SBORROW4(iVar5,uVar4)) == (int)(iVar5 - uVar4) < 0\n           ) {\n          puVar3 = pOVar2->base_;\n          if (uVar6 == 0) {\n            this->shnum_ = *(uint *)(puVar3 + uVar7 + 0x20);\n          }\n          if (this->shstrndx_ != 0xffff) {\n            return;\n          }\n          uVar6 = *(uint *)(puVar3 + uVar7 + 0x28);\n          uVar7 = this->shnum_;\n          this->shstrndx_ = uVar6;\n          if (uVar6 < uVar7) {\n            return;\n          }\n          if (0xffff < uVar6) {\n            uVar6 = uVar6 - 0x100;\n            this->large_shndx_offset_ = -0x100;\n            this->shstrndx_ = uVar6;\n            if (uVar6 < uVar7) {\n              return;\n            }\n          }\n          format = (char *)gettext(unaff_EDI + 0x1ae866);\n          gold::Incremental_binary::error(this_00,format,uVar6,uVar7);\n          return;\n        }\n      }\n                    /* WARNING: Subroutine does not return */\n      gold::Incremental_binary::view\n                ((Incremental_binary *)this,CONCAT44(in_stack_ffffffdc,uVar6),in_stack_ffffffe0);\n    }\n  }" { (expression_statement "iVar1 = *(int *)((int)&this->shoff_ + 4);" (assignment_expression "iVar1 = *(int *)((int)&this->shoff_ + 4)" identifier = (pointer_expression "*(int *)((int)&this->shoff_ + 4)" * (cast_expression "(int *)((int)&this->shoff_ + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->shoff_ + 4)" ( (binary_expression "(int)&this->shoff_ + 4" (cast_expression "(int)&this->shoff_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->shoff_" & (field_expression "this->shoff_" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "uVar7 = (uint)this->shoff_;" (assignment_expression "uVar7 = (uint)this->shoff_" identifier = (cast_expression "(uint)this->shoff_" ( (type_descriptor "uint" type_identifier) ) (field_expression "this->shoff_" identifier -> field_identifier))) ;) (if_statement "if (iVar1 != 0 || uVar7 != 0) {\n      this_00 = this->file_;\n      pOVar2 = this_00->output_;\n      if (-1 < iVar1) {\n        in_stack_ffffffdc = uVar7 + 0x40;\n        in_stack_ffffffe0 = iVar1 + (uint)(0xffffffbf < uVar7);\n        iVar1 = *(int *)((int)&pOVar2->file_size_ + 4);\n        uVar4 = (uint)((uint)pOVar2->file_size_ < in_stack_ffffffdc);\n        iVar5 = iVar1 - in_stack_ffffffe0;\n        if ((SBORROW4(iVar1,in_stack_ffffffe0) != SBORROW4(iVar5,uVar4)) == (int)(iVar5 - uVar4) < 0\n           ) {\n          puVar3 = pOVar2->base_;\n          if (uVar6 == 0) {\n            this->shnum_ = *(uint *)(puVar3 + uVar7 + 0x20);\n          }\n          if (this->shstrndx_ != 0xffff) {\n            return;\n          }\n          uVar6 = *(uint *)(puVar3 + uVar7 + 0x28);\n          uVar7 = this->shnum_;\n          this->shstrndx_ = uVar6;\n          if (uVar6 < uVar7) {\n            return;\n          }\n          if (0xffff < uVar6) {\n            uVar6 = uVar6 - 0x100;\n            this->large_shndx_offset_ = -0x100;\n            this->shstrndx_ = uVar6;\n            if (uVar6 < uVar7) {\n              return;\n            }\n          }\n          format = (char *)gettext(unaff_EDI + 0x1ae866);\n          gold::Incremental_binary::error(this_00,format,uVar6,uVar7);\n          return;\n        }\n      }\n                    /* WARNING: Subroutine does not return */\n      gold::Incremental_binary::view\n                ((Incremental_binary *)this,CONCAT44(in_stack_ffffffdc,uVar6),in_stack_ffffffe0);\n    }" if (parenthesized_expression "(iVar1 != 0 || uVar7 != 0)" ( (binary_expression "iVar1 != 0 || uVar7 != 0" (binary_expression "iVar1 != 0" identifier != number_literal) || (binary_expression "uVar7 != 0" identifier != number_literal)) )) (compound_statement "{\n      this_00 = this->file_;\n      pOVar2 = this_00->output_;\n      if (-1 < iVar1) {\n        in_stack_ffffffdc = uVar7 + 0x40;\n        in_stack_ffffffe0 = iVar1 + (uint)(0xffffffbf < uVar7);\n        iVar1 = *(int *)((int)&pOVar2->file_size_ + 4);\n        uVar4 = (uint)((uint)pOVar2->file_size_ < in_stack_ffffffdc);\n        iVar5 = iVar1 - in_stack_ffffffe0;\n        if ((SBORROW4(iVar1,in_stack_ffffffe0) != SBORROW4(iVar5,uVar4)) == (int)(iVar5 - uVar4) < 0\n           ) {\n          puVar3 = pOVar2->base_;\n          if (uVar6 == 0) {\n            this->shnum_ = *(uint *)(puVar3 + uVar7 + 0x20);\n          }\n          if (this->shstrndx_ != 0xffff) {\n            return;\n          }\n          uVar6 = *(uint *)(puVar3 + uVar7 + 0x28);\n          uVar7 = this->shnum_;\n          this->shstrndx_ = uVar6;\n          if (uVar6 < uVar7) {\n            return;\n          }\n          if (0xffff < uVar6) {\n            uVar6 = uVar6 - 0x100;\n            this->large_shndx_offset_ = -0x100;\n            this->shstrndx_ = uVar6;\n            if (uVar6 < uVar7) {\n              return;\n            }\n          }\n          format = (char *)gettext(unaff_EDI + 0x1ae866);\n          gold::Incremental_binary::error(this_00,format,uVar6,uVar7);\n          return;\n        }\n      }\n                    /* WARNING: Subroutine does not return */\n      gold::Incremental_binary::view\n                ((Incremental_binary *)this,CONCAT44(in_stack_ffffffdc,uVar6),in_stack_ffffffe0);\n    }" { (expression_statement "this_00 = this->file_;" (assignment_expression "this_00 = this->file_" identifier = (field_expression "this->file_" identifier -> field_identifier)) ;) (expression_statement "pOVar2 = this_00->output_;" (assignment_expression "pOVar2 = this_00->output_" identifier = (field_expression "this_00->output_" identifier -> field_identifier)) ;) (if_statement "if (-1 < iVar1) {\n        in_stack_ffffffdc = uVar7 + 0x40;\n        in_stack_ffffffe0 = iVar1 + (uint)(0xffffffbf < uVar7);\n        iVar1 = *(int *)((int)&pOVar2->file_size_ + 4);\n        uVar4 = (uint)((uint)pOVar2->file_size_ < in_stack_ffffffdc);\n        iVar5 = iVar1 - in_stack_ffffffe0;\n        if ((SBORROW4(iVar1,in_stack_ffffffe0) != SBORROW4(iVar5,uVar4)) == (int)(iVar5 - uVar4) < 0\n           ) {\n          puVar3 = pOVar2->base_;\n          if (uVar6 == 0) {\n            this->shnum_ = *(uint *)(puVar3 + uVar7 + 0x20);\n          }\n          if (this->shstrndx_ != 0xffff) {\n            return;\n          }\n          uVar6 = *(uint *)(puVar3 + uVar7 + 0x28);\n          uVar7 = this->shnum_;\n          this->shstrndx_ = uVar6;\n          if (uVar6 < uVar7) {\n            return;\n          }\n          if (0xffff < uVar6) {\n            uVar6 = uVar6 - 0x100;\n            this->large_shndx_offset_ = -0x100;\n            this->shstrndx_ = uVar6;\n            if (uVar6 < uVar7) {\n              return;\n            }\n          }\n          format = (char *)gettext(unaff_EDI + 0x1ae866);\n          gold::Incremental_binary::error(this_00,format,uVar6,uVar7);\n          return;\n        }\n      }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n        in_stack_ffffffdc = uVar7 + 0x40;\n        in_stack_ffffffe0 = iVar1 + (uint)(0xffffffbf < uVar7);\n        iVar1 = *(int *)((int)&pOVar2->file_size_ + 4);\n        uVar4 = (uint)((uint)pOVar2->file_size_ < in_stack_ffffffdc);\n        iVar5 = iVar1 - in_stack_ffffffe0;\n        if ((SBORROW4(iVar1,in_stack_ffffffe0) != SBORROW4(iVar5,uVar4)) == (int)(iVar5 - uVar4) < 0\n           ) {\n          puVar3 = pOVar2->base_;\n          if (uVar6 == 0) {\n            this->shnum_ = *(uint *)(puVar3 + uVar7 + 0x20);\n          }\n          if (this->shstrndx_ != 0xffff) {\n            return;\n          }\n          uVar6 = *(uint *)(puVar3 + uVar7 + 0x28);\n          uVar7 = this->shnum_;\n          this->shstrndx_ = uVar6;\n          if (uVar6 < uVar7) {\n            return;\n          }\n          if (0xffff < uVar6) {\n            uVar6 = uVar6 - 0x100;\n            this->large_shndx_offset_ = -0x100;\n            this->shstrndx_ = uVar6;\n            if (uVar6 < uVar7) {\n              return;\n            }\n          }\n          format = (char *)gettext(unaff_EDI + 0x1ae866);\n          gold::Incremental_binary::error(this_00,format,uVar6,uVar7);\n          return;\n        }\n      }" { (expression_statement "in_stack_ffffffdc = uVar7 + 0x40;" (assignment_expression "in_stack_ffffffdc = uVar7 + 0x40" identifier = (binary_expression "uVar7 + 0x40" identifier + number_literal)) ;) (expression_statement "in_stack_ffffffe0 = iVar1 + (uint)(0xffffffbf < uVar7);" (assignment_expression "in_stack_ffffffe0 = iVar1 + (uint)(0xffffffbf < uVar7)" identifier = (binary_expression "iVar1 + (uint)(0xffffffbf < uVar7)" identifier + (call_expression "(uint)(0xffffffbf < uVar7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xffffffbf < uVar7)" ( (binary_expression "0xffffffbf < uVar7" number_literal < identifier) ))))) ;) (expression_statement "iVar1 = *(int *)((int)&pOVar2->file_size_ + 4);" (assignment_expression "iVar1 = *(int *)((int)&pOVar2->file_size_ + 4)" identifier = (pointer_expression "*(int *)((int)&pOVar2->file_size_ + 4)" * (cast_expression "(int *)((int)&pOVar2->file_size_ + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pOVar2->file_size_ + 4)" ( (binary_expression "(int)&pOVar2->file_size_ + 4" (cast_expression "(int)&pOVar2->file_size_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pOVar2->file_size_" & (field_expression "pOVar2->file_size_" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "uVar4 = (uint)((uint)pOVar2->file_size_ < in_stack_ffffffdc);" (assignment_expression "uVar4 = (uint)((uint)pOVar2->file_size_ < in_stack_ffffffdc)" identifier = (call_expression "(uint)((uint)pOVar2->file_size_ < in_stack_ffffffdc)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)pOVar2->file_size_ < in_stack_ffffffdc)" ( (binary_expression "(uint)pOVar2->file_size_ < in_stack_ffffffdc" (cast_expression "(uint)pOVar2->file_size_" ( (type_descriptor "uint" type_identifier) ) (field_expression "pOVar2->file_size_" identifier -> field_identifier)) < identifier) )))) ;) (expression_statement "iVar5 = iVar1 - in_stack_ffffffe0;" (assignment_expression "iVar5 = iVar1 - in_stack_ffffffe0" identifier = (binary_expression "iVar1 - in_stack_ffffffe0" identifier - identifier)) ;) (if_statement "if ((SBORROW4(iVar1,in_stack_ffffffe0) != SBORROW4(iVar5,uVar4)) == (int)(iVar5 - uVar4) < 0\n           ) {\n          puVar3 = pOVar2->base_;\n          if (uVar6 == 0) {\n            this->shnum_ = *(uint *)(puVar3 + uVar7 + 0x20);\n          }\n          if (this->shstrndx_ != 0xffff) {\n            return;\n          }\n          uVar6 = *(uint *)(puVar3 + uVar7 + 0x28);\n          uVar7 = this->shnum_;\n          this->shstrndx_ = uVar6;\n          if (uVar6 < uVar7) {\n            return;\n          }\n          if (0xffff < uVar6) {\n            uVar6 = uVar6 - 0x100;\n            this->large_shndx_offset_ = -0x100;\n            this->shstrndx_ = uVar6;\n            if (uVar6 < uVar7) {\n              return;\n            }\n          }\n          format = (char *)gettext(unaff_EDI + 0x1ae866);\n          gold::Incremental_binary::error(this_00,format,uVar6,uVar7);\n          return;\n        }" if (parenthesized_expression "((SBORROW4(iVar1,in_stack_ffffffe0) != SBORROW4(iVar5,uVar4)) == (int)(iVar5 - uVar4) < 0\n           )" ( (binary_expression "(SBORROW4(iVar1,in_stack_ffffffe0) != SBORROW4(iVar5,uVar4)) == (int)(iVar5 - uVar4) < 0" (parenthesized_expression "(SBORROW4(iVar1,in_stack_ffffffe0) != SBORROW4(iVar5,uVar4))" ( (binary_expression "SBORROW4(iVar1,in_stack_ffffffe0) != SBORROW4(iVar5,uVar4)" (call_expression "SBORROW4(iVar1,in_stack_ffffffe0)" identifier (argument_list "(iVar1,in_stack_ffffffe0)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar5,uVar4)" identifier (argument_list "(iVar5,uVar4)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar5 - uVar4) < 0" (cast_expression "(int)(iVar5 - uVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar5 - uVar4)" ( (binary_expression "iVar5 - uVar4" identifier - identifier) ))) < number_literal)) )) (compound_statement "{\n          puVar3 = pOVar2->base_;\n          if (uVar6 == 0) {\n            this->shnum_ = *(uint *)(puVar3 + uVar7 + 0x20);\n          }\n          if (this->shstrndx_ != 0xffff) {\n            return;\n          }\n          uVar6 = *(uint *)(puVar3 + uVar7 + 0x28);\n          uVar7 = this->shnum_;\n          this->shstrndx_ = uVar6;\n          if (uVar6 < uVar7) {\n            return;\n          }\n          if (0xffff < uVar6) {\n            uVar6 = uVar6 - 0x100;\n            this->large_shndx_offset_ = -0x100;\n            this->shstrndx_ = uVar6;\n            if (uVar6 < uVar7) {\n              return;\n            }\n          }\n          format = (char *)gettext(unaff_EDI + 0x1ae866);\n          gold::Incremental_binary::error(this_00,format,uVar6,uVar7);\n          return;\n        }" { (expression_statement "puVar3 = pOVar2->base_;" (assignment_expression "puVar3 = pOVar2->base_" identifier = (field_expression "pOVar2->base_" identifier -> field_identifier)) ;) (if_statement "if (uVar6 == 0) {\n            this->shnum_ = *(uint *)(puVar3 + uVar7 + 0x20);\n          }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n            this->shnum_ = *(uint *)(puVar3 + uVar7 + 0x20);\n          }" { (expression_statement "this->shnum_ = *(uint *)(puVar3 + uVar7 + 0x20);" (assignment_expression "this->shnum_ = *(uint *)(puVar3 + uVar7 + 0x20)" (field_expression "this->shnum_" identifier -> field_identifier) = (pointer_expression "*(uint *)(puVar3 + uVar7 + 0x20)" * (cast_expression "(uint *)(puVar3 + uVar7 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + uVar7 + 0x20)" ( (binary_expression "puVar3 + uVar7 + 0x20" (binary_expression "puVar3 + uVar7" identifier + identifier) + number_literal) ))))) ;) })) (if_statement "if (this->shstrndx_ != 0xffff) {\n            return;\n          }" if (parenthesized_expression "(this->shstrndx_ != 0xffff)" ( (binary_expression "this->shstrndx_ != 0xffff" (field_expression "this->shstrndx_" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) (expression_statement "uVar6 = *(uint *)(puVar3 + uVar7 + 0x28);" (assignment_expression "uVar6 = *(uint *)(puVar3 + uVar7 + 0x28)" identifier = (pointer_expression "*(uint *)(puVar3 + uVar7 + 0x28)" * (cast_expression "(uint *)(puVar3 + uVar7 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + uVar7 + 0x28)" ( (binary_expression "puVar3 + uVar7 + 0x28" (binary_expression "puVar3 + uVar7" identifier + identifier) + number_literal) ))))) ;) (expression_statement "uVar7 = this->shnum_;" (assignment_expression "uVar7 = this->shnum_" identifier = (field_expression "this->shnum_" identifier -> field_identifier)) ;) (expression_statement "this->shstrndx_ = uVar6;" (assignment_expression "this->shstrndx_ = uVar6" (field_expression "this->shstrndx_" identifier -> field_identifier) = identifier) ;) (if_statement "if (uVar6 < uVar7) {\n            return;\n          }" if (parenthesized_expression "(uVar6 < uVar7)" ( (binary_expression "uVar6 < uVar7" identifier < identifier) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) (if_statement "if (0xffff < uVar6) {\n            uVar6 = uVar6 - 0x100;\n            this->large_shndx_offset_ = -0x100;\n            this->shstrndx_ = uVar6;\n            if (uVar6 < uVar7) {\n              return;\n            }\n          }" if (parenthesized_expression "(0xffff < uVar6)" ( (binary_expression "0xffff < uVar6" number_literal < identifier) )) (compound_statement "{\n            uVar6 = uVar6 - 0x100;\n            this->large_shndx_offset_ = -0x100;\n            this->shstrndx_ = uVar6;\n            if (uVar6 < uVar7) {\n              return;\n            }\n          }" { (expression_statement "uVar6 = uVar6 - 0x100;" (assignment_expression "uVar6 = uVar6 - 0x100" identifier = (binary_expression "uVar6 - 0x100" identifier - number_literal)) ;) (expression_statement "this->large_shndx_offset_ = -0x100;" (assignment_expression "this->large_shndx_offset_ = -0x100" (field_expression "this->large_shndx_offset_" identifier -> field_identifier) = number_literal) ;) (expression_statement "this->shstrndx_ = uVar6;" (assignment_expression "this->shstrndx_ = uVar6" (field_expression "this->shstrndx_" identifier -> field_identifier) = identifier) ;) (if_statement "if (uVar6 < uVar7) {\n              return;\n            }" if (parenthesized_expression "(uVar6 < uVar7)" ( (binary_expression "uVar6 < uVar7" identifier < identifier) )) (compound_statement "{\n              return;\n            }" { (return_statement "return;" return ;) })) })) (expression_statement "format = (char *)gettext(unaff_EDI + 0x1ae866);" (assignment_expression "format = (char *)gettext(unaff_EDI + 0x1ae866)" identifier = (cast_expression "(char *)gettext(unaff_EDI + 0x1ae866)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext(unaff_EDI + 0x1ae866)" identifier (argument_list "(unaff_EDI + 0x1ae866)" ( (binary_expression "unaff_EDI + 0x1ae866" identifier + number_literal) ))))) ;) (labeled_statement "gold::Incremental_binary::error(this_00,format,uVar6,uVar7);" statement_identifier : (ERROR ":" :) (labeled_statement "Incremental_binary::error(this_00,format,uVar6,uVar7);" statement_identifier : (ERROR ":" :) (expression_statement "error(this_00,format,uVar6,uVar7);" (call_expression "error(this_00,format,uVar6,uVar7)" identifier (argument_list "(this_00,format,uVar6,uVar7)" ( identifier , identifier , identifier , identifier ))) ;))) (return_statement "return;" return ;) })) })) comment (labeled_statement "gold::Incremental_binary::view\n                ((Incremental_binary *)this,CONCAT44(in_stack_ffffffdc,uVar6),in_stack_ffffffe0);" statement_identifier : (ERROR ":" :) (labeled_statement "Incremental_binary::view\n                ((Incremental_binary *)this,CONCAT44(in_stack_ffffffdc,uVar6),in_stack_ffffffe0);" statement_identifier : (ERROR ":" :) (expression_statement "view\n                ((Incremental_binary *)this,CONCAT44(in_stack_ffffffdc,uVar6),in_stack_ffffffe0);" (call_expression "view\n                ((Incremental_binary *)this,CONCAT44(in_stack_ffffffdc,uVar6),in_stack_ffffffe0)" identifier (argument_list "((Incremental_binary *)this,CONCAT44(in_stack_ffffffdc,uVar6),in_stack_ffffffe0)" ( (cast_expression "(Incremental_binary *)this" ( (type_descriptor "Incremental_binary *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (call_expression "CONCAT44(in_stack_ffffffdc,uVar6)" identifier (argument_list "(in_stack_ffffffdc,uVar6)" ( identifier , identifier ))) , identifier ))) ;))) })) })) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0009f5c0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int unaff_EDI;\n  uint uVar8;\n  int iVar9;\n  \n  FUN_00058c4a();\n  iVar9 = param_1[3];\n  if ((iVar9 == 0) || (param_1[4] == 0xffff)) {\n    iVar6 = param_1[2];\n    uVar7 = param_1[1];\n    if (iVar6 != 0 || uVar7 != 0) {\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    \n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0009f5c0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int unaff_EDI;\n  uint uVar8;\n  int iVar9;\n  \n  FUN_00058c4a();\n  iVar9 = param_1[3];\n  if ((iVar9 == 0) || (param_1[4] == 0xffff)) {\n    iVar6 = param_1[2];\n    uVar7 = param_1[1];\n    if (iVar6 != 0 || uVar7 != 0) {\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    \n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0009f5c0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int unaff_EDI;\n  uint uVar8;\n  int iVar9;\n  \n  FUN_00058c4a();\n  iVar9 = param_1[3];\n  if ((iVar9 == 0) || (param_1[4] == 0xffff)) {\n    iVar6 = param_1[2];\n    uVar7 = param_1[1];\n    if (iVar6 != 0 || uVar7 != 0) {\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    \n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (expression_statement "FUN_00058c4a();" (call_expression "FUN_00058c4a()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar9 = param_1[3];" (assignment_expression "iVar9 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (if_statement "if ((iVar9 == 0) || (param_1[4] == 0xffff)) {\n    iVar6 = param_1[2];\n    uVar7 = param_1[1];\n    if (iVar6 != 0 || uVar7 != 0) {\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    \n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }\n  }" if (parenthesized_expression "((iVar9 == 0) || (param_1[4] == 0xffff))" ( (binary_expression "(iVar9 == 0) || (param_1[4] == 0xffff)" (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) || (parenthesized_expression "(param_1[4] == 0xffff)" ( (binary_expression "param_1[4] == 0xffff" (subscript_expression "param_1[4]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n    iVar6 = param_1[2];\n    uVar7 = param_1[1];\n    if (iVar6 != 0 || uVar7 != 0) {\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    \n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }\n  }" { (expression_statement "iVar6 = param_1[2];" (assignment_expression "iVar6 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = param_1[1];" (assignment_expression "uVar7 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar6 != 0 || uVar7 != 0) {\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    \n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }" if (parenthesized_expression "(iVar6 != 0 || uVar7 != 0)" ( (binary_expression "iVar6 != 0 || uVar7 != 0" (binary_expression "iVar6 != 0" identifier != number_literal) || (binary_expression "uVar7 != 0" identifier != number_literal)) )) (compound_statement "{\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    \n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }" { (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar2 = *(int *)(iVar1 + 0x28);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x28)" identifier = (pointer_expression "*(int *)(iVar1 + 0x28)" * (cast_expression "(int *)(iVar1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x28)" ( (binary_expression "iVar1 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    \n        FUN_00092890();\n      }" if (parenthesized_expression "((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0))" ( (binary_expression "(iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)" (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) || (parenthesized_expression "(uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)" ( (comma_expression "uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0" (assignment_expression "uVar4 = uVar7 + 0x40" identifier = (binary_expression "uVar7 + 0x40" identifier + number_literal)) , (comma_expression "iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0" (assignment_expression "iVar6 = iVar6 + (uint)(0xffffffbf < uVar7)" identifier = (binary_expression "iVar6 + (uint)(0xffffffbf < uVar7)" identifier + (call_expression "(uint)(0xffffffbf < uVar7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xffffffbf < uVar7)" ( (binary_expression "0xffffffbf < uVar7" number_literal < identifier) ))))) , (comma_expression "uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0" (assignment_expression "uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4)" identifier = (call_expression "(uint)(*(uint *)(iVar2 + 8) < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar2 + 8) < uVar4)" ( (binary_expression "*(uint *)(iVar2 + 8) < uVar4" (pointer_expression "*(uint *)(iVar2 + 8)" * (cast_expression "(uint *)(iVar2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) < identifier) )))) , (comma_expression "iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0" (assignment_expression "iVar3 = *(int *)(iVar2 + 0xc) - iVar6" identifier = (binary_expression "*(int *)(iVar2 + 0xc) - iVar6" (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) - identifier)) , (binary_expression "(SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0" (parenthesized_expression "(SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8))" ( (binary_expression "SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)" (call_expression "SBORROW4(*(int *)(iVar2 + 0xc),iVar6)" identifier (argument_list "(*(int *)(iVar2 + 0xc),iVar6)" ( (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) , identifier ))) != (call_expression "SBORROW4(iVar3,uVar8)" identifier (argument_list "(iVar3,uVar8)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar3 - uVar8) < 0" (cast_expression "(int)(iVar3 - uVar8)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 - uVar8)" ( (binary_expression "iVar3 - uVar8" identifier - identifier) ))) < number_literal)))))) ))) )) (compound_statement "{\n                    \n        FUN_00092890();\n      }" { (expression_statement "FUN_00092890();" (call_expression "FUN_00092890()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar6 = uVar7 + *(int *)(iVar2 + 0x10);" (assignment_expression "iVar6 = uVar7 + *(int *)(iVar2 + 0x10)" identifier = (binary_expression "uVar7 + *(int *)(iVar2 + 0x10)" identifier + (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))))) ;) (if_statement "if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }" { (expression_statement "param_1[3] = *(int *)(iVar6 + 0x20);" (assignment_expression "param_1[3] = *(int *)(iVar6 + 0x20)" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (pointer_expression "*(int *)(iVar6 + 0x20)" * (cast_expression "(int *)(iVar6 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x20)" ( (binary_expression "iVar6 + 0x20" identifier + number_literal) ))))) ;) })) (if_statement "if (param_1[4] != 0xffff) {\n        return;\n      }" if (parenthesized_expression "(param_1[4] != 0xffff)" ( (binary_expression "param_1[4] != 0xffff" (subscript_expression "param_1[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "uVar7 = *(uint *)(iVar6 + 0x28);" (assignment_expression "uVar7 = *(uint *)(iVar6 + 0x28)" identifier = (pointer_expression "*(uint *)(iVar6 + 0x28)" * (cast_expression "(uint *)(iVar6 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x28)" ( (binary_expression "iVar6 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = param_1[3];" (assignment_expression "uVar8 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[4] = uVar7;" (assignment_expression "param_1[4] = uVar7" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar7 < uVar8) {\n        return;\n      }" if (parenthesized_expression "(uVar7 < uVar8)" ( (binary_expression "uVar7 < uVar8" identifier < identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (if_statement "if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }" if (parenthesized_expression "(0xffff < uVar7)" ( (binary_expression "0xffff < uVar7" number_literal < identifier) )) (compound_statement "{\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }" { (expression_statement "uVar7 = uVar7 - 0x100;" (assignment_expression "uVar7 = uVar7 - 0x100" identifier = (binary_expression "uVar7 - 0x100" identifier - number_literal)) ;) (expression_statement "param_1[5] = -0x100;" (assignment_expression "param_1[5] = -0x100" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = uVar7;" (assignment_expression "param_1[4] = uVar7" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar7 < uVar8) {\n          return;\n        }" if (parenthesized_expression "(uVar7 < uVar8)" ( (binary_expression "uVar7 < uVar8" identifier < identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "uVar5 = gettext(unaff_EDI + 0x1ae866);" (assignment_expression "uVar5 = gettext(unaff_EDI + 0x1ae866)" identifier = (call_expression "gettext(unaff_EDI + 0x1ae866)" identifier (argument_list "(unaff_EDI + 0x1ae866)" ( (binary_expression "unaff_EDI + 0x1ae866" identifier + number_literal) )))) ;) (expression_statement "FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);" (call_expression "FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4)" identifier (argument_list "(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * 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 ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * 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 IDENT < LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (comma_expression (assignment_expression IDENT = (binary_expression IDENT + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) ))))) , (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) )))) < IDENT) )))) , (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 (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (return_statement return ;) })) (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 = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_0009f5c0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int unaff_EDI;\n  uint uVar8;\n  int iVar9;\n  \n  FUN_00058c4a();\n  iVar9 = param_1[3];\n  if ((iVar9 == 0) || (param_1[4] == 0xffff)) {\n    iVar6 = param_1[2];\n    uVar7 = param_1[1];\n    if (iVar6 != 0 || uVar7 != 0) {\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    \n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0009f5c0(int *param_1)" (identifier "FUN_0009f5c0") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  uint uVar7;\n  int unaff_EDI;\n  uint uVar8;\n  int iVar9;\n  \n  FUN_00058c4a();\n  iVar9 = param_1[3];\n  if ((iVar9 == 0) || (param_1[4] == 0xffff)) {\n    iVar6 = param_1[2];\n    uVar7 = param_1[1];\n    if (iVar6 != 0 || uVar7 != 0) {\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    \n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (expression_statement "FUN_00058c4a();" (call_expression "FUN_00058c4a()" (identifier "FUN_00058c4a") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar9 = param_1[3];" (assignment_expression "iVar9 = param_1[3]" (identifier "iVar9") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if ((iVar9 == 0) || (param_1[4] == 0xffff)) {\n    iVar6 = param_1[2];\n    uVar7 = param_1[1];\n    if (iVar6 != 0 || uVar7 != 0) {\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    \n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }\n  }" (if "if") (parenthesized_expression "((iVar9 == 0) || (param_1[4] == 0xffff))" (( "(") (binary_expression "(iVar9 == 0) || (param_1[4] == 0xffff)" (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(param_1[4] == 0xffff)" (( "(") (binary_expression "param_1[4] == 0xffff" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (== "==") (number_literal "0xffff")) () ")"))) () ")")) (compound_statement "{\n    iVar6 = param_1[2];\n    uVar7 = param_1[1];\n    if (iVar6 != 0 || uVar7 != 0) {\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    \n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }\n  }" ({ "{") (expression_statement "iVar6 = param_1[2];" (assignment_expression "iVar6 = param_1[2]" (identifier "iVar6") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar7 = param_1[1];" (assignment_expression "uVar7 = param_1[1]" (identifier "uVar7") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (iVar6 != 0 || uVar7 != 0) {\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    \n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }" (if "if") (parenthesized_expression "(iVar6 != 0 || uVar7 != 0)" (( "(") (binary_expression "iVar6 != 0 || uVar7 != 0" (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n      iVar1 = *param_1;\n      iVar2 = *(int *)(iVar1 + 0x28);\n      if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    \n        FUN_00092890();\n      }\n      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);\n      if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }\n      if (param_1[4] != 0xffff) {\n        return;\n      }\n      uVar7 = *(uint *)(iVar6 + 0x28);\n      uVar8 = param_1[3];\n      param_1[4] = uVar7;\n      if (uVar7 < uVar8) {\n        return;\n      }\n      if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }\n      uVar5 = gettext(unaff_EDI + 0x1ae866);\n      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);\n      return;\n    }" ({ "{") (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar2 = *(int *)(iVar1 + 0x28);" (assignment_expression "iVar2 = *(int *)(iVar1 + 0x28)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar1 + 0x28)" (* "*") (cast_expression "(int *)(iVar1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x28)" (( "(") (binary_expression "iVar1 + 0x28" (identifier "iVar1") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if ((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)) {\n                    \n        FUN_00092890();\n      }" (if "if") (parenthesized_expression "((iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0))" (( "(") (binary_expression "(iVar6 < 0) ||\n         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)" (parenthesized_expression "(iVar6 < 0)" (( "(") (binary_expression "iVar6 < 0" (identifier "iVar6") (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0)" (( "(") (comma_expression "uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0" (assignment_expression "uVar4 = uVar7 + 0x40" (identifier "uVar4") (= "=") (binary_expression "uVar7 + 0x40" (identifier "uVar7") (+ "+") (number_literal "0x40"))) (, ",") (comma_expression "iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),\n         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0" (assignment_expression "iVar6 = iVar6 + (uint)(0xffffffbf < uVar7)" (identifier "iVar6") (= "=") (binary_expression "iVar6 + (uint)(0xffffffbf < uVar7)" (identifier "iVar6") (+ "+") (call_expression "(uint)(0xffffffbf < uVar7)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0xffffffbf < uVar7)" (( "(") (binary_expression "0xffffffbf < uVar7" (number_literal "0xffffffbf") (< "<") (identifier "uVar7")) () ")"))))) (, ",") (comma_expression "uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0" (assignment_expression "uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4)" (identifier "uVar8") (= "=") (call_expression "(uint)(*(uint *)(iVar2 + 8) < uVar4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(iVar2 + 8) < uVar4)" (( "(") (binary_expression "*(uint *)(iVar2 + 8) < uVar4" (pointer_expression "*(uint *)(iVar2 + 8)" (* "*") (cast_expression "(uint *)(iVar2 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (< "<") (identifier "uVar4")) () ")")))) (, ",") (comma_expression "iVar3 = *(int *)(iVar2 + 0xc) - iVar6,\n         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0" (assignment_expression "iVar3 = *(int *)(iVar2 + 0xc) - iVar6" (identifier "iVar3") (= "=") (binary_expression "*(int *)(iVar2 + 0xc) - iVar6" (pointer_expression "*(int *)(iVar2 + 0xc)" (* "*") (cast_expression "(int *)(iVar2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")")))) (- "-") (identifier "iVar6"))) (, ",") (binary_expression "(SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=\n         (int)(iVar3 - uVar8) < 0" (parenthesized_expression "(SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8))" (( "(") (binary_expression "SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)" (call_expression "SBORROW4(*(int *)(iVar2 + 0xc),iVar6)" (identifier "SBORROW4") (argument_list "(*(int *)(iVar2 + 0xc),iVar6)" (( "(") (pointer_expression "*(int *)(iVar2 + 0xc)" (* "*") (cast_expression "(int *)(iVar2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "iVar6") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar3,uVar8)" (identifier "SBORROW4") (argument_list "(iVar3,uVar8)" (( "(") (identifier "iVar3") (, ",") (identifier "uVar8") () ")")))) () ")")) (!= "!=") (binary_expression "(int)(iVar3 - uVar8) < 0" (cast_expression "(int)(iVar3 - uVar8)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar3 - uVar8)" (( "(") (binary_expression "iVar3 - uVar8" (identifier "iVar3") (- "-") (identifier "uVar8")) () ")"))) (< "<") (number_literal "0"))))))) () ")"))) () ")")) (compound_statement "{\n                    \n        FUN_00092890();\n      }" ({ "{") (expression_statement "FUN_00092890();" (call_expression "FUN_00092890()" (identifier "FUN_00092890") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar6 = uVar7 + *(int *)(iVar2 + 0x10);" (assignment_expression "iVar6 = uVar7 + *(int *)(iVar2 + 0x10)" (identifier "iVar6") (= "=") (binary_expression "uVar7 + *(int *)(iVar2 + 0x10)" (identifier "uVar7") (+ "+") (pointer_expression "*(int *)(iVar2 + 0x10)" (* "*") (cast_expression "(int *)(iVar2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))))) (; ";")) (if_statement "if (iVar9 == 0) {\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        param_1[3] = *(int *)(iVar6 + 0x20);\n      }" ({ "{") (expression_statement "param_1[3] = *(int *)(iVar6 + 0x20);" (assignment_expression "param_1[3] = *(int *)(iVar6 + 0x20)" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (pointer_expression "*(int *)(iVar6 + 0x20)" (* "*") (cast_expression "(int *)(iVar6 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x20)" (( "(") (binary_expression "iVar6 + 0x20" (identifier "iVar6") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (param_1[4] != 0xffff) {\n        return;\n      }" (if "if") (parenthesized_expression "(param_1[4] != 0xffff)" (( "(") (binary_expression "param_1[4] != 0xffff" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (!= "!=") (number_literal "0xffff")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar7 = *(uint *)(iVar6 + 0x28);" (assignment_expression "uVar7 = *(uint *)(iVar6 + 0x28)" (identifier "uVar7") (= "=") (pointer_expression "*(uint *)(iVar6 + 0x28)" (* "*") (cast_expression "(uint *)(iVar6 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x28)" (( "(") (binary_expression "iVar6 + 0x28" (identifier "iVar6") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "uVar8 = param_1[3];" (assignment_expression "uVar8 = param_1[3]" (identifier "uVar8") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "param_1[4] = uVar7;" (assignment_expression "param_1[4] = uVar7" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "uVar7")) (; ";")) (if_statement "if (uVar7 < uVar8) {\n        return;\n      }" (if "if") (parenthesized_expression "(uVar7 < uVar8)" (( "(") (binary_expression "uVar7 < uVar8" (identifier "uVar7") (< "<") (identifier "uVar8")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (0xffff < uVar7) {\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }" (if "if") (parenthesized_expression "(0xffff < uVar7)" (( "(") (binary_expression "0xffff < uVar7" (number_literal "0xffff") (< "<") (identifier "uVar7")) () ")")) (compound_statement "{\n        uVar7 = uVar7 - 0x100;\n        param_1[5] = -0x100;\n        param_1[4] = uVar7;\n        if (uVar7 < uVar8) {\n          return;\n        }\n      }" ({ "{") (expression_statement "uVar7 = uVar7 - 0x100;" (assignment_expression "uVar7 = uVar7 - 0x100" (identifier "uVar7") (= "=") (binary_expression "uVar7 - 0x100" (identifier "uVar7") (- "-") (number_literal "0x100"))) (; ";")) (expression_statement "param_1[5] = -0x100;" (assignment_expression "param_1[5] = -0x100" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "-0x100")) (; ";")) (expression_statement "param_1[4] = uVar7;" (assignment_expression "param_1[4] = uVar7" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "uVar7")) (; ";")) (if_statement "if (uVar7 < uVar8) {\n          return;\n        }" (if "if") (parenthesized_expression "(uVar7 < uVar8)" (( "(") (binary_expression "uVar7 < uVar8" (identifier "uVar7") (< "<") (identifier "uVar8")) () ")")) (compound_statement "{\n          return;\n        }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar5 = gettext(unaff_EDI + 0x1ae866);" (assignment_expression "uVar5 = gettext(unaff_EDI + 0x1ae866)" (identifier "uVar5") (= "=") (call_expression "gettext(unaff_EDI + 0x1ae866)" (identifier "gettext") (argument_list "(unaff_EDI + 0x1ae866)" (( "(") (binary_expression "unaff_EDI + 0x1ae866" (identifier "unaff_EDI") (+ "+") (number_literal "0x1ae866")) () ")")))) (; ";")) (expression_statement "FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);" (call_expression "FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4)" (identifier "FUN_000929b0") (argument_list "(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4)" (( "(") (identifier "iVar1") (, ",") (identifier "uVar5") (, ",") (identifier "uVar7") (, ",") (identifier "uVar8") (, ",") (identifier "uVar8") (, ",") (identifier "iVar9") (, ",") (identifier "uVar4") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void initialize_shnum(Elf_file<64,_false,_gold::Incremental_binary> *
   this) */

void __thiscall
elfcpp::Elf_file<64,_false,_gold::type_1>::initialize_shnum
          (Elf_file<64,_false,_gold::type_1> *this)

{
  int var_3;
  type_1 *this_00;
  type_2 *pOVar2;
  type_3 *var_10;
  type_4 var_9;
  int var_8;
  char *format;
  type_4 var_2;
  int var_12;
  type_4 var_4;
  type_4 var_5;
  type_5 var_6;
  
  var_1();
  var_2 = this->shnum_;
  if ((var_2 == 0) || (this->shstrndx_ == 0xffff)) {
    var_3 = *(int *)((int)&this->shoff_ + 4);
    var_4 = (type_4)this->shoff_;
    if (var_3 != 0 || var_4 != 0) {
      this_00 = this->file_;
      pOVar2 = this_00->output_;
      if (-1 < var_3) {
        var_5 = var_4 + 0x40;
        var_6 = var_3 + (type_4)(0xffffffbf < var_4);
        var_3 = *(int *)((int)&pOVar2->file_size_ + 4);
        var_9 = (type_4)((type_4)pOVar2->file_size_ < var_5);
        var_8 = var_3 - var_6;
        if ((var_7(var_3,var_6) != var_7(var_8,var_9)) == (int)(var_8 - var_9) < 0
           ) {
          var_10 = pOVar2->base_;
          if (var_2 == 0) {
            this->shnum_ = *(type_4 *)(var_10 + var_4 + 0x20);
          }
          if (this->shstrndx_ != 0xffff) {
            return;
          }
          var_2 = *(type_4 *)(var_10 + var_4 + 0x28);
          var_4 = this->shnum_;
          this->shstrndx_ = var_2;
          if (var_2 < var_4) {
            return;
          }
          if (0xffff < var_2) {
            var_2 = var_2 - 0x100;
            this->large_shndx_offset_ = -0x100;
            this->shstrndx_ = var_2;
            if (var_2 < var_4) {
              return;
            }
          }
          format = (char *)var_11(var_12 + 0x1ae866);
          gold::Incremental_binary::var_13(this_00,format,var_2,var_4);
          return;
        }
      }
                    /* WARNING: Subroutine does not return */
      gold::Incremental_binary::var_14
                ((type_1 *)this,var_15(var_5,var_2),var_6);
    }
  }
  return;
}


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

void MASKED(int *param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  undefined4 uVar5;
  int iVar6;
  uint uVar7;
  int unaff_EDI;
  uint uVar8;
  int iVar9;
  
  FUN_00058c4a();
  iVar9 = param_1[3];
  if ((iVar9 == 0) || (param_1[4] == 0xffff)) {
    iVar6 = param_1[2];
    uVar7 = param_1[1];
    if (iVar6 != 0 || uVar7 != 0) {
      iVar1 = *param_1;
      iVar2 = *(int *)(iVar1 + 0x28);
      if ((iVar6 < 0) ||
         (uVar4 = uVar7 + 0x40, iVar6 = iVar6 + (uint)(0xffffffbf < uVar7),
         uVar8 = (uint)(*(uint *)(iVar2 + 8) < uVar4), iVar3 = *(int *)(iVar2 + 0xc) - iVar6,
         (SBORROW4(*(int *)(iVar2 + 0xc),iVar6) != SBORROW4(iVar3,uVar8)) !=
         (int)(iVar3 - uVar8) < 0)) {
                    /* WARNING: Subroutine does not return */
        FUN_00092890();
      }
      iVar6 = uVar7 + *(int *)(iVar2 + 0x10);
      if (iVar9 == 0) {
        param_1[3] = *(int *)(iVar6 + 0x20);
      }
      if (param_1[4] != 0xffff) {
        return;
      }
      uVar7 = *(uint *)(iVar6 + 0x28);
      uVar8 = param_1[3];
      param_1[4] = uVar7;
      if (uVar7 < uVar8) {
        return;
      }
      if (0xffff < uVar7) {
        uVar7 = uVar7 - 0x100;
        param_1[5] = -0x100;
        param_1[4] = uVar7;
        if (uVar7 < uVar8) {
          return;
        }
      }
      uVar5 = gettext(unaff_EDI + 0x1ae866);
      FUN_000929b0(iVar1,uVar5,uVar7,uVar8,uVar8,iVar9,uVar4);
      return;
    }
  }
  return;
}

