
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void lang_size_sections(bfd_boolean *relax,bfd_boolean check_regions)

{
  bfd_vma bVar1;
  byte bVar2;
  bfd_section *pbVar3;
  uint uVar4;
  uint uVar5;
  uint local_28;
  byte local_20;
  
  expld.phase = lang_allocating_phase_enum;
  expld.dataseg.phase = exp_seg_none;
  one_lang_size_sections_pass(relax,check_regions);
  bVar1 = expld.dataseg.base;
  if (expld.dataseg.phase != exp_seg_end_seen) {
    expld.dataseg.phase = exp_seg_done;
    return;
  }
  bVar2 = link_info._3_1_ & 0x10;
  if (((link_info._3_1_ & 0x10) == 0) || (expld.dataseg.relro_end == 0)) {
    uVar5 = expld.dataseg.pagesize - 1 & expld.dataseg.end;
    uVar4 = expld.dataseg.pagesize - 1 & -expld.dataseg.base;
    if ((uVar4 == 0) ||
       (((uVar5 == 0 || (((expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize) == 0))
        || (expld.dataseg.pagesize < uVar5 + uVar4)))) {
      expld.dataseg.phase = exp_seg_done;
      goto LAB_000261af;
    }
    expld.dataseg.phase = exp_seg_adjust;
  }
  else {
    uVar4 = (expld.dataseg.pagesize - 1) + expld.dataseg.relro_end & -expld.dataseg.pagesize;
    local_28 = uVar4 - expld.dataseg.relro_offset;
    pbVar3 = (link_info.output_bfd)->section_last;
    if (pbVar3 != (bfd_section *)0x0) {
      do {
        if ((((pbVar3->flags & 1) != 0) && (expld.dataseg.base <= pbVar3->vma)) &&
           (pbVar3->vma < expld.dataseg.relro_end - expld.dataseg.relro_offset)) {
          if ((pbVar3->flags & 0x402) != 0x400) {
            local_20 = (byte)opb_shift;
            local_28 = local_28 - (pbVar3->size >> (local_20 & 0x1f));
          }
          local_28 = local_28 & -(1 << ((byte)pbVar3->alignment_power & 0x1f));
        }
        pbVar3 = pbVar3->prev;
      } while (pbVar3 != (bfd_section *)0x0);
    }
    expld.dataseg.phase = exp_seg_relro_adjust;
    if (local_28 < expld.dataseg.base) {
      info_assert("../../ld/ldlang.c",0x1621);
    }
    expld.dataseg.base = local_28;
    lang_reset_memory_regions();
    one_lang_size_sections_pass(relax,check_regions);
    if (expld.dataseg.relro_end <= uVar4) {
      bVar2 = link_info._3_1_ & 0x10;
      goto LAB_000261af;
    }
  }
  expld.dataseg.base = bVar1;
  lang_reset_memory_regions();
  one_lang_size_sections_pass(relax,check_regions);
  bVar2 = link_info._3_1_ & 0x10;
LAB_000261af:
  if ((bVar2 != 0) && (expld.dataseg.relro_end != 0)) {
    link_info.relro_start = expld.dataseg.base;
    link_info.relro_end = expld.dataseg.relro_end;
  }
  return;
}



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

void FUN_000260d0(undefined4 param_1,undefined4 param_2)

{
  uint uVar1;
  byte bVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  undefined1 *puVar7;
  byte local_20;
  
  DAT_00094f80 = 2;
  DAT_00094fb0 = 0;
  FUN_00024890(param_1,param_2);
  uVar1 = DAT_00094fb4;
  if (DAT_00094fb0 != 3) {
    DAT_00094fb0 = 6;
    return;
  }
  puVar7 = &DAT_00094e00;
  bVar2 = DAT_00094e03 & 0x10;
  if (((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0)) {
    uVar5 = -DAT_00094fb4;
    uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;
    uVar4 = DAT_00094fc4 - 1 & uVar5;
    if ((uVar4 == 0) ||
       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||
        (DAT_00094fc4 < uVar6 + uVar4)))) {
      DAT_00094fb0 = 6;
      goto LAB_000261af;
    }
    DAT_00094fb0 = 5;
  }
  else {
    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;
    uVar5 = uVar6 - DAT_00094fb8;
    iVar3 = *(int *)(DAT_00094e30 + 100);
    if (iVar3 != 0) {
      do {
        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&
           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {
          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {
            local_20 = (byte)DAT_0009494c;
            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));
          }
          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));
        }
        iVar3 = *(int *)(iVar3 + 0x10);
      } while (iVar3 != 0);
    }
    DAT_00094fb0 = 4;
    if (uVar5 < DAT_00094fb4) {
      FUN_00031740("../../ld/ldlang.c",0x1621);
    }
    DAT_00094fb4 = uVar5;
    FUN_00025f10();
    FUN_00024890(param_1,param_2);
    if (DAT_00094fbc <= uVar6) {
      bVar2 = puVar7[3] & 0x10;
      goto LAB_000261af;
    }
  }
  DAT_00094fb4 = uVar1;
  FUN_00025f10(puVar7,uVar5,uVar6);
  FUN_00024890(param_1,param_2);
  bVar2 = puVar7[3] & 0x10;
LAB_000261af:
  uVar1 = DAT_00094fb4;
  if ((bVar2 != 0) && (DAT_00094fbc != 0)) {
    *(uint *)(puVar7 + 0x7c) = DAT_00094fbc;
    *(uint *)(puVar7 + 0x78) = uVar1;
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00015a10
ADD EBX,0x6df27
SUB ESP,0x24
PUSH dword ptr [ESP + 0x3c]
PUSH dword ptr [ESP + 0x3c]
LEA ESI,[EBX + 0xf80]
MOV dword ptr [ESI],0x2
MOV dword ptr [ESI + 0x30],0x0
CALL 0x00024890
ADD ESP,0x10
CMP dword ptr [ESI + 0x30],0x3
JZ 0x00026120
MOV dword ptr [ESI + 0x30],0x6
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0xe00]
MOV EBP,dword ptr [ESI + 0x34]
MOV EDX,dword ptr [ESI + 0x44]
MOV dword ptr [ESP],EAX
MOVZX EAX,byte ptr [EAX + 0x3]
AND EAX,0x10
JZ 0x00026143
MOV ECX,dword ptr [ESI + 0x3c]
TEST ECX,ECX
JNZ 0x000261d8
MOV EDI,EBP
LEA ECX,[EDX + -0x1]
MOV EBX,dword ptr [ESI + 0x40]
NEG EDI
MOV dword ptr [ESP + 0x4],EDI
MOV EDI,ECX
AND EDI,EBX
MOV dword ptr [ESP + 0x8],EDI
AND ECX,dword ptr [ESP + 0x4]
JZ 0x000261a8
TEST EDI,EDI
JZ 0x000261a8
XOR EBX,EBP
MOV EBP,EDX
NEG EBP
TEST EBX,EBP
JZ 0x000261a8
MOV EBP,EDI
ADD EBP,ECX
CMP EDX,EBP
JC 0x000261a8
MOV dword ptr [ESI + 0x30],0x5
CALL 0x00025f10
SUB ESP,0x8
PUSH dword ptr [ESP + 0x3c]
PUSH dword ptr [ESP + 0x3c]
CALL 0x00024890
MOV EAX,dword ptr [ESP + 0x10]
ADD ESP,0x10
MOVZX EAX,byte ptr [EAX + 0x3]
AND EAX,0x10
JMP 0x000261af
MOV dword ptr [ESI + 0x30],0x6
TEST AL,AL
JZ 0x00026112
MOV EAX,dword ptr [ESI + 0x3c]
TEST EAX,EAX
JZ 0x00026112
MOV EDI,dword ptr [ESP]
MOV EDX,dword ptr [ESI + 0x34]
MOV dword ptr [EDI + 0x7c],EAX
MOV dword ptr [EDI + 0x78],EDX
JMP 0x00026112
LEA EAX,[EDX + ECX*0x1 + -0x1]
NEG EDX
AND EAX,EDX
MOV EDX,dword ptr [ESI + 0x38]
MOV dword ptr [ESP + 0x8],EAX
SUB EAX,EDX
MOV dword ptr [ESP + 0x4],EAX
MOV EAX,dword ptr [ESP]
MOV EAX,dword ptr [EAX + 0x30]
MOV EAX,dword ptr [EAX + 0x64]
TEST EAX,EAX
JZ 0x00026257
MOV EDI,dword ptr [EBX + 0x94c]
SUB ECX,EDX
MOV dword ptr [ESP + 0xc],EDI
MOV EDI,ECX
LEA ESI,[ESI]
NOP
MOV EDX,dword ptr [EAX + 0x14]
TEST DL,0x1
JZ 0x00026250
MOV ECX,dword ptr [EAX + 0x1c]
CMP ECX,EBP
JC 0x00026250
CMP ECX,EDI
JNC 0x00026250
AND EDX,0x402
CMP EDX,0x400
JZ 0x0002623f
MOV EDX,dword ptr [EAX + 0x24]
MOVZX ECX,byte ptr [ESP + 0xc]
SHR EDX,CL
SUB dword ptr [ESP + 0x4],EDX
MOV ECX,dword ptr [EAX + 0x40]
MOV EDX,0x1
SHL EDX,CL
NEG EDX
AND dword ptr [ESP + 0x4],EDX
NOP
MOV EAX,dword ptr [EAX + 0x10]
TEST EAX,EAX
JNZ 0x00026210
MOV dword ptr [ESI + 0x30],0x4
CMP EBP,dword ptr [ESP + 0x4]
JA 0x000262b0
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [ESI + 0x34],EAX
CALL 0x00025f10
SUB ESP,0x8
PUSH dword ptr [ESP + 0x3c]
PUSH dword ptr [ESP + 0x3c]
CALL 0x00024890
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x8]
CMP dword ptr [ESI + 0x3c],EAX
JA 0x000262a0
MOV EAX,dword ptr [ESP]
MOVZX EAX,byte ptr [EAX + 0x3]
AND EAX,0x10
JMP 0x000261af
MOV dword ptr [ESI + 0x34],EBP
JMP 0x0002617c
SUB ESP,0x8
LEA EAX,[EBX + 0xfffbacfe]
PUSH 0x1621
PUSH EAX
CALL 0x00031740
ADD ESP,0x10
JMP 0x00026264
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000260d0(undefined4 param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  byte bVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  byte local_20;\n  \n  DAT_00094f80 = 2;\n  DAT_00094fb0 = 0;\n  FUN_00024890(param_1,param_2);\n  uVar1 = DAT_00094fb4;\n  if (DAT_00094fb0 != 3) {\n    DAT_00094fb0 = 6;\n    return;\n  }\n  puVar7 = &DAT_00094e00;\n  bVar2 = DAT_00094e03 & 0x10;\n  if (((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0)) {\n    uVar5 = -DAT_00094fb4;\n    uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;\n    uVar4 = DAT_00094fc4 - 1 & uVar5;\n    if ((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))) {\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }\n    DAT_00094fb0 = 5;\n  }\n  else {\n    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;\n    uVar5 = uVar6 - DAT_00094fb8;\n    iVar3 = *(int *)(DAT_00094e30 + 100);\n    if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }\n    DAT_00094fb0 = 4;\n    if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }\n    DAT_00094fb4 = uVar5;\n    FUN_00025f10();\n    FUN_00024890(param_1,param_2);\n    if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }\n  }\n  DAT_00094fb4 = uVar1;\n  FUN_00025f10(puVar7,uVar5,uVar6);\n  FUN_00024890(param_1,param_2);\n  bVar2 = puVar7[3] & 0x10;\nLAB_000261af:\n  uVar1 = DAT_00094fb4;\n  if ((bVar2 != 0) && (DAT_00094fbc != 0)) {\n    *(uint *)(puVar7 + 0x7c) = DAT_00094fbc;\n    *(uint *)(puVar7 + 0x78) = uVar1;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000260d0(undefined4 param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  byte bVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  byte local_20;\n  \n  DAT_00094f80 = 2;\n  DAT_00094fb0 = 0;\n  FUN_00024890(param_1,param_2);\n  uVar1 = DAT_00094fb4;\n  if (DAT_00094fb0 != 3) {\n    DAT_00094fb0 = 6;\n    return;\n  }\n  puVar7 = &DAT_00094e00;\n  bVar2 = DAT_00094e03 & 0x10;\n  if (((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0)) {\n    uVar5 = -DAT_00094fb4;\n    uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;\n    uVar4 = DAT_00094fc4 - 1 & uVar5;\n    if ((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))) {\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }\n    DAT_00094fb0 = 5;\n  }\n  else {\n    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;\n    uVar5 = uVar6 - DAT_00094fb8;\n    iVar3 = *(int *)(DAT_00094e30 + 100);\n    if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }\n    DAT_00094fb0 = 4;\n    if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }\n    DAT_00094fb4 = uVar5;\n    FUN_00025f10();\n    FUN_00024890(param_1,param_2);\n    if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }\n  }\n  DAT_00094fb4 = uVar1;\n  FUN_00025f10(puVar7,uVar5,uVar6);\n  FUN_00024890(param_1,param_2);\n  bVar2 = puVar7[3] & 0x10;\nLAB_000261af:\n  uVar1 = DAT_00094fb4;\n  if ((bVar2 != 0) && (DAT_00094fbc != 0)) {\n    *(uint *)(puVar7 + 0x7c) = DAT_00094fbc;\n    *(uint *)(puVar7 + 0x78) = uVar1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000260d0(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  byte bVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  byte local_20;\n  \n  DAT_00094f80 = 2;\n  DAT_00094fb0 = 0;\n  FUN_00024890(param_1,param_2);\n  uVar1 = DAT_00094fb4;\n  if (DAT_00094fb0 != 3) {\n    DAT_00094fb0 = 6;\n    return;\n  }\n  puVar7 = &DAT_00094e00;\n  bVar2 = DAT_00094e03 & 0x10;\n  if (((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0)) {\n    uVar5 = -DAT_00094fb4;\n    uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;\n    uVar4 = DAT_00094fc4 - 1 & uVar5;\n    if ((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))) {\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }\n    DAT_00094fb0 = 5;\n  }\n  else {\n    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;\n    uVar5 = uVar6 - DAT_00094fb8;\n    iVar3 = *(int *)(DAT_00094e30 + 100);\n    if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }\n    DAT_00094fb0 = 4;\n    if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }\n    DAT_00094fb4 = uVar5;\n    FUN_00025f10();\n    FUN_00024890(param_1,param_2);\n    if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }\n  }\n  DAT_00094fb4 = uVar1;\n  FUN_00025f10(puVar7,uVar5,uVar6);\n  FUN_00024890(param_1,param_2);\n  bVar2 = puVar7[3] & 0x10;\nLAB_000261af:\n  uVar1 = DAT_00094fb4;\n  if ((bVar2 != 0) && (DAT_00094fbc != 0)) {\n    *(uint *)(puVar7 + 0x7c) = DAT_00094fbc;\n    *(uint *)(puVar7 + 0x78) = uVar1;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "byte local_20;" type_identifier identifier ;) (expression_statement "DAT_00094f80 = 2;" (assignment_expression "DAT_00094f80 = 2" identifier = number_literal) ;) (expression_statement "DAT_00094fb0 = 0;" (assignment_expression "DAT_00094fb0 = 0" identifier = number_literal) ;) (expression_statement "FUN_00024890(param_1,param_2);" (call_expression "FUN_00024890(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "uVar1 = DAT_00094fb4;" (assignment_expression "uVar1 = DAT_00094fb4" identifier = identifier) ;) (if_statement "if (DAT_00094fb0 != 3) {\n    DAT_00094fb0 = 6;\n    return;\n  }" if (parenthesized_expression "(DAT_00094fb0 != 3)" ( (binary_expression "DAT_00094fb0 != 3" identifier != number_literal) )) (compound_statement "{\n    DAT_00094fb0 = 6;\n    return;\n  }" { (expression_statement "DAT_00094fb0 = 6;" (assignment_expression "DAT_00094fb0 = 6" identifier = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "puVar7 = &DAT_00094e00;" (assignment_expression "puVar7 = &DAT_00094e00" identifier = (pointer_expression "&DAT_00094e00" & identifier)) ;) (expression_statement "bVar2 = DAT_00094e03 & 0x10;" (assignment_expression "bVar2 = DAT_00094e03 & 0x10" identifier = (binary_expression "DAT_00094e03 & 0x10" identifier & number_literal)) ;) (if_statement "if (((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0)) {\n    uVar5 = -DAT_00094fb4;\n    uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;\n    uVar4 = DAT_00094fc4 - 1 & uVar5;\n    if ((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))) {\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }\n    DAT_00094fb0 = 5;\n  }\n  else {\n    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;\n    uVar5 = uVar6 - DAT_00094fb8;\n    iVar3 = *(int *)(DAT_00094e30 + 100);\n    if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }\n    DAT_00094fb0 = 4;\n    if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }\n    DAT_00094fb4 = uVar5;\n    FUN_00025f10();\n    FUN_00024890(param_1,param_2);\n    if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }\n  }" if (parenthesized_expression "(((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0))" ( (binary_expression "((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0)" (parenthesized_expression "((DAT_00094e03 & 0x10) == 0)" ( (binary_expression "(DAT_00094e03 & 0x10) == 0" (parenthesized_expression "(DAT_00094e03 & 0x10)" ( (binary_expression "DAT_00094e03 & 0x10" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(DAT_00094fbc == 0)" ( (binary_expression "DAT_00094fbc == 0" identifier == number_literal) ))) )) (compound_statement "{\n    uVar5 = -DAT_00094fb4;\n    uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;\n    uVar4 = DAT_00094fc4 - 1 & uVar5;\n    if ((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))) {\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }\n    DAT_00094fb0 = 5;\n  }" { (expression_statement "uVar5 = -DAT_00094fb4;" (assignment_expression "uVar5 = -DAT_00094fb4" identifier = (unary_expression "-DAT_00094fb4" - identifier)) ;) (expression_statement "uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;" (assignment_expression "uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0" identifier = (binary_expression "DAT_00094fc4 - 1 & DAT_00094fc0" (binary_expression "DAT_00094fc4 - 1" identifier - number_literal) & identifier)) ;) (expression_statement "uVar4 = DAT_00094fc4 - 1 & uVar5;" (assignment_expression "uVar4 = DAT_00094fc4 - 1 & uVar5" identifier = (binary_expression "DAT_00094fc4 - 1 & uVar5" (binary_expression "DAT_00094fc4 - 1" identifier - number_literal) & identifier)) ;) (if_statement "if ((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))) {\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }" if (parenthesized_expression "((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4))))" ( (binary_expression "(uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))" (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))" ( (parenthesized_expression "((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4))" ( (binary_expression "(uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)" (parenthesized_expression "(uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0))" ( (binary_expression "uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)" (binary_expression "uVar6 == 0" identifier == number_literal) || (parenthesized_expression "(((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)" ( (binary_expression "((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0" (parenthesized_expression "((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4)" ( (binary_expression "(DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4" (parenthesized_expression "(DAT_00094fc0 ^ DAT_00094fb4)" ( (binary_expression "DAT_00094fc0 ^ DAT_00094fb4" identifier ^ identifier) )) & (unary_expression "-DAT_00094fc4" - identifier)) )) == number_literal) ))) )) || (parenthesized_expression "(DAT_00094fc4 < uVar6 + uVar4)" ( (binary_expression "DAT_00094fc4 < uVar6 + uVar4" identifier < (binary_expression "uVar6 + uVar4" identifier + identifier)) ))) )) ))) )) (compound_statement "{\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }" { (expression_statement "DAT_00094fb0 = 6;" (assignment_expression "DAT_00094fb0 = 6" identifier = number_literal) ;) (goto_statement "goto LAB_000261af;" goto statement_identifier ;) })) (expression_statement "DAT_00094fb0 = 5;" (assignment_expression "DAT_00094fb0 = 5" identifier = number_literal) ;) }) (else_clause "else {\n    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;\n    uVar5 = uVar6 - DAT_00094fb8;\n    iVar3 = *(int *)(DAT_00094e30 + 100);\n    if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }\n    DAT_00094fb0 = 4;\n    if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }\n    DAT_00094fb4 = uVar5;\n    FUN_00025f10();\n    FUN_00024890(param_1,param_2);\n    if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }\n  }" else (compound_statement "{\n    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;\n    uVar5 = uVar6 - DAT_00094fb8;\n    iVar3 = *(int *)(DAT_00094e30 + 100);\n    if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }\n    DAT_00094fb0 = 4;\n    if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }\n    DAT_00094fb4 = uVar5;\n    FUN_00025f10();\n    FUN_00024890(param_1,param_2);\n    if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }\n  }" { (expression_statement "uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;" (assignment_expression "uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4" identifier = (binary_expression "(DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4" (binary_expression "(DAT_00094fc4 - 1) + DAT_00094fbc" (parenthesized_expression "(DAT_00094fc4 - 1)" ( (binary_expression "DAT_00094fc4 - 1" identifier - number_literal) )) + identifier) & (unary_expression "-DAT_00094fc4" - identifier))) ;) (expression_statement "uVar5 = uVar6 - DAT_00094fb8;" (assignment_expression "uVar5 = uVar6 - DAT_00094fb8" identifier = (binary_expression "uVar6 - DAT_00094fb8" identifier - identifier)) ;) (expression_statement "iVar3 = *(int *)(DAT_00094e30 + 100);" (assignment_expression "iVar3 = *(int *)(DAT_00094e30 + 100)" identifier = (pointer_expression "*(int *)(DAT_00094e30 + 100)" * (cast_expression "(int *)(DAT_00094e30 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00094e30 + 100)" ( (binary_expression "DAT_00094e30 + 100" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }" { (do_statement "do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);" do (compound_statement "{\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      }" { (if_statement "if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }" if (parenthesized_expression "((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8))" ( (binary_expression "(((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)" (parenthesized_expression "(((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c)))" ( (binary_expression "((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))" (parenthesized_expression "((*(uint *)(iVar3 + 0x14) & 1) != 0)" ( (binary_expression "(*(uint *)(iVar3 + 0x14) & 1) != 0" (parenthesized_expression "(*(uint *)(iVar3 + 0x14) & 1)" ( (binary_expression "*(uint *)(iVar3 + 0x14) & 1" (pointer_expression "*(uint *)(iVar3 + 0x14)" * (cast_expression "(uint *)(iVar3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))" ( (binary_expression "DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c)" identifier <= (pointer_expression "*(uint *)(iVar3 + 0x1c)" * (cast_expression "(uint *)(iVar3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) ))))) ))) )) && (parenthesized_expression "(*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)" ( (binary_expression "*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8" (pointer_expression "*(uint *)(iVar3 + 0x1c)" * (cast_expression "(uint *)(iVar3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) )))) < (binary_expression "DAT_00094fbc - DAT_00094fb8" identifier - identifier)) ))) )) (compound_statement "{\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }" { (if_statement "if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }" if (parenthesized_expression "((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400)" ( (binary_expression "(*(uint *)(iVar3 + 0x14) & 0x402) != 0x400" (parenthesized_expression "(*(uint *)(iVar3 + 0x14) & 0x402)" ( (binary_expression "*(uint *)(iVar3 + 0x14) & 0x402" (pointer_expression "*(uint *)(iVar3 + 0x14)" * (cast_expression "(uint *)(iVar3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }" { (expression_statement "local_20 = (byte)DAT_0009494c;" (assignment_expression "local_20 = (byte)DAT_0009494c" identifier = (cast_expression "(byte)DAT_0009494c" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (expression_statement "uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));" (assignment_expression "uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f))" identifier = (binary_expression "uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f))" identifier - (parenthesized_expression "(*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f))" ( (binary_expression "*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f)" (pointer_expression "*(uint *)(iVar3 + 0x24)" * (cast_expression "(uint *)(iVar3 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) )))) >> (parenthesized_expression "(local_20 & 0x1f)" ( (binary_expression "local_20 & 0x1f" identifier & number_literal) ))) )))) ;) })) (expression_statement "uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));" (assignment_expression "uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f))" identifier = (binary_expression "uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f))" identifier & (unary_expression "-(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f))" - (parenthesized_expression "(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f))" ( (binary_expression "1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f)" number_literal << (parenthesized_expression "((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f)" ( (binary_expression "(byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f" (binary_expression "(byte)*(undefined4 *)(iVar3 + 0x40)" (parenthesized_expression "(byte)" ( identifier )) * (cast_expression "(undefined4 *)(iVar3 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x40)" ( (binary_expression "iVar3 + 0x40" identifier + number_literal) )))) & number_literal) ))) ))))) ;) })) (expression_statement "iVar3 = *(int *)(iVar3 + 0x10);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0x10)" identifier = (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) })) (expression_statement "DAT_00094fb0 = 4;" (assignment_expression "DAT_00094fb0 = 4" identifier = number_literal) ;) (if_statement "if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }" if (parenthesized_expression "(uVar5 < DAT_00094fb4)" ( (binary_expression "uVar5 < DAT_00094fb4" identifier < identifier) )) (compound_statement "{\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }" { (expression_statement "FUN_00031740("../../ld/ldlang.c",0x1621);" (call_expression "FUN_00031740("../../ld/ldlang.c",0x1621)" identifier (argument_list "("../../ld/ldlang.c",0x1621)" ( (string_literal ""../../ld/ldlang.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "DAT_00094fb4 = uVar5;" (assignment_expression "DAT_00094fb4 = uVar5" identifier = identifier) ;) (expression_statement "FUN_00025f10();" (call_expression "FUN_00025f10()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00024890(param_1,param_2);" (call_expression "FUN_00024890(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (if_statement "if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }" if (parenthesized_expression "(DAT_00094fbc <= uVar6)" ( (binary_expression "DAT_00094fbc <= uVar6" identifier <= identifier) )) (compound_statement "{\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }" { (expression_statement "bVar2 = puVar7[3] & 0x10;" (assignment_expression "bVar2 = puVar7[3] & 0x10" identifier = (binary_expression "puVar7[3] & 0x10" (subscript_expression "puVar7[3]" identifier [ number_literal ]) & number_literal)) ;) (goto_statement "goto LAB_000261af;" goto statement_identifier ;) })) }))) (expression_statement "DAT_00094fb4 = uVar1;" (assignment_expression "DAT_00094fb4 = uVar1" identifier = identifier) ;) (expression_statement "FUN_00025f10(puVar7,uVar5,uVar6);" (call_expression "FUN_00025f10(puVar7,uVar5,uVar6)" identifier (argument_list "(puVar7,uVar5,uVar6)" ( identifier , identifier , identifier ))) ;) (expression_statement "FUN_00024890(param_1,param_2);" (call_expression "FUN_00024890(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "bVar2 = puVar7[3] & 0x10;" (assignment_expression "bVar2 = puVar7[3] & 0x10" identifier = (binary_expression "puVar7[3] & 0x10" (subscript_expression "puVar7[3]" identifier [ number_literal ]) & number_literal)) ;) (labeled_statement "LAB_000261af:\n  uVar1 = DAT_00094fb4;" statement_identifier : (expression_statement "uVar1 = DAT_00094fb4;" (assignment_expression "uVar1 = DAT_00094fb4" identifier = identifier) ;)) (if_statement "if ((bVar2 != 0) && (DAT_00094fbc != 0)) {\n    *(uint *)(puVar7 + 0x7c) = DAT_00094fbc;\n    *(uint *)(puVar7 + 0x78) = uVar1;\n  }" if (parenthesized_expression "((bVar2 != 0) && (DAT_00094fbc != 0))" ( (binary_expression "(bVar2 != 0) && (DAT_00094fbc != 0)" (parenthesized_expression "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(DAT_00094fbc != 0)" ( (binary_expression "DAT_00094fbc != 0" identifier != number_literal) ))) )) (compound_statement "{\n    *(uint *)(puVar7 + 0x7c) = DAT_00094fbc;\n    *(uint *)(puVar7 + 0x78) = uVar1;\n  }" { (expression_statement "*(uint *)(puVar7 + 0x7c) = DAT_00094fbc;" (assignment_expression "*(uint *)(puVar7 + 0x7c) = DAT_00094fbc" (pointer_expression "*(uint *)(puVar7 + 0x7c)" * (cast_expression "(uint *)(puVar7 + 0x7c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x7c)" ( (binary_expression "puVar7 + 0x7c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(puVar7 + 0x78) = uVar1;" (assignment_expression "*(uint *)(puVar7 + 0x78) = uVar1" (pointer_expression "*(uint *)(puVar7 + 0x78)" * (cast_expression "(uint *)(puVar7 + 0x78)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x78)" ( (binary_expression "puVar7 + 0x78" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid lang_size_sections(bfd_boolean *relax,bfd_boolean check_regions)\n\n{\n  bfd_vma bVar1;\n  byte bVar2;\n  bfd_section *pbVar3;\n  uint uVar4;\n  uint uVar5;\n  uint local_28;\n  byte local_20;\n  \n  expld.phase = lang_allocating_phase_enum;\n  expld.dataseg.phase = exp_seg_none;\n  one_lang_size_sections_pass(relax,check_regions);\n  bVar1 = expld.dataseg.base;\n  if (expld.dataseg.phase != exp_seg_end_seen) {\n    expld.dataseg.phase = exp_seg_done;\n    return;\n  }\n  bVar2 = link_info._3_1_ & 0x10;\n  if (((link_info._3_1_ & 0x10) == 0) || (expld.dataseg.relro_end == 0)) {\n    uVar5 = expld.dataseg.pagesize - 1 & expld.dataseg.end;\n    uVar4 = expld.dataseg.pagesize - 1 & -expld.dataseg.base;\n    if ((uVar4 == 0) ||\n       (((uVar5 == 0 || (((expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize) == 0))\n        || (expld.dataseg.pagesize < uVar5 + uVar4)))) {\n      expld.dataseg.phase = exp_seg_done;\n      goto LAB_000261af;\n    }\n    expld.dataseg.phase = exp_seg_adjust;\n  }\n  else {\n    uVar4 = (expld.dataseg.pagesize - 1) + expld.dataseg.relro_end & -expld.dataseg.pagesize;\n    local_28 = uVar4 - expld.dataseg.relro_offset;\n    pbVar3 = (link_info.output_bfd)->section_last;\n    if (pbVar3 != (bfd_section *)0x0) {\n      do {\n        if ((((pbVar3->flags & 1) != 0) && (expld.dataseg.base <= pbVar3->vma)) &&\n           (pbVar3->vma < expld.dataseg.relro_end - expld.dataseg.relro_offset)) {\n          if ((pbVar3->flags & 0x402) != 0x400) {\n            local_20 = (byte)opb_shift;\n            local_28 = local_28 - (pbVar3->size >> (local_20 & 0x1f));\n          }\n          local_28 = local_28 & -(1 << ((byte)pbVar3->alignment_power & 0x1f));\n        }\n        pbVar3 = pbVar3->prev;\n      } while (pbVar3 != (bfd_section *)0x0);\n    }\n    expld.dataseg.phase = exp_seg_relro_adjust;\n    if (local_28 < expld.dataseg.base) {\n      info_assert("../../ld/ldlang.c",0x1621);\n    }\n    expld.dataseg.base = local_28;\n    lang_reset_memory_regions();\n    one_lang_size_sections_pass(relax,check_regions);\n    if (expld.dataseg.relro_end <= uVar4) {\n      bVar2 = link_info._3_1_ & 0x10;\n      goto LAB_000261af;\n    }\n  }\n  expld.dataseg.base = bVar1;\n  lang_reset_memory_regions();\n  one_lang_size_sections_pass(relax,check_regions);\n  bVar2 = link_info._3_1_ & 0x10;\nLAB_000261af:\n  if ((bVar2 != 0) && (expld.dataseg.relro_end != 0)) {\n    link_info.relro_start = expld.dataseg.base;\n    link_info.relro_end = expld.dataseg.relro_end;\n  }\n  return;\n}\n\n" comment comment (function_definition "void lang_size_sections(bfd_boolean *relax,bfd_boolean check_regions)\n\n{\n  bfd_vma bVar1;\n  byte bVar2;\n  bfd_section *pbVar3;\n  uint uVar4;\n  uint uVar5;\n  uint local_28;\n  byte local_20;\n  \n  expld.phase = lang_allocating_phase_enum;\n  expld.dataseg.phase = exp_seg_none;\n  one_lang_size_sections_pass(relax,check_regions);\n  bVar1 = expld.dataseg.base;\n  if (expld.dataseg.phase != exp_seg_end_seen) {\n    expld.dataseg.phase = exp_seg_done;\n    return;\n  }\n  bVar2 = link_info._3_1_ & 0x10;\n  if (((link_info._3_1_ & 0x10) == 0) || (expld.dataseg.relro_end == 0)) {\n    uVar5 = expld.dataseg.pagesize - 1 & expld.dataseg.end;\n    uVar4 = expld.dataseg.pagesize - 1 & -expld.dataseg.base;\n    if ((uVar4 == 0) ||\n       (((uVar5 == 0 || (((expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize) == 0))\n        || (expld.dataseg.pagesize < uVar5 + uVar4)))) {\n      expld.dataseg.phase = exp_seg_done;\n      goto LAB_000261af;\n    }\n    expld.dataseg.phase = exp_seg_adjust;\n  }\n  else {\n    uVar4 = (expld.dataseg.pagesize - 1) + expld.dataseg.relro_end & -expld.dataseg.pagesize;\n    local_28 = uVar4 - expld.dataseg.relro_offset;\n    pbVar3 = (link_info.output_bfd)->section_last;\n    if (pbVar3 != (bfd_section *)0x0) {\n      do {\n        if ((((pbVar3->flags & 1) != 0) && (expld.dataseg.base <= pbVar3->vma)) &&\n           (pbVar3->vma < expld.dataseg.relro_end - expld.dataseg.relro_offset)) {\n          if ((pbVar3->flags & 0x402) != 0x400) {\n            local_20 = (byte)opb_shift;\n            local_28 = local_28 - (pbVar3->size >> (local_20 & 0x1f));\n          }\n          local_28 = local_28 & -(1 << ((byte)pbVar3->alignment_power & 0x1f));\n        }\n        pbVar3 = pbVar3->prev;\n      } while (pbVar3 != (bfd_section *)0x0);\n    }\n    expld.dataseg.phase = exp_seg_relro_adjust;\n    if (local_28 < expld.dataseg.base) {\n      info_assert("../../ld/ldlang.c",0x1621);\n    }\n    expld.dataseg.base = local_28;\n    lang_reset_memory_regions();\n    one_lang_size_sections_pass(relax,check_regions);\n    if (expld.dataseg.relro_end <= uVar4) {\n      bVar2 = link_info._3_1_ & 0x10;\n      goto LAB_000261af;\n    }\n  }\n  expld.dataseg.base = bVar1;\n  lang_reset_memory_regions();\n  one_lang_size_sections_pass(relax,check_regions);\n  bVar2 = link_info._3_1_ & 0x10;\nLAB_000261af:\n  if ((bVar2 != 0) && (expld.dataseg.relro_end != 0)) {\n    link_info.relro_start = expld.dataseg.base;\n    link_info.relro_end = expld.dataseg.relro_end;\n  }\n  return;\n}" primitive_type (function_declarator "lang_size_sections(bfd_boolean *relax,bfd_boolean check_regions)" identifier (parameter_list "(bfd_boolean *relax,bfd_boolean check_regions)" ( (parameter_declaration "bfd_boolean *relax" type_identifier (pointer_declarator "*relax" * identifier)) , (parameter_declaration "bfd_boolean check_regions" type_identifier identifier) ))) (compound_statement "{\n  bfd_vma bVar1;\n  byte bVar2;\n  bfd_section *pbVar3;\n  uint uVar4;\n  uint uVar5;\n  uint local_28;\n  byte local_20;\n  \n  expld.phase = lang_allocating_phase_enum;\n  expld.dataseg.phase = exp_seg_none;\n  one_lang_size_sections_pass(relax,check_regions);\n  bVar1 = expld.dataseg.base;\n  if (expld.dataseg.phase != exp_seg_end_seen) {\n    expld.dataseg.phase = exp_seg_done;\n    return;\n  }\n  bVar2 = link_info._3_1_ & 0x10;\n  if (((link_info._3_1_ & 0x10) == 0) || (expld.dataseg.relro_end == 0)) {\n    uVar5 = expld.dataseg.pagesize - 1 & expld.dataseg.end;\n    uVar4 = expld.dataseg.pagesize - 1 & -expld.dataseg.base;\n    if ((uVar4 == 0) ||\n       (((uVar5 == 0 || (((expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize) == 0))\n        || (expld.dataseg.pagesize < uVar5 + uVar4)))) {\n      expld.dataseg.phase = exp_seg_done;\n      goto LAB_000261af;\n    }\n    expld.dataseg.phase = exp_seg_adjust;\n  }\n  else {\n    uVar4 = (expld.dataseg.pagesize - 1) + expld.dataseg.relro_end & -expld.dataseg.pagesize;\n    local_28 = uVar4 - expld.dataseg.relro_offset;\n    pbVar3 = (link_info.output_bfd)->section_last;\n    if (pbVar3 != (bfd_section *)0x0) {\n      do {\n        if ((((pbVar3->flags & 1) != 0) && (expld.dataseg.base <= pbVar3->vma)) &&\n           (pbVar3->vma < expld.dataseg.relro_end - expld.dataseg.relro_offset)) {\n          if ((pbVar3->flags & 0x402) != 0x400) {\n            local_20 = (byte)opb_shift;\n            local_28 = local_28 - (pbVar3->size >> (local_20 & 0x1f));\n          }\n          local_28 = local_28 & -(1 << ((byte)pbVar3->alignment_power & 0x1f));\n        }\n        pbVar3 = pbVar3->prev;\n      } while (pbVar3 != (bfd_section *)0x0);\n    }\n    expld.dataseg.phase = exp_seg_relro_adjust;\n    if (local_28 < expld.dataseg.base) {\n      info_assert("../../ld/ldlang.c",0x1621);\n    }\n    expld.dataseg.base = local_28;\n    lang_reset_memory_regions();\n    one_lang_size_sections_pass(relax,check_regions);\n    if (expld.dataseg.relro_end <= uVar4) {\n      bVar2 = link_info._3_1_ & 0x10;\n      goto LAB_000261af;\n    }\n  }\n  expld.dataseg.base = bVar1;\n  lang_reset_memory_regions();\n  one_lang_size_sections_pass(relax,check_regions);\n  bVar2 = link_info._3_1_ & 0x10;\nLAB_000261af:\n  if ((bVar2 != 0) && (expld.dataseg.relro_end != 0)) {\n    link_info.relro_start = expld.dataseg.base;\n    link_info.relro_end = expld.dataseg.relro_end;\n  }\n  return;\n}" { (declaration "bfd_vma bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "bfd_section *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "byte local_20;" type_identifier identifier ;) (expression_statement "expld.phase = lang_allocating_phase_enum;" (assignment_expression "expld.phase = lang_allocating_phase_enum" (field_expression "expld.phase" identifier . field_identifier) = identifier) ;) (expression_statement "expld.dataseg.phase = exp_seg_none;" (assignment_expression "expld.dataseg.phase = exp_seg_none" (field_expression "expld.dataseg.phase" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier) = identifier) ;) (expression_statement "one_lang_size_sections_pass(relax,check_regions);" (call_expression "one_lang_size_sections_pass(relax,check_regions)" identifier (argument_list "(relax,check_regions)" ( identifier , identifier ))) ;) (expression_statement "bVar1 = expld.dataseg.base;" (assignment_expression "bVar1 = expld.dataseg.base" identifier = (field_expression "expld.dataseg.base" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier)) ;) (if_statement "if (expld.dataseg.phase != exp_seg_end_seen) {\n    expld.dataseg.phase = exp_seg_done;\n    return;\n  }" if (parenthesized_expression "(expld.dataseg.phase != exp_seg_end_seen)" ( (binary_expression "expld.dataseg.phase != exp_seg_end_seen" (field_expression "expld.dataseg.phase" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier) != identifier) )) (compound_statement "{\n    expld.dataseg.phase = exp_seg_done;\n    return;\n  }" { (expression_statement "expld.dataseg.phase = exp_seg_done;" (assignment_expression "expld.dataseg.phase = exp_seg_done" (field_expression "expld.dataseg.phase" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "bVar2 = link_info._3_1_ & 0x10;" (assignment_expression "bVar2 = link_info._3_1_ & 0x10" identifier = (binary_expression "link_info._3_1_ & 0x10" (field_expression "link_info._3_1_" identifier . field_identifier) & number_literal)) ;) (if_statement "if (((link_info._3_1_ & 0x10) == 0) || (expld.dataseg.relro_end == 0)) {\n    uVar5 = expld.dataseg.pagesize - 1 & expld.dataseg.end;\n    uVar4 = expld.dataseg.pagesize - 1 & -expld.dataseg.base;\n    if ((uVar4 == 0) ||\n       (((uVar5 == 0 || (((expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize) == 0))\n        || (expld.dataseg.pagesize < uVar5 + uVar4)))) {\n      expld.dataseg.phase = exp_seg_done;\n      goto LAB_000261af;\n    }\n    expld.dataseg.phase = exp_seg_adjust;\n  }\n  else {\n    uVar4 = (expld.dataseg.pagesize - 1) + expld.dataseg.relro_end & -expld.dataseg.pagesize;\n    local_28 = uVar4 - expld.dataseg.relro_offset;\n    pbVar3 = (link_info.output_bfd)->section_last;\n    if (pbVar3 != (bfd_section *)0x0) {\n      do {\n        if ((((pbVar3->flags & 1) != 0) && (expld.dataseg.base <= pbVar3->vma)) &&\n           (pbVar3->vma < expld.dataseg.relro_end - expld.dataseg.relro_offset)) {\n          if ((pbVar3->flags & 0x402) != 0x400) {\n            local_20 = (byte)opb_shift;\n            local_28 = local_28 - (pbVar3->size >> (local_20 & 0x1f));\n          }\n          local_28 = local_28 & -(1 << ((byte)pbVar3->alignment_power & 0x1f));\n        }\n        pbVar3 = pbVar3->prev;\n      } while (pbVar3 != (bfd_section *)0x0);\n    }\n    expld.dataseg.phase = exp_seg_relro_adjust;\n    if (local_28 < expld.dataseg.base) {\n      info_assert("../../ld/ldlang.c",0x1621);\n    }\n    expld.dataseg.base = local_28;\n    lang_reset_memory_regions();\n    one_lang_size_sections_pass(relax,check_regions);\n    if (expld.dataseg.relro_end <= uVar4) {\n      bVar2 = link_info._3_1_ & 0x10;\n      goto LAB_000261af;\n    }\n  }" if (parenthesized_expression "(((link_info._3_1_ & 0x10) == 0) || (expld.dataseg.relro_end == 0))" ( (binary_expression "((link_info._3_1_ & 0x10) == 0) || (expld.dataseg.relro_end == 0)" (parenthesized_expression "((link_info._3_1_ & 0x10) == 0)" ( (binary_expression "(link_info._3_1_ & 0x10) == 0" (parenthesized_expression "(link_info._3_1_ & 0x10)" ( (binary_expression "link_info._3_1_ & 0x10" (field_expression "link_info._3_1_" identifier . field_identifier) & number_literal) )) == number_literal) )) || (parenthesized_expression "(expld.dataseg.relro_end == 0)" ( (binary_expression "expld.dataseg.relro_end == 0" (field_expression "expld.dataseg.relro_end" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier) == number_literal) ))) )) (compound_statement "{\n    uVar5 = expld.dataseg.pagesize - 1 & expld.dataseg.end;\n    uVar4 = expld.dataseg.pagesize - 1 & -expld.dataseg.base;\n    if ((uVar4 == 0) ||\n       (((uVar5 == 0 || (((expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize) == 0))\n        || (expld.dataseg.pagesize < uVar5 + uVar4)))) {\n      expld.dataseg.phase = exp_seg_done;\n      goto LAB_000261af;\n    }\n    expld.dataseg.phase = exp_seg_adjust;\n  }" { (expression_statement "uVar5 = expld.dataseg.pagesize - 1 & expld.dataseg.end;" (assignment_expression "uVar5 = expld.dataseg.pagesize - 1 & expld.dataseg.end" identifier = (binary_expression "expld.dataseg.pagesize - 1 & expld.dataseg.end" (binary_expression "expld.dataseg.pagesize - 1" (field_expression "expld.dataseg.pagesize" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier) - number_literal) & (field_expression "expld.dataseg.end" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier))) ;) (expression_statement "uVar4 = expld.dataseg.pagesize - 1 & -expld.dataseg.base;" (assignment_expression "uVar4 = expld.dataseg.pagesize - 1 & -expld.dataseg.base" identifier = (binary_expression "expld.dataseg.pagesize - 1 & -expld.dataseg.base" (binary_expression "expld.dataseg.pagesize - 1" (field_expression "expld.dataseg.pagesize" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier) - number_literal) & (unary_expression "-expld.dataseg.base" - (field_expression "expld.dataseg.base" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier)))) ;) (if_statement "if ((uVar4 == 0) ||\n       (((uVar5 == 0 || (((expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize) == 0))\n        || (expld.dataseg.pagesize < uVar5 + uVar4)))) {\n      expld.dataseg.phase = exp_seg_done;\n      goto LAB_000261af;\n    }" if (parenthesized_expression "((uVar4 == 0) ||\n       (((uVar5 == 0 || (((expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize) == 0))\n        || (expld.dataseg.pagesize < uVar5 + uVar4))))" ( (binary_expression "(uVar4 == 0) ||\n       (((uVar5 == 0 || (((expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize) == 0))\n        || (expld.dataseg.pagesize < uVar5 + uVar4)))" (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(((uVar5 == 0 || (((expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize) == 0))\n        || (expld.dataseg.pagesize < uVar5 + uVar4)))" ( (parenthesized_expression "((uVar5 == 0 || (((expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize) == 0))\n        || (expld.dataseg.pagesize < uVar5 + uVar4))" ( (binary_expression "(uVar5 == 0 || (((expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize) == 0))\n        || (expld.dataseg.pagesize < uVar5 + uVar4)" (parenthesized_expression "(uVar5 == 0 || (((expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize) == 0))" ( (binary_expression "uVar5 == 0 || (((expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize) == 0)" (binary_expression "uVar5 == 0" identifier == number_literal) || (parenthesized_expression "(((expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize) == 0)" ( (binary_expression "((expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize) == 0" (parenthesized_expression "((expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize)" ( (binary_expression "(expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize" (parenthesized_expression "(expld.dataseg.end ^ expld.dataseg.base)" ( (binary_expression "expld.dataseg.end ^ expld.dataseg.base" (field_expression "expld.dataseg.end" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier) ^ (field_expression "expld.dataseg.base" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier)) )) & (unary_expression "-expld.dataseg.pagesize" - (field_expression "expld.dataseg.pagesize" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier))) )) == number_literal) ))) )) || (parenthesized_expression "(expld.dataseg.pagesize < uVar5 + uVar4)" ( (binary_expression "expld.dataseg.pagesize < uVar5 + uVar4" (field_expression "expld.dataseg.pagesize" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier) < (binary_expression "uVar5 + uVar4" identifier + identifier)) ))) )) ))) )) (compound_statement "{\n      expld.dataseg.phase = exp_seg_done;\n      goto LAB_000261af;\n    }" { (expression_statement "expld.dataseg.phase = exp_seg_done;" (assignment_expression "expld.dataseg.phase = exp_seg_done" (field_expression "expld.dataseg.phase" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier) = identifier) ;) (goto_statement "goto LAB_000261af;" goto statement_identifier ;) })) (expression_statement "expld.dataseg.phase = exp_seg_adjust;" (assignment_expression "expld.dataseg.phase = exp_seg_adjust" (field_expression "expld.dataseg.phase" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier) = identifier) ;) }) (else_clause "else {\n    uVar4 = (expld.dataseg.pagesize - 1) + expld.dataseg.relro_end & -expld.dataseg.pagesize;\n    local_28 = uVar4 - expld.dataseg.relro_offset;\n    pbVar3 = (link_info.output_bfd)->section_last;\n    if (pbVar3 != (bfd_section *)0x0) {\n      do {\n        if ((((pbVar3->flags & 1) != 0) && (expld.dataseg.base <= pbVar3->vma)) &&\n           (pbVar3->vma < expld.dataseg.relro_end - expld.dataseg.relro_offset)) {\n          if ((pbVar3->flags & 0x402) != 0x400) {\n            local_20 = (byte)opb_shift;\n            local_28 = local_28 - (pbVar3->size >> (local_20 & 0x1f));\n          }\n          local_28 = local_28 & -(1 << ((byte)pbVar3->alignment_power & 0x1f));\n        }\n        pbVar3 = pbVar3->prev;\n      } while (pbVar3 != (bfd_section *)0x0);\n    }\n    expld.dataseg.phase = exp_seg_relro_adjust;\n    if (local_28 < expld.dataseg.base) {\n      info_assert("../../ld/ldlang.c",0x1621);\n    }\n    expld.dataseg.base = local_28;\n    lang_reset_memory_regions();\n    one_lang_size_sections_pass(relax,check_regions);\n    if (expld.dataseg.relro_end <= uVar4) {\n      bVar2 = link_info._3_1_ & 0x10;\n      goto LAB_000261af;\n    }\n  }" else (compound_statement "{\n    uVar4 = (expld.dataseg.pagesize - 1) + expld.dataseg.relro_end & -expld.dataseg.pagesize;\n    local_28 = uVar4 - expld.dataseg.relro_offset;\n    pbVar3 = (link_info.output_bfd)->section_last;\n    if (pbVar3 != (bfd_section *)0x0) {\n      do {\n        if ((((pbVar3->flags & 1) != 0) && (expld.dataseg.base <= pbVar3->vma)) &&\n           (pbVar3->vma < expld.dataseg.relro_end - expld.dataseg.relro_offset)) {\n          if ((pbVar3->flags & 0x402) != 0x400) {\n            local_20 = (byte)opb_shift;\n            local_28 = local_28 - (pbVar3->size >> (local_20 & 0x1f));\n          }\n          local_28 = local_28 & -(1 << ((byte)pbVar3->alignment_power & 0x1f));\n        }\n        pbVar3 = pbVar3->prev;\n      } while (pbVar3 != (bfd_section *)0x0);\n    }\n    expld.dataseg.phase = exp_seg_relro_adjust;\n    if (local_28 < expld.dataseg.base) {\n      info_assert("../../ld/ldlang.c",0x1621);\n    }\n    expld.dataseg.base = local_28;\n    lang_reset_memory_regions();\n    one_lang_size_sections_pass(relax,check_regions);\n    if (expld.dataseg.relro_end <= uVar4) {\n      bVar2 = link_info._3_1_ & 0x10;\n      goto LAB_000261af;\n    }\n  }" { (expression_statement "uVar4 = (expld.dataseg.pagesize - 1) + expld.dataseg.relro_end & -expld.dataseg.pagesize;" (assignment_expression "uVar4 = (expld.dataseg.pagesize - 1) + expld.dataseg.relro_end & -expld.dataseg.pagesize" identifier = (binary_expression "(expld.dataseg.pagesize - 1) + expld.dataseg.relro_end & -expld.dataseg.pagesize" (binary_expression "(expld.dataseg.pagesize - 1) + expld.dataseg.relro_end" (parenthesized_expression "(expld.dataseg.pagesize - 1)" ( (binary_expression "expld.dataseg.pagesize - 1" (field_expression "expld.dataseg.pagesize" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier) - number_literal) )) + (field_expression "expld.dataseg.relro_end" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier)) & (unary_expression "-expld.dataseg.pagesize" - (field_expression "expld.dataseg.pagesize" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier)))) ;) (expression_statement "local_28 = uVar4 - expld.dataseg.relro_offset;" (assignment_expression "local_28 = uVar4 - expld.dataseg.relro_offset" identifier = (binary_expression "uVar4 - expld.dataseg.relro_offset" identifier - (field_expression "expld.dataseg.relro_offset" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier))) ;) (expression_statement "pbVar3 = (link_info.output_bfd)->section_last;" (assignment_expression "pbVar3 = (link_info.output_bfd)->section_last" identifier = (field_expression "(link_info.output_bfd)->section_last" (parenthesized_expression "(link_info.output_bfd)" ( (field_expression "link_info.output_bfd" identifier . field_identifier) )) -> field_identifier)) ;) (if_statement "if (pbVar3 != (bfd_section *)0x0) {\n      do {\n        if ((((pbVar3->flags & 1) != 0) && (expld.dataseg.base <= pbVar3->vma)) &&\n           (pbVar3->vma < expld.dataseg.relro_end - expld.dataseg.relro_offset)) {\n          if ((pbVar3->flags & 0x402) != 0x400) {\n            local_20 = (byte)opb_shift;\n            local_28 = local_28 - (pbVar3->size >> (local_20 & 0x1f));\n          }\n          local_28 = local_28 & -(1 << ((byte)pbVar3->alignment_power & 0x1f));\n        }\n        pbVar3 = pbVar3->prev;\n      } while (pbVar3 != (bfd_section *)0x0);\n    }" if (parenthesized_expression "(pbVar3 != (bfd_section *)0x0)" ( (binary_expression "pbVar3 != (bfd_section *)0x0" identifier != (cast_expression "(bfd_section *)0x0" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      do {\n        if ((((pbVar3->flags & 1) != 0) && (expld.dataseg.base <= pbVar3->vma)) &&\n           (pbVar3->vma < expld.dataseg.relro_end - expld.dataseg.relro_offset)) {\n          if ((pbVar3->flags & 0x402) != 0x400) {\n            local_20 = (byte)opb_shift;\n            local_28 = local_28 - (pbVar3->size >> (local_20 & 0x1f));\n          }\n          local_28 = local_28 & -(1 << ((byte)pbVar3->alignment_power & 0x1f));\n        }\n        pbVar3 = pbVar3->prev;\n      } while (pbVar3 != (bfd_section *)0x0);\n    }" { (do_statement "do {\n        if ((((pbVar3->flags & 1) != 0) && (expld.dataseg.base <= pbVar3->vma)) &&\n           (pbVar3->vma < expld.dataseg.relro_end - expld.dataseg.relro_offset)) {\n          if ((pbVar3->flags & 0x402) != 0x400) {\n            local_20 = (byte)opb_shift;\n            local_28 = local_28 - (pbVar3->size >> (local_20 & 0x1f));\n          }\n          local_28 = local_28 & -(1 << ((byte)pbVar3->alignment_power & 0x1f));\n        }\n        pbVar3 = pbVar3->prev;\n      } while (pbVar3 != (bfd_section *)0x0);" do (compound_statement "{\n        if ((((pbVar3->flags & 1) != 0) && (expld.dataseg.base <= pbVar3->vma)) &&\n           (pbVar3->vma < expld.dataseg.relro_end - expld.dataseg.relro_offset)) {\n          if ((pbVar3->flags & 0x402) != 0x400) {\n            local_20 = (byte)opb_shift;\n            local_28 = local_28 - (pbVar3->size >> (local_20 & 0x1f));\n          }\n          local_28 = local_28 & -(1 << ((byte)pbVar3->alignment_power & 0x1f));\n        }\n        pbVar3 = pbVar3->prev;\n      }" { (if_statement "if ((((pbVar3->flags & 1) != 0) && (expld.dataseg.base <= pbVar3->vma)) &&\n           (pbVar3->vma < expld.dataseg.relro_end - expld.dataseg.relro_offset)) {\n          if ((pbVar3->flags & 0x402) != 0x400) {\n            local_20 = (byte)opb_shift;\n            local_28 = local_28 - (pbVar3->size >> (local_20 & 0x1f));\n          }\n          local_28 = local_28 & -(1 << ((byte)pbVar3->alignment_power & 0x1f));\n        }" if (parenthesized_expression "((((pbVar3->flags & 1) != 0) && (expld.dataseg.base <= pbVar3->vma)) &&\n           (pbVar3->vma < expld.dataseg.relro_end - expld.dataseg.relro_offset))" ( (binary_expression "(((pbVar3->flags & 1) != 0) && (expld.dataseg.base <= pbVar3->vma)) &&\n           (pbVar3->vma < expld.dataseg.relro_end - expld.dataseg.relro_offset)" (parenthesized_expression "(((pbVar3->flags & 1) != 0) && (expld.dataseg.base <= pbVar3->vma))" ( (binary_expression "((pbVar3->flags & 1) != 0) && (expld.dataseg.base <= pbVar3->vma)" (parenthesized_expression "((pbVar3->flags & 1) != 0)" ( (binary_expression "(pbVar3->flags & 1) != 0" (parenthesized_expression "(pbVar3->flags & 1)" ( (binary_expression "pbVar3->flags & 1" (field_expression "pbVar3->flags" identifier -> field_identifier) & number_literal) )) != number_literal) )) && (parenthesized_expression "(expld.dataseg.base <= pbVar3->vma)" ( (binary_expression "expld.dataseg.base <= pbVar3->vma" (field_expression "expld.dataseg.base" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier) <= (field_expression "pbVar3->vma" identifier -> field_identifier)) ))) )) && (parenthesized_expression "(pbVar3->vma < expld.dataseg.relro_end - expld.dataseg.relro_offset)" ( (binary_expression "pbVar3->vma < expld.dataseg.relro_end - expld.dataseg.relro_offset" (field_expression "pbVar3->vma" identifier -> field_identifier) < (binary_expression "expld.dataseg.relro_end - expld.dataseg.relro_offset" (field_expression "expld.dataseg.relro_end" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier) - (field_expression "expld.dataseg.relro_offset" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier))) ))) )) (compound_statement "{\n          if ((pbVar3->flags & 0x402) != 0x400) {\n            local_20 = (byte)opb_shift;\n            local_28 = local_28 - (pbVar3->size >> (local_20 & 0x1f));\n          }\n          local_28 = local_28 & -(1 << ((byte)pbVar3->alignment_power & 0x1f));\n        }" { (if_statement "if ((pbVar3->flags & 0x402) != 0x400) {\n            local_20 = (byte)opb_shift;\n            local_28 = local_28 - (pbVar3->size >> (local_20 & 0x1f));\n          }" if (parenthesized_expression "((pbVar3->flags & 0x402) != 0x400)" ( (binary_expression "(pbVar3->flags & 0x402) != 0x400" (parenthesized_expression "(pbVar3->flags & 0x402)" ( (binary_expression "pbVar3->flags & 0x402" (field_expression "pbVar3->flags" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n            local_20 = (byte)opb_shift;\n            local_28 = local_28 - (pbVar3->size >> (local_20 & 0x1f));\n          }" { (expression_statement "local_20 = (byte)opb_shift;" (assignment_expression "local_20 = (byte)opb_shift" identifier = (cast_expression "(byte)opb_shift" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (expression_statement "local_28 = local_28 - (pbVar3->size >> (local_20 & 0x1f));" (assignment_expression "local_28 = local_28 - (pbVar3->size >> (local_20 & 0x1f))" identifier = (binary_expression "local_28 - (pbVar3->size >> (local_20 & 0x1f))" identifier - (parenthesized_expression "(pbVar3->size >> (local_20 & 0x1f))" ( (binary_expression "pbVar3->size >> (local_20 & 0x1f)" (field_expression "pbVar3->size" identifier -> field_identifier) >> (parenthesized_expression "(local_20 & 0x1f)" ( (binary_expression "local_20 & 0x1f" identifier & number_literal) ))) )))) ;) })) (expression_statement "local_28 = local_28 & -(1 << ((byte)pbVar3->alignment_power & 0x1f));" (assignment_expression "local_28 = local_28 & -(1 << ((byte)pbVar3->alignment_power & 0x1f))" identifier = (binary_expression "local_28 & -(1 << ((byte)pbVar3->alignment_power & 0x1f))" identifier & (unary_expression "-(1 << ((byte)pbVar3->alignment_power & 0x1f))" - (parenthesized_expression "(1 << ((byte)pbVar3->alignment_power & 0x1f))" ( (binary_expression "1 << ((byte)pbVar3->alignment_power & 0x1f)" number_literal << (parenthesized_expression "((byte)pbVar3->alignment_power & 0x1f)" ( (binary_expression "(byte)pbVar3->alignment_power & 0x1f" (cast_expression "(byte)pbVar3->alignment_power" ( (type_descriptor "byte" type_identifier) ) (field_expression "pbVar3->alignment_power" identifier -> field_identifier)) & number_literal) ))) ))))) ;) })) (expression_statement "pbVar3 = pbVar3->prev;" (assignment_expression "pbVar3 = pbVar3->prev" identifier = (field_expression "pbVar3->prev" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(pbVar3 != (bfd_section *)0x0)" ( (binary_expression "pbVar3 != (bfd_section *)0x0" identifier != (cast_expression "(bfd_section *)0x0" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "expld.dataseg.phase = exp_seg_relro_adjust;" (assignment_expression "expld.dataseg.phase = exp_seg_relro_adjust" (field_expression "expld.dataseg.phase" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier) = identifier) ;) (if_statement "if (local_28 < expld.dataseg.base) {\n      info_assert("../../ld/ldlang.c",0x1621);\n    }" if (parenthesized_expression "(local_28 < expld.dataseg.base)" ( (binary_expression "local_28 < expld.dataseg.base" identifier < (field_expression "expld.dataseg.base" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier)) )) (compound_statement "{\n      info_assert("../../ld/ldlang.c",0x1621);\n    }" { (expression_statement "info_assert("../../ld/ldlang.c",0x1621);" (call_expression "info_assert("../../ld/ldlang.c",0x1621)" identifier (argument_list "("../../ld/ldlang.c",0x1621)" ( (string_literal ""../../ld/ldlang.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "expld.dataseg.base = local_28;" (assignment_expression "expld.dataseg.base = local_28" (field_expression "expld.dataseg.base" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier) = identifier) ;) (expression_statement "lang_reset_memory_regions();" (call_expression "lang_reset_memory_regions()" identifier (argument_list "()" ( ))) ;) (expression_statement "one_lang_size_sections_pass(relax,check_regions);" (call_expression "one_lang_size_sections_pass(relax,check_regions)" identifier (argument_list "(relax,check_regions)" ( identifier , identifier ))) ;) (if_statement "if (expld.dataseg.relro_end <= uVar4) {\n      bVar2 = link_info._3_1_ & 0x10;\n      goto LAB_000261af;\n    }" if (parenthesized_expression "(expld.dataseg.relro_end <= uVar4)" ( (binary_expression "expld.dataseg.relro_end <= uVar4" (field_expression "expld.dataseg.relro_end" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier) <= identifier) )) (compound_statement "{\n      bVar2 = link_info._3_1_ & 0x10;\n      goto LAB_000261af;\n    }" { (expression_statement "bVar2 = link_info._3_1_ & 0x10;" (assignment_expression "bVar2 = link_info._3_1_ & 0x10" identifier = (binary_expression "link_info._3_1_ & 0x10" (field_expression "link_info._3_1_" identifier . field_identifier) & number_literal)) ;) (goto_statement "goto LAB_000261af;" goto statement_identifier ;) })) }))) (expression_statement "expld.dataseg.base = bVar1;" (assignment_expression "expld.dataseg.base = bVar1" (field_expression "expld.dataseg.base" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier) = identifier) ;) (expression_statement "lang_reset_memory_regions();" (call_expression "lang_reset_memory_regions()" identifier (argument_list "()" ( ))) ;) (expression_statement "one_lang_size_sections_pass(relax,check_regions);" (call_expression "one_lang_size_sections_pass(relax,check_regions)" identifier (argument_list "(relax,check_regions)" ( identifier , identifier ))) ;) (expression_statement "bVar2 = link_info._3_1_ & 0x10;" (assignment_expression "bVar2 = link_info._3_1_ & 0x10" identifier = (binary_expression "link_info._3_1_ & 0x10" (field_expression "link_info._3_1_" identifier . field_identifier) & number_literal)) ;) (labeled_statement "LAB_000261af:\n  if ((bVar2 != 0) && (expld.dataseg.relro_end != 0)) {\n    link_info.relro_start = expld.dataseg.base;\n    link_info.relro_end = expld.dataseg.relro_end;\n  }" statement_identifier : (if_statement "if ((bVar2 != 0) && (expld.dataseg.relro_end != 0)) {\n    link_info.relro_start = expld.dataseg.base;\n    link_info.relro_end = expld.dataseg.relro_end;\n  }" if (parenthesized_expression "((bVar2 != 0) && (expld.dataseg.relro_end != 0))" ( (binary_expression "(bVar2 != 0) && (expld.dataseg.relro_end != 0)" (parenthesized_expression "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(expld.dataseg.relro_end != 0)" ( (binary_expression "expld.dataseg.relro_end != 0" (field_expression "expld.dataseg.relro_end" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier) != number_literal) ))) )) (compound_statement "{\n    link_info.relro_start = expld.dataseg.base;\n    link_info.relro_end = expld.dataseg.relro_end;\n  }" { (expression_statement "link_info.relro_start = expld.dataseg.base;" (assignment_expression "link_info.relro_start = expld.dataseg.base" (field_expression "link_info.relro_start" identifier . field_identifier) = (field_expression "expld.dataseg.base" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier)) ;) (expression_statement "link_info.relro_end = expld.dataseg.relro_end;" (assignment_expression "link_info.relro_end = expld.dataseg.relro_end" (field_expression "link_info.relro_end" identifier . field_identifier) = (field_expression "expld.dataseg.relro_end" (field_expression "expld.dataseg" identifier . field_identifier) . field_identifier)) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000260d0(undefined4 param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  byte bVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  byte local_20;\n  \n  DAT_00094f80 = 2;\n  DAT_00094fb0 = 0;\n  FUN_00024890(param_1,param_2);\n  uVar1 = DAT_00094fb4;\n  if (DAT_00094fb0 != 3) {\n    DAT_00094fb0 = 6;\n    return;\n  }\n  puVar7 = &DAT_00094e00;\n  bVar2 = DAT_00094e03 & 0x10;\n  if (((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0)) {\n    uVar5 = -DAT_00094fb4;\n    uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;\n    uVar4 = DAT_00094fc4 - 1 & uVar5;\n    if ((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))) {\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }\n    DAT_00094fb0 = 5;\n  }\n  else {\n    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;\n    uVar5 = uVar6 - DAT_00094fb8;\n    iVar3 = *(int *)(DAT_00094e30 + 100);\n    if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }\n    DAT_00094fb0 = 4;\n    if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }\n    DAT_00094fb4 = uVar5;\n    FUN_00025f10();\n    FUN_00024890(param_1,param_2);\n    if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }\n  }\n  DAT_00094fb4 = uVar1;\n  FUN_00025f10(puVar7,uVar5,uVar6);\n  FUN_00024890(param_1,param_2);\n  bVar2 = puVar7[3] & 0x10;\nLAB_000261af:\n  uVar1 = DAT_00094fb4;\n  if ((bVar2 != 0) && (DAT_00094fbc != 0)) {\n    *(uint *)(puVar7 + 0x7c) = DAT_00094fbc;\n    *(uint *)(puVar7 + 0x78) = uVar1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_000260d0(undefined4 param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  byte bVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  byte local_20;\n  \n  DAT_00094f80 = 2;\n  DAT_00094fb0 = 0;\n  FUN_00024890(param_1,param_2);\n  uVar1 = DAT_00094fb4;\n  if (DAT_00094fb0 != 3) {\n    DAT_00094fb0 = 6;\n    return;\n  }\n  puVar7 = &DAT_00094e00;\n  bVar2 = DAT_00094e03 & 0x10;\n  if (((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0)) {\n    uVar5 = -DAT_00094fb4;\n    uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;\n    uVar4 = DAT_00094fc4 - 1 & uVar5;\n    if ((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))) {\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }\n    DAT_00094fb0 = 5;\n  }\n  else {\n    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;\n    uVar5 = uVar6 - DAT_00094fb8;\n    iVar3 = *(int *)(DAT_00094e30 + 100);\n    if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }\n    DAT_00094fb0 = 4;\n    if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }\n    DAT_00094fb4 = uVar5;\n    FUN_00025f10();\n    FUN_00024890(param_1,param_2);\n    if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }\n  }\n  DAT_00094fb4 = uVar1;\n  FUN_00025f10(puVar7,uVar5,uVar6);\n  FUN_00024890(param_1,param_2);\n  bVar2 = puVar7[3] & 0x10;\nLAB_000261af:\n  uVar1 = DAT_00094fb4;\n  if ((bVar2 != 0) && (DAT_00094fbc != 0)) {\n    *(uint *)(puVar7 + 0x7c) = DAT_00094fbc;\n    *(uint *)(puVar7 + 0x78) = uVar1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000260d0(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  byte bVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  byte local_20;\n  \n  DAT_00094f80 = 2;\n  DAT_00094fb0 = 0;\n  FUN_00024890(param_1,param_2);\n  uVar1 = DAT_00094fb4;\n  if (DAT_00094fb0 != 3) {\n    DAT_00094fb0 = 6;\n    return;\n  }\n  puVar7 = &DAT_00094e00;\n  bVar2 = DAT_00094e03 & 0x10;\n  if (((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0)) {\n    uVar5 = -DAT_00094fb4;\n    uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;\n    uVar4 = DAT_00094fc4 - 1 & uVar5;\n    if ((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))) {\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }\n    DAT_00094fb0 = 5;\n  }\n  else {\n    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;\n    uVar5 = uVar6 - DAT_00094fb8;\n    iVar3 = *(int *)(DAT_00094e30 + 100);\n    if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }\n    DAT_00094fb0 = 4;\n    if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }\n    DAT_00094fb4 = uVar5;\n    FUN_00025f10();\n    FUN_00024890(param_1,param_2);\n    if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }\n  }\n  DAT_00094fb4 = uVar1;\n  FUN_00025f10(puVar7,uVar5,uVar6);\n  FUN_00024890(param_1,param_2);\n  bVar2 = puVar7[3] & 0x10;\nLAB_000261af:\n  uVar1 = DAT_00094fb4;\n  if ((bVar2 != 0) && (DAT_00094fbc != 0)) {\n    *(uint *)(puVar7 + 0x7c) = DAT_00094fbc;\n    *(uint *)(puVar7 + 0x78) = uVar1;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "byte local_20;" type_identifier identifier ;) (expression_statement "DAT_00094f80 = 2;" (assignment_expression "DAT_00094f80 = 2" identifier = number_literal) ;) (expression_statement "DAT_00094fb0 = 0;" (assignment_expression "DAT_00094fb0 = 0" identifier = number_literal) ;) (expression_statement "FUN_00024890(param_1,param_2);" (call_expression "FUN_00024890(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "uVar1 = DAT_00094fb4;" (assignment_expression "uVar1 = DAT_00094fb4" identifier = identifier) ;) (if_statement "if (DAT_00094fb0 != 3) {\n    DAT_00094fb0 = 6;\n    return;\n  }" if (parenthesized_expression "(DAT_00094fb0 != 3)" ( (binary_expression "DAT_00094fb0 != 3" identifier != number_literal) )) (compound_statement "{\n    DAT_00094fb0 = 6;\n    return;\n  }" { (expression_statement "DAT_00094fb0 = 6;" (assignment_expression "DAT_00094fb0 = 6" identifier = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "puVar7 = &DAT_00094e00;" (assignment_expression "puVar7 = &DAT_00094e00" identifier = (pointer_expression "&DAT_00094e00" & identifier)) ;) (expression_statement "bVar2 = DAT_00094e03 & 0x10;" (assignment_expression "bVar2 = DAT_00094e03 & 0x10" identifier = (binary_expression "DAT_00094e03 & 0x10" identifier & number_literal)) ;) (if_statement "if (((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0)) {\n    uVar5 = -DAT_00094fb4;\n    uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;\n    uVar4 = DAT_00094fc4 - 1 & uVar5;\n    if ((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))) {\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }\n    DAT_00094fb0 = 5;\n  }\n  else {\n    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;\n    uVar5 = uVar6 - DAT_00094fb8;\n    iVar3 = *(int *)(DAT_00094e30 + 100);\n    if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }\n    DAT_00094fb0 = 4;\n    if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }\n    DAT_00094fb4 = uVar5;\n    FUN_00025f10();\n    FUN_00024890(param_1,param_2);\n    if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }\n  }" if (parenthesized_expression "(((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0))" ( (binary_expression "((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0)" (parenthesized_expression "((DAT_00094e03 & 0x10) == 0)" ( (binary_expression "(DAT_00094e03 & 0x10) == 0" (parenthesized_expression "(DAT_00094e03 & 0x10)" ( (binary_expression "DAT_00094e03 & 0x10" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(DAT_00094fbc == 0)" ( (binary_expression "DAT_00094fbc == 0" identifier == number_literal) ))) )) (compound_statement "{\n    uVar5 = -DAT_00094fb4;\n    uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;\n    uVar4 = DAT_00094fc4 - 1 & uVar5;\n    if ((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))) {\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }\n    DAT_00094fb0 = 5;\n  }" { (expression_statement "uVar5 = -DAT_00094fb4;" (assignment_expression "uVar5 = -DAT_00094fb4" identifier = (unary_expression "-DAT_00094fb4" - identifier)) ;) (expression_statement "uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;" (assignment_expression "uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0" identifier = (binary_expression "DAT_00094fc4 - 1 & DAT_00094fc0" (binary_expression "DAT_00094fc4 - 1" identifier - number_literal) & identifier)) ;) (expression_statement "uVar4 = DAT_00094fc4 - 1 & uVar5;" (assignment_expression "uVar4 = DAT_00094fc4 - 1 & uVar5" identifier = (binary_expression "DAT_00094fc4 - 1 & uVar5" (binary_expression "DAT_00094fc4 - 1" identifier - number_literal) & identifier)) ;) (if_statement "if ((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))) {\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }" if (parenthesized_expression "((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4))))" ( (binary_expression "(uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))" (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))" ( (parenthesized_expression "((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4))" ( (binary_expression "(uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)" (parenthesized_expression "(uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0))" ( (binary_expression "uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)" (binary_expression "uVar6 == 0" identifier == number_literal) || (parenthesized_expression "(((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)" ( (binary_expression "((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0" (parenthesized_expression "((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4)" ( (binary_expression "(DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4" (parenthesized_expression "(DAT_00094fc0 ^ DAT_00094fb4)" ( (binary_expression "DAT_00094fc0 ^ DAT_00094fb4" identifier ^ identifier) )) & (unary_expression "-DAT_00094fc4" - identifier)) )) == number_literal) ))) )) || (parenthesized_expression "(DAT_00094fc4 < uVar6 + uVar4)" ( (binary_expression "DAT_00094fc4 < uVar6 + uVar4" identifier < (binary_expression "uVar6 + uVar4" identifier + identifier)) ))) )) ))) )) (compound_statement "{\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }" { (expression_statement "DAT_00094fb0 = 6;" (assignment_expression "DAT_00094fb0 = 6" identifier = number_literal) ;) (goto_statement "goto LAB_000261af;" goto statement_identifier ;) })) (expression_statement "DAT_00094fb0 = 5;" (assignment_expression "DAT_00094fb0 = 5" identifier = number_literal) ;) }) (else_clause "else {\n    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;\n    uVar5 = uVar6 - DAT_00094fb8;\n    iVar3 = *(int *)(DAT_00094e30 + 100);\n    if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }\n    DAT_00094fb0 = 4;\n    if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }\n    DAT_00094fb4 = uVar5;\n    FUN_00025f10();\n    FUN_00024890(param_1,param_2);\n    if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }\n  }" else (compound_statement "{\n    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;\n    uVar5 = uVar6 - DAT_00094fb8;\n    iVar3 = *(int *)(DAT_00094e30 + 100);\n    if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }\n    DAT_00094fb0 = 4;\n    if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }\n    DAT_00094fb4 = uVar5;\n    FUN_00025f10();\n    FUN_00024890(param_1,param_2);\n    if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }\n  }" { (expression_statement "uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;" (assignment_expression "uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4" identifier = (binary_expression "(DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4" (binary_expression "(DAT_00094fc4 - 1) + DAT_00094fbc" (parenthesized_expression "(DAT_00094fc4 - 1)" ( (binary_expression "DAT_00094fc4 - 1" identifier - number_literal) )) + identifier) & (unary_expression "-DAT_00094fc4" - identifier))) ;) (expression_statement "uVar5 = uVar6 - DAT_00094fb8;" (assignment_expression "uVar5 = uVar6 - DAT_00094fb8" identifier = (binary_expression "uVar6 - DAT_00094fb8" identifier - identifier)) ;) (expression_statement "iVar3 = *(int *)(DAT_00094e30 + 100);" (assignment_expression "iVar3 = *(int *)(DAT_00094e30 + 100)" identifier = (pointer_expression "*(int *)(DAT_00094e30 + 100)" * (cast_expression "(int *)(DAT_00094e30 + 100)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00094e30 + 100)" ( (binary_expression "DAT_00094e30 + 100" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }" { (do_statement "do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);" do (compound_statement "{\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      }" { (if_statement "if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }" if (parenthesized_expression "((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8))" ( (binary_expression "(((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)" (parenthesized_expression "(((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c)))" ( (binary_expression "((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))" (parenthesized_expression "((*(uint *)(iVar3 + 0x14) & 1) != 0)" ( (binary_expression "(*(uint *)(iVar3 + 0x14) & 1) != 0" (parenthesized_expression "(*(uint *)(iVar3 + 0x14) & 1)" ( (binary_expression "*(uint *)(iVar3 + 0x14) & 1" (pointer_expression "*(uint *)(iVar3 + 0x14)" * (cast_expression "(uint *)(iVar3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))" ( (binary_expression "DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c)" identifier <= (pointer_expression "*(uint *)(iVar3 + 0x1c)" * (cast_expression "(uint *)(iVar3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) ))))) ))) )) && (parenthesized_expression "(*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)" ( (binary_expression "*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8" (pointer_expression "*(uint *)(iVar3 + 0x1c)" * (cast_expression "(uint *)(iVar3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1c)" ( (binary_expression "iVar3 + 0x1c" identifier + number_literal) )))) < (binary_expression "DAT_00094fbc - DAT_00094fb8" identifier - identifier)) ))) )) (compound_statement "{\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }" { (if_statement "if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }" if (parenthesized_expression "((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400)" ( (binary_expression "(*(uint *)(iVar3 + 0x14) & 0x402) != 0x400" (parenthesized_expression "(*(uint *)(iVar3 + 0x14) & 0x402)" ( (binary_expression "*(uint *)(iVar3 + 0x14) & 0x402" (pointer_expression "*(uint *)(iVar3 + 0x14)" * (cast_expression "(uint *)(iVar3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }" { (expression_statement "local_20 = (byte)DAT_0009494c;" (assignment_expression "local_20 = (byte)DAT_0009494c" identifier = (cast_expression "(byte)DAT_0009494c" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (expression_statement "uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));" (assignment_expression "uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f))" identifier = (binary_expression "uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f))" identifier - (parenthesized_expression "(*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f))" ( (binary_expression "*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f)" (pointer_expression "*(uint *)(iVar3 + 0x24)" * (cast_expression "(uint *)(iVar3 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x24)" ( (binary_expression "iVar3 + 0x24" identifier + number_literal) )))) >> (parenthesized_expression "(local_20 & 0x1f)" ( (binary_expression "local_20 & 0x1f" identifier & number_literal) ))) )))) ;) })) (expression_statement "uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));" (assignment_expression "uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f))" identifier = (binary_expression "uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f))" identifier & (unary_expression "-(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f))" - (parenthesized_expression "(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f))" ( (binary_expression "1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f)" number_literal << (parenthesized_expression "((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f)" ( (binary_expression "(byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f" (binary_expression "(byte)*(undefined4 *)(iVar3 + 0x40)" (parenthesized_expression "(byte)" ( identifier )) * (cast_expression "(undefined4 *)(iVar3 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x40)" ( (binary_expression "iVar3 + 0x40" identifier + number_literal) )))) & number_literal) ))) ))))) ;) })) (expression_statement "iVar3 = *(int *)(iVar3 + 0x10);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0x10)" identifier = (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) })) (expression_statement "DAT_00094fb0 = 4;" (assignment_expression "DAT_00094fb0 = 4" identifier = number_literal) ;) (if_statement "if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }" if (parenthesized_expression "(uVar5 < DAT_00094fb4)" ( (binary_expression "uVar5 < DAT_00094fb4" identifier < identifier) )) (compound_statement "{\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }" { (expression_statement "FUN_00031740("../../ld/ldlang.c",0x1621);" (call_expression "FUN_00031740("../../ld/ldlang.c",0x1621)" identifier (argument_list "("../../ld/ldlang.c",0x1621)" ( (string_literal ""../../ld/ldlang.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "DAT_00094fb4 = uVar5;" (assignment_expression "DAT_00094fb4 = uVar5" identifier = identifier) ;) (expression_statement "FUN_00025f10();" (call_expression "FUN_00025f10()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00024890(param_1,param_2);" (call_expression "FUN_00024890(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (if_statement "if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }" if (parenthesized_expression "(DAT_00094fbc <= uVar6)" ( (binary_expression "DAT_00094fbc <= uVar6" identifier <= identifier) )) (compound_statement "{\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }" { (expression_statement "bVar2 = puVar7[3] & 0x10;" (assignment_expression "bVar2 = puVar7[3] & 0x10" identifier = (binary_expression "puVar7[3] & 0x10" (subscript_expression "puVar7[3]" identifier [ number_literal ]) & number_literal)) ;) (goto_statement "goto LAB_000261af;" goto statement_identifier ;) })) }))) (expression_statement "DAT_00094fb4 = uVar1;" (assignment_expression "DAT_00094fb4 = uVar1" identifier = identifier) ;) (expression_statement "FUN_00025f10(puVar7,uVar5,uVar6);" (call_expression "FUN_00025f10(puVar7,uVar5,uVar6)" identifier (argument_list "(puVar7,uVar5,uVar6)" ( identifier , identifier , identifier ))) ;) (expression_statement "FUN_00024890(param_1,param_2);" (call_expression "FUN_00024890(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "bVar2 = puVar7[3] & 0x10;" (assignment_expression "bVar2 = puVar7[3] & 0x10" identifier = (binary_expression "puVar7[3] & 0x10" (subscript_expression "puVar7[3]" identifier [ number_literal ]) & number_literal)) ;) (labeled_statement "LAB_000261af:\n  uVar1 = DAT_00094fb4;" statement_identifier : (expression_statement "uVar1 = DAT_00094fb4;" (assignment_expression "uVar1 = DAT_00094fb4" identifier = identifier) ;)) (if_statement "if ((bVar2 != 0) && (DAT_00094fbc != 0)) {\n    *(uint *)(puVar7 + 0x7c) = DAT_00094fbc;\n    *(uint *)(puVar7 + 0x78) = uVar1;\n  }" if (parenthesized_expression "((bVar2 != 0) && (DAT_00094fbc != 0))" ( (binary_expression "(bVar2 != 0) && (DAT_00094fbc != 0)" (parenthesized_expression "(bVar2 != 0)" ( (binary_expression "bVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(DAT_00094fbc != 0)" ( (binary_expression "DAT_00094fbc != 0" identifier != number_literal) ))) )) (compound_statement "{\n    *(uint *)(puVar7 + 0x7c) = DAT_00094fbc;\n    *(uint *)(puVar7 + 0x78) = uVar1;\n  }" { (expression_statement "*(uint *)(puVar7 + 0x7c) = DAT_00094fbc;" (assignment_expression "*(uint *)(puVar7 + 0x7c) = DAT_00094fbc" (pointer_expression "*(uint *)(puVar7 + 0x7c)" * (cast_expression "(uint *)(puVar7 + 0x7c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x7c)" ( (binary_expression "puVar7 + 0x7c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(puVar7 + 0x78) = uVar1;" (assignment_expression "*(uint *)(puVar7 + 0x78) = uVar1" (pointer_expression "*(uint *)(puVar7 + 0x78)" * (cast_expression "(uint *)(puVar7 + 0x78)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x78)" ( (binary_expression "puVar7 + 0x78" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT - LIT) & IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT - LIT) & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT ^ IDENT) )) & (unary_expression - IDENT)) )) == LIT) ))) )) || (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT + IDENT)) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - LIT) )) + IDENT) & (unary_expression - IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (binary_expression IDENT - IDENT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) >> (parenthesized_expression ( (binary_expression IDENT & LIT) ))) )))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & (unary_expression - (parenthesized_expression ( (binary_expression LIT << (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) ))) ))))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) & LIT)) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) & LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000260d0(undefined4 param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  byte bVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  byte local_20;\n  \n  DAT_00094f80 = 2;\n  DAT_00094fb0 = 0;\n  FUN_00024890(param_1,param_2);\n  uVar1 = DAT_00094fb4;\n  if (DAT_00094fb0 != 3) {\n    DAT_00094fb0 = 6;\n    return;\n  }\n  puVar7 = &DAT_00094e00;\n  bVar2 = DAT_00094e03 & 0x10;\n  if (((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0)) {\n    uVar5 = -DAT_00094fb4;\n    uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;\n    uVar4 = DAT_00094fc4 - 1 & uVar5;\n    if ((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))) {\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }\n    DAT_00094fb0 = 5;\n  }\n  else {\n    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;\n    uVar5 = uVar6 - DAT_00094fb8;\n    iVar3 = *(int *)(DAT_00094e30 + 100);\n    if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }\n    DAT_00094fb0 = 4;\n    if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }\n    DAT_00094fb4 = uVar5;\n    FUN_00025f10();\n    FUN_00024890(param_1,param_2);\n    if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }\n  }\n  DAT_00094fb4 = uVar1;\n  FUN_00025f10(puVar7,uVar5,uVar6);\n  FUN_00024890(param_1,param_2);\n  bVar2 = puVar7[3] & 0x10;\nLAB_000261af:\n  uVar1 = DAT_00094fb4;\n  if ((bVar2 != 0) && (DAT_00094fbc != 0)) {\n    *(uint *)(puVar7 + 0x7c) = DAT_00094fbc;\n    *(uint *)(puVar7 + 0x78) = uVar1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000260d0(undefined4 param_1,undefined4 param_2)" (identifier "FUN_000260d0") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  byte bVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  undefined1 *puVar7;\n  byte local_20;\n  \n  DAT_00094f80 = 2;\n  DAT_00094fb0 = 0;\n  FUN_00024890(param_1,param_2);\n  uVar1 = DAT_00094fb4;\n  if (DAT_00094fb0 != 3) {\n    DAT_00094fb0 = 6;\n    return;\n  }\n  puVar7 = &DAT_00094e00;\n  bVar2 = DAT_00094e03 & 0x10;\n  if (((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0)) {\n    uVar5 = -DAT_00094fb4;\n    uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;\n    uVar4 = DAT_00094fc4 - 1 & uVar5;\n    if ((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))) {\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }\n    DAT_00094fb0 = 5;\n  }\n  else {\n    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;\n    uVar5 = uVar6 - DAT_00094fb8;\n    iVar3 = *(int *)(DAT_00094e30 + 100);\n    if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }\n    DAT_00094fb0 = 4;\n    if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }\n    DAT_00094fb4 = uVar5;\n    FUN_00025f10();\n    FUN_00024890(param_1,param_2);\n    if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }\n  }\n  DAT_00094fb4 = uVar1;\n  FUN_00025f10(puVar7,uVar5,uVar6);\n  FUN_00024890(param_1,param_2);\n  bVar2 = puVar7[3] & 0x10;\nLAB_000261af:\n  uVar1 = DAT_00094fb4;\n  if ((bVar2 != 0) && (DAT_00094fbc != 0)) {\n    *(uint *)(puVar7 + 0x7c) = DAT_00094fbc;\n    *(uint *)(puVar7 + 0x78) = uVar1;\n  }\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "byte local_20;" (type_identifier "byte") (identifier "local_20") (; ";")) (expression_statement "DAT_00094f80 = 2;" (assignment_expression "DAT_00094f80 = 2" (identifier "DAT_00094f80") (= "=") (number_literal "2")) (; ";")) (expression_statement "DAT_00094fb0 = 0;" (assignment_expression "DAT_00094fb0 = 0" (identifier "DAT_00094fb0") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00024890(param_1,param_2);" (call_expression "FUN_00024890(param_1,param_2)" (identifier "FUN_00024890") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "uVar1 = DAT_00094fb4;" (assignment_expression "uVar1 = DAT_00094fb4" (identifier "uVar1") (= "=") (identifier "DAT_00094fb4")) (; ";")) (if_statement "if (DAT_00094fb0 != 3) {\n    DAT_00094fb0 = 6;\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_00094fb0 != 3)" (( "(") (binary_expression "DAT_00094fb0 != 3" (identifier "DAT_00094fb0") (!= "!=") (number_literal "3")) () ")")) (compound_statement "{\n    DAT_00094fb0 = 6;\n    return;\n  }" ({ "{") (expression_statement "DAT_00094fb0 = 6;" (assignment_expression "DAT_00094fb0 = 6" (identifier "DAT_00094fb0") (= "=") (number_literal "6")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar7 = &DAT_00094e00;" (assignment_expression "puVar7 = &DAT_00094e00" (identifier "puVar7") (= "=") (pointer_expression "&DAT_00094e00" (& "&") (identifier "DAT_00094e00"))) (; ";")) (expression_statement "bVar2 = DAT_00094e03 & 0x10;" (assignment_expression "bVar2 = DAT_00094e03 & 0x10" (identifier "bVar2") (= "=") (binary_expression "DAT_00094e03 & 0x10" (identifier "DAT_00094e03") (& "&") (number_literal "0x10"))) (; ";")) (if_statement "if (((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0)) {\n    uVar5 = -DAT_00094fb4;\n    uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;\n    uVar4 = DAT_00094fc4 - 1 & uVar5;\n    if ((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))) {\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }\n    DAT_00094fb0 = 5;\n  }\n  else {\n    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;\n    uVar5 = uVar6 - DAT_00094fb8;\n    iVar3 = *(int *)(DAT_00094e30 + 100);\n    if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }\n    DAT_00094fb0 = 4;\n    if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }\n    DAT_00094fb4 = uVar5;\n    FUN_00025f10();\n    FUN_00024890(param_1,param_2);\n    if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }\n  }" (if "if") (parenthesized_expression "(((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0))" (( "(") (binary_expression "((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0)" (parenthesized_expression "((DAT_00094e03 & 0x10) == 0)" (( "(") (binary_expression "(DAT_00094e03 & 0x10) == 0" (parenthesized_expression "(DAT_00094e03 & 0x10)" (( "(") (binary_expression "DAT_00094e03 & 0x10" (identifier "DAT_00094e03") (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(DAT_00094fbc == 0)" (( "(") (binary_expression "DAT_00094fbc == 0" (identifier "DAT_00094fbc") (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    uVar5 = -DAT_00094fb4;\n    uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;\n    uVar4 = DAT_00094fc4 - 1 & uVar5;\n    if ((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))) {\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }\n    DAT_00094fb0 = 5;\n  }" ({ "{") (expression_statement "uVar5 = -DAT_00094fb4;" (assignment_expression "uVar5 = -DAT_00094fb4" (identifier "uVar5") (= "=") (unary_expression "-DAT_00094fb4" (- "-") (identifier "DAT_00094fb4"))) (; ";")) (expression_statement "uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;" (assignment_expression "uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0" (identifier "uVar6") (= "=") (binary_expression "DAT_00094fc4 - 1 & DAT_00094fc0" (binary_expression "DAT_00094fc4 - 1" (identifier "DAT_00094fc4") (- "-") (number_literal "1")) (& "&") (identifier "DAT_00094fc0"))) (; ";")) (expression_statement "uVar4 = DAT_00094fc4 - 1 & uVar5;" (assignment_expression "uVar4 = DAT_00094fc4 - 1 & uVar5" (identifier "uVar4") (= "=") (binary_expression "DAT_00094fc4 - 1 & uVar5" (binary_expression "DAT_00094fc4 - 1" (identifier "DAT_00094fc4") (- "-") (number_literal "1")) (& "&") (identifier "uVar5"))) (; ";")) (if_statement "if ((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))) {\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }" (if "if") (parenthesized_expression "((uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4))))" (( "(") (binary_expression "(uVar4 == 0) ||\n       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))" (parenthesized_expression "(uVar4 == 0)" (( "(") (binary_expression "uVar4 == 0" (identifier "uVar4") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)))" (( "(") (parenthesized_expression "((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4))" (( "(") (binary_expression "(uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||\n        (DAT_00094fc4 < uVar6 + uVar4)" (parenthesized_expression "(uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0))" (( "(") (binary_expression "uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)" (binary_expression "uVar6 == 0" (identifier "uVar6") (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)" (( "(") (binary_expression "((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0" (parenthesized_expression "((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4)" (( "(") (binary_expression "(DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4" (parenthesized_expression "(DAT_00094fc0 ^ DAT_00094fb4)" (( "(") (binary_expression "DAT_00094fc0 ^ DAT_00094fb4" (identifier "DAT_00094fc0") (^ "^") (identifier "DAT_00094fb4")) () ")")) (& "&") (unary_expression "-DAT_00094fc4" (- "-") (identifier "DAT_00094fc4"))) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(DAT_00094fc4 < uVar6 + uVar4)" (( "(") (binary_expression "DAT_00094fc4 < uVar6 + uVar4" (identifier "DAT_00094fc4") (< "<") (binary_expression "uVar6 + uVar4" (identifier "uVar6") (+ "+") (identifier "uVar4"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      DAT_00094fb0 = 6;\n      goto LAB_000261af;\n    }" ({ "{") (expression_statement "DAT_00094fb0 = 6;" (assignment_expression "DAT_00094fb0 = 6" (identifier "DAT_00094fb0") (= "=") (number_literal "6")) (; ";")) (goto_statement "goto LAB_000261af;" (goto "goto") (statement_identifier "LAB_000261af") (; ";")) (} "}"))) (expression_statement "DAT_00094fb0 = 5;" (assignment_expression "DAT_00094fb0 = 5" (identifier "DAT_00094fb0") (= "=") (number_literal "5")) (; ";")) (} "}")) (else_clause "else {\n    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;\n    uVar5 = uVar6 - DAT_00094fb8;\n    iVar3 = *(int *)(DAT_00094e30 + 100);\n    if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }\n    DAT_00094fb0 = 4;\n    if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }\n    DAT_00094fb4 = uVar5;\n    FUN_00025f10();\n    FUN_00024890(param_1,param_2);\n    if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }\n  }" (else "else") (compound_statement "{\n    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;\n    uVar5 = uVar6 - DAT_00094fb8;\n    iVar3 = *(int *)(DAT_00094e30 + 100);\n    if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }\n    DAT_00094fb0 = 4;\n    if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }\n    DAT_00094fb4 = uVar5;\n    FUN_00025f10();\n    FUN_00024890(param_1,param_2);\n    if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }\n  }" ({ "{") (expression_statement "uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;" (assignment_expression "uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4" (identifier "uVar6") (= "=") (binary_expression "(DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4" (binary_expression "(DAT_00094fc4 - 1) + DAT_00094fbc" (parenthesized_expression "(DAT_00094fc4 - 1)" (( "(") (binary_expression "DAT_00094fc4 - 1" (identifier "DAT_00094fc4") (- "-") (number_literal "1")) () ")")) (+ "+") (identifier "DAT_00094fbc")) (& "&") (unary_expression "-DAT_00094fc4" (- "-") (identifier "DAT_00094fc4")))) (; ";")) (expression_statement "uVar5 = uVar6 - DAT_00094fb8;" (assignment_expression "uVar5 = uVar6 - DAT_00094fb8" (identifier "uVar5") (= "=") (binary_expression "uVar6 - DAT_00094fb8" (identifier "uVar6") (- "-") (identifier "DAT_00094fb8"))) (; ";")) (expression_statement "iVar3 = *(int *)(DAT_00094e30 + 100);" (assignment_expression "iVar3 = *(int *)(DAT_00094e30 + 100)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(DAT_00094e30 + 100)" (* "*") (cast_expression "(int *)(DAT_00094e30 + 100)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00094e30 + 100)" (( "(") (binary_expression "DAT_00094e30 + 100" (identifier "DAT_00094e30") (+ "+") (number_literal "100")) () ")"))))) (; ";")) (if_statement "if (iVar3 != 0) {\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);\n    }" ({ "{") (do_statement "do {\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      } while (iVar3 != 0);" (do "do") (compound_statement "{\n        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }\n        iVar3 = *(int *)(iVar3 + 0x10);\n      }" ({ "{") (if_statement "if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }" (if "if") (parenthesized_expression "((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8))" (( "(") (binary_expression "(((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&\n           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)" (parenthesized_expression "(((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c)))" (( "(") (binary_expression "((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))" (parenthesized_expression "((*(uint *)(iVar3 + 0x14) & 1) != 0)" (( "(") (binary_expression "(*(uint *)(iVar3 + 0x14) & 1) != 0" (parenthesized_expression "(*(uint *)(iVar3 + 0x14) & 1)" (( "(") (binary_expression "*(uint *)(iVar3 + 0x14) & 1" (pointer_expression "*(uint *)(iVar3 + 0x14)" (* "*") (cast_expression "(uint *)(iVar3 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x14)" (( "(") (binary_expression "iVar3 + 0x14" (identifier "iVar3") (+ "+") (number_literal "0x14")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))" (( "(") (binary_expression "DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c)" (identifier "DAT_00094fb4") (<= "<=") (pointer_expression "*(uint *)(iVar3 + 0x1c)" (* "*") (cast_expression "(uint *)(iVar3 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1c)" (( "(") (binary_expression "iVar3 + 0x1c" (identifier "iVar3") (+ "+") (number_literal "0x1c")) () ")"))))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)" (( "(") (binary_expression "*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8" (pointer_expression "*(uint *)(iVar3 + 0x1c)" (* "*") (cast_expression "(uint *)(iVar3 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1c)" (( "(") (binary_expression "iVar3 + 0x1c" (identifier "iVar3") (+ "+") (number_literal "0x1c")) () ")")))) (< "<") (binary_expression "DAT_00094fbc - DAT_00094fb8" (identifier "DAT_00094fbc") (- "-") (identifier "DAT_00094fb8"))) () ")"))) () ")")) (compound_statement "{\n          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }\n          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));\n        }" ({ "{") (if_statement "if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }" (if "if") (parenthesized_expression "((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400)" (( "(") (binary_expression "(*(uint *)(iVar3 + 0x14) & 0x402) != 0x400" (parenthesized_expression "(*(uint *)(iVar3 + 0x14) & 0x402)" (( "(") (binary_expression "*(uint *)(iVar3 + 0x14) & 0x402" (pointer_expression "*(uint *)(iVar3 + 0x14)" (* "*") (cast_expression "(uint *)(iVar3 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x14)" (( "(") (binary_expression "iVar3 + 0x14" (identifier "iVar3") (+ "+") (number_literal "0x14")) () ")")))) (& "&") (number_literal "0x402")) () ")")) (!= "!=") (number_literal "0x400")) () ")")) (compound_statement "{\n            local_20 = (byte)DAT_0009494c;\n            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));\n          }" ({ "{") (expression_statement "local_20 = (byte)DAT_0009494c;" (assignment_expression "local_20 = (byte)DAT_0009494c" (identifier "local_20") (= "=") (cast_expression "(byte)DAT_0009494c" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "DAT_0009494c"))) (; ";")) (expression_statement "uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));" (assignment_expression "uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f))" (identifier "uVar5") (= "=") (binary_expression "uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f))" (identifier "uVar5") (- "-") (parenthesized_expression "(*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f))" (( "(") (binary_expression "*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f)" (pointer_expression "*(uint *)(iVar3 + 0x24)" (* "*") (cast_expression "(uint *)(iVar3 + 0x24)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x24)" (( "(") (binary_expression "iVar3 + 0x24" (identifier "iVar3") (+ "+") (number_literal "0x24")) () ")")))) (>> ">>") (parenthesized_expression "(local_20 & 0x1f)" (( "(") (binary_expression "local_20 & 0x1f" (identifier "local_20") (& "&") (number_literal "0x1f")) () ")"))) () ")")))) (; ";")) (} "}"))) (expression_statement "uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));" (assignment_expression "uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f))" (identifier "uVar5") (= "=") (binary_expression "uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f))" (identifier "uVar5") (& "&") (unary_expression "-(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f))" (- "-") (parenthesized_expression "(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f))" (( "(") (binary_expression "1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f)" (( "(") (binary_expression "(byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f" (binary_expression "(byte)*(undefined4 *)(iVar3 + 0x40)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x40)" (( "(") (binary_expression "iVar3 + 0x40" (identifier "iVar3") (+ "+") (number_literal "0x40")) () ")")))) (& "&") (number_literal "0x1f")) () ")"))) () ")"))))) (; ";")) (} "}"))) (expression_statement "iVar3 = *(int *)(iVar3 + 0x10);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0x10)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar3 + 0x10)" (* "*") (cast_expression "(int *)(iVar3 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (expression_statement "DAT_00094fb0 = 4;" (assignment_expression "DAT_00094fb0 = 4" (identifier "DAT_00094fb0") (= "=") (number_literal "4")) (; ";")) (if_statement "if (uVar5 < DAT_00094fb4) {\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }" (if "if") (parenthesized_expression "(uVar5 < DAT_00094fb4)" (( "(") (binary_expression "uVar5 < DAT_00094fb4" (identifier "uVar5") (< "<") (identifier "DAT_00094fb4")) () ")")) (compound_statement "{\n      FUN_00031740("../../ld/ldlang.c",0x1621);\n    }" ({ "{") (expression_statement "FUN_00031740("../../ld/ldlang.c",0x1621);" (call_expression "FUN_00031740("../../ld/ldlang.c",0x1621)" (identifier "FUN_00031740") (argument_list "("../../ld/ldlang.c",0x1621)" (( "(") (string_literal ""../../ld/ldlang.c"" (" """) (string_content "../../ld/ldlang.c") (" """)) (, ",") (number_literal "0x1621") () ")"))) (; ";")) (} "}"))) (expression_statement "DAT_00094fb4 = uVar5;" (assignment_expression "DAT_00094fb4 = uVar5" (identifier "DAT_00094fb4") (= "=") (identifier "uVar5")) (; ";")) (expression_statement "FUN_00025f10();" (call_expression "FUN_00025f10()" (identifier "FUN_00025f10") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00024890(param_1,param_2);" (call_expression "FUN_00024890(param_1,param_2)" (identifier "FUN_00024890") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (if_statement "if (DAT_00094fbc <= uVar6) {\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }" (if "if") (parenthesized_expression "(DAT_00094fbc <= uVar6)" (( "(") (binary_expression "DAT_00094fbc <= uVar6" (identifier "DAT_00094fbc") (<= "<=") (identifier "uVar6")) () ")")) (compound_statement "{\n      bVar2 = puVar7[3] & 0x10;\n      goto LAB_000261af;\n    }" ({ "{") (expression_statement "bVar2 = puVar7[3] & 0x10;" (assignment_expression "bVar2 = puVar7[3] & 0x10" (identifier "bVar2") (= "=") (binary_expression "puVar7[3] & 0x10" (subscript_expression "puVar7[3]" (identifier "puVar7") ([ "[") (number_literal "3") (] "]")) (& "&") (number_literal "0x10"))) (; ";")) (goto_statement "goto LAB_000261af;" (goto "goto") (statement_identifier "LAB_000261af") (; ";")) (} "}"))) (} "}")))) (expression_statement "DAT_00094fb4 = uVar1;" (assignment_expression "DAT_00094fb4 = uVar1" (identifier "DAT_00094fb4") (= "=") (identifier "uVar1")) (; ";")) (expression_statement "FUN_00025f10(puVar7,uVar5,uVar6);" (call_expression "FUN_00025f10(puVar7,uVar5,uVar6)" (identifier "FUN_00025f10") (argument_list "(puVar7,uVar5,uVar6)" (( "(") (identifier "puVar7") (, ",") (identifier "uVar5") (, ",") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "FUN_00024890(param_1,param_2);" (call_expression "FUN_00024890(param_1,param_2)" (identifier "FUN_00024890") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "bVar2 = puVar7[3] & 0x10;" (assignment_expression "bVar2 = puVar7[3] & 0x10" (identifier "bVar2") (= "=") (binary_expression "puVar7[3] & 0x10" (subscript_expression "puVar7[3]" (identifier "puVar7") ([ "[") (number_literal "3") (] "]")) (& "&") (number_literal "0x10"))) (; ";")) (labeled_statement "LAB_000261af:\n  uVar1 = DAT_00094fb4;" (statement_identifier "LAB_000261af") (: ":") (expression_statement "uVar1 = DAT_00094fb4;" (assignment_expression "uVar1 = DAT_00094fb4" (identifier "uVar1") (= "=") (identifier "DAT_00094fb4")) (; ";"))) (if_statement "if ((bVar2 != 0) && (DAT_00094fbc != 0)) {\n    *(uint *)(puVar7 + 0x7c) = DAT_00094fbc;\n    *(uint *)(puVar7 + 0x78) = uVar1;\n  }" (if "if") (parenthesized_expression "((bVar2 != 0) && (DAT_00094fbc != 0))" (( "(") (binary_expression "(bVar2 != 0) && (DAT_00094fbc != 0)" (parenthesized_expression "(bVar2 != 0)" (( "(") (binary_expression "bVar2 != 0" (identifier "bVar2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(DAT_00094fbc != 0)" (( "(") (binary_expression "DAT_00094fbc != 0" (identifier "DAT_00094fbc") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    *(uint *)(puVar7 + 0x7c) = DAT_00094fbc;\n    *(uint *)(puVar7 + 0x78) = uVar1;\n  }" ({ "{") (expression_statement "*(uint *)(puVar7 + 0x7c) = DAT_00094fbc;" (assignment_expression "*(uint *)(puVar7 + 0x7c) = DAT_00094fbc" (pointer_expression "*(uint *)(puVar7 + 0x7c)" (* "*") (cast_expression "(uint *)(puVar7 + 0x7c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0x7c)" (( "(") (binary_expression "puVar7 + 0x7c" (identifier "puVar7") (+ "+") (number_literal "0x7c")) () ")")))) (= "=") (identifier "DAT_00094fbc")) (; ";")) (expression_statement "*(uint *)(puVar7 + 0x78) = uVar1;" (assignment_expression "*(uint *)(puVar7 + 0x78) = uVar1" (pointer_expression "*(uint *)(puVar7 + 0x78)" (* "*") (cast_expression "(uint *)(puVar7 + 0x78)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0x78)" (( "(") (binary_expression "puVar7 + 0x78" (identifier "puVar7") (+ "+") (number_literal "0x78")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(type_1 *relax,type_1 check_regions)

{
  type_2 bVar1;
  type_3 var_10;
  type_4 *var_5;
  type_5 var_3;
  type_5 var_4;
  type_5 var_6;
  type_3 var_7;
  
  expld.phase = lang_allocating_phase_enum;
  expld.dataseg.phase = exp_seg_none;
  var_1(relax,check_regions);
  bVar1 = expld.dataseg.base;
  if (expld.dataseg.phase != var_2) {
    expld.dataseg.phase = exp_seg_done;
    return;
  }
  var_10 = link_info._3_1_ & 0x10;
  if (((link_info._3_1_ & 0x10) == 0) || (expld.dataseg.relro_end == 0)) {
    var_4 = expld.dataseg.pagesize - 1 & expld.dataseg.end;
    var_3 = expld.dataseg.pagesize - 1 & -expld.dataseg.base;
    if ((var_3 == 0) ||
       (((var_4 == 0 || (((expld.dataseg.end ^ expld.dataseg.base) & -expld.dataseg.pagesize) == 0))
        || (expld.dataseg.pagesize < var_4 + var_3)))) {
      expld.dataseg.phase = exp_seg_done;
      goto LAB_000261af;
    }
    expld.dataseg.phase = exp_seg_adjust;
  }
  else {
    var_3 = (expld.dataseg.pagesize - 1) + expld.dataseg.relro_end & -expld.dataseg.pagesize;
    var_6 = var_3 - expld.dataseg.relro_offset;
    var_5 = (link_info.output_bfd)->section_last;
    if (var_5 != (type_4 *)0x0) {
      do {
        if ((((var_5->flags & 1) != 0) && (expld.dataseg.base <= var_5->vma)) &&
           (var_5->vma < expld.dataseg.relro_end - expld.dataseg.relro_offset)) {
          if ((var_5->flags & 0x402) != 0x400) {
            var_7 = (type_3)opb_shift;
            var_6 = var_6 - (var_5->size >> (var_7 & 0x1f));
          }
          var_6 = var_6 & -(1 << ((type_3)var_5->alignment_power & 0x1f));
        }
        var_5 = var_5->prev;
      } while (var_5 != (type_4 *)0x0);
    }
    expld.dataseg.phase = exp_seg_relro_adjust;
    if (var_6 < expld.dataseg.base) {
      var_8("../../ld/ldlang.c",0x1621);
    }
    expld.dataseg.base = var_6;
    var_9();
    var_1(relax,check_regions);
    if (expld.dataseg.relro_end <= var_3) {
      var_10 = link_info._3_1_ & 0x10;
      goto LAB_000261af;
    }
  }
  expld.dataseg.base = bVar1;
  var_9();
  var_1(relax,check_regions);
  var_10 = link_info._3_1_ & 0x10;
LAB_000261af:
  if ((var_10 != 0) && (expld.dataseg.relro_end != 0)) {
    link_info.relro_start = expld.dataseg.base;
    link_info.relro_end = expld.dataseg.relro_end;
  }
  return;
}


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

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

void MASKED(undefined4 param_1,undefined4 param_2)

{
  uint uVar1;
  byte bVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  undefined1 *puVar7;
  byte local_20;
  
  DAT_00094f80 = 2;
  DAT_00094fb0 = 0;
  FUN_00024890(param_1,param_2);
  uVar1 = DAT_00094fb4;
  if (DAT_00094fb0 != 3) {
    DAT_00094fb0 = 6;
    return;
  }
  puVar7 = &DAT_00094e00;
  bVar2 = DAT_00094e03 & 0x10;
  if (((DAT_00094e03 & 0x10) == 0) || (DAT_00094fbc == 0)) {
    uVar5 = -DAT_00094fb4;
    uVar6 = DAT_00094fc4 - 1 & DAT_00094fc0;
    uVar4 = DAT_00094fc4 - 1 & uVar5;
    if ((uVar4 == 0) ||
       (((uVar6 == 0 || (((DAT_00094fc0 ^ DAT_00094fb4) & -DAT_00094fc4) == 0)) ||
        (DAT_00094fc4 < uVar6 + uVar4)))) {
      DAT_00094fb0 = 6;
      goto LAB_000261af;
    }
    DAT_00094fb0 = 5;
  }
  else {
    uVar6 = (DAT_00094fc4 - 1) + DAT_00094fbc & -DAT_00094fc4;
    uVar5 = uVar6 - DAT_00094fb8;
    iVar3 = *(int *)(DAT_00094e30 + 100);
    if (iVar3 != 0) {
      do {
        if ((((*(uint *)(iVar3 + 0x14) & 1) != 0) && (DAT_00094fb4 <= *(uint *)(iVar3 + 0x1c))) &&
           (*(uint *)(iVar3 + 0x1c) < DAT_00094fbc - DAT_00094fb8)) {
          if ((*(uint *)(iVar3 + 0x14) & 0x402) != 0x400) {
            local_20 = (byte)DAT_0009494c;
            uVar5 = uVar5 - (*(uint *)(iVar3 + 0x24) >> (local_20 & 0x1f));
          }
          uVar5 = uVar5 & -(1 << ((byte)*(undefined4 *)(iVar3 + 0x40) & 0x1f));
        }
        iVar3 = *(int *)(iVar3 + 0x10);
      } while (iVar3 != 0);
    }
    DAT_00094fb0 = 4;
    if (uVar5 < DAT_00094fb4) {
      FUN_00031740("../../ld/ldlang.c",0x1621);
    }
    DAT_00094fb4 = uVar5;
    FUN_00025f10();
    FUN_00024890(param_1,param_2);
    if (DAT_00094fbc <= uVar6) {
      bVar2 = puVar7[3] & 0x10;
      goto LAB_000261af;
    }
  }
  DAT_00094fb4 = uVar1;
  FUN_00025f10(puVar7,uVar5,uVar6);
  FUN_00024890(param_1,param_2);
  bVar2 = puVar7[3] & 0x10;
LAB_000261af:
  uVar1 = DAT_00094fb4;
  if ((bVar2 != 0) && (DAT_00094fbc != 0)) {
    *(uint *)(puVar7 + 0x7c) = DAT_00094fbc;
    *(uint *)(puVar7 + 0x78) = uVar1;
  }
  return;
}

