
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

int savewd_restore(savewd *wd,int status)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 *puVar3;
  int iVar4;
  int *piVar5;
  uint *puVar6;
  undefined4 *puVar7;
  code *pcVar8;
  int iVar9;
  undefined4 *unaff_s0;
  int *piVar10;
  int status_00;
  code *pcVar11;
  code *pcVar12;
  int iVar13;
  undefined4 uVar14;
  undefined1 auStack_168 [164];
  int iStack_c4;
  undefined4 *puStack_bc;
  savewd *psStack_b8;
  undefined4 uStack_b4;
  code *pcStack_a0;
  undefined4 *puStack_98;
  int *piStack_94;
  savewd sStack_8c;
  int iStack_84;
  int child_status;
  
  if ((uint)wd->state < 5) {
                    /* WARNING: Could not emulate address calculation at 0x000261b8 */
                    /* WARNING: Treating indirect jump as call */
    iVar2 = (*(code *)(&_gp + *(int *)(PTR_LAB_00046148 + wd->state * 4 + 0x4790)))();
    return iVar2;
  }
  puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700);
  (*(code *)PTR___assert_fail_00046468)
            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8);
  pcVar12 = (code *)PTR___stack_chk_fail_00046664;
  (*(code *)PTR___stack_chk_fail_00046664)();
  (*pcVar12)();
  if (*puVar6 < 5) {
                    /* WARNING: Could not recover jumptable at 0x000263a0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar2 = (*(pcVar12 + *(int *)(*(int *)(pcVar12 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();
    return iVar2;
  }
  pcVar8 = (code *)0xfb;
  pcVar11 = *(code **)(pcVar12 + 0x20108);
  iVar9 = *(int *)(pcVar12 + 0x1fde8) + 0x47b8;
  puVar7 = (undefined4 *)(*(int *)(pcVar12 + 0x1fde8) + 0x4700);
  iVar2 = *(int *)(pcVar12 + 0x1fde8) + 0x4750;
  (*pcVar11)();
  pcStack_a0 = pcVar11 + 0x27cf0;
  piStack_94 = *(int **)(pcVar11 + 0x20280);
  iVar13 = iVar2 + -1;
  sStack_8c.state = DT_UNKNOWN;
  iStack_84 = *piStack_94;
  puStack_98 = puVar7;
  if (-1 < iVar13) {
    if (*(char *)puVar7[iVar13] == '/') {
      puVar3 = puVar7 + iVar2;
      do {
        iVar13 = iVar13 + -1;
        if (iVar13 == -1) goto LAB_000264d4;
        puVar1 = puVar3 + -2;
        puVar3 = puVar3 + -1;
      } while (*(char *)*puVar1 == '/');
    }
    if (0 < iVar13) {
      status_00 = 0;
      unaff_s0 = puVar7 + iVar13;
      do {
        if (sStack_8c.state == FADVISE_WILLNEED) {
          if (sStack_8c.val.fd < 1) {
            uVar14 = *puVar7;
            goto LAB_000265b0;
          }
        }
        else {
          uVar14 = *puVar7;
LAB_000265b0:
          iVar4 = (*pcVar8)(uVar14,&sStack_8c,iVar9);
          if (status_00 < iVar4) {
            status_00 = iVar4;
          }
        }
        if ((*(char *)puVar7[1] != '/') &&
           (iVar4 = savewd_restore(&sStack_8c,status_00), status_00 < iVar4)) {
          status_00 = iVar4;
        }
        puVar7 = puVar7 + 1;
      } while (puVar7 != unaff_s0);
      goto LAB_000264e0;
    }
  }
LAB_000264d4:
  status_00 = 0;
  iVar13 = 0;
LAB_000264e0:
  savewd_finish(&sStack_8c);
  if (iVar13 < iVar2) {
    unaff_s0 = puStack_98 + iVar13;
    puVar7 = puStack_98 + iVar2;
    do {
      iVar2 = (*pcVar8)(*unaff_s0,&sStack_8c,iVar9);
      unaff_s0 = unaff_s0 + 1;
      if (status_00 < iVar2) {
        status_00 = iVar2;
      }
    } while (puVar7 != unaff_s0);
  }
  if (iStack_84 == *piStack_94) {
    return status_00;
  }
  pcVar12 = *(code **)(pcStack_a0 + -0x7aac);
  uVar14 = 0x26624;
  iVar2 = iStack_84;
  (*pcVar12)();
  piVar10 = *(int **)(pcVar12 + 0x20070);
  iStack_c4 = *piVar10;
  puStack_bc = unaff_s0;
  psStack_b8 = &sStack_8c;
  uStack_b4 = uVar14;
  iVar2 = (**(code **)(pcVar12 + 0x1fe5c))(3,iVar2,auStack_168);
  piVar5 = (int *)(**(code **)(pcVar12 + 0x1ff3c))();
  if ((iVar2 == 0) || (*piVar5 == 0x4f)) {
    iVar2 = -1;
    *piVar5 = 0x11;
  }
  else {
    iVar2 = -(uint)(*piVar5 != 2);
  }
  if (iStack_c4 == *piVar10) {
    return iVar2;
  }
  pcVar12 = *(code **)(pcVar12 + 0x20034);
  (*pcVar12)();
                    /* WARNING: Could not recover jumptable at 0x000266f4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  iVar2 = (**(code **)(pcVar12 + 0x1fe8c))();
  return iVar2;
}



int savewd_restore(uint *param_1)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 *puVar3;
  int iVar4;
  int *piVar5;
  uint *puVar6;
  undefined4 *puVar7;
  code *pcVar8;
  int iVar9;
  undefined4 *unaff_s0;
  int *piVar10;
  int iVar11;
  code *pcVar12;
  code *pcVar13;
  int iVar14;
  undefined4 uVar15;
  undefined1 auStack_168 [164];
  int iStack_c4;
  undefined4 *puStack_bc;
  int *piStack_b8;
  undefined4 uStack_b4;
  code *pcStack_a0;
  undefined4 *puStack_98;
  int *piStack_94;
  int iStack_8c;
  int iStack_88;
  int iStack_84;
  
  if (*param_1 < 5) {
                    /* WARNING: Could not emulate address calculation at 0x000261b8 */
                    /* WARNING: Treating indirect jump as call */
    iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();
    return iVar2;
  }
  puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700);
  (*(code *)PTR___assert_fail_00046468)
            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8);
  pcVar13 = (code *)PTR___stack_chk_fail_00046664;
  (*(code *)PTR___stack_chk_fail_00046664)();
  (*pcVar13)();
  if (*puVar6 < 5) {
                    /* WARNING: Could not recover jumptable at 0x000263a0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();
    return iVar2;
  }
  pcVar8 = (code *)0xfb;
  pcVar12 = *(code **)(pcVar13 + 0x20108);
  iVar9 = *(int *)(pcVar13 + 0x1fde8) + 0x47b8;
  puVar7 = (undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700);
  iVar2 = *(int *)(pcVar13 + 0x1fde8) + 0x4750;
  (*pcVar12)();
  pcStack_a0 = pcVar12 + 0x27cf0;
  piStack_94 = *(int **)(pcVar12 + 0x20280);
  iVar14 = iVar2 + -1;
  iStack_8c = 0;
  iStack_84 = *piStack_94;
  puStack_98 = puVar7;
  if (-1 < iVar14) {
    if (*(char *)puVar7[iVar14] == '/') {
      puVar3 = puVar7 + iVar2;
      do {
        iVar14 = iVar14 + -1;
        if (iVar14 == -1) goto LAB_000264d4;
        puVar1 = puVar3 + -2;
        puVar3 = puVar3 + -1;
      } while (*(char *)*puVar1 == '/');
    }
    if (0 < iVar14) {
      iVar11 = 0;
      unaff_s0 = puVar7 + iVar14;
      do {
        if (iStack_8c == 3) {
          if (iStack_88 < 1) {
            uVar15 = *puVar7;
            goto LAB_000265b0;
          }
        }
        else {
          uVar15 = *puVar7;
LAB_000265b0:
          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);
          if (iVar11 < iVar4) {
            iVar11 = iVar4;
          }
        }
        if ((*(char *)puVar7[1] != '/') &&
           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {
          iVar11 = iVar4;
        }
        puVar7 = puVar7 + 1;
      } while (puVar7 != unaff_s0);
      goto LAB_000264e0;
    }
  }
LAB_000264d4:
  iVar11 = 0;
  iVar14 = 0;
LAB_000264e0:
  savewd_finish(&iStack_8c);
  if (iVar14 < iVar2) {
    unaff_s0 = puStack_98 + iVar14;
    puVar7 = puStack_98 + iVar2;
    do {
      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);
      unaff_s0 = unaff_s0 + 1;
      if (iVar11 < iVar2) {
        iVar11 = iVar2;
      }
    } while (puVar7 != unaff_s0);
  }
  if (iStack_84 == *piStack_94) {
    return iVar11;
  }
  pcVar13 = *(code **)(pcStack_a0 + -0x7aac);
  uVar15 = 0x26624;
  iVar2 = iStack_84;
  (*pcVar13)();
  piVar10 = *(int **)(pcVar13 + 0x20070);
  iStack_c4 = *piVar10;
  puStack_bc = unaff_s0;
  piStack_b8 = &iStack_8c;
  uStack_b4 = uVar15;
  iVar2 = (**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168);
  piVar5 = (int *)(**(code **)(pcVar13 + 0x1ff3c))();
  if ((iVar2 == 0) || (*piVar5 == 0x4f)) {
    iVar2 = -1;
    *piVar5 = 0x11;
  }
  else {
    iVar2 = -(uint)(*piVar5 != 2);
  }
  if (iStack_c4 == *piVar10) {
    return iVar2;
  }
  pcVar13 = *(code **)(pcVar13 + 0x20034);
  (*pcVar13)();
                    /* WARNING: Could not recover jumptable at 0x000266f4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  iVar2 = (**(code **)(pcVar13 + 0x1fe8c))();
  return iVar2;
}


lui gp,0x2
addiu gp,gp,0x7fa8
addu gp,gp,t9
addiu sp,sp,-0x38
lw v0,0x0(a0)
sw s1,0x24(sp)
sltiu v1,v0,0x5
lw s1,-0x7a70(gp)
sw gp,0x10(sp)
sw ra,0x34(sp)
sw s4,0x30(sp)
sw s3,0x2c(sp)
sw s2,0x28(sp)
sw s0,0x20(sp)
lw a2,0x0(s1)
sw a2,0x1c(sp)
beq v1,zero,0x00026328
_sll v1,v0,0x2
lw v0,-0x7fc8(gp)
addiu v0,v0,0x4790
addu v0,v0,v1
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_or s0,a0,zero
lw s2,0x4(a0)
beq s2,zero,0x00026358
_lw t9,-0x7a54(gp)
bgtz s2,0x00026250
_addiu s3,sp,0x18
or v0,zero,zero
lw a0,0x1c(sp)
lw v1,0x0(s1)
bne a0,v1,0x0002634c
_lw ra,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x38
lw t9,-0x7ba4(gp)
jalr t9
_lw s3,0x4(a0)
or s2,v0,zero
lw gp,0x10(sp)
li v0,-0x1
b 0x000261e4
_sw s3,0x0(s2)
lw t9,-0x7c1c(gp)
jalr t9
_lw a0,0x4(a0)
bne v0,zero,0x000262c4
_lw gp,0x10(sp)
li v1,0x1
b 0x000261e4
_sw v1,0x0(s0)
b 0x00026270
_li s4,0x4
lw t9,-0x7ba4(gp)
jalr t9
_nop
lw v0,0x0(v0)
bne v0,s4,0x00026304
_lw gp,0x10(sp)
lw t9,-0x7af0(gp)
or a2,zero,zero
or a1,s3,zero
jalr t9
_or a0,s2,zero
bltz v0,0x00026258
_lw gp,0x10(sp)
lw v0,0x18(sp)
li v1,-0x1
andi a0,v0,0x7f
bne a0,zero,0x000262a8
_sw v1,0x4(s0)
b 0x000261e4
_ext v0,v0,0x8,0x8
lw t9,-0x7a10(gp)
jalr t9
_nop
lw v0,0x18(sp)
lw gp,0x10(sp)
b 0x000261e4
_ext v0,v0,0x8,0x8
lw t9,-0x7ba4(gp)
jalr t9
_nop
lw gp,0x10(sp)
or s2,v0,zero
lw a0,0x4(s0)
lw t9,-0x7c90(gp)
jalr t9
_lw s3,0x0(v0)
li v0,0x4
lw gp,0x10(sp)
sw v0,0x0(s0)
li v0,-0x1
sw s3,0x4(s0)
b 0x000261e4
_sw s3,0x0(s2)
lw a3,-0x7fc8(gp)
li a2,0xd8
lw a1,-0x7fc8(gp)
lw a0,-0x7fc8(gp)
lw t9,-0x7ca8(gp)
addiu a3,a3,0x47c8
addiu a1,a1,0x4700
jalr t9
_addiu a0,a0,0x4724
lw a3,-0x7fc8(gp)
li a2,0xe2
lw a1,-0x7fc8(gp)
lw a0,-0x7fc8(gp)
lw t9,-0x7ca8(gp)
addiu a3,a3,0x47c8
addiu a1,a1,0x4700
jalr t9
_addiu a0,a0,0x4750
lw t9,-0x7aac(gp)
jalr t9
_nop
jalr t9
_or a0,a1,zero
(translation_unit "int savewd_restore(uint *param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint *puVar6;\n  undefined4 *puVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *unaff_s0;\n  int *piVar10;\n  int iVar11;\n  code *pcVar12;\n  code *pcVar13;\n  int iVar14;\n  undefined4 uVar15;\n  undefined1 auStack_168 [164];\n  int iStack_c4;\n  undefined4 *puStack_bc;\n  int *piStack_b8;\n  undefined4 uStack_b4;\n  code *pcStack_a0;\n  undefined4 *puStack_98;\n  int *piStack_94;\n  int iStack_8c;\n  int iStack_88;\n  int iStack_84;\n  \n  if (*param_1 < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x000261b8 */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();\n    return iVar2;\n  }\n  puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700);\n  (*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8);\n  pcVar13 = (code *)PTR___stack_chk_fail_00046664;\n  (*(code *)PTR___stack_chk_fail_00046664)();\n  (*pcVar13)();\n  if (*puVar6 < 5) {\n                    /* WARNING: Could not recover jumptable at 0x000263a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }\n  pcVar8 = (code *)0xfb;\n  pcVar12 = *(code **)(pcVar13 + 0x20108);\n  iVar9 = *(int *)(pcVar13 + 0x1fde8) + 0x47b8;\n  puVar7 = (undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700);\n  iVar2 = *(int *)(pcVar13 + 0x1fde8) + 0x4750;\n  (*pcVar12)();\n  pcStack_a0 = pcVar12 + 0x27cf0;\n  piStack_94 = *(int **)(pcVar12 + 0x20280);\n  iVar14 = iVar2 + -1;\n  iStack_8c = 0;\n  iStack_84 = *piStack_94;\n  puStack_98 = puVar7;\n  if (-1 < iVar14) {\n    if (*(char *)puVar7[iVar14] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar14) {\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }\nLAB_000264d4:\n  iVar11 = 0;\n  iVar14 = 0;\nLAB_000264e0:\n  savewd_finish(&iStack_8c);\n  if (iVar14 < iVar2) {\n    unaff_s0 = puStack_98 + iVar14;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }\n  if (iStack_84 == *piStack_94) {\n    return iVar11;\n  }\n  pcVar13 = *(code **)(pcStack_a0 + -0x7aac);\n  uVar15 = 0x26624;\n  iVar2 = iStack_84;\n  (*pcVar13)();\n  piVar10 = *(int **)(pcVar13 + 0x20070);\n  iStack_c4 = *piVar10;\n  puStack_bc = unaff_s0;\n  piStack_b8 = &iStack_8c;\n  uStack_b4 = uVar15;\n  iVar2 = (**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168);\n  piVar5 = (int *)(**(code **)(pcVar13 + 0x1ff3c))();\n  if ((iVar2 == 0) || (*piVar5 == 0x4f)) {\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }\n  else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }\n  if (iStack_c4 == *piVar10) {\n    return iVar2;\n  }\n  pcVar13 = *(code **)(pcVar13 + 0x20034);\n  (*pcVar13)();\n                    /* WARNING: Could not recover jumptable at 0x000266f4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar2 = (**(code **)(pcVar13 + 0x1fe8c))();\n  return iVar2;\n}\n\n" (function_definition "int savewd_restore(uint *param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint *puVar6;\n  undefined4 *puVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *unaff_s0;\n  int *piVar10;\n  int iVar11;\n  code *pcVar12;\n  code *pcVar13;\n  int iVar14;\n  undefined4 uVar15;\n  undefined1 auStack_168 [164];\n  int iStack_c4;\n  undefined4 *puStack_bc;\n  int *piStack_b8;\n  undefined4 uStack_b4;\n  code *pcStack_a0;\n  undefined4 *puStack_98;\n  int *piStack_94;\n  int iStack_8c;\n  int iStack_88;\n  int iStack_84;\n  \n  if (*param_1 < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x000261b8 */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();\n    return iVar2;\n  }\n  puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700);\n  (*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8);\n  pcVar13 = (code *)PTR___stack_chk_fail_00046664;\n  (*(code *)PTR___stack_chk_fail_00046664)();\n  (*pcVar13)();\n  if (*puVar6 < 5) {\n                    /* WARNING: Could not recover jumptable at 0x000263a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }\n  pcVar8 = (code *)0xfb;\n  pcVar12 = *(code **)(pcVar13 + 0x20108);\n  iVar9 = *(int *)(pcVar13 + 0x1fde8) + 0x47b8;\n  puVar7 = (undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700);\n  iVar2 = *(int *)(pcVar13 + 0x1fde8) + 0x4750;\n  (*pcVar12)();\n  pcStack_a0 = pcVar12 + 0x27cf0;\n  piStack_94 = *(int **)(pcVar12 + 0x20280);\n  iVar14 = iVar2 + -1;\n  iStack_8c = 0;\n  iStack_84 = *piStack_94;\n  puStack_98 = puVar7;\n  if (-1 < iVar14) {\n    if (*(char *)puVar7[iVar14] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar14) {\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }\nLAB_000264d4:\n  iVar11 = 0;\n  iVar14 = 0;\nLAB_000264e0:\n  savewd_finish(&iStack_8c);\n  if (iVar14 < iVar2) {\n    unaff_s0 = puStack_98 + iVar14;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }\n  if (iStack_84 == *piStack_94) {\n    return iVar11;\n  }\n  pcVar13 = *(code **)(pcStack_a0 + -0x7aac);\n  uVar15 = 0x26624;\n  iVar2 = iStack_84;\n  (*pcVar13)();\n  piVar10 = *(int **)(pcVar13 + 0x20070);\n  iStack_c4 = *piVar10;\n  puStack_bc = unaff_s0;\n  piStack_b8 = &iStack_8c;\n  uStack_b4 = uVar15;\n  iVar2 = (**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168);\n  piVar5 = (int *)(**(code **)(pcVar13 + 0x1ff3c))();\n  if ((iVar2 == 0) || (*piVar5 == 0x4f)) {\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }\n  else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }\n  if (iStack_c4 == *piVar10) {\n    return iVar2;\n  }\n  pcVar13 = *(code **)(pcVar13 + 0x20034);\n  (*pcVar13)();\n                    /* WARNING: Could not recover jumptable at 0x000266f4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar2 = (**(code **)(pcVar13 + 0x1fe8c))();\n  return iVar2;\n}" primitive_type (function_declarator "savewd_restore(uint *param_1)" identifier (parameter_list "(uint *param_1)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint *puVar6;\n  undefined4 *puVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *unaff_s0;\n  int *piVar10;\n  int iVar11;\n  code *pcVar12;\n  code *pcVar13;\n  int iVar14;\n  undefined4 uVar15;\n  undefined1 auStack_168 [164];\n  int iStack_c4;\n  undefined4 *puStack_bc;\n  int *piStack_b8;\n  undefined4 uStack_b4;\n  code *pcStack_a0;\n  undefined4 *puStack_98;\n  int *piStack_94;\n  int iStack_8c;\n  int iStack_88;\n  int iStack_84;\n  \n  if (*param_1 < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x000261b8 */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();\n    return iVar2;\n  }\n  puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700);\n  (*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8);\n  pcVar13 = (code *)PTR___stack_chk_fail_00046664;\n  (*(code *)PTR___stack_chk_fail_00046664)();\n  (*pcVar13)();\n  if (*puVar6 < 5) {\n                    /* WARNING: Could not recover jumptable at 0x000263a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }\n  pcVar8 = (code *)0xfb;\n  pcVar12 = *(code **)(pcVar13 + 0x20108);\n  iVar9 = *(int *)(pcVar13 + 0x1fde8) + 0x47b8;\n  puVar7 = (undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700);\n  iVar2 = *(int *)(pcVar13 + 0x1fde8) + 0x4750;\n  (*pcVar12)();\n  pcStack_a0 = pcVar12 + 0x27cf0;\n  piStack_94 = *(int **)(pcVar12 + 0x20280);\n  iVar14 = iVar2 + -1;\n  iStack_8c = 0;\n  iStack_84 = *piStack_94;\n  puStack_98 = puVar7;\n  if (-1 < iVar14) {\n    if (*(char *)puVar7[iVar14] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar14) {\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }\nLAB_000264d4:\n  iVar11 = 0;\n  iVar14 = 0;\nLAB_000264e0:\n  savewd_finish(&iStack_8c);\n  if (iVar14 < iVar2) {\n    unaff_s0 = puStack_98 + iVar14;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }\n  if (iStack_84 == *piStack_94) {\n    return iVar11;\n  }\n  pcVar13 = *(code **)(pcStack_a0 + -0x7aac);\n  uVar15 = 0x26624;\n  iVar2 = iStack_84;\n  (*pcVar13)();\n  piVar10 = *(int **)(pcVar13 + 0x20070);\n  iStack_c4 = *piVar10;\n  puStack_bc = unaff_s0;\n  piStack_b8 = &iStack_8c;\n  uStack_b4 = uVar15;\n  iVar2 = (**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168);\n  piVar5 = (int *)(**(code **)(pcVar13 + 0x1ff3c))();\n  if ((iVar2 == 0) || (*piVar5 == 0x4f)) {\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }\n  else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }\n  if (iStack_c4 == *piVar10) {\n    return iVar2;\n  }\n  pcVar13 = *(code **)(pcVar13 + 0x20034);\n  (*pcVar13)();\n                    /* WARNING: Could not recover jumptable at 0x000266f4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar2 = (**(code **)(pcVar13 + 0x1fe8c))();\n  return iVar2;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 *unaff_s0;" type_identifier (pointer_declarator "*unaff_s0" * identifier) ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "code *pcVar12;" type_identifier (pointer_declarator "*pcVar12" * identifier) ;) (declaration "code *pcVar13;" type_identifier (pointer_declarator "*pcVar13" * identifier) ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "undefined4 uVar15;" type_identifier identifier ;) (declaration "undefined1 auStack_168 [164];" type_identifier (array_declarator "auStack_168 [164]" identifier [ number_literal ]) ;) (declaration "int iStack_c4;" primitive_type identifier ;) (declaration "undefined4 *puStack_bc;" type_identifier (pointer_declarator "*puStack_bc" * identifier) ;) (declaration "int *piStack_b8;" primitive_type (pointer_declarator "*piStack_b8" * identifier) ;) (declaration "undefined4 uStack_b4;" type_identifier identifier ;) (declaration "code *pcStack_a0;" type_identifier (pointer_declarator "*pcStack_a0" * identifier) ;) (declaration "undefined4 *puStack_98;" type_identifier (pointer_declarator "*puStack_98" * identifier) ;) (declaration "int *piStack_94;" primitive_type (pointer_declarator "*piStack_94" * identifier) ;) (declaration "int iStack_8c;" primitive_type identifier ;) (declaration "int iStack_88;" primitive_type identifier ;) (declaration "int iStack_84;" primitive_type identifier ;) (if_statement "if (*param_1 < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x000261b8 */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();\n    return iVar2;\n  }" if (parenthesized_expression "(*param_1 < 5)" ( (binary_expression "*param_1 < 5" (pointer_expression "*param_1" * identifier) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x000261b8 */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();\n    return iVar2;\n  }" { comment comment (expression_statement "iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();" (assignment_expression "iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790))" ( (binary_expression "&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)" * (cast_expression "(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)" ( (binary_expression "PTR_LAB_00046148 + *param_1 * 4 + 0x4790" (binary_expression "PTR_LAB_00046148 + *param_1 * 4" identifier + (binary_expression "*param_1 * 4" (pointer_expression "*param_1" * identifier) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700);" (assignment_expression "puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700)" identifier = (cast_expression "(uint *)(PTR_LAB_00046148 + 0x4700)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00046148 + 0x4700)" ( (binary_expression "PTR_LAB_00046148 + 0x4700" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8);" (call_expression "(*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8)" (parenthesized_expression "(*(code *)PTR___assert_fail_00046468)" ( (pointer_expression "*(code *)PTR___assert_fail_00046468" * (cast_expression "(code *)PTR___assert_fail_00046468" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8)" ( (binary_expression "PTR_LAB_00046148 + 0x4750" identifier + number_literal) , identifier , number_literal , (binary_expression "PTR_LAB_00046148 + 0x47c8" identifier + number_literal) ))) ;) (expression_statement "pcVar13 = (code *)PTR___stack_chk_fail_00046664;" (assignment_expression "pcVar13 = (code *)PTR___stack_chk_fail_00046664" identifier = (cast_expression "(code *)PTR___stack_chk_fail_00046664" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00046664)();" (call_expression "(*(code *)PTR___stack_chk_fail_00046664)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00046664)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00046664" * (cast_expression "(code *)PTR___stack_chk_fail_00046664" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "(*pcVar13)();" (call_expression "(*pcVar13)()" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "()" ( ))) ;) (if_statement "if (*puVar6 < 5) {\n                    /* WARNING: Could not recover jumptable at 0x000263a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }" if (parenthesized_expression "(*puVar6 < 5)" ( (binary_expression "*puVar6 < 5" (pointer_expression "*puVar6" * identifier) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x000263a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }" { comment comment (expression_statement "iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();" (assignment_expression "iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))()" identifier = (call_expression "(*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))()" (parenthesized_expression "(*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))" ( (pointer_expression "*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0)" * (parenthesized_expression "(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0)" ( (binary_expression "pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0" (binary_expression "pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4)" identifier + (pointer_expression "*(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4)" * (cast_expression "(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4)" ( (binary_expression "*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4" (binary_expression "*(int *)(pcVar13 + 0x1fde8) + 0x47a4" (pointer_expression "*(int *)(pcVar13 + 0x1fde8)" * (cast_expression "(int *)(pcVar13 + 0x1fde8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x1fde8)" ( (binary_expression "pcVar13 + 0x1fde8" identifier + number_literal) )))) + number_literal) + (binary_expression "*puVar6 * 4" (pointer_expression "*puVar6" * identifier) * number_literal)) ))))) + number_literal) ))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "pcVar8 = (code *)0xfb;" (assignment_expression "pcVar8 = (code *)0xfb" identifier = (cast_expression "(code *)0xfb" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar12 = *(code **)(pcVar13 + 0x20108);" (assignment_expression "pcVar12 = *(code **)(pcVar13 + 0x20108)" identifier = (pointer_expression "*(code **)(pcVar13 + 0x20108)" * (cast_expression "(code **)(pcVar13 + 0x20108)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar13 + 0x20108)" ( (binary_expression "pcVar13 + 0x20108" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = *(int *)(pcVar13 + 0x1fde8) + 0x47b8;" (assignment_expression "iVar9 = *(int *)(pcVar13 + 0x1fde8) + 0x47b8" identifier = (binary_expression "*(int *)(pcVar13 + 0x1fde8) + 0x47b8" (pointer_expression "*(int *)(pcVar13 + 0x1fde8)" * (cast_expression "(int *)(pcVar13 + 0x1fde8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x1fde8)" ( (binary_expression "pcVar13 + 0x1fde8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "puVar7 = (undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700);" (assignment_expression "puVar7 = (undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700)" identifier = (cast_expression "(undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar13 + 0x1fde8) + 0x4700)" ( (binary_expression "*(int *)(pcVar13 + 0x1fde8) + 0x4700" (pointer_expression "*(int *)(pcVar13 + 0x1fde8)" * (cast_expression "(int *)(pcVar13 + 0x1fde8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x1fde8)" ( (binary_expression "pcVar13 + 0x1fde8" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "iVar2 = *(int *)(pcVar13 + 0x1fde8) + 0x4750;" (assignment_expression "iVar2 = *(int *)(pcVar13 + 0x1fde8) + 0x4750" identifier = (binary_expression "*(int *)(pcVar13 + 0x1fde8) + 0x4750" (pointer_expression "*(int *)(pcVar13 + 0x1fde8)" * (cast_expression "(int *)(pcVar13 + 0x1fde8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x1fde8)" ( (binary_expression "pcVar13 + 0x1fde8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(*pcVar12)();" (call_expression "(*pcVar12)()" (parenthesized_expression "(*pcVar12)" ( (pointer_expression "*pcVar12" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "pcStack_a0 = pcVar12 + 0x27cf0;" (assignment_expression "pcStack_a0 = pcVar12 + 0x27cf0" identifier = (binary_expression "pcVar12 + 0x27cf0" identifier + number_literal)) ;) (expression_statement "piStack_94 = *(int **)(pcVar12 + 0x20280);" (assignment_expression "piStack_94 = *(int **)(pcVar12 + 0x20280)" identifier = (pointer_expression "*(int **)(pcVar12 + 0x20280)" * (cast_expression "(int **)(pcVar12 + 0x20280)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar12 + 0x20280)" ( (binary_expression "pcVar12 + 0x20280" identifier + number_literal) ))))) ;) (expression_statement "iVar14 = iVar2 + -1;" (assignment_expression "iVar14 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "iStack_8c = 0;" (assignment_expression "iStack_8c = 0" identifier = number_literal) ;) (expression_statement "iStack_84 = *piStack_94;" (assignment_expression "iStack_84 = *piStack_94" identifier = (pointer_expression "*piStack_94" * identifier)) ;) (expression_statement "puStack_98 = puVar7;" (assignment_expression "puStack_98 = puVar7" identifier = identifier) ;) (if_statement "if (-1 < iVar14) {\n    if (*(char *)puVar7[iVar14] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar14) {\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }" if (parenthesized_expression "(-1 < iVar14)" ( (binary_expression "-1 < iVar14" number_literal < identifier) )) (compound_statement "{\n    if (*(char *)puVar7[iVar14] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar14) {\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }" { (if_statement "if (*(char *)puVar7[iVar14] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }" if (parenthesized_expression "(*(char *)puVar7[iVar14] == '/')" ( (binary_expression "*(char *)puVar7[iVar14] == '/'" (pointer_expression "*(char *)puVar7[iVar14]" * (cast_expression "(char *)puVar7[iVar14]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar7[iVar14]" identifier [ identifier ]))) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }" { (expression_statement "puVar3 = puVar7 + iVar2;" (assignment_expression "puVar3 = puVar7 + iVar2" identifier = (binary_expression "puVar7 + iVar2" identifier + identifier)) ;) (do_statement "do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');" do (compound_statement "{\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      }" { (expression_statement "iVar14 = iVar14 + -1;" (assignment_expression "iVar14 = iVar14 + -1" identifier = (binary_expression "iVar14 + -1" identifier + number_literal)) ;) (if_statement "if (iVar14 == -1) goto LAB_000264d4;" if (parenthesized_expression "(iVar14 == -1)" ( (binary_expression "iVar14 == -1" identifier == number_literal) )) (goto_statement "goto LAB_000264d4;" goto statement_identifier ;)) (expression_statement "puVar1 = puVar3 + -2;" (assignment_expression "puVar1 = puVar3 + -2" identifier = (binary_expression "puVar3 + -2" identifier + number_literal)) ;) (expression_statement "puVar3 = puVar3 + -1;" (assignment_expression "puVar3 = puVar3 + -1" identifier = (binary_expression "puVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(char *)*puVar1 == '/')" ( (binary_expression "*(char *)*puVar1 == '/'" (pointer_expression "*(char *)*puVar1" * (cast_expression "(char *)*puVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) == (char_literal "'/'" ' character ')) )) ;) })) (if_statement "if (0 < iVar14) {\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }" if (parenthesized_expression "(0 < iVar14)" ( (binary_expression "0 < iVar14" number_literal < identifier) )) (compound_statement "{\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }" { (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "unaff_s0 = puVar7 + iVar14;" (assignment_expression "unaff_s0 = puVar7 + iVar14" identifier = (binary_expression "puVar7 + iVar14" identifier + identifier)) ;) (do_statement "do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);" do (compound_statement "{\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      }" { (if_statement "if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }" if (parenthesized_expression "(iStack_8c == 3)" ( (binary_expression "iStack_8c == 3" identifier == number_literal) )) (compound_statement "{\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }" { (if_statement "if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }" if (parenthesized_expression "(iStack_88 < 1)" ( (binary_expression "iStack_88 < 1" identifier < number_literal) )) (compound_statement "{\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }" { (expression_statement "uVar15 = *puVar7;" (assignment_expression "uVar15 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (goto_statement "goto LAB_000265b0;" goto statement_identifier ;) })) }) (else_clause "else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }" else (compound_statement "{\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }" { (expression_statement "uVar15 = *puVar7;" (assignment_expression "uVar15 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (labeled_statement "LAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);" statement_identifier : (expression_statement "iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);" (assignment_expression "iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9)" identifier = (call_expression "(*pcVar8)(uVar15,&iStack_8c,iVar9)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(uVar15,&iStack_8c,iVar9)" ( identifier , (pointer_expression "&iStack_8c" & identifier) , identifier )))) ;)) (if_statement "if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }" if (parenthesized_expression "(iVar11 < iVar4)" ( (binary_expression "iVar11 < iVar4" identifier < identifier) )) (compound_statement "{\n            iVar11 = iVar4;\n          }" { (expression_statement "iVar11 = iVar4;" (assignment_expression "iVar11 = iVar4" identifier = identifier) ;) })) }))) (if_statement "if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }" if (parenthesized_expression "((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4))" ( (binary_expression "(*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)" (parenthesized_expression "(*(char *)puVar7[1] != '/')" ( (binary_expression "*(char *)puVar7[1] != '/'" (pointer_expression "*(char *)puVar7[1]" * (cast_expression "(char *)puVar7[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar7[1]" identifier [ number_literal ]))) != (char_literal "'/'" ' character ')) )) && (parenthesized_expression "(iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)" ( (comma_expression "iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4" (assignment_expression "iVar4 = savewd_restore(&iStack_8c,iVar11)" identifier = (call_expression "savewd_restore(&iStack_8c,iVar11)" identifier (argument_list "(&iStack_8c,iVar11)" ( (pointer_expression "&iStack_8c" & identifier) , identifier )))) , (binary_expression "iVar11 < iVar4" identifier < identifier)) ))) )) (compound_statement "{\n          iVar11 = iVar4;\n        }" { (expression_statement "iVar11 = iVar4;" (assignment_expression "iVar11 = iVar4" identifier = identifier) ;) })) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar7 != unaff_s0)" ( (binary_expression "puVar7 != unaff_s0" identifier != identifier) )) ;) (goto_statement "goto LAB_000264e0;" goto statement_identifier ;) })) })) (labeled_statement "LAB_000264d4:\n  iVar11 = 0;" statement_identifier : (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;)) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (labeled_statement "LAB_000264e0:\n  savewd_finish(&iStack_8c);" statement_identifier : (expression_statement "savewd_finish(&iStack_8c);" (call_expression "savewd_finish(&iStack_8c)" identifier (argument_list "(&iStack_8c)" ( (pointer_expression "&iStack_8c" & identifier) ))) ;)) (if_statement "if (iVar14 < iVar2) {\n    unaff_s0 = puStack_98 + iVar14;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }" if (parenthesized_expression "(iVar14 < iVar2)" ( (binary_expression "iVar14 < iVar2" identifier < identifier) )) (compound_statement "{\n    unaff_s0 = puStack_98 + iVar14;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }" { (expression_statement "unaff_s0 = puStack_98 + iVar14;" (assignment_expression "unaff_s0 = puStack_98 + iVar14" identifier = (binary_expression "puStack_98 + iVar14" identifier + identifier)) ;) (expression_statement "puVar7 = puStack_98 + iVar2;" (assignment_expression "puVar7 = puStack_98 + iVar2" identifier = (binary_expression "puStack_98 + iVar2" identifier + identifier)) ;) (do_statement "do {\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);" do (compound_statement "{\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    }" { (expression_statement "iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);" (assignment_expression "iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9)" identifier = (call_expression "(*pcVar8)(*unaff_s0,&iStack_8c,iVar9)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(*unaff_s0,&iStack_8c,iVar9)" ( (pointer_expression "*unaff_s0" * identifier) , (pointer_expression "&iStack_8c" & identifier) , identifier )))) ;) (expression_statement "unaff_s0 = unaff_s0 + 1;" (assignment_expression "unaff_s0 = unaff_s0 + 1" identifier = (binary_expression "unaff_s0 + 1" identifier + number_literal)) ;) (if_statement "if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }" if (parenthesized_expression "(iVar11 < iVar2)" ( (binary_expression "iVar11 < iVar2" identifier < identifier) )) (compound_statement "{\n        iVar11 = iVar2;\n      }" { (expression_statement "iVar11 = iVar2;" (assignment_expression "iVar11 = iVar2" identifier = identifier) ;) })) }) while (parenthesized_expression "(puVar7 != unaff_s0)" ( (binary_expression "puVar7 != unaff_s0" identifier != identifier) )) ;) })) (if_statement "if (iStack_84 == *piStack_94) {\n    return iVar11;\n  }" if (parenthesized_expression "(iStack_84 == *piStack_94)" ( (binary_expression "iStack_84 == *piStack_94" identifier == (pointer_expression "*piStack_94" * identifier)) )) (compound_statement "{\n    return iVar11;\n  }" { (return_statement "return iVar11;" return identifier ;) })) (expression_statement "pcVar13 = *(code **)(pcStack_a0 + -0x7aac);" (assignment_expression "pcVar13 = *(code **)(pcStack_a0 + -0x7aac)" identifier = (pointer_expression "*(code **)(pcStack_a0 + -0x7aac)" * (cast_expression "(code **)(pcStack_a0 + -0x7aac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_a0 + -0x7aac)" ( (binary_expression "pcStack_a0 + -0x7aac" identifier + number_literal) ))))) ;) (expression_statement "uVar15 = 0x26624;" (assignment_expression "uVar15 = 0x26624" identifier = number_literal) ;) (expression_statement "iVar2 = iStack_84;" (assignment_expression "iVar2 = iStack_84" identifier = identifier) ;) (expression_statement "(*pcVar13)();" (call_expression "(*pcVar13)()" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar10 = *(int **)(pcVar13 + 0x20070);" (assignment_expression "piVar10 = *(int **)(pcVar13 + 0x20070)" identifier = (pointer_expression "*(int **)(pcVar13 + 0x20070)" * (cast_expression "(int **)(pcVar13 + 0x20070)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar13 + 0x20070)" ( (binary_expression "pcVar13 + 0x20070" identifier + number_literal) ))))) ;) (expression_statement "iStack_c4 = *piVar10;" (assignment_expression "iStack_c4 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) (expression_statement "puStack_bc = unaff_s0;" (assignment_expression "puStack_bc = unaff_s0" identifier = identifier) ;) (expression_statement "piStack_b8 = &iStack_8c;" (assignment_expression "piStack_b8 = &iStack_8c" identifier = (pointer_expression "&iStack_8c" & identifier)) ;) (expression_statement "uStack_b4 = uVar15;" (assignment_expression "uStack_b4 = uVar15" identifier = identifier) ;) (expression_statement "iVar2 = (**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168);" (assignment_expression "iVar2 = (**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168)" identifier = (call_expression "(**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168)" (parenthesized_expression "(**(code **)(pcVar13 + 0x1fe5c))" ( (pointer_expression "**(code **)(pcVar13 + 0x1fe5c)" * (pointer_expression "*(code **)(pcVar13 + 0x1fe5c)" * (cast_expression "(code **)(pcVar13 + 0x1fe5c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar13 + 0x1fe5c)" ( (binary_expression "pcVar13 + 0x1fe5c" identifier + number_literal) ))))) )) (argument_list "(3,iVar2,auStack_168)" ( number_literal , identifier , identifier )))) ;) (expression_statement "piVar5 = (int *)(**(code **)(pcVar13 + 0x1ff3c))();" (assignment_expression "piVar5 = (int *)(**(code **)(pcVar13 + 0x1ff3c))()" identifier = (cast_expression "(int *)(**(code **)(pcVar13 + 0x1ff3c))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar13 + 0x1ff3c))()" (parenthesized_expression "(**(code **)(pcVar13 + 0x1ff3c))" ( (pointer_expression "**(code **)(pcVar13 + 0x1ff3c)" * (pointer_expression "*(code **)(pcVar13 + 0x1ff3c)" * (cast_expression "(code **)(pcVar13 + 0x1ff3c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar13 + 0x1ff3c)" ( (binary_expression "pcVar13 + 0x1ff3c" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (if_statement "if ((iVar2 == 0) || (*piVar5 == 0x4f)) {\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }\n  else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }" if (parenthesized_expression "((iVar2 == 0) || (*piVar5 == 0x4f))" ( (binary_expression "(iVar2 == 0) || (*piVar5 == 0x4f)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) || (parenthesized_expression "(*piVar5 == 0x4f)" ( (binary_expression "*piVar5 == 0x4f" (pointer_expression "*piVar5" * identifier) == number_literal) ))) )) (compound_statement "{\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }" { (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (expression_statement "*piVar5 = 0x11;" (assignment_expression "*piVar5 = 0x11" (pointer_expression "*piVar5" * identifier) = number_literal) ;) }) (else_clause "else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }" else (compound_statement "{\n    iVar2 = -(uint)(*piVar5 != 2);\n  }" { (expression_statement "iVar2 = -(uint)(*piVar5 != 2);" (assignment_expression "iVar2 = -(uint)(*piVar5 != 2)" identifier = (unary_expression "-(uint)(*piVar5 != 2)" - (call_expression "(uint)(*piVar5 != 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*piVar5 != 2)" ( (binary_expression "*piVar5 != 2" (pointer_expression "*piVar5" * identifier) != number_literal) ))))) ;) }))) (if_statement "if (iStack_c4 == *piVar10) {\n    return iVar2;\n  }" if (parenthesized_expression "(iStack_c4 == *piVar10)" ( (binary_expression "iStack_c4 == *piVar10" identifier == (pointer_expression "*piVar10" * identifier)) )) (compound_statement "{\n    return iVar2;\n  }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "pcVar13 = *(code **)(pcVar13 + 0x20034);" (assignment_expression "pcVar13 = *(code **)(pcVar13 + 0x20034)" identifier = (pointer_expression "*(code **)(pcVar13 + 0x20034)" * (cast_expression "(code **)(pcVar13 + 0x20034)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar13 + 0x20034)" ( (binary_expression "pcVar13 + 0x20034" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar13)();" (call_expression "(*pcVar13)()" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "()" ( ))) ;) comment comment (expression_statement "iVar2 = (**(code **)(pcVar13 + 0x1fe8c))();" (assignment_expression "iVar2 = (**(code **)(pcVar13 + 0x1fe8c))()" identifier = (call_expression "(**(code **)(pcVar13 + 0x1fe8c))()" (parenthesized_expression "(**(code **)(pcVar13 + 0x1fe8c))" ( (pointer_expression "**(code **)(pcVar13 + 0x1fe8c)" * (pointer_expression "*(code **)(pcVar13 + 0x1fe8c)" * (cast_expression "(code **)(pcVar13 + 0x1fe8c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar13 + 0x1fe8c)" ( (binary_expression "pcVar13 + 0x1fe8c" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint savewd_restore(savewd *wd,int status)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint *puVar6;\n  undefined4 *puVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *unaff_s0;\n  int *piVar10;\n  int status_00;\n  code *pcVar11;\n  code *pcVar12;\n  int iVar13;\n  undefined4 uVar14;\n  undefined1 auStack_168 [164];\n  int iStack_c4;\n  undefined4 *puStack_bc;\n  savewd *psStack_b8;\n  undefined4 uStack_b4;\n  code *pcStack_a0;\n  undefined4 *puStack_98;\n  int *piStack_94;\n  savewd sStack_8c;\n  int iStack_84;\n  int child_status;\n  \n  if ((uint)wd->state < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x000261b8 */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(code *)(&_gp + *(int *)(PTR_LAB_00046148 + wd->state * 4 + 0x4790)))();\n    return iVar2;\n  }\n  puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700);\n  (*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8);\n  pcVar12 = (code *)PTR___stack_chk_fail_00046664;\n  (*(code *)PTR___stack_chk_fail_00046664)();\n  (*pcVar12)();\n  if (*puVar6 < 5) {\n                    /* WARNING: Could not recover jumptable at 0x000263a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(pcVar12 + *(int *)(*(int *)(pcVar12 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }\n  pcVar8 = (code *)0xfb;\n  pcVar11 = *(code **)(pcVar12 + 0x20108);\n  iVar9 = *(int *)(pcVar12 + 0x1fde8) + 0x47b8;\n  puVar7 = (undefined4 *)(*(int *)(pcVar12 + 0x1fde8) + 0x4700);\n  iVar2 = *(int *)(pcVar12 + 0x1fde8) + 0x4750;\n  (*pcVar11)();\n  pcStack_a0 = pcVar11 + 0x27cf0;\n  piStack_94 = *(int **)(pcVar11 + 0x20280);\n  iVar13 = iVar2 + -1;\n  sStack_8c.state = DT_UNKNOWN;\n  iStack_84 = *piStack_94;\n  puStack_98 = puVar7;\n  if (-1 < iVar13) {\n    if (*(char *)puVar7[iVar13] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar13 = iVar13 + -1;\n        if (iVar13 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar13) {\n      status_00 = 0;\n      unaff_s0 = puVar7 + iVar13;\n      do {\n        if (sStack_8c.state == FADVISE_WILLNEED) {\n          if (sStack_8c.val.fd < 1) {\n            uVar14 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar14 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar14,&sStack_8c,iVar9);\n          if (status_00 < iVar4) {\n            status_00 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&sStack_8c,status_00), status_00 < iVar4)) {\n          status_00 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }\nLAB_000264d4:\n  status_00 = 0;\n  iVar13 = 0;\nLAB_000264e0:\n  savewd_finish(&sStack_8c);\n  if (iVar13 < iVar2) {\n    unaff_s0 = puStack_98 + iVar13;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&sStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (status_00 < iVar2) {\n        status_00 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }\n  if (iStack_84 == *piStack_94) {\n    return status_00;\n  }\n  pcVar12 = *(code **)(pcStack_a0 + -0x7aac);\n  uVar14 = 0x26624;\n  iVar2 = iStack_84;\n  (*pcVar12)();\n  piVar10 = *(int **)(pcVar12 + 0x20070);\n  iStack_c4 = *piVar10;\n  puStack_bc = unaff_s0;\n  psStack_b8 = &sStack_8c;\n  uStack_b4 = uVar14;\n  iVar2 = (**(code **)(pcVar12 + 0x1fe5c))(3,iVar2,auStack_168);\n  piVar5 = (int *)(**(code **)(pcVar12 + 0x1ff3c))();\n  if ((iVar2 == 0) || (*piVar5 == 0x4f)) {\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }\n  else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }\n  if (iStack_c4 == *piVar10) {\n    return iVar2;\n  }\n  pcVar12 = *(code **)(pcVar12 + 0x20034);\n  (*pcVar12)();\n                    /* WARNING: Could not recover jumptable at 0x000266f4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar2 = (**(code **)(pcVar12 + 0x1fe8c))();\n  return iVar2;\n}\n\n" comment (function_definition "int savewd_restore(savewd *wd,int status)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint *puVar6;\n  undefined4 *puVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *unaff_s0;\n  int *piVar10;\n  int status_00;\n  code *pcVar11;\n  code *pcVar12;\n  int iVar13;\n  undefined4 uVar14;\n  undefined1 auStack_168 [164];\n  int iStack_c4;\n  undefined4 *puStack_bc;\n  savewd *psStack_b8;\n  undefined4 uStack_b4;\n  code *pcStack_a0;\n  undefined4 *puStack_98;\n  int *piStack_94;\n  savewd sStack_8c;\n  int iStack_84;\n  int child_status;\n  \n  if ((uint)wd->state < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x000261b8 */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(code *)(&_gp + *(int *)(PTR_LAB_00046148 + wd->state * 4 + 0x4790)))();\n    return iVar2;\n  }\n  puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700);\n  (*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8);\n  pcVar12 = (code *)PTR___stack_chk_fail_00046664;\n  (*(code *)PTR___stack_chk_fail_00046664)();\n  (*pcVar12)();\n  if (*puVar6 < 5) {\n                    /* WARNING: Could not recover jumptable at 0x000263a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(pcVar12 + *(int *)(*(int *)(pcVar12 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }\n  pcVar8 = (code *)0xfb;\n  pcVar11 = *(code **)(pcVar12 + 0x20108);\n  iVar9 = *(int *)(pcVar12 + 0x1fde8) + 0x47b8;\n  puVar7 = (undefined4 *)(*(int *)(pcVar12 + 0x1fde8) + 0x4700);\n  iVar2 = *(int *)(pcVar12 + 0x1fde8) + 0x4750;\n  (*pcVar11)();\n  pcStack_a0 = pcVar11 + 0x27cf0;\n  piStack_94 = *(int **)(pcVar11 + 0x20280);\n  iVar13 = iVar2 + -1;\n  sStack_8c.state = DT_UNKNOWN;\n  iStack_84 = *piStack_94;\n  puStack_98 = puVar7;\n  if (-1 < iVar13) {\n    if (*(char *)puVar7[iVar13] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar13 = iVar13 + -1;\n        if (iVar13 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar13) {\n      status_00 = 0;\n      unaff_s0 = puVar7 + iVar13;\n      do {\n        if (sStack_8c.state == FADVISE_WILLNEED) {\n          if (sStack_8c.val.fd < 1) {\n            uVar14 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar14 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar14,&sStack_8c,iVar9);\n          if (status_00 < iVar4) {\n            status_00 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&sStack_8c,status_00), status_00 < iVar4)) {\n          status_00 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }\nLAB_000264d4:\n  status_00 = 0;\n  iVar13 = 0;\nLAB_000264e0:\n  savewd_finish(&sStack_8c);\n  if (iVar13 < iVar2) {\n    unaff_s0 = puStack_98 + iVar13;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&sStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (status_00 < iVar2) {\n        status_00 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }\n  if (iStack_84 == *piStack_94) {\n    return status_00;\n  }\n  pcVar12 = *(code **)(pcStack_a0 + -0x7aac);\n  uVar14 = 0x26624;\n  iVar2 = iStack_84;\n  (*pcVar12)();\n  piVar10 = *(int **)(pcVar12 + 0x20070);\n  iStack_c4 = *piVar10;\n  puStack_bc = unaff_s0;\n  psStack_b8 = &sStack_8c;\n  uStack_b4 = uVar14;\n  iVar2 = (**(code **)(pcVar12 + 0x1fe5c))(3,iVar2,auStack_168);\n  piVar5 = (int *)(**(code **)(pcVar12 + 0x1ff3c))();\n  if ((iVar2 == 0) || (*piVar5 == 0x4f)) {\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }\n  else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }\n  if (iStack_c4 == *piVar10) {\n    return iVar2;\n  }\n  pcVar12 = *(code **)(pcVar12 + 0x20034);\n  (*pcVar12)();\n                    /* WARNING: Could not recover jumptable at 0x000266f4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar2 = (**(code **)(pcVar12 + 0x1fe8c))();\n  return iVar2;\n}" primitive_type (function_declarator "savewd_restore(savewd *wd,int status)" identifier (parameter_list "(savewd *wd,int status)" ( (parameter_declaration "savewd *wd" type_identifier (pointer_declarator "*wd" * identifier)) , (parameter_declaration "int status" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint *puVar6;\n  undefined4 *puVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *unaff_s0;\n  int *piVar10;\n  int status_00;\n  code *pcVar11;\n  code *pcVar12;\n  int iVar13;\n  undefined4 uVar14;\n  undefined1 auStack_168 [164];\n  int iStack_c4;\n  undefined4 *puStack_bc;\n  savewd *psStack_b8;\n  undefined4 uStack_b4;\n  code *pcStack_a0;\n  undefined4 *puStack_98;\n  int *piStack_94;\n  savewd sStack_8c;\n  int iStack_84;\n  int child_status;\n  \n  if ((uint)wd->state < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x000261b8 */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(code *)(&_gp + *(int *)(PTR_LAB_00046148 + wd->state * 4 + 0x4790)))();\n    return iVar2;\n  }\n  puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700);\n  (*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8);\n  pcVar12 = (code *)PTR___stack_chk_fail_00046664;\n  (*(code *)PTR___stack_chk_fail_00046664)();\n  (*pcVar12)();\n  if (*puVar6 < 5) {\n                    /* WARNING: Could not recover jumptable at 0x000263a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(pcVar12 + *(int *)(*(int *)(pcVar12 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }\n  pcVar8 = (code *)0xfb;\n  pcVar11 = *(code **)(pcVar12 + 0x20108);\n  iVar9 = *(int *)(pcVar12 + 0x1fde8) + 0x47b8;\n  puVar7 = (undefined4 *)(*(int *)(pcVar12 + 0x1fde8) + 0x4700);\n  iVar2 = *(int *)(pcVar12 + 0x1fde8) + 0x4750;\n  (*pcVar11)();\n  pcStack_a0 = pcVar11 + 0x27cf0;\n  piStack_94 = *(int **)(pcVar11 + 0x20280);\n  iVar13 = iVar2 + -1;\n  sStack_8c.state = DT_UNKNOWN;\n  iStack_84 = *piStack_94;\n  puStack_98 = puVar7;\n  if (-1 < iVar13) {\n    if (*(char *)puVar7[iVar13] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar13 = iVar13 + -1;\n        if (iVar13 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar13) {\n      status_00 = 0;\n      unaff_s0 = puVar7 + iVar13;\n      do {\n        if (sStack_8c.state == FADVISE_WILLNEED) {\n          if (sStack_8c.val.fd < 1) {\n            uVar14 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar14 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar14,&sStack_8c,iVar9);\n          if (status_00 < iVar4) {\n            status_00 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&sStack_8c,status_00), status_00 < iVar4)) {\n          status_00 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }\nLAB_000264d4:\n  status_00 = 0;\n  iVar13 = 0;\nLAB_000264e0:\n  savewd_finish(&sStack_8c);\n  if (iVar13 < iVar2) {\n    unaff_s0 = puStack_98 + iVar13;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&sStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (status_00 < iVar2) {\n        status_00 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }\n  if (iStack_84 == *piStack_94) {\n    return status_00;\n  }\n  pcVar12 = *(code **)(pcStack_a0 + -0x7aac);\n  uVar14 = 0x26624;\n  iVar2 = iStack_84;\n  (*pcVar12)();\n  piVar10 = *(int **)(pcVar12 + 0x20070);\n  iStack_c4 = *piVar10;\n  puStack_bc = unaff_s0;\n  psStack_b8 = &sStack_8c;\n  uStack_b4 = uVar14;\n  iVar2 = (**(code **)(pcVar12 + 0x1fe5c))(3,iVar2,auStack_168);\n  piVar5 = (int *)(**(code **)(pcVar12 + 0x1ff3c))();\n  if ((iVar2 == 0) || (*piVar5 == 0x4f)) {\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }\n  else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }\n  if (iStack_c4 == *piVar10) {\n    return iVar2;\n  }\n  pcVar12 = *(code **)(pcVar12 + 0x20034);\n  (*pcVar12)();\n                    /* WARNING: Could not recover jumptable at 0x000266f4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  iVar2 = (**(code **)(pcVar12 + 0x1fe8c))();\n  return iVar2;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 *unaff_s0;" type_identifier (pointer_declarator "*unaff_s0" * identifier) ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "int status_00;" primitive_type identifier ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (declaration "code *pcVar12;" type_identifier (pointer_declarator "*pcVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "undefined1 auStack_168 [164];" type_identifier (array_declarator "auStack_168 [164]" identifier [ number_literal ]) ;) (declaration "int iStack_c4;" primitive_type identifier ;) (declaration "undefined4 *puStack_bc;" type_identifier (pointer_declarator "*puStack_bc" * identifier) ;) (declaration "savewd *psStack_b8;" type_identifier (pointer_declarator "*psStack_b8" * identifier) ;) (declaration "undefined4 uStack_b4;" type_identifier identifier ;) (declaration "code *pcStack_a0;" type_identifier (pointer_declarator "*pcStack_a0" * identifier) ;) (declaration "undefined4 *puStack_98;" type_identifier (pointer_declarator "*puStack_98" * identifier) ;) (declaration "int *piStack_94;" primitive_type (pointer_declarator "*piStack_94" * identifier) ;) (declaration "savewd sStack_8c;" type_identifier identifier ;) (declaration "int iStack_84;" primitive_type identifier ;) (declaration "int child_status;" primitive_type identifier ;) (if_statement "if ((uint)wd->state < 5) {\n                    /* WARNING: Could not emulate address calculation at 0x000261b8 */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(code *)(&_gp + *(int *)(PTR_LAB_00046148 + wd->state * 4 + 0x4790)))();\n    return iVar2;\n  }" if (parenthesized_expression "((uint)wd->state < 5)" ( (binary_expression "(uint)wd->state < 5" (cast_expression "(uint)wd->state" ( (type_descriptor "uint" type_identifier) ) (field_expression "wd->state" identifier -> field_identifier)) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x000261b8 */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(code *)(&_gp + *(int *)(PTR_LAB_00046148 + wd->state * 4 + 0x4790)))();\n    return iVar2;\n  }" { comment comment (expression_statement "iVar2 = (*(code *)(&_gp + *(int *)(PTR_LAB_00046148 + wd->state * 4 + 0x4790)))();" (assignment_expression "iVar2 = (*(code *)(&_gp + *(int *)(PTR_LAB_00046148 + wd->state * 4 + 0x4790)))()" identifier = (call_expression "(*(code *)(&_gp + *(int *)(PTR_LAB_00046148 + wd->state * 4 + 0x4790)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_LAB_00046148 + wd->state * 4 + 0x4790)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_LAB_00046148 + wd->state * 4 + 0x4790))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_LAB_00046148 + wd->state * 4 + 0x4790))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_LAB_00046148 + wd->state * 4 + 0x4790))" ( (binary_expression "&_gp + *(int *)(PTR_LAB_00046148 + wd->state * 4 + 0x4790)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_LAB_00046148 + wd->state * 4 + 0x4790)" * (cast_expression "(int *)(PTR_LAB_00046148 + wd->state * 4 + 0x4790)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00046148 + wd->state * 4 + 0x4790)" ( (binary_expression "PTR_LAB_00046148 + wd->state * 4 + 0x4790" (binary_expression "PTR_LAB_00046148 + wd->state * 4" identifier + (binary_expression "wd->state * 4" (field_expression "wd->state" identifier -> field_identifier) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700);" (assignment_expression "puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700)" identifier = (cast_expression "(uint *)(PTR_LAB_00046148 + 0x4700)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00046148 + 0x4700)" ( (binary_expression "PTR_LAB_00046148 + 0x4700" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8);" (call_expression "(*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8)" (parenthesized_expression "(*(code *)PTR___assert_fail_00046468)" ( (pointer_expression "*(code *)PTR___assert_fail_00046468" * (cast_expression "(code *)PTR___assert_fail_00046468" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8)" ( (binary_expression "PTR_LAB_00046148 + 0x4750" identifier + number_literal) , identifier , number_literal , (binary_expression "PTR_LAB_00046148 + 0x47c8" identifier + number_literal) ))) ;) (expression_statement "pcVar12 = (code *)PTR___stack_chk_fail_00046664;" (assignment_expression "pcVar12 = (code *)PTR___stack_chk_fail_00046664" identifier = (cast_expression "(code *)PTR___stack_chk_fail_00046664" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00046664)();" (call_expression "(*(code *)PTR___stack_chk_fail_00046664)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00046664)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00046664" * (cast_expression "(code *)PTR___stack_chk_fail_00046664" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "(*pcVar12)();" (call_expression "(*pcVar12)()" (parenthesized_expression "(*pcVar12)" ( (pointer_expression "*pcVar12" * identifier) )) (argument_list "()" ( ))) ;) (if_statement "if (*puVar6 < 5) {\n                    /* WARNING: Could not recover jumptable at 0x000263a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(pcVar12 + *(int *)(*(int *)(pcVar12 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }" if (parenthesized_expression "(*puVar6 < 5)" ( (binary_expression "*puVar6 < 5" (pointer_expression "*puVar6" * identifier) < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x000263a0. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar2 = (*(pcVar12 + *(int *)(*(int *)(pcVar12 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }" { comment comment (expression_statement "iVar2 = (*(pcVar12 + *(int *)(*(int *)(pcVar12 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();" (assignment_expression "iVar2 = (*(pcVar12 + *(int *)(*(int *)(pcVar12 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))()" identifier = (call_expression "(*(pcVar12 + *(int *)(*(int *)(pcVar12 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))()" (parenthesized_expression "(*(pcVar12 + *(int *)(*(int *)(pcVar12 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))" ( (pointer_expression "*(pcVar12 + *(int *)(*(int *)(pcVar12 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0)" * (parenthesized_expression "(pcVar12 + *(int *)(*(int *)(pcVar12 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0)" ( (binary_expression "pcVar12 + *(int *)(*(int *)(pcVar12 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0" (binary_expression "pcVar12 + *(int *)(*(int *)(pcVar12 + 0x1fde8) + 0x47a4 + *puVar6 * 4)" identifier + (pointer_expression "*(int *)(*(int *)(pcVar12 + 0x1fde8) + 0x47a4 + *puVar6 * 4)" * (cast_expression "(int *)(*(int *)(pcVar12 + 0x1fde8) + 0x47a4 + *puVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar12 + 0x1fde8) + 0x47a4 + *puVar6 * 4)" ( (binary_expression "*(int *)(pcVar12 + 0x1fde8) + 0x47a4 + *puVar6 * 4" (binary_expression "*(int *)(pcVar12 + 0x1fde8) + 0x47a4" (pointer_expression "*(int *)(pcVar12 + 0x1fde8)" * (cast_expression "(int *)(pcVar12 + 0x1fde8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar12 + 0x1fde8)" ( (binary_expression "pcVar12 + 0x1fde8" identifier + number_literal) )))) + number_literal) + (binary_expression "*puVar6 * 4" (pointer_expression "*puVar6" * identifier) * number_literal)) ))))) + number_literal) ))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "pcVar8 = (code *)0xfb;" (assignment_expression "pcVar8 = (code *)0xfb" identifier = (cast_expression "(code *)0xfb" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar11 = *(code **)(pcVar12 + 0x20108);" (assignment_expression "pcVar11 = *(code **)(pcVar12 + 0x20108)" identifier = (pointer_expression "*(code **)(pcVar12 + 0x20108)" * (cast_expression "(code **)(pcVar12 + 0x20108)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar12 + 0x20108)" ( (binary_expression "pcVar12 + 0x20108" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = *(int *)(pcVar12 + 0x1fde8) + 0x47b8;" (assignment_expression "iVar9 = *(int *)(pcVar12 + 0x1fde8) + 0x47b8" identifier = (binary_expression "*(int *)(pcVar12 + 0x1fde8) + 0x47b8" (pointer_expression "*(int *)(pcVar12 + 0x1fde8)" * (cast_expression "(int *)(pcVar12 + 0x1fde8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar12 + 0x1fde8)" ( (binary_expression "pcVar12 + 0x1fde8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "puVar7 = (undefined4 *)(*(int *)(pcVar12 + 0x1fde8) + 0x4700);" (assignment_expression "puVar7 = (undefined4 *)(*(int *)(pcVar12 + 0x1fde8) + 0x4700)" identifier = (cast_expression "(undefined4 *)(*(int *)(pcVar12 + 0x1fde8) + 0x4700)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar12 + 0x1fde8) + 0x4700)" ( (binary_expression "*(int *)(pcVar12 + 0x1fde8) + 0x4700" (pointer_expression "*(int *)(pcVar12 + 0x1fde8)" * (cast_expression "(int *)(pcVar12 + 0x1fde8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar12 + 0x1fde8)" ( (binary_expression "pcVar12 + 0x1fde8" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "iVar2 = *(int *)(pcVar12 + 0x1fde8) + 0x4750;" (assignment_expression "iVar2 = *(int *)(pcVar12 + 0x1fde8) + 0x4750" identifier = (binary_expression "*(int *)(pcVar12 + 0x1fde8) + 0x4750" (pointer_expression "*(int *)(pcVar12 + 0x1fde8)" * (cast_expression "(int *)(pcVar12 + 0x1fde8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar12 + 0x1fde8)" ( (binary_expression "pcVar12 + 0x1fde8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(*pcVar11)();" (call_expression "(*pcVar11)()" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "pcStack_a0 = pcVar11 + 0x27cf0;" (assignment_expression "pcStack_a0 = pcVar11 + 0x27cf0" identifier = (binary_expression "pcVar11 + 0x27cf0" identifier + number_literal)) ;) (expression_statement "piStack_94 = *(int **)(pcVar11 + 0x20280);" (assignment_expression "piStack_94 = *(int **)(pcVar11 + 0x20280)" identifier = (pointer_expression "*(int **)(pcVar11 + 0x20280)" * (cast_expression "(int **)(pcVar11 + 0x20280)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar11 + 0x20280)" ( (binary_expression "pcVar11 + 0x20280" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = iVar2 + -1;" (assignment_expression "iVar13 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "sStack_8c.state = DT_UNKNOWN;" (assignment_expression "sStack_8c.state = DT_UNKNOWN" (field_expression "sStack_8c.state" identifier . field_identifier) = identifier) ;) (expression_statement "iStack_84 = *piStack_94;" (assignment_expression "iStack_84 = *piStack_94" identifier = (pointer_expression "*piStack_94" * identifier)) ;) (expression_statement "puStack_98 = puVar7;" (assignment_expression "puStack_98 = puVar7" identifier = identifier) ;) (if_statement "if (-1 < iVar13) {\n    if (*(char *)puVar7[iVar13] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar13 = iVar13 + -1;\n        if (iVar13 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar13) {\n      status_00 = 0;\n      unaff_s0 = puVar7 + iVar13;\n      do {\n        if (sStack_8c.state == FADVISE_WILLNEED) {\n          if (sStack_8c.val.fd < 1) {\n            uVar14 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar14 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar14,&sStack_8c,iVar9);\n          if (status_00 < iVar4) {\n            status_00 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&sStack_8c,status_00), status_00 < iVar4)) {\n          status_00 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }" if (parenthesized_expression "(-1 < iVar13)" ( (binary_expression "-1 < iVar13" number_literal < identifier) )) (compound_statement "{\n    if (*(char *)puVar7[iVar13] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar13 = iVar13 + -1;\n        if (iVar13 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar13) {\n      status_00 = 0;\n      unaff_s0 = puVar7 + iVar13;\n      do {\n        if (sStack_8c.state == FADVISE_WILLNEED) {\n          if (sStack_8c.val.fd < 1) {\n            uVar14 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar14 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar14,&sStack_8c,iVar9);\n          if (status_00 < iVar4) {\n            status_00 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&sStack_8c,status_00), status_00 < iVar4)) {\n          status_00 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }" { (if_statement "if (*(char *)puVar7[iVar13] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar13 = iVar13 + -1;\n        if (iVar13 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }" if (parenthesized_expression "(*(char *)puVar7[iVar13] == '/')" ( (binary_expression "*(char *)puVar7[iVar13] == '/'" (pointer_expression "*(char *)puVar7[iVar13]" * (cast_expression "(char *)puVar7[iVar13]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar7[iVar13]" identifier [ identifier ]))) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar13 = iVar13 + -1;\n        if (iVar13 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }" { (expression_statement "puVar3 = puVar7 + iVar2;" (assignment_expression "puVar3 = puVar7 + iVar2" identifier = (binary_expression "puVar7 + iVar2" identifier + identifier)) ;) (do_statement "do {\n        iVar13 = iVar13 + -1;\n        if (iVar13 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');" do (compound_statement "{\n        iVar13 = iVar13 + -1;\n        if (iVar13 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      }" { (expression_statement "iVar13 = iVar13 + -1;" (assignment_expression "iVar13 = iVar13 + -1" identifier = (binary_expression "iVar13 + -1" identifier + number_literal)) ;) (if_statement "if (iVar13 == -1) goto LAB_000264d4;" if (parenthesized_expression "(iVar13 == -1)" ( (binary_expression "iVar13 == -1" identifier == number_literal) )) (goto_statement "goto LAB_000264d4;" goto statement_identifier ;)) (expression_statement "puVar1 = puVar3 + -2;" (assignment_expression "puVar1 = puVar3 + -2" identifier = (binary_expression "puVar3 + -2" identifier + number_literal)) ;) (expression_statement "puVar3 = puVar3 + -1;" (assignment_expression "puVar3 = puVar3 + -1" identifier = (binary_expression "puVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(char *)*puVar1 == '/')" ( (binary_expression "*(char *)*puVar1 == '/'" (pointer_expression "*(char *)*puVar1" * (cast_expression "(char *)*puVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) == (char_literal "'/'" ' character ')) )) ;) })) (if_statement "if (0 < iVar13) {\n      status_00 = 0;\n      unaff_s0 = puVar7 + iVar13;\n      do {\n        if (sStack_8c.state == FADVISE_WILLNEED) {\n          if (sStack_8c.val.fd < 1) {\n            uVar14 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar14 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar14,&sStack_8c,iVar9);\n          if (status_00 < iVar4) {\n            status_00 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&sStack_8c,status_00), status_00 < iVar4)) {\n          status_00 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }" if (parenthesized_expression "(0 < iVar13)" ( (binary_expression "0 < iVar13" number_literal < identifier) )) (compound_statement "{\n      status_00 = 0;\n      unaff_s0 = puVar7 + iVar13;\n      do {\n        if (sStack_8c.state == FADVISE_WILLNEED) {\n          if (sStack_8c.val.fd < 1) {\n            uVar14 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar14 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar14,&sStack_8c,iVar9);\n          if (status_00 < iVar4) {\n            status_00 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&sStack_8c,status_00), status_00 < iVar4)) {\n          status_00 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }" { (expression_statement "status_00 = 0;" (assignment_expression "status_00 = 0" identifier = number_literal) ;) (expression_statement "unaff_s0 = puVar7 + iVar13;" (assignment_expression "unaff_s0 = puVar7 + iVar13" identifier = (binary_expression "puVar7 + iVar13" identifier + identifier)) ;) (do_statement "do {\n        if (sStack_8c.state == FADVISE_WILLNEED) {\n          if (sStack_8c.val.fd < 1) {\n            uVar14 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar14 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar14,&sStack_8c,iVar9);\n          if (status_00 < iVar4) {\n            status_00 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&sStack_8c,status_00), status_00 < iVar4)) {\n          status_00 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);" do (compound_statement "{\n        if (sStack_8c.state == FADVISE_WILLNEED) {\n          if (sStack_8c.val.fd < 1) {\n            uVar14 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar14 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar14,&sStack_8c,iVar9);\n          if (status_00 < iVar4) {\n            status_00 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&sStack_8c,status_00), status_00 < iVar4)) {\n          status_00 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      }" { (if_statement "if (sStack_8c.state == FADVISE_WILLNEED) {\n          if (sStack_8c.val.fd < 1) {\n            uVar14 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar14 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar14,&sStack_8c,iVar9);\n          if (status_00 < iVar4) {\n            status_00 = iVar4;\n          }\n        }" if (parenthesized_expression "(sStack_8c.state == FADVISE_WILLNEED)" ( (binary_expression "sStack_8c.state == FADVISE_WILLNEED" (field_expression "sStack_8c.state" identifier . field_identifier) == identifier) )) (compound_statement "{\n          if (sStack_8c.val.fd < 1) {\n            uVar14 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }" { (if_statement "if (sStack_8c.val.fd < 1) {\n            uVar14 = *puVar7;\n            goto LAB_000265b0;\n          }" if (parenthesized_expression "(sStack_8c.val.fd < 1)" ( (binary_expression "sStack_8c.val.fd < 1" (field_expression "sStack_8c.val.fd" (field_expression "sStack_8c.val" identifier . field_identifier) . field_identifier) < number_literal) )) (compound_statement "{\n            uVar14 = *puVar7;\n            goto LAB_000265b0;\n          }" { (expression_statement "uVar14 = *puVar7;" (assignment_expression "uVar14 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (goto_statement "goto LAB_000265b0;" goto statement_identifier ;) })) }) (else_clause "else {\n          uVar14 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar14,&sStack_8c,iVar9);\n          if (status_00 < iVar4) {\n            status_00 = iVar4;\n          }\n        }" else (compound_statement "{\n          uVar14 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar14,&sStack_8c,iVar9);\n          if (status_00 < iVar4) {\n            status_00 = iVar4;\n          }\n        }" { (expression_statement "uVar14 = *puVar7;" (assignment_expression "uVar14 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (labeled_statement "LAB_000265b0:\n          iVar4 = (*pcVar8)(uVar14,&sStack_8c,iVar9);" statement_identifier : (expression_statement "iVar4 = (*pcVar8)(uVar14,&sStack_8c,iVar9);" (assignment_expression "iVar4 = (*pcVar8)(uVar14,&sStack_8c,iVar9)" identifier = (call_expression "(*pcVar8)(uVar14,&sStack_8c,iVar9)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(uVar14,&sStack_8c,iVar9)" ( identifier , (pointer_expression "&sStack_8c" & identifier) , identifier )))) ;)) (if_statement "if (status_00 < iVar4) {\n            status_00 = iVar4;\n          }" if (parenthesized_expression "(status_00 < iVar4)" ( (binary_expression "status_00 < iVar4" identifier < identifier) )) (compound_statement "{\n            status_00 = iVar4;\n          }" { (expression_statement "status_00 = iVar4;" (assignment_expression "status_00 = iVar4" identifier = identifier) ;) })) }))) (if_statement "if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&sStack_8c,status_00), status_00 < iVar4)) {\n          status_00 = iVar4;\n        }" if (parenthesized_expression "((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&sStack_8c,status_00), status_00 < iVar4))" ( (binary_expression "(*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&sStack_8c,status_00), status_00 < iVar4)" (parenthesized_expression "(*(char *)puVar7[1] != '/')" ( (binary_expression "*(char *)puVar7[1] != '/'" (pointer_expression "*(char *)puVar7[1]" * (cast_expression "(char *)puVar7[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar7[1]" identifier [ number_literal ]))) != (char_literal "'/'" ' character ')) )) && (parenthesized_expression "(iVar4 = savewd_restore(&sStack_8c,status_00), status_00 < iVar4)" ( (comma_expression "iVar4 = savewd_restore(&sStack_8c,status_00), status_00 < iVar4" (assignment_expression "iVar4 = savewd_restore(&sStack_8c,status_00)" identifier = (call_expression "savewd_restore(&sStack_8c,status_00)" identifier (argument_list "(&sStack_8c,status_00)" ( (pointer_expression "&sStack_8c" & identifier) , identifier )))) , (binary_expression "status_00 < iVar4" identifier < identifier)) ))) )) (compound_statement "{\n          status_00 = iVar4;\n        }" { (expression_statement "status_00 = iVar4;" (assignment_expression "status_00 = iVar4" identifier = identifier) ;) })) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar7 != unaff_s0)" ( (binary_expression "puVar7 != unaff_s0" identifier != identifier) )) ;) (goto_statement "goto LAB_000264e0;" goto statement_identifier ;) })) })) (labeled_statement "LAB_000264d4:\n  status_00 = 0;" statement_identifier : (expression_statement "status_00 = 0;" (assignment_expression "status_00 = 0" identifier = number_literal) ;)) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (labeled_statement "LAB_000264e0:\n  savewd_finish(&sStack_8c);" statement_identifier : (expression_statement "savewd_finish(&sStack_8c);" (call_expression "savewd_finish(&sStack_8c)" identifier (argument_list "(&sStack_8c)" ( (pointer_expression "&sStack_8c" & identifier) ))) ;)) (if_statement "if (iVar13 < iVar2) {\n    unaff_s0 = puStack_98 + iVar13;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&sStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (status_00 < iVar2) {\n        status_00 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }" if (parenthesized_expression "(iVar13 < iVar2)" ( (binary_expression "iVar13 < iVar2" identifier < identifier) )) (compound_statement "{\n    unaff_s0 = puStack_98 + iVar13;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&sStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (status_00 < iVar2) {\n        status_00 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }" { (expression_statement "unaff_s0 = puStack_98 + iVar13;" (assignment_expression "unaff_s0 = puStack_98 + iVar13" identifier = (binary_expression "puStack_98 + iVar13" identifier + identifier)) ;) (expression_statement "puVar7 = puStack_98 + iVar2;" (assignment_expression "puVar7 = puStack_98 + iVar2" identifier = (binary_expression "puStack_98 + iVar2" identifier + identifier)) ;) (do_statement "do {\n      iVar2 = (*pcVar8)(*unaff_s0,&sStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (status_00 < iVar2) {\n        status_00 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);" do (compound_statement "{\n      iVar2 = (*pcVar8)(*unaff_s0,&sStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (status_00 < iVar2) {\n        status_00 = iVar2;\n      }\n    }" { (expression_statement "iVar2 = (*pcVar8)(*unaff_s0,&sStack_8c,iVar9);" (assignment_expression "iVar2 = (*pcVar8)(*unaff_s0,&sStack_8c,iVar9)" identifier = (call_expression "(*pcVar8)(*unaff_s0,&sStack_8c,iVar9)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(*unaff_s0,&sStack_8c,iVar9)" ( (pointer_expression "*unaff_s0" * identifier) , (pointer_expression "&sStack_8c" & identifier) , identifier )))) ;) (expression_statement "unaff_s0 = unaff_s0 + 1;" (assignment_expression "unaff_s0 = unaff_s0 + 1" identifier = (binary_expression "unaff_s0 + 1" identifier + number_literal)) ;) (if_statement "if (status_00 < iVar2) {\n        status_00 = iVar2;\n      }" if (parenthesized_expression "(status_00 < iVar2)" ( (binary_expression "status_00 < iVar2" identifier < identifier) )) (compound_statement "{\n        status_00 = iVar2;\n      }" { (expression_statement "status_00 = iVar2;" (assignment_expression "status_00 = iVar2" identifier = identifier) ;) })) }) while (parenthesized_expression "(puVar7 != unaff_s0)" ( (binary_expression "puVar7 != unaff_s0" identifier != identifier) )) ;) })) (if_statement "if (iStack_84 == *piStack_94) {\n    return status_00;\n  }" if (parenthesized_expression "(iStack_84 == *piStack_94)" ( (binary_expression "iStack_84 == *piStack_94" identifier == (pointer_expression "*piStack_94" * identifier)) )) (compound_statement "{\n    return status_00;\n  }" { (return_statement "return status_00;" return identifier ;) })) (expression_statement "pcVar12 = *(code **)(pcStack_a0 + -0x7aac);" (assignment_expression "pcVar12 = *(code **)(pcStack_a0 + -0x7aac)" identifier = (pointer_expression "*(code **)(pcStack_a0 + -0x7aac)" * (cast_expression "(code **)(pcStack_a0 + -0x7aac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_a0 + -0x7aac)" ( (binary_expression "pcStack_a0 + -0x7aac" identifier + number_literal) ))))) ;) (expression_statement "uVar14 = 0x26624;" (assignment_expression "uVar14 = 0x26624" identifier = number_literal) ;) (expression_statement "iVar2 = iStack_84;" (assignment_expression "iVar2 = iStack_84" identifier = identifier) ;) (expression_statement "(*pcVar12)();" (call_expression "(*pcVar12)()" (parenthesized_expression "(*pcVar12)" ( (pointer_expression "*pcVar12" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar10 = *(int **)(pcVar12 + 0x20070);" (assignment_expression "piVar10 = *(int **)(pcVar12 + 0x20070)" identifier = (pointer_expression "*(int **)(pcVar12 + 0x20070)" * (cast_expression "(int **)(pcVar12 + 0x20070)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar12 + 0x20070)" ( (binary_expression "pcVar12 + 0x20070" identifier + number_literal) ))))) ;) (expression_statement "iStack_c4 = *piVar10;" (assignment_expression "iStack_c4 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) (expression_statement "puStack_bc = unaff_s0;" (assignment_expression "puStack_bc = unaff_s0" identifier = identifier) ;) (expression_statement "psStack_b8 = &sStack_8c;" (assignment_expression "psStack_b8 = &sStack_8c" identifier = (pointer_expression "&sStack_8c" & identifier)) ;) (expression_statement "uStack_b4 = uVar14;" (assignment_expression "uStack_b4 = uVar14" identifier = identifier) ;) (expression_statement "iVar2 = (**(code **)(pcVar12 + 0x1fe5c))(3,iVar2,auStack_168);" (assignment_expression "iVar2 = (**(code **)(pcVar12 + 0x1fe5c))(3,iVar2,auStack_168)" identifier = (call_expression "(**(code **)(pcVar12 + 0x1fe5c))(3,iVar2,auStack_168)" (parenthesized_expression "(**(code **)(pcVar12 + 0x1fe5c))" ( (pointer_expression "**(code **)(pcVar12 + 0x1fe5c)" * (pointer_expression "*(code **)(pcVar12 + 0x1fe5c)" * (cast_expression "(code **)(pcVar12 + 0x1fe5c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar12 + 0x1fe5c)" ( (binary_expression "pcVar12 + 0x1fe5c" identifier + number_literal) ))))) )) (argument_list "(3,iVar2,auStack_168)" ( number_literal , identifier , identifier )))) ;) (expression_statement "piVar5 = (int *)(**(code **)(pcVar12 + 0x1ff3c))();" (assignment_expression "piVar5 = (int *)(**(code **)(pcVar12 + 0x1ff3c))()" identifier = (cast_expression "(int *)(**(code **)(pcVar12 + 0x1ff3c))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar12 + 0x1ff3c))()" (parenthesized_expression "(**(code **)(pcVar12 + 0x1ff3c))" ( (pointer_expression "**(code **)(pcVar12 + 0x1ff3c)" * (pointer_expression "*(code **)(pcVar12 + 0x1ff3c)" * (cast_expression "(code **)(pcVar12 + 0x1ff3c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar12 + 0x1ff3c)" ( (binary_expression "pcVar12 + 0x1ff3c" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (if_statement "if ((iVar2 == 0) || (*piVar5 == 0x4f)) {\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }\n  else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }" if (parenthesized_expression "((iVar2 == 0) || (*piVar5 == 0x4f))" ( (binary_expression "(iVar2 == 0) || (*piVar5 == 0x4f)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) || (parenthesized_expression "(*piVar5 == 0x4f)" ( (binary_expression "*piVar5 == 0x4f" (pointer_expression "*piVar5" * identifier) == number_literal) ))) )) (compound_statement "{\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }" { (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (expression_statement "*piVar5 = 0x11;" (assignment_expression "*piVar5 = 0x11" (pointer_expression "*piVar5" * identifier) = number_literal) ;) }) (else_clause "else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }" else (compound_statement "{\n    iVar2 = -(uint)(*piVar5 != 2);\n  }" { (expression_statement "iVar2 = -(uint)(*piVar5 != 2);" (assignment_expression "iVar2 = -(uint)(*piVar5 != 2)" identifier = (unary_expression "-(uint)(*piVar5 != 2)" - (call_expression "(uint)(*piVar5 != 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*piVar5 != 2)" ( (binary_expression "*piVar5 != 2" (pointer_expression "*piVar5" * identifier) != number_literal) ))))) ;) }))) (if_statement "if (iStack_c4 == *piVar10) {\n    return iVar2;\n  }" if (parenthesized_expression "(iStack_c4 == *piVar10)" ( (binary_expression "iStack_c4 == *piVar10" identifier == (pointer_expression "*piVar10" * identifier)) )) (compound_statement "{\n    return iVar2;\n  }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "pcVar12 = *(code **)(pcVar12 + 0x20034);" (assignment_expression "pcVar12 = *(code **)(pcVar12 + 0x20034)" identifier = (pointer_expression "*(code **)(pcVar12 + 0x20034)" * (cast_expression "(code **)(pcVar12 + 0x20034)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar12 + 0x20034)" ( (binary_expression "pcVar12 + 0x20034" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar12)();" (call_expression "(*pcVar12)()" (parenthesized_expression "(*pcVar12)" ( (pointer_expression "*pcVar12" * identifier) )) (argument_list "()" ( ))) ;) comment comment (expression_statement "iVar2 = (**(code **)(pcVar12 + 0x1fe8c))();" (assignment_expression "iVar2 = (**(code **)(pcVar12 + 0x1fe8c))()" identifier = (call_expression "(**(code **)(pcVar12 + 0x1fe8c))()" (parenthesized_expression "(**(code **)(pcVar12 + 0x1fe8c))" ( (pointer_expression "**(code **)(pcVar12 + 0x1fe8c)" * (pointer_expression "*(code **)(pcVar12 + 0x1fe8c)" * (cast_expression "(code **)(pcVar12 + 0x1fe8c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar12 + 0x1fe8c)" ( (binary_expression "pcVar12 + 0x1fe8c" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "int savewd_restore(uint *param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint *puVar6;\n  undefined4 *puVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *unaff_s0;\n  int *piVar10;\n  int iVar11;\n  code *pcVar12;\n  code *pcVar13;\n  int iVar14;\n  undefined4 uVar15;\n  undefined1 auStack_168 [164];\n  int iStack_c4;\n  undefined4 *puStack_bc;\n  int *piStack_b8;\n  undefined4 uStack_b4;\n  code *pcStack_a0;\n  undefined4 *puStack_98;\n  int *piStack_94;\n  int iStack_8c;\n  int iStack_88;\n  int iStack_84;\n  \n  if (*param_1 < 5) {\n                    \n                    \n    iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();\n    return iVar2;\n  }\n  puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700);\n  (*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8);\n  pcVar13 = (code *)PTR___stack_chk_fail_00046664;\n  (*(code *)PTR___stack_chk_fail_00046664)();\n  (*pcVar13)();\n  if (*puVar6 < 5) {\n                    \n                    \n    iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }\n  pcVar8 = (code *)0xfb;\n  pcVar12 = *(code **)(pcVar13 + 0x20108);\n  iVar9 = *(int *)(pcVar13 + 0x1fde8) + 0x47b8;\n  puVar7 = (undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700);\n  iVar2 = *(int *)(pcVar13 + 0x1fde8) + 0x4750;\n  (*pcVar12)();\n  pcStack_a0 = pcVar12 + 0x27cf0;\n  piStack_94 = *(int **)(pcVar12 + 0x20280);\n  iVar14 = iVar2 + -1;\n  iStack_8c = 0;\n  iStack_84 = *piStack_94;\n  puStack_98 = puVar7;\n  if (-1 < iVar14) {\n    if (*(char *)puVar7[iVar14] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar14) {\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }\nLAB_000264d4:\n  iVar11 = 0;\n  iVar14 = 0;\nLAB_000264e0:\n  savewd_finish(&iStack_8c);\n  if (iVar14 < iVar2) {\n    unaff_s0 = puStack_98 + iVar14;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }\n  if (iStack_84 == *piStack_94) {\n    return iVar11;\n  }\n  pcVar13 = *(code **)(pcStack_a0 + -0x7aac);\n  uVar15 = 0x26624;\n  iVar2 = iStack_84;\n  (*pcVar13)();\n  piVar10 = *(int **)(pcVar13 + 0x20070);\n  iStack_c4 = *piVar10;\n  puStack_bc = unaff_s0;\n  piStack_b8 = &iStack_8c;\n  uStack_b4 = uVar15;\n  iVar2 = (**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168);\n  piVar5 = (int *)(**(code **)(pcVar13 + 0x1ff3c))();\n  if ((iVar2 == 0) || (*piVar5 == 0x4f)) {\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }\n  else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }\n  if (iStack_c4 == *piVar10) {\n    return iVar2;\n  }\n  pcVar13 = *(code **)(pcVar13 + 0x20034);\n  (*pcVar13)();\n                    \n                    \n  iVar2 = (**(code **)(pcVar13 + 0x1fe8c))();\n  return iVar2;\n}\n\n" (function_definition "int savewd_restore(uint *param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint *puVar6;\n  undefined4 *puVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *unaff_s0;\n  int *piVar10;\n  int iVar11;\n  code *pcVar12;\n  code *pcVar13;\n  int iVar14;\n  undefined4 uVar15;\n  undefined1 auStack_168 [164];\n  int iStack_c4;\n  undefined4 *puStack_bc;\n  int *piStack_b8;\n  undefined4 uStack_b4;\n  code *pcStack_a0;\n  undefined4 *puStack_98;\n  int *piStack_94;\n  int iStack_8c;\n  int iStack_88;\n  int iStack_84;\n  \n  if (*param_1 < 5) {\n                    \n                    \n    iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();\n    return iVar2;\n  }\n  puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700);\n  (*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8);\n  pcVar13 = (code *)PTR___stack_chk_fail_00046664;\n  (*(code *)PTR___stack_chk_fail_00046664)();\n  (*pcVar13)();\n  if (*puVar6 < 5) {\n                    \n                    \n    iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }\n  pcVar8 = (code *)0xfb;\n  pcVar12 = *(code **)(pcVar13 + 0x20108);\n  iVar9 = *(int *)(pcVar13 + 0x1fde8) + 0x47b8;\n  puVar7 = (undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700);\n  iVar2 = *(int *)(pcVar13 + 0x1fde8) + 0x4750;\n  (*pcVar12)();\n  pcStack_a0 = pcVar12 + 0x27cf0;\n  piStack_94 = *(int **)(pcVar12 + 0x20280);\n  iVar14 = iVar2 + -1;\n  iStack_8c = 0;\n  iStack_84 = *piStack_94;\n  puStack_98 = puVar7;\n  if (-1 < iVar14) {\n    if (*(char *)puVar7[iVar14] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar14) {\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }\nLAB_000264d4:\n  iVar11 = 0;\n  iVar14 = 0;\nLAB_000264e0:\n  savewd_finish(&iStack_8c);\n  if (iVar14 < iVar2) {\n    unaff_s0 = puStack_98 + iVar14;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }\n  if (iStack_84 == *piStack_94) {\n    return iVar11;\n  }\n  pcVar13 = *(code **)(pcStack_a0 + -0x7aac);\n  uVar15 = 0x26624;\n  iVar2 = iStack_84;\n  (*pcVar13)();\n  piVar10 = *(int **)(pcVar13 + 0x20070);\n  iStack_c4 = *piVar10;\n  puStack_bc = unaff_s0;\n  piStack_b8 = &iStack_8c;\n  uStack_b4 = uVar15;\n  iVar2 = (**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168);\n  piVar5 = (int *)(**(code **)(pcVar13 + 0x1ff3c))();\n  if ((iVar2 == 0) || (*piVar5 == 0x4f)) {\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }\n  else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }\n  if (iStack_c4 == *piVar10) {\n    return iVar2;\n  }\n  pcVar13 = *(code **)(pcVar13 + 0x20034);\n  (*pcVar13)();\n                    \n                    \n  iVar2 = (**(code **)(pcVar13 + 0x1fe8c))();\n  return iVar2;\n}" primitive_type (function_declarator "savewd_restore(uint *param_1)" identifier (parameter_list "(uint *param_1)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint *puVar6;\n  undefined4 *puVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *unaff_s0;\n  int *piVar10;\n  int iVar11;\n  code *pcVar12;\n  code *pcVar13;\n  int iVar14;\n  undefined4 uVar15;\n  undefined1 auStack_168 [164];\n  int iStack_c4;\n  undefined4 *puStack_bc;\n  int *piStack_b8;\n  undefined4 uStack_b4;\n  code *pcStack_a0;\n  undefined4 *puStack_98;\n  int *piStack_94;\n  int iStack_8c;\n  int iStack_88;\n  int iStack_84;\n  \n  if (*param_1 < 5) {\n                    \n                    \n    iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();\n    return iVar2;\n  }\n  puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700);\n  (*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8);\n  pcVar13 = (code *)PTR___stack_chk_fail_00046664;\n  (*(code *)PTR___stack_chk_fail_00046664)();\n  (*pcVar13)();\n  if (*puVar6 < 5) {\n                    \n                    \n    iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }\n  pcVar8 = (code *)0xfb;\n  pcVar12 = *(code **)(pcVar13 + 0x20108);\n  iVar9 = *(int *)(pcVar13 + 0x1fde8) + 0x47b8;\n  puVar7 = (undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700);\n  iVar2 = *(int *)(pcVar13 + 0x1fde8) + 0x4750;\n  (*pcVar12)();\n  pcStack_a0 = pcVar12 + 0x27cf0;\n  piStack_94 = *(int **)(pcVar12 + 0x20280);\n  iVar14 = iVar2 + -1;\n  iStack_8c = 0;\n  iStack_84 = *piStack_94;\n  puStack_98 = puVar7;\n  if (-1 < iVar14) {\n    if (*(char *)puVar7[iVar14] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar14) {\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }\nLAB_000264d4:\n  iVar11 = 0;\n  iVar14 = 0;\nLAB_000264e0:\n  savewd_finish(&iStack_8c);\n  if (iVar14 < iVar2) {\n    unaff_s0 = puStack_98 + iVar14;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }\n  if (iStack_84 == *piStack_94) {\n    return iVar11;\n  }\n  pcVar13 = *(code **)(pcStack_a0 + -0x7aac);\n  uVar15 = 0x26624;\n  iVar2 = iStack_84;\n  (*pcVar13)();\n  piVar10 = *(int **)(pcVar13 + 0x20070);\n  iStack_c4 = *piVar10;\n  puStack_bc = unaff_s0;\n  piStack_b8 = &iStack_8c;\n  uStack_b4 = uVar15;\n  iVar2 = (**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168);\n  piVar5 = (int *)(**(code **)(pcVar13 + 0x1ff3c))();\n  if ((iVar2 == 0) || (*piVar5 == 0x4f)) {\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }\n  else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }\n  if (iStack_c4 == *piVar10) {\n    return iVar2;\n  }\n  pcVar13 = *(code **)(pcVar13 + 0x20034);\n  (*pcVar13)();\n                    \n                    \n  iVar2 = (**(code **)(pcVar13 + 0x1fe8c))();\n  return iVar2;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 *unaff_s0;" type_identifier (pointer_declarator "*unaff_s0" * identifier) ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "code *pcVar12;" type_identifier (pointer_declarator "*pcVar12" * identifier) ;) (declaration "code *pcVar13;" type_identifier (pointer_declarator "*pcVar13" * identifier) ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "undefined4 uVar15;" type_identifier identifier ;) (declaration "undefined1 auStack_168 [164];" type_identifier (array_declarator "auStack_168 [164]" identifier [ number_literal ]) ;) (declaration "int iStack_c4;" primitive_type identifier ;) (declaration "undefined4 *puStack_bc;" type_identifier (pointer_declarator "*puStack_bc" * identifier) ;) (declaration "int *piStack_b8;" primitive_type (pointer_declarator "*piStack_b8" * identifier) ;) (declaration "undefined4 uStack_b4;" type_identifier identifier ;) (declaration "code *pcStack_a0;" type_identifier (pointer_declarator "*pcStack_a0" * identifier) ;) (declaration "undefined4 *puStack_98;" type_identifier (pointer_declarator "*puStack_98" * identifier) ;) (declaration "int *piStack_94;" primitive_type (pointer_declarator "*piStack_94" * identifier) ;) (declaration "int iStack_8c;" primitive_type identifier ;) (declaration "int iStack_88;" primitive_type identifier ;) (declaration "int iStack_84;" primitive_type identifier ;) (if_statement "if (*param_1 < 5) {\n                    \n                    \n    iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();\n    return iVar2;\n  }" if (parenthesized_expression "(*param_1 < 5)" ( (binary_expression "*param_1 < 5" (pointer_expression "*param_1" * identifier) < number_literal) )) (compound_statement "{\n                    \n                    \n    iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();\n    return iVar2;\n  }" { (expression_statement "iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();" (assignment_expression "iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790))" ( (binary_expression "&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)" * (cast_expression "(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)" ( (binary_expression "PTR_LAB_00046148 + *param_1 * 4 + 0x4790" (binary_expression "PTR_LAB_00046148 + *param_1 * 4" identifier + (binary_expression "*param_1 * 4" (pointer_expression "*param_1" * identifier) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700);" (assignment_expression "puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700)" identifier = (cast_expression "(uint *)(PTR_LAB_00046148 + 0x4700)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00046148 + 0x4700)" ( (binary_expression "PTR_LAB_00046148 + 0x4700" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8);" (call_expression "(*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8)" (parenthesized_expression "(*(code *)PTR___assert_fail_00046468)" ( (pointer_expression "*(code *)PTR___assert_fail_00046468" * (cast_expression "(code *)PTR___assert_fail_00046468" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8)" ( (binary_expression "PTR_LAB_00046148 + 0x4750" identifier + number_literal) , identifier , number_literal , (binary_expression "PTR_LAB_00046148 + 0x47c8" identifier + number_literal) ))) ;) (expression_statement "pcVar13 = (code *)PTR___stack_chk_fail_00046664;" (assignment_expression "pcVar13 = (code *)PTR___stack_chk_fail_00046664" identifier = (cast_expression "(code *)PTR___stack_chk_fail_00046664" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00046664)();" (call_expression "(*(code *)PTR___stack_chk_fail_00046664)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00046664)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00046664" * (cast_expression "(code *)PTR___stack_chk_fail_00046664" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "(*pcVar13)();" (call_expression "(*pcVar13)()" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "()" ( ))) ;) (if_statement "if (*puVar6 < 5) {\n                    \n                    \n    iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }" if (parenthesized_expression "(*puVar6 < 5)" ( (binary_expression "*puVar6 < 5" (pointer_expression "*puVar6" * identifier) < number_literal) )) (compound_statement "{\n                    \n                    \n    iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }" { (expression_statement "iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();" (assignment_expression "iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))()" identifier = (call_expression "(*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))()" (parenthesized_expression "(*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))" ( (pointer_expression "*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0)" * (parenthesized_expression "(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0)" ( (binary_expression "pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0" (binary_expression "pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4)" identifier + (pointer_expression "*(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4)" * (cast_expression "(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4)" ( (binary_expression "*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4" (binary_expression "*(int *)(pcVar13 + 0x1fde8) + 0x47a4" (pointer_expression "*(int *)(pcVar13 + 0x1fde8)" * (cast_expression "(int *)(pcVar13 + 0x1fde8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x1fde8)" ( (binary_expression "pcVar13 + 0x1fde8" identifier + number_literal) )))) + number_literal) + (binary_expression "*puVar6 * 4" (pointer_expression "*puVar6" * identifier) * number_literal)) ))))) + number_literal) ))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })) (expression_statement "pcVar8 = (code *)0xfb;" (assignment_expression "pcVar8 = (code *)0xfb" identifier = (cast_expression "(code *)0xfb" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar12 = *(code **)(pcVar13 + 0x20108);" (assignment_expression "pcVar12 = *(code **)(pcVar13 + 0x20108)" identifier = (pointer_expression "*(code **)(pcVar13 + 0x20108)" * (cast_expression "(code **)(pcVar13 + 0x20108)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar13 + 0x20108)" ( (binary_expression "pcVar13 + 0x20108" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = *(int *)(pcVar13 + 0x1fde8) + 0x47b8;" (assignment_expression "iVar9 = *(int *)(pcVar13 + 0x1fde8) + 0x47b8" identifier = (binary_expression "*(int *)(pcVar13 + 0x1fde8) + 0x47b8" (pointer_expression "*(int *)(pcVar13 + 0x1fde8)" * (cast_expression "(int *)(pcVar13 + 0x1fde8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x1fde8)" ( (binary_expression "pcVar13 + 0x1fde8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "puVar7 = (undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700);" (assignment_expression "puVar7 = (undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700)" identifier = (cast_expression "(undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar13 + 0x1fde8) + 0x4700)" ( (binary_expression "*(int *)(pcVar13 + 0x1fde8) + 0x4700" (pointer_expression "*(int *)(pcVar13 + 0x1fde8)" * (cast_expression "(int *)(pcVar13 + 0x1fde8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x1fde8)" ( (binary_expression "pcVar13 + 0x1fde8" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "iVar2 = *(int *)(pcVar13 + 0x1fde8) + 0x4750;" (assignment_expression "iVar2 = *(int *)(pcVar13 + 0x1fde8) + 0x4750" identifier = (binary_expression "*(int *)(pcVar13 + 0x1fde8) + 0x4750" (pointer_expression "*(int *)(pcVar13 + 0x1fde8)" * (cast_expression "(int *)(pcVar13 + 0x1fde8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar13 + 0x1fde8)" ( (binary_expression "pcVar13 + 0x1fde8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(*pcVar12)();" (call_expression "(*pcVar12)()" (parenthesized_expression "(*pcVar12)" ( (pointer_expression "*pcVar12" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "pcStack_a0 = pcVar12 + 0x27cf0;" (assignment_expression "pcStack_a0 = pcVar12 + 0x27cf0" identifier = (binary_expression "pcVar12 + 0x27cf0" identifier + number_literal)) ;) (expression_statement "piStack_94 = *(int **)(pcVar12 + 0x20280);" (assignment_expression "piStack_94 = *(int **)(pcVar12 + 0x20280)" identifier = (pointer_expression "*(int **)(pcVar12 + 0x20280)" * (cast_expression "(int **)(pcVar12 + 0x20280)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar12 + 0x20280)" ( (binary_expression "pcVar12 + 0x20280" identifier + number_literal) ))))) ;) (expression_statement "iVar14 = iVar2 + -1;" (assignment_expression "iVar14 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "iStack_8c = 0;" (assignment_expression "iStack_8c = 0" identifier = number_literal) ;) (expression_statement "iStack_84 = *piStack_94;" (assignment_expression "iStack_84 = *piStack_94" identifier = (pointer_expression "*piStack_94" * identifier)) ;) (expression_statement "puStack_98 = puVar7;" (assignment_expression "puStack_98 = puVar7" identifier = identifier) ;) (if_statement "if (-1 < iVar14) {\n    if (*(char *)puVar7[iVar14] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar14) {\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }" if (parenthesized_expression "(-1 < iVar14)" ( (binary_expression "-1 < iVar14" number_literal < identifier) )) (compound_statement "{\n    if (*(char *)puVar7[iVar14] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar14) {\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }" { (if_statement "if (*(char *)puVar7[iVar14] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }" if (parenthesized_expression "(*(char *)puVar7[iVar14] == '/')" ( (binary_expression "*(char *)puVar7[iVar14] == '/'" (pointer_expression "*(char *)puVar7[iVar14]" * (cast_expression "(char *)puVar7[iVar14]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar7[iVar14]" identifier [ identifier ]))) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }" { (expression_statement "puVar3 = puVar7 + iVar2;" (assignment_expression "puVar3 = puVar7 + iVar2" identifier = (binary_expression "puVar7 + iVar2" identifier + identifier)) ;) (do_statement "do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');" do (compound_statement "{\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      }" { (expression_statement "iVar14 = iVar14 + -1;" (assignment_expression "iVar14 = iVar14 + -1" identifier = (binary_expression "iVar14 + -1" identifier + number_literal)) ;) (if_statement "if (iVar14 == -1) goto LAB_000264d4;" if (parenthesized_expression "(iVar14 == -1)" ( (binary_expression "iVar14 == -1" identifier == number_literal) )) (goto_statement "goto LAB_000264d4;" goto statement_identifier ;)) (expression_statement "puVar1 = puVar3 + -2;" (assignment_expression "puVar1 = puVar3 + -2" identifier = (binary_expression "puVar3 + -2" identifier + number_literal)) ;) (expression_statement "puVar3 = puVar3 + -1;" (assignment_expression "puVar3 = puVar3 + -1" identifier = (binary_expression "puVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(char *)*puVar1 == '/')" ( (binary_expression "*(char *)*puVar1 == '/'" (pointer_expression "*(char *)*puVar1" * (cast_expression "(char *)*puVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) == (char_literal "'/'" ' character ')) )) ;) })) (if_statement "if (0 < iVar14) {\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }" if (parenthesized_expression "(0 < iVar14)" ( (binary_expression "0 < iVar14" number_literal < identifier) )) (compound_statement "{\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }" { (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "unaff_s0 = puVar7 + iVar14;" (assignment_expression "unaff_s0 = puVar7 + iVar14" identifier = (binary_expression "puVar7 + iVar14" identifier + identifier)) ;) (do_statement "do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);" do (compound_statement "{\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      }" { (if_statement "if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }" if (parenthesized_expression "(iStack_8c == 3)" ( (binary_expression "iStack_8c == 3" identifier == number_literal) )) (compound_statement "{\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }" { (if_statement "if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }" if (parenthesized_expression "(iStack_88 < 1)" ( (binary_expression "iStack_88 < 1" identifier < number_literal) )) (compound_statement "{\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }" { (expression_statement "uVar15 = *puVar7;" (assignment_expression "uVar15 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (goto_statement "goto LAB_000265b0;" goto statement_identifier ;) })) }) (else_clause "else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }" else (compound_statement "{\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }" { (expression_statement "uVar15 = *puVar7;" (assignment_expression "uVar15 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (labeled_statement "LAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);" statement_identifier : (expression_statement "iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);" (assignment_expression "iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9)" identifier = (call_expression "(*pcVar8)(uVar15,&iStack_8c,iVar9)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(uVar15,&iStack_8c,iVar9)" ( identifier , (pointer_expression "&iStack_8c" & identifier) , identifier )))) ;)) (if_statement "if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }" if (parenthesized_expression "(iVar11 < iVar4)" ( (binary_expression "iVar11 < iVar4" identifier < identifier) )) (compound_statement "{\n            iVar11 = iVar4;\n          }" { (expression_statement "iVar11 = iVar4;" (assignment_expression "iVar11 = iVar4" identifier = identifier) ;) })) }))) (if_statement "if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }" if (parenthesized_expression "((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4))" ( (binary_expression "(*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)" (parenthesized_expression "(*(char *)puVar7[1] != '/')" ( (binary_expression "*(char *)puVar7[1] != '/'" (pointer_expression "*(char *)puVar7[1]" * (cast_expression "(char *)puVar7[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar7[1]" identifier [ number_literal ]))) != (char_literal "'/'" ' character ')) )) && (parenthesized_expression "(iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)" ( (comma_expression "iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4" (assignment_expression "iVar4 = savewd_restore(&iStack_8c,iVar11)" identifier = (call_expression "savewd_restore(&iStack_8c,iVar11)" identifier (argument_list "(&iStack_8c,iVar11)" ( (pointer_expression "&iStack_8c" & identifier) , identifier )))) , (binary_expression "iVar11 < iVar4" identifier < identifier)) ))) )) (compound_statement "{\n          iVar11 = iVar4;\n        }" { (expression_statement "iVar11 = iVar4;" (assignment_expression "iVar11 = iVar4" identifier = identifier) ;) })) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar7 != unaff_s0)" ( (binary_expression "puVar7 != unaff_s0" identifier != identifier) )) ;) (goto_statement "goto LAB_000264e0;" goto statement_identifier ;) })) })) (labeled_statement "LAB_000264d4:\n  iVar11 = 0;" statement_identifier : (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;)) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (labeled_statement "LAB_000264e0:\n  savewd_finish(&iStack_8c);" statement_identifier : (expression_statement "savewd_finish(&iStack_8c);" (call_expression "savewd_finish(&iStack_8c)" identifier (argument_list "(&iStack_8c)" ( (pointer_expression "&iStack_8c" & identifier) ))) ;)) (if_statement "if (iVar14 < iVar2) {\n    unaff_s0 = puStack_98 + iVar14;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }" if (parenthesized_expression "(iVar14 < iVar2)" ( (binary_expression "iVar14 < iVar2" identifier < identifier) )) (compound_statement "{\n    unaff_s0 = puStack_98 + iVar14;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }" { (expression_statement "unaff_s0 = puStack_98 + iVar14;" (assignment_expression "unaff_s0 = puStack_98 + iVar14" identifier = (binary_expression "puStack_98 + iVar14" identifier + identifier)) ;) (expression_statement "puVar7 = puStack_98 + iVar2;" (assignment_expression "puVar7 = puStack_98 + iVar2" identifier = (binary_expression "puStack_98 + iVar2" identifier + identifier)) ;) (do_statement "do {\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);" do (compound_statement "{\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    }" { (expression_statement "iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);" (assignment_expression "iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9)" identifier = (call_expression "(*pcVar8)(*unaff_s0,&iStack_8c,iVar9)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(*unaff_s0,&iStack_8c,iVar9)" ( (pointer_expression "*unaff_s0" * identifier) , (pointer_expression "&iStack_8c" & identifier) , identifier )))) ;) (expression_statement "unaff_s0 = unaff_s0 + 1;" (assignment_expression "unaff_s0 = unaff_s0 + 1" identifier = (binary_expression "unaff_s0 + 1" identifier + number_literal)) ;) (if_statement "if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }" if (parenthesized_expression "(iVar11 < iVar2)" ( (binary_expression "iVar11 < iVar2" identifier < identifier) )) (compound_statement "{\n        iVar11 = iVar2;\n      }" { (expression_statement "iVar11 = iVar2;" (assignment_expression "iVar11 = iVar2" identifier = identifier) ;) })) }) while (parenthesized_expression "(puVar7 != unaff_s0)" ( (binary_expression "puVar7 != unaff_s0" identifier != identifier) )) ;) })) (if_statement "if (iStack_84 == *piStack_94) {\n    return iVar11;\n  }" if (parenthesized_expression "(iStack_84 == *piStack_94)" ( (binary_expression "iStack_84 == *piStack_94" identifier == (pointer_expression "*piStack_94" * identifier)) )) (compound_statement "{\n    return iVar11;\n  }" { (return_statement "return iVar11;" return identifier ;) })) (expression_statement "pcVar13 = *(code **)(pcStack_a0 + -0x7aac);" (assignment_expression "pcVar13 = *(code **)(pcStack_a0 + -0x7aac)" identifier = (pointer_expression "*(code **)(pcStack_a0 + -0x7aac)" * (cast_expression "(code **)(pcStack_a0 + -0x7aac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcStack_a0 + -0x7aac)" ( (binary_expression "pcStack_a0 + -0x7aac" identifier + number_literal) ))))) ;) (expression_statement "uVar15 = 0x26624;" (assignment_expression "uVar15 = 0x26624" identifier = number_literal) ;) (expression_statement "iVar2 = iStack_84;" (assignment_expression "iVar2 = iStack_84" identifier = identifier) ;) (expression_statement "(*pcVar13)();" (call_expression "(*pcVar13)()" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar10 = *(int **)(pcVar13 + 0x20070);" (assignment_expression "piVar10 = *(int **)(pcVar13 + 0x20070)" identifier = (pointer_expression "*(int **)(pcVar13 + 0x20070)" * (cast_expression "(int **)(pcVar13 + 0x20070)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar13 + 0x20070)" ( (binary_expression "pcVar13 + 0x20070" identifier + number_literal) ))))) ;) (expression_statement "iStack_c4 = *piVar10;" (assignment_expression "iStack_c4 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) (expression_statement "puStack_bc = unaff_s0;" (assignment_expression "puStack_bc = unaff_s0" identifier = identifier) ;) (expression_statement "piStack_b8 = &iStack_8c;" (assignment_expression "piStack_b8 = &iStack_8c" identifier = (pointer_expression "&iStack_8c" & identifier)) ;) (expression_statement "uStack_b4 = uVar15;" (assignment_expression "uStack_b4 = uVar15" identifier = identifier) ;) (expression_statement "iVar2 = (**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168);" (assignment_expression "iVar2 = (**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168)" identifier = (call_expression "(**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168)" (parenthesized_expression "(**(code **)(pcVar13 + 0x1fe5c))" ( (pointer_expression "**(code **)(pcVar13 + 0x1fe5c)" * (pointer_expression "*(code **)(pcVar13 + 0x1fe5c)" * (cast_expression "(code **)(pcVar13 + 0x1fe5c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar13 + 0x1fe5c)" ( (binary_expression "pcVar13 + 0x1fe5c" identifier + number_literal) ))))) )) (argument_list "(3,iVar2,auStack_168)" ( number_literal , identifier , identifier )))) ;) (expression_statement "piVar5 = (int *)(**(code **)(pcVar13 + 0x1ff3c))();" (assignment_expression "piVar5 = (int *)(**(code **)(pcVar13 + 0x1ff3c))()" identifier = (cast_expression "(int *)(**(code **)(pcVar13 + 0x1ff3c))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar13 + 0x1ff3c))()" (parenthesized_expression "(**(code **)(pcVar13 + 0x1ff3c))" ( (pointer_expression "**(code **)(pcVar13 + 0x1ff3c)" * (pointer_expression "*(code **)(pcVar13 + 0x1ff3c)" * (cast_expression "(code **)(pcVar13 + 0x1ff3c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar13 + 0x1ff3c)" ( (binary_expression "pcVar13 + 0x1ff3c" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (if_statement "if ((iVar2 == 0) || (*piVar5 == 0x4f)) {\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }\n  else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }" if (parenthesized_expression "((iVar2 == 0) || (*piVar5 == 0x4f))" ( (binary_expression "(iVar2 == 0) || (*piVar5 == 0x4f)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) || (parenthesized_expression "(*piVar5 == 0x4f)" ( (binary_expression "*piVar5 == 0x4f" (pointer_expression "*piVar5" * identifier) == number_literal) ))) )) (compound_statement "{\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }" { (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (expression_statement "*piVar5 = 0x11;" (assignment_expression "*piVar5 = 0x11" (pointer_expression "*piVar5" * identifier) = number_literal) ;) }) (else_clause "else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }" else (compound_statement "{\n    iVar2 = -(uint)(*piVar5 != 2);\n  }" { (expression_statement "iVar2 = -(uint)(*piVar5 != 2);" (assignment_expression "iVar2 = -(uint)(*piVar5 != 2)" identifier = (unary_expression "-(uint)(*piVar5 != 2)" - (call_expression "(uint)(*piVar5 != 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*piVar5 != 2)" ( (binary_expression "*piVar5 != 2" (pointer_expression "*piVar5" * identifier) != number_literal) ))))) ;) }))) (if_statement "if (iStack_c4 == *piVar10) {\n    return iVar2;\n  }" if (parenthesized_expression "(iStack_c4 == *piVar10)" ( (binary_expression "iStack_c4 == *piVar10" identifier == (pointer_expression "*piVar10" * identifier)) )) (compound_statement "{\n    return iVar2;\n  }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "pcVar13 = *(code **)(pcVar13 + 0x20034);" (assignment_expression "pcVar13 = *(code **)(pcVar13 + 0x20034)" identifier = (pointer_expression "*(code **)(pcVar13 + 0x20034)" * (cast_expression "(code **)(pcVar13 + 0x20034)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar13 + 0x20034)" ( (binary_expression "pcVar13 + 0x20034" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar13)();" (call_expression "(*pcVar13)()" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = (**(code **)(pcVar13 + 0x1fe8c))();" (assignment_expression "iVar2 = (**(code **)(pcVar13 + 0x1fe8c))()" identifier = (call_expression "(**(code **)(pcVar13 + 0x1fe8c))()" (parenthesized_expression "(**(code **)(pcVar13 + 0x1fe8c))" ( (pointer_expression "**(code **)(pcVar13 + 0x1fe8c)" * (pointer_expression "*(code **)(pcVar13 + 0x1fe8c)" * (cast_expression "(code **)(pcVar13 + 0x1fe8c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar13 + 0x1fe8c)" ( (binary_expression "pcVar13 + 0x1fe8c" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT)) + LIT) ))))) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , LIT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (parenthesized_expression ( (binary_expression (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + (binary_expression (pointer_expression * IDENT) * LIT)) ))))) + LIT) ))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ IDENT ]))) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) == (char_literal ' character ')) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) != (char_literal ' character ')) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT )))) , (binary_expression IDENT < IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (goto_statement goto statement_identifier ;) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression * IDENT) , (pointer_expression & IDENT) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * IDENT)) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * IDENT) != LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * IDENT)) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })))
(function_definition "int savewd_restore(uint *param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint *puVar6;\n  undefined4 *puVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *unaff_s0;\n  int *piVar10;\n  int iVar11;\n  code *pcVar12;\n  code *pcVar13;\n  int iVar14;\n  undefined4 uVar15;\n  undefined1 auStack_168 [164];\n  int iStack_c4;\n  undefined4 *puStack_bc;\n  int *piStack_b8;\n  undefined4 uStack_b4;\n  code *pcStack_a0;\n  undefined4 *puStack_98;\n  int *piStack_94;\n  int iStack_8c;\n  int iStack_88;\n  int iStack_84;\n  \n  if (*param_1 < 5) {\n                    \n                    \n    iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();\n    return iVar2;\n  }\n  puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700);\n  (*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8);\n  pcVar13 = (code *)PTR___stack_chk_fail_00046664;\n  (*(code *)PTR___stack_chk_fail_00046664)();\n  (*pcVar13)();\n  if (*puVar6 < 5) {\n                    \n                    \n    iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }\n  pcVar8 = (code *)0xfb;\n  pcVar12 = *(code **)(pcVar13 + 0x20108);\n  iVar9 = *(int *)(pcVar13 + 0x1fde8) + 0x47b8;\n  puVar7 = (undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700);\n  iVar2 = *(int *)(pcVar13 + 0x1fde8) + 0x4750;\n  (*pcVar12)();\n  pcStack_a0 = pcVar12 + 0x27cf0;\n  piStack_94 = *(int **)(pcVar12 + 0x20280);\n  iVar14 = iVar2 + -1;\n  iStack_8c = 0;\n  iStack_84 = *piStack_94;\n  puStack_98 = puVar7;\n  if (-1 < iVar14) {\n    if (*(char *)puVar7[iVar14] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar14) {\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }\nLAB_000264d4:\n  iVar11 = 0;\n  iVar14 = 0;\nLAB_000264e0:\n  savewd_finish(&iStack_8c);\n  if (iVar14 < iVar2) {\n    unaff_s0 = puStack_98 + iVar14;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }\n  if (iStack_84 == *piStack_94) {\n    return iVar11;\n  }\n  pcVar13 = *(code **)(pcStack_a0 + -0x7aac);\n  uVar15 = 0x26624;\n  iVar2 = iStack_84;\n  (*pcVar13)();\n  piVar10 = *(int **)(pcVar13 + 0x20070);\n  iStack_c4 = *piVar10;\n  puStack_bc = unaff_s0;\n  piStack_b8 = &iStack_8c;\n  uStack_b4 = uVar15;\n  iVar2 = (**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168);\n  piVar5 = (int *)(**(code **)(pcVar13 + 0x1ff3c))();\n  if ((iVar2 == 0) || (*piVar5 == 0x4f)) {\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }\n  else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }\n  if (iStack_c4 == *piVar10) {\n    return iVar2;\n  }\n  pcVar13 = *(code **)(pcVar13 + 0x20034);\n  (*pcVar13)();\n                    \n                    \n  iVar2 = (**(code **)(pcVar13 + 0x1fe8c))();\n  return iVar2;\n}" (primitive_type "int") (function_declarator "savewd_restore(uint *param_1)" (identifier "savewd_restore") (parameter_list "(uint *param_1)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int iVar4;\n  int *piVar5;\n  uint *puVar6;\n  undefined4 *puVar7;\n  code *pcVar8;\n  int iVar9;\n  undefined4 *unaff_s0;\n  int *piVar10;\n  int iVar11;\n  code *pcVar12;\n  code *pcVar13;\n  int iVar14;\n  undefined4 uVar15;\n  undefined1 auStack_168 [164];\n  int iStack_c4;\n  undefined4 *puStack_bc;\n  int *piStack_b8;\n  undefined4 uStack_b4;\n  code *pcStack_a0;\n  undefined4 *puStack_98;\n  int *piStack_94;\n  int iStack_8c;\n  int iStack_88;\n  int iStack_84;\n  \n  if (*param_1 < 5) {\n                    \n                    \n    iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();\n    return iVar2;\n  }\n  puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700);\n  (*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8);\n  pcVar13 = (code *)PTR___stack_chk_fail_00046664;\n  (*(code *)PTR___stack_chk_fail_00046664)();\n  (*pcVar13)();\n  if (*puVar6 < 5) {\n                    \n                    \n    iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }\n  pcVar8 = (code *)0xfb;\n  pcVar12 = *(code **)(pcVar13 + 0x20108);\n  iVar9 = *(int *)(pcVar13 + 0x1fde8) + 0x47b8;\n  puVar7 = (undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700);\n  iVar2 = *(int *)(pcVar13 + 0x1fde8) + 0x4750;\n  (*pcVar12)();\n  pcStack_a0 = pcVar12 + 0x27cf0;\n  piStack_94 = *(int **)(pcVar12 + 0x20280);\n  iVar14 = iVar2 + -1;\n  iStack_8c = 0;\n  iStack_84 = *piStack_94;\n  puStack_98 = puVar7;\n  if (-1 < iVar14) {\n    if (*(char *)puVar7[iVar14] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar14) {\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }\nLAB_000264d4:\n  iVar11 = 0;\n  iVar14 = 0;\nLAB_000264e0:\n  savewd_finish(&iStack_8c);\n  if (iVar14 < iVar2) {\n    unaff_s0 = puStack_98 + iVar14;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }\n  if (iStack_84 == *piStack_94) {\n    return iVar11;\n  }\n  pcVar13 = *(code **)(pcStack_a0 + -0x7aac);\n  uVar15 = 0x26624;\n  iVar2 = iStack_84;\n  (*pcVar13)();\n  piVar10 = *(int **)(pcVar13 + 0x20070);\n  iStack_c4 = *piVar10;\n  puStack_bc = unaff_s0;\n  piStack_b8 = &iStack_8c;\n  uStack_b4 = uVar15;\n  iVar2 = (**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168);\n  piVar5 = (int *)(**(code **)(pcVar13 + 0x1ff3c))();\n  if ((iVar2 == 0) || (*piVar5 == 0x4f)) {\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }\n  else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }\n  if (iStack_c4 == *piVar10) {\n    return iVar2;\n  }\n  pcVar13 = *(code **)(pcVar13 + 0x20034);\n  (*pcVar13)();\n                    \n                    \n  iVar2 = (**(code **)(pcVar13 + 0x1fe8c))();\n  return iVar2;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "uint *puVar6;" (type_identifier "uint") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "code *pcVar8;" (type_identifier "code") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "undefined4 *unaff_s0;" (type_identifier "undefined4") (pointer_declarator "*unaff_s0" (* "*") (identifier "unaff_s0")) (; ";")) (declaration "int *piVar10;" (primitive_type "int") (pointer_declarator "*piVar10" (* "*") (identifier "piVar10")) (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "code *pcVar12;" (type_identifier "code") (pointer_declarator "*pcVar12" (* "*") (identifier "pcVar12")) (; ";")) (declaration "code *pcVar13;" (type_identifier "code") (pointer_declarator "*pcVar13" (* "*") (identifier "pcVar13")) (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "undefined4 uVar15;" (type_identifier "undefined4") (identifier "uVar15") (; ";")) (declaration "undefined1 auStack_168 [164];" (type_identifier "undefined1") (array_declarator "auStack_168 [164]" (identifier "auStack_168") ([ "[") (number_literal "164") (] "]")) (; ";")) (declaration "int iStack_c4;" (primitive_type "int") (identifier "iStack_c4") (; ";")) (declaration "undefined4 *puStack_bc;" (type_identifier "undefined4") (pointer_declarator "*puStack_bc" (* "*") (identifier "puStack_bc")) (; ";")) (declaration "int *piStack_b8;" (primitive_type "int") (pointer_declarator "*piStack_b8" (* "*") (identifier "piStack_b8")) (; ";")) (declaration "undefined4 uStack_b4;" (type_identifier "undefined4") (identifier "uStack_b4") (; ";")) (declaration "code *pcStack_a0;" (type_identifier "code") (pointer_declarator "*pcStack_a0" (* "*") (identifier "pcStack_a0")) (; ";")) (declaration "undefined4 *puStack_98;" (type_identifier "undefined4") (pointer_declarator "*puStack_98" (* "*") (identifier "puStack_98")) (; ";")) (declaration "int *piStack_94;" (primitive_type "int") (pointer_declarator "*piStack_94" (* "*") (identifier "piStack_94")) (; ";")) (declaration "int iStack_8c;" (primitive_type "int") (identifier "iStack_8c") (; ";")) (declaration "int iStack_88;" (primitive_type "int") (identifier "iStack_88") (; ";")) (declaration "int iStack_84;" (primitive_type "int") (identifier "iStack_84") (; ";")) (if_statement "if (*param_1 < 5) {\n                    \n                    \n    iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();\n    return iVar2;\n  }" (if "if") (parenthesized_expression "(*param_1 < 5)" (( "(") (binary_expression "*param_1 < 5" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (< "<") (number_literal "5")) () ")")) (compound_statement "{\n                    \n                    \n    iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();\n    return iVar2;\n  }" ({ "{") (expression_statement "iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();" (assignment_expression "iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))()" (identifier "iVar2") (= "=") (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)" (* "*") (cast_expression "(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)" (( "(") (binary_expression "PTR_LAB_00046148 + *param_1 * 4 + 0x4790" (binary_expression "PTR_LAB_00046148 + *param_1 * 4" (identifier "PTR_LAB_00046148") (+ "+") (binary_expression "*param_1 * 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (* "*") (number_literal "4"))) (+ "+") (number_literal "0x4790")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700);" (assignment_expression "puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700)" (identifier "puVar6") (= "=") (cast_expression "(uint *)(PTR_LAB_00046148 + 0x4700)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00046148 + 0x4700)" (( "(") (binary_expression "PTR_LAB_00046148 + 0x4700" (identifier "PTR_LAB_00046148") (+ "+") (number_literal "0x4700")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8);" (call_expression "(*(code *)PTR___assert_fail_00046468)\n            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8)" (parenthesized_expression "(*(code *)PTR___assert_fail_00046468)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_00046468" (* "*") (cast_expression "(code *)PTR___assert_fail_00046468" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_00046468"))) () ")")) (argument_list "(PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8)" (( "(") (binary_expression "PTR_LAB_00046148 + 0x4750" (identifier "PTR_LAB_00046148") (+ "+") (number_literal "0x4750")) (, ",") (identifier "puVar6") (, ",") (number_literal "0xe2") (, ",") (binary_expression "PTR_LAB_00046148 + 0x47c8" (identifier "PTR_LAB_00046148") (+ "+") (number_literal "0x47c8")) () ")"))) (; ";")) (expression_statement "pcVar13 = (code *)PTR___stack_chk_fail_00046664;" (assignment_expression "pcVar13 = (code *)PTR___stack_chk_fail_00046664" (identifier "pcVar13") (= "=") (cast_expression "(code *)PTR___stack_chk_fail_00046664" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00046664"))) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_00046664)();" (call_expression "(*(code *)PTR___stack_chk_fail_00046664)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00046664)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00046664" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00046664" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00046664"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "(*pcVar13)();" (call_expression "(*pcVar13)()" (parenthesized_expression "(*pcVar13)" (( "(") (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (*puVar6 < 5) {\n                    \n                    \n    iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }" (if "if") (parenthesized_expression "(*puVar6 < 5)" (( "(") (binary_expression "*puVar6 < 5" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (< "<") (number_literal "5")) () ")")) (compound_statement "{\n                    \n                    \n    iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();\n    return iVar2;\n  }" ({ "{") (expression_statement "iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();" (assignment_expression "iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))()" (identifier "iVar2") (= "=") (call_expression "(*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))()" (parenthesized_expression "(*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))" (( "(") (pointer_expression "*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0)" (* "*") (parenthesized_expression "(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0)" (( "(") (binary_expression "pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0" (binary_expression "pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4)" (identifier "pcVar13") (+ "+") (pointer_expression "*(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4)" (* "*") (cast_expression "(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4)" (( "(") (binary_expression "*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4" (binary_expression "*(int *)(pcVar13 + 0x1fde8) + 0x47a4" (pointer_expression "*(int *)(pcVar13 + 0x1fde8)" (* "*") (cast_expression "(int *)(pcVar13 + 0x1fde8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar13 + 0x1fde8)" (( "(") (binary_expression "pcVar13 + 0x1fde8" (identifier "pcVar13") (+ "+") (number_literal "0x1fde8")) () ")")))) (+ "+") (number_literal "0x47a4")) (+ "+") (binary_expression "*puVar6 * 4" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (* "*") (number_literal "4"))) () ")"))))) (+ "+") (number_literal "0x27db0")) () ")"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "pcVar8 = (code *)0xfb;" (assignment_expression "pcVar8 = (code *)0xfb" (identifier "pcVar8") (= "=") (cast_expression "(code *)0xfb" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xfb"))) (; ";")) (expression_statement "pcVar12 = *(code **)(pcVar13 + 0x20108);" (assignment_expression "pcVar12 = *(code **)(pcVar13 + 0x20108)" (identifier "pcVar12") (= "=") (pointer_expression "*(code **)(pcVar13 + 0x20108)" (* "*") (cast_expression "(code **)(pcVar13 + 0x20108)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar13 + 0x20108)" (( "(") (binary_expression "pcVar13 + 0x20108" (identifier "pcVar13") (+ "+") (number_literal "0x20108")) () ")"))))) (; ";")) (expression_statement "iVar9 = *(int *)(pcVar13 + 0x1fde8) + 0x47b8;" (assignment_expression "iVar9 = *(int *)(pcVar13 + 0x1fde8) + 0x47b8" (identifier "iVar9") (= "=") (binary_expression "*(int *)(pcVar13 + 0x1fde8) + 0x47b8" (pointer_expression "*(int *)(pcVar13 + 0x1fde8)" (* "*") (cast_expression "(int *)(pcVar13 + 0x1fde8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar13 + 0x1fde8)" (( "(") (binary_expression "pcVar13 + 0x1fde8" (identifier "pcVar13") (+ "+") (number_literal "0x1fde8")) () ")")))) (+ "+") (number_literal "0x47b8"))) (; ";")) (expression_statement "puVar7 = (undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700);" (assignment_expression "puVar7 = (undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700)" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar13 + 0x1fde8) + 0x4700)" (( "(") (binary_expression "*(int *)(pcVar13 + 0x1fde8) + 0x4700" (pointer_expression "*(int *)(pcVar13 + 0x1fde8)" (* "*") (cast_expression "(int *)(pcVar13 + 0x1fde8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar13 + 0x1fde8)" (( "(") (binary_expression "pcVar13 + 0x1fde8" (identifier "pcVar13") (+ "+") (number_literal "0x1fde8")) () ")")))) (+ "+") (number_literal "0x4700")) () ")")))) (; ";")) (expression_statement "iVar2 = *(int *)(pcVar13 + 0x1fde8) + 0x4750;" (assignment_expression "iVar2 = *(int *)(pcVar13 + 0x1fde8) + 0x4750" (identifier "iVar2") (= "=") (binary_expression "*(int *)(pcVar13 + 0x1fde8) + 0x4750" (pointer_expression "*(int *)(pcVar13 + 0x1fde8)" (* "*") (cast_expression "(int *)(pcVar13 + 0x1fde8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar13 + 0x1fde8)" (( "(") (binary_expression "pcVar13 + 0x1fde8" (identifier "pcVar13") (+ "+") (number_literal "0x1fde8")) () ")")))) (+ "+") (number_literal "0x4750"))) (; ";")) (expression_statement "(*pcVar12)();" (call_expression "(*pcVar12)()" (parenthesized_expression "(*pcVar12)" (( "(") (pointer_expression "*pcVar12" (* "*") (identifier "pcVar12")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcStack_a0 = pcVar12 + 0x27cf0;" (assignment_expression "pcStack_a0 = pcVar12 + 0x27cf0" (identifier "pcStack_a0") (= "=") (binary_expression "pcVar12 + 0x27cf0" (identifier "pcVar12") (+ "+") (number_literal "0x27cf0"))) (; ";")) (expression_statement "piStack_94 = *(int **)(pcVar12 + 0x20280);" (assignment_expression "piStack_94 = *(int **)(pcVar12 + 0x20280)" (identifier "piStack_94") (= "=") (pointer_expression "*(int **)(pcVar12 + 0x20280)" (* "*") (cast_expression "(int **)(pcVar12 + 0x20280)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar12 + 0x20280)" (( "(") (binary_expression "pcVar12 + 0x20280" (identifier "pcVar12") (+ "+") (number_literal "0x20280")) () ")"))))) (; ";")) (expression_statement "iVar14 = iVar2 + -1;" (assignment_expression "iVar14 = iVar2 + -1" (identifier "iVar14") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iStack_8c = 0;" (assignment_expression "iStack_8c = 0" (identifier "iStack_8c") (= "=") (number_literal "0")) (; ";")) (expression_statement "iStack_84 = *piStack_94;" (assignment_expression "iStack_84 = *piStack_94" (identifier "iStack_84") (= "=") (pointer_expression "*piStack_94" (* "*") (identifier "piStack_94"))) (; ";")) (expression_statement "puStack_98 = puVar7;" (assignment_expression "puStack_98 = puVar7" (identifier "puStack_98") (= "=") (identifier "puVar7")) (; ";")) (if_statement "if (-1 < iVar14) {\n    if (*(char *)puVar7[iVar14] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar14) {\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }" (if "if") (parenthesized_expression "(-1 < iVar14)" (( "(") (binary_expression "-1 < iVar14" (number_literal "-1") (< "<") (identifier "iVar14")) () ")")) (compound_statement "{\n    if (*(char *)puVar7[iVar14] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }\n    if (0 < iVar14) {\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }\n  }" ({ "{") (if_statement "if (*(char *)puVar7[iVar14] == '/') {\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }" (if "if") (parenthesized_expression "(*(char *)puVar7[iVar14] == '/')" (( "(") (binary_expression "*(char *)puVar7[iVar14] == '/'" (pointer_expression "*(char *)puVar7[iVar14]" (* "*") (cast_expression "(char *)puVar7[iVar14]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar7[iVar14]" (identifier "puVar7") ([ "[") (identifier "iVar14") (] "]")))) (== "==") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (compound_statement "{\n      puVar3 = puVar7 + iVar2;\n      do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');\n    }" ({ "{") (expression_statement "puVar3 = puVar7 + iVar2;" (assignment_expression "puVar3 = puVar7 + iVar2" (identifier "puVar3") (= "=") (binary_expression "puVar7 + iVar2" (identifier "puVar7") (+ "+") (identifier "iVar2"))) (; ";")) (do_statement "do {\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      } while (*(char *)*puVar1 == '/');" (do "do") (compound_statement "{\n        iVar14 = iVar14 + -1;\n        if (iVar14 == -1) goto LAB_000264d4;\n        puVar1 = puVar3 + -2;\n        puVar3 = puVar3 + -1;\n      }" ({ "{") (expression_statement "iVar14 = iVar14 + -1;" (assignment_expression "iVar14 = iVar14 + -1" (identifier "iVar14") (= "=") (binary_expression "iVar14 + -1" (identifier "iVar14") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar14 == -1) goto LAB_000264d4;" (if "if") (parenthesized_expression "(iVar14 == -1)" (( "(") (binary_expression "iVar14 == -1" (identifier "iVar14") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_000264d4;" (goto "goto") (statement_identifier "LAB_000264d4") (; ";"))) (expression_statement "puVar1 = puVar3 + -2;" (assignment_expression "puVar1 = puVar3 + -2" (identifier "puVar1") (= "=") (binary_expression "puVar3 + -2" (identifier "puVar3") (+ "+") (number_literal "-2"))) (; ";")) (expression_statement "puVar3 = puVar3 + -1;" (assignment_expression "puVar3 = puVar3 + -1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + -1" (identifier "puVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(char *)*puVar1 == '/')" (( "(") (binary_expression "*(char *)*puVar1 == '/'" (pointer_expression "*(char *)*puVar1" (* "*") (cast_expression "(char *)*puVar1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (== "==") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (; ";")) (} "}"))) (if_statement "if (0 < iVar14) {\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }" (if "if") (parenthesized_expression "(0 < iVar14)" (( "(") (binary_expression "0 < iVar14" (number_literal "0") (< "<") (identifier "iVar14")) () ")")) (compound_statement "{\n      iVar11 = 0;\n      unaff_s0 = puVar7 + iVar14;\n      do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);\n      goto LAB_000264e0;\n    }" ({ "{") (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "unaff_s0 = puVar7 + iVar14;" (assignment_expression "unaff_s0 = puVar7 + iVar14" (identifier "unaff_s0") (= "=") (binary_expression "puVar7 + iVar14" (identifier "puVar7") (+ "+") (identifier "iVar14"))) (; ";")) (do_statement "do {\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      } while (puVar7 != unaff_s0);" (do "do") (compound_statement "{\n        if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }\n        if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }\n        puVar7 = puVar7 + 1;\n      }" ({ "{") (if_statement "if (iStack_8c == 3) {\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }\n        else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }" (if "if") (parenthesized_expression "(iStack_8c == 3)" (( "(") (binary_expression "iStack_8c == 3" (identifier "iStack_8c") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n          if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }\n        }" ({ "{") (if_statement "if (iStack_88 < 1) {\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }" (if "if") (parenthesized_expression "(iStack_88 < 1)" (( "(") (binary_expression "iStack_88 < 1" (identifier "iStack_88") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n            uVar15 = *puVar7;\n            goto LAB_000265b0;\n          }" ({ "{") (expression_statement "uVar15 = *puVar7;" (assignment_expression "uVar15 = *puVar7" (identifier "uVar15") (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (goto_statement "goto LAB_000265b0;" (goto "goto") (statement_identifier "LAB_000265b0") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }" (else "else") (compound_statement "{\n          uVar15 = *puVar7;\nLAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);\n          if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }\n        }" ({ "{") (expression_statement "uVar15 = *puVar7;" (assignment_expression "uVar15 = *puVar7" (identifier "uVar15") (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (labeled_statement "LAB_000265b0:\n          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);" (statement_identifier "LAB_000265b0") (: ":") (expression_statement "iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);" (assignment_expression "iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9)" (identifier "iVar4") (= "=") (call_expression "(*pcVar8)(uVar15,&iStack_8c,iVar9)" (parenthesized_expression "(*pcVar8)" (( "(") (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) () ")")) (argument_list "(uVar15,&iStack_8c,iVar9)" (( "(") (identifier "uVar15") (, ",") (pointer_expression "&iStack_8c" (& "&") (identifier "iStack_8c")) (, ",") (identifier "iVar9") () ")")))) (; ";"))) (if_statement "if (iVar11 < iVar4) {\n            iVar11 = iVar4;\n          }" (if "if") (parenthesized_expression "(iVar11 < iVar4)" (( "(") (binary_expression "iVar11 < iVar4" (identifier "iVar11") (< "<") (identifier "iVar4")) () ")")) (compound_statement "{\n            iVar11 = iVar4;\n          }" ({ "{") (expression_statement "iVar11 = iVar4;" (assignment_expression "iVar11 = iVar4" (identifier "iVar11") (= "=") (identifier "iVar4")) (; ";")) (} "}"))) (} "}")))) (if_statement "if ((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)) {\n          iVar11 = iVar4;\n        }" (if "if") (parenthesized_expression "((*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4))" (( "(") (binary_expression "(*(char *)puVar7[1] != '/') &&\n           (iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)" (parenthesized_expression "(*(char *)puVar7[1] != '/')" (( "(") (binary_expression "*(char *)puVar7[1] != '/'" (pointer_expression "*(char *)puVar7[1]" (* "*") (cast_expression "(char *)puVar7[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar7[1]" (identifier "puVar7") ([ "[") (number_literal "1") (] "]")))) (!= "!=") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4)" (( "(") (comma_expression "iVar4 = savewd_restore(&iStack_8c,iVar11), iVar11 < iVar4" (assignment_expression "iVar4 = savewd_restore(&iStack_8c,iVar11)" (identifier "iVar4") (= "=") (call_expression "savewd_restore(&iStack_8c,iVar11)" (identifier "savewd_restore") (argument_list "(&iStack_8c,iVar11)" (( "(") (pointer_expression "&iStack_8c" (& "&") (identifier "iStack_8c")) (, ",") (identifier "iVar11") () ")")))) (, ",") (binary_expression "iVar11 < iVar4" (identifier "iVar11") (< "<") (identifier "iVar4"))) () ")"))) () ")")) (compound_statement "{\n          iVar11 = iVar4;\n        }" ({ "{") (expression_statement "iVar11 = iVar4;" (assignment_expression "iVar11 = iVar4" (identifier "iVar11") (= "=") (identifier "iVar4")) (; ";")) (} "}"))) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar7 != unaff_s0)" (( "(") (binary_expression "puVar7 != unaff_s0" (identifier "puVar7") (!= "!=") (identifier "unaff_s0")) () ")")) (; ";")) (goto_statement "goto LAB_000264e0;" (goto "goto") (statement_identifier "LAB_000264e0") (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_000264d4:\n  iVar11 = 0;" (statement_identifier "LAB_000264d4") (: ":") (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";"))) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" (identifier "iVar14") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_000264e0:\n  savewd_finish(&iStack_8c);" (statement_identifier "LAB_000264e0") (: ":") (expression_statement "savewd_finish(&iStack_8c);" (call_expression "savewd_finish(&iStack_8c)" (identifier "savewd_finish") (argument_list "(&iStack_8c)" (( "(") (pointer_expression "&iStack_8c" (& "&") (identifier "iStack_8c")) () ")"))) (; ";"))) (if_statement "if (iVar14 < iVar2) {\n    unaff_s0 = puStack_98 + iVar14;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }" (if "if") (parenthesized_expression "(iVar14 < iVar2)" (( "(") (binary_expression "iVar14 < iVar2" (identifier "iVar14") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n    unaff_s0 = puStack_98 + iVar14;\n    puVar7 = puStack_98 + iVar2;\n    do {\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);\n  }" ({ "{") (expression_statement "unaff_s0 = puStack_98 + iVar14;" (assignment_expression "unaff_s0 = puStack_98 + iVar14" (identifier "unaff_s0") (= "=") (binary_expression "puStack_98 + iVar14" (identifier "puStack_98") (+ "+") (identifier "iVar14"))) (; ";")) (expression_statement "puVar7 = puStack_98 + iVar2;" (assignment_expression "puVar7 = puStack_98 + iVar2" (identifier "puVar7") (= "=") (binary_expression "puStack_98 + iVar2" (identifier "puStack_98") (+ "+") (identifier "iVar2"))) (; ";")) (do_statement "do {\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    } while (puVar7 != unaff_s0);" (do "do") (compound_statement "{\n      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);\n      unaff_s0 = unaff_s0 + 1;\n      if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }\n    }" ({ "{") (expression_statement "iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);" (assignment_expression "iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9)" (identifier "iVar2") (= "=") (call_expression "(*pcVar8)(*unaff_s0,&iStack_8c,iVar9)" (parenthesized_expression "(*pcVar8)" (( "(") (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) () ")")) (argument_list "(*unaff_s0,&iStack_8c,iVar9)" (( "(") (pointer_expression "*unaff_s0" (* "*") (identifier "unaff_s0")) (, ",") (pointer_expression "&iStack_8c" (& "&") (identifier "iStack_8c")) (, ",") (identifier "iVar9") () ")")))) (; ";")) (expression_statement "unaff_s0 = unaff_s0 + 1;" (assignment_expression "unaff_s0 = unaff_s0 + 1" (identifier "unaff_s0") (= "=") (binary_expression "unaff_s0 + 1" (identifier "unaff_s0") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar11 < iVar2) {\n        iVar11 = iVar2;\n      }" (if "if") (parenthesized_expression "(iVar11 < iVar2)" (( "(") (binary_expression "iVar11 < iVar2" (identifier "iVar11") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n        iVar11 = iVar2;\n      }" ({ "{") (expression_statement "iVar11 = iVar2;" (assignment_expression "iVar11 = iVar2" (identifier "iVar11") (= "=") (identifier "iVar2")) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(puVar7 != unaff_s0)" (( "(") (binary_expression "puVar7 != unaff_s0" (identifier "puVar7") (!= "!=") (identifier "unaff_s0")) () ")")) (; ";")) (} "}"))) (if_statement "if (iStack_84 == *piStack_94) {\n    return iVar11;\n  }" (if "if") (parenthesized_expression "(iStack_84 == *piStack_94)" (( "(") (binary_expression "iStack_84 == *piStack_94" (identifier "iStack_84") (== "==") (pointer_expression "*piStack_94" (* "*") (identifier "piStack_94"))) () ")")) (compound_statement "{\n    return iVar11;\n  }" ({ "{") (return_statement "return iVar11;" (return "return") (identifier "iVar11") (; ";")) (} "}"))) (expression_statement "pcVar13 = *(code **)(pcStack_a0 + -0x7aac);" (assignment_expression "pcVar13 = *(code **)(pcStack_a0 + -0x7aac)" (identifier "pcVar13") (= "=") (pointer_expression "*(code **)(pcStack_a0 + -0x7aac)" (* "*") (cast_expression "(code **)(pcStack_a0 + -0x7aac)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcStack_a0 + -0x7aac)" (( "(") (binary_expression "pcStack_a0 + -0x7aac" (identifier "pcStack_a0") (+ "+") (number_literal "-0x7aac")) () ")"))))) (; ";")) (expression_statement "uVar15 = 0x26624;" (assignment_expression "uVar15 = 0x26624" (identifier "uVar15") (= "=") (number_literal "0x26624")) (; ";")) (expression_statement "iVar2 = iStack_84;" (assignment_expression "iVar2 = iStack_84" (identifier "iVar2") (= "=") (identifier "iStack_84")) (; ";")) (expression_statement "(*pcVar13)();" (call_expression "(*pcVar13)()" (parenthesized_expression "(*pcVar13)" (( "(") (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar10 = *(int **)(pcVar13 + 0x20070);" (assignment_expression "piVar10 = *(int **)(pcVar13 + 0x20070)" (identifier "piVar10") (= "=") (pointer_expression "*(int **)(pcVar13 + 0x20070)" (* "*") (cast_expression "(int **)(pcVar13 + 0x20070)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar13 + 0x20070)" (( "(") (binary_expression "pcVar13 + 0x20070" (identifier "pcVar13") (+ "+") (number_literal "0x20070")) () ")"))))) (; ";")) (expression_statement "iStack_c4 = *piVar10;" (assignment_expression "iStack_c4 = *piVar10" (identifier "iStack_c4") (= "=") (pointer_expression "*piVar10" (* "*") (identifier "piVar10"))) (; ";")) (expression_statement "puStack_bc = unaff_s0;" (assignment_expression "puStack_bc = unaff_s0" (identifier "puStack_bc") (= "=") (identifier "unaff_s0")) (; ";")) (expression_statement "piStack_b8 = &iStack_8c;" (assignment_expression "piStack_b8 = &iStack_8c" (identifier "piStack_b8") (= "=") (pointer_expression "&iStack_8c" (& "&") (identifier "iStack_8c"))) (; ";")) (expression_statement "uStack_b4 = uVar15;" (assignment_expression "uStack_b4 = uVar15" (identifier "uStack_b4") (= "=") (identifier "uVar15")) (; ";")) (expression_statement "iVar2 = (**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168);" (assignment_expression "iVar2 = (**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168)" (parenthesized_expression "(**(code **)(pcVar13 + 0x1fe5c))" (( "(") (pointer_expression "**(code **)(pcVar13 + 0x1fe5c)" (* "*") (pointer_expression "*(code **)(pcVar13 + 0x1fe5c)" (* "*") (cast_expression "(code **)(pcVar13 + 0x1fe5c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar13 + 0x1fe5c)" (( "(") (binary_expression "pcVar13 + 0x1fe5c" (identifier "pcVar13") (+ "+") (number_literal "0x1fe5c")) () ")"))))) () ")")) (argument_list "(3,iVar2,auStack_168)" (( "(") (number_literal "3") (, ",") (identifier "iVar2") (, ",") (identifier "auStack_168") () ")")))) (; ";")) (expression_statement "piVar5 = (int *)(**(code **)(pcVar13 + 0x1ff3c))();" (assignment_expression "piVar5 = (int *)(**(code **)(pcVar13 + 0x1ff3c))()" (identifier "piVar5") (= "=") (cast_expression "(int *)(**(code **)(pcVar13 + 0x1ff3c))()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(pcVar13 + 0x1ff3c))()" (parenthesized_expression "(**(code **)(pcVar13 + 0x1ff3c))" (( "(") (pointer_expression "**(code **)(pcVar13 + 0x1ff3c)" (* "*") (pointer_expression "*(code **)(pcVar13 + 0x1ff3c)" (* "*") (cast_expression "(code **)(pcVar13 + 0x1ff3c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar13 + 0x1ff3c)" (( "(") (binary_expression "pcVar13 + 0x1ff3c" (identifier "pcVar13") (+ "+") (number_literal "0x1ff3c")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if ((iVar2 == 0) || (*piVar5 == 0x4f)) {\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }\n  else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }" (if "if") (parenthesized_expression "((iVar2 == 0) || (*piVar5 == 0x4f))" (( "(") (binary_expression "(iVar2 == 0) || (*piVar5 == 0x4f)" (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*piVar5 == 0x4f)" (( "(") (binary_expression "*piVar5 == 0x4f" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (== "==") (number_literal "0x4f")) () ")"))) () ")")) (compound_statement "{\n    iVar2 = -1;\n    *piVar5 = 0x11;\n  }" ({ "{") (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" (identifier "iVar2") (= "=") (number_literal "-1")) (; ";")) (expression_statement "*piVar5 = 0x11;" (assignment_expression "*piVar5 = 0x11" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (number_literal "0x11")) (; ";")) (} "}")) (else_clause "else {\n    iVar2 = -(uint)(*piVar5 != 2);\n  }" (else "else") (compound_statement "{\n    iVar2 = -(uint)(*piVar5 != 2);\n  }" ({ "{") (expression_statement "iVar2 = -(uint)(*piVar5 != 2);" (assignment_expression "iVar2 = -(uint)(*piVar5 != 2)" (identifier "iVar2") (= "=") (unary_expression "-(uint)(*piVar5 != 2)" (- "-") (call_expression "(uint)(*piVar5 != 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*piVar5 != 2)" (( "(") (binary_expression "*piVar5 != 2" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (!= "!=") (number_literal "2")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (iStack_c4 == *piVar10) {\n    return iVar2;\n  }" (if "if") (parenthesized_expression "(iStack_c4 == *piVar10)" (( "(") (binary_expression "iStack_c4 == *piVar10" (identifier "iStack_c4") (== "==") (pointer_expression "*piVar10" (* "*") (identifier "piVar10"))) () ")")) (compound_statement "{\n    return iVar2;\n  }" ({ "{") (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (expression_statement "pcVar13 = *(code **)(pcVar13 + 0x20034);" (assignment_expression "pcVar13 = *(code **)(pcVar13 + 0x20034)" (identifier "pcVar13") (= "=") (pointer_expression "*(code **)(pcVar13 + 0x20034)" (* "*") (cast_expression "(code **)(pcVar13 + 0x20034)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar13 + 0x20034)" (( "(") (binary_expression "pcVar13 + 0x20034" (identifier "pcVar13") (+ "+") (number_literal "0x20034")) () ")"))))) (; ";")) (expression_statement "(*pcVar13)();" (call_expression "(*pcVar13)()" (parenthesized_expression "(*pcVar13)" (( "(") (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar2 = (**(code **)(pcVar13 + 0x1fe8c))();" (assignment_expression "iVar2 = (**(code **)(pcVar13 + 0x1fe8c))()" (identifier "iVar2") (= "=") (call_expression "(**(code **)(pcVar13 + 0x1fe8c))()" (parenthesized_expression "(**(code **)(pcVar13 + 0x1fe8c))" (( "(") (pointer_expression "**(code **)(pcVar13 + 0x1fe8c)" (* "*") (pointer_expression "*(code **)(pcVar13 + 0x1fe8c)" (* "*") (cast_expression "(code **)(pcVar13 + 0x1fe8c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar13 + 0x1fe8c)" (( "(") (binary_expression "pcVar13 + 0x1fe8c" (identifier "pcVar13") (+ "+") (number_literal "0x1fe8c")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal)))))))))) arguments: (argument_list)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) right: (number_literal))))) arguments: (argument_list)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) 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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (identifier)))) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) right: (char_literal (character))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (char_literal (character)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier)))) right: (binary_expression left: (identifier) right: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (goto_statement label: (statement_identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (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: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list)))) (return_statement (identifier)))))

int MASKED(uint *param_1)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 *puVar3;
  int iVar4;
  int *piVar5;
  uint *puVar6;
  undefined4 *puVar7;
  code *pcVar8;
  int iVar9;
  undefined4 *unaff_s0;
  int *piVar10;
  int iVar11;
  code *pcVar12;
  code *pcVar13;
  int iVar14;
  undefined4 uVar15;
  undefined1 auStack_168 [164];
  int iStack_c4;
  undefined4 *puStack_bc;
  int *piStack_b8;
  undefined4 uStack_b4;
  code *pcStack_a0;
  undefined4 *puStack_98;
  int *piStack_94;
  int iStack_8c;
  int iStack_88;
  int iStack_84;
  
  if (*param_1 < 5) {
                    /* WARNING: Could not emulate address calculation at 0x000261b8 */
                    /* WARNING: Treating indirect jump as call */
    iVar2 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_00046148 + *param_1 * 4 + 0x4790)))();
    return iVar2;
  }
  puVar6 = (uint *)(PTR_LAB_00046148 + 0x4700);
  (*(code *)PTR___assert_fail_00046468)
            (PTR_LAB_00046148 + 0x4750,puVar6,0xe2,PTR_LAB_00046148 + 0x47c8);
  pcVar13 = (code *)PTR___stack_chk_fail_00046664;
  (*(code *)PTR___stack_chk_fail_00046664)();
  (*pcVar13)();
  if (*puVar6 < 5) {
                    /* WARNING: Could not recover jumptable at 0x000263a0. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar2 = (*(pcVar13 + *(int *)(*(int *)(pcVar13 + 0x1fde8) + 0x47a4 + *puVar6 * 4) + 0x27db0))();
    return iVar2;
  }
  pcVar8 = (code *)0xfb;
  pcVar12 = *(code **)(pcVar13 + 0x20108);
  iVar9 = *(int *)(pcVar13 + 0x1fde8) + 0x47b8;
  puVar7 = (undefined4 *)(*(int *)(pcVar13 + 0x1fde8) + 0x4700);
  iVar2 = *(int *)(pcVar13 + 0x1fde8) + 0x4750;
  (*pcVar12)();
  pcStack_a0 = pcVar12 + 0x27cf0;
  piStack_94 = *(int **)(pcVar12 + 0x20280);
  iVar14 = iVar2 + -1;
  iStack_8c = 0;
  iStack_84 = *piStack_94;
  puStack_98 = puVar7;
  if (-1 < iVar14) {
    if (*(char *)puVar7[iVar14] == '/') {
      puVar3 = puVar7 + iVar2;
      do {
        iVar14 = iVar14 + -1;
        if (iVar14 == -1) goto LAB_000264d4;
        puVar1 = puVar3 + -2;
        puVar3 = puVar3 + -1;
      } while (*(char *)*puVar1 == '/');
    }
    if (0 < iVar14) {
      iVar11 = 0;
      unaff_s0 = puVar7 + iVar14;
      do {
        if (iStack_8c == 3) {
          if (iStack_88 < 1) {
            uVar15 = *puVar7;
            goto LAB_000265b0;
          }
        }
        else {
          uVar15 = *puVar7;
LAB_000265b0:
          iVar4 = (*pcVar8)(uVar15,&iStack_8c,iVar9);
          if (iVar11 < iVar4) {
            iVar11 = iVar4;
          }
        }
        if ((*(char *)puVar7[1] != '/') &&
           (iVar4 = MASKED(&iStack_8c,iVar11), iVar11 < iVar4)) {
          iVar11 = iVar4;
        }
        puVar7 = puVar7 + 1;
      } while (puVar7 != unaff_s0);
      goto LAB_000264e0;
    }
  }
LAB_000264d4:
  iVar11 = 0;
  iVar14 = 0;
LAB_000264e0:
  savewd_finish(&iStack_8c);
  if (iVar14 < iVar2) {
    unaff_s0 = puStack_98 + iVar14;
    puVar7 = puStack_98 + iVar2;
    do {
      iVar2 = (*pcVar8)(*unaff_s0,&iStack_8c,iVar9);
      unaff_s0 = unaff_s0 + 1;
      if (iVar11 < iVar2) {
        iVar11 = iVar2;
      }
    } while (puVar7 != unaff_s0);
  }
  if (iStack_84 == *piStack_94) {
    return iVar11;
  }
  pcVar13 = *(code **)(pcStack_a0 + -0x7aac);
  uVar15 = 0x26624;
  iVar2 = iStack_84;
  (*pcVar13)();
  piVar10 = *(int **)(pcVar13 + 0x20070);
  iStack_c4 = *piVar10;
  puStack_bc = unaff_s0;
  piStack_b8 = &iStack_8c;
  uStack_b4 = uVar15;
  iVar2 = (**(code **)(pcVar13 + 0x1fe5c))(3,iVar2,auStack_168);
  piVar5 = (int *)(**(code **)(pcVar13 + 0x1ff3c))();
  if ((iVar2 == 0) || (*piVar5 == 0x4f)) {
    iVar2 = -1;
    *piVar5 = 0x11;
  }
  else {
    iVar2 = -(uint)(*piVar5 != 2);
  }
  if (iStack_c4 == *piVar10) {
    return iVar2;
  }
  pcVar13 = *(code **)(pcVar13 + 0x20034);
  (*pcVar13)();
                    /* WARNING: Could not recover jumptable at 0x000266f4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  iVar2 = (**(code **)(pcVar13 + 0x1fe8c))();
  return iVar2;
}

