
int cmdloop(int top)

{
  byte bVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined *puVar4;
  undefined *puVar5;
  undefined *puVar6;
  undefined *puVar7;
  code *pcVar8;
  code *pcVar9;
  int iVar10;
  int iVar11;
  code *pcVar12;
  char *pcVar13;
  int iVar14;
  code *pcVar15;
  code *pcVar16;
  code *pcVar17;
  char *pcVar18;
  int iVar20;
  int iVar21;
  int iVar22;
  char *mpath;
  stackmark smark;
  stackmark smark_1;
  stat statb;
  char *pcVar19;
  
  puVar7 = PTR___stack_chk_guard_0012b14c;
  puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c;
  puVar4 = PTR_UINT_0012a18c;
  puVar2 = PTR_DAT_0012a178;
  pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48);
  pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348);
  iVar10 = *(int *)PTR___stack_chk_guard_0012b14c;
  iVar22 = 0;
  pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c);
  iVar21 = 0;
  pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78);
  pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c);
  do {
    do {
      (*pcVar8)(&smark);
      if (puVar2[-0x4c38] != '\0') {
        (*pcVar15)(0xc);
      }
      iVar20 = *(int *)puVar5;
      if (*(char *)(iVar20 + 0x30) == '\0') {
        iVar11 = (*pcVar9)(0);
        if (iVar11 == -1) goto LAB_0007fd58;
      }
      else if (top == 0) {
        iVar11 = (*pcVar9)(0);
        if (iVar11 == -1) goto LAB_0007fc98;
      }
      else {
        (*pcVar8)(&smark_1);
        iVar11 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;
        if ((*(uint *)(iVar11 + 0xdc) & 0x20) == 0) {
          mpath = (char *)(*(int *)(iVar11 + 0xe0) + 9);
        }
        else {
          mpath = (char *)(*(int *)(iVar11 + 0xd0) + 5);
        }
        iVar11 = 0;
        pcVar12 = (code *)(PTR_LAB_0012a814 + 0x5108);
        while (pcVar13 = (char *)(*pcVar12)(&mpath,iVar20 + 0x2c), puVar6 = PTR___xstat64_0012acc4,
              puVar3 = PTR_DAT_0012a178, pcVar13 != (char *)0x0) {
          pcVar18 = pcVar13;
          if (*pcVar13 != '\0') {
            do {
              pcVar19 = pcVar18;
              pcVar18 = pcVar19 + 1;
            } while (*pcVar18 != '\0');
            *pcVar19 = '\0';
            iVar14 = (*(code *)puVar6)(3,pcVar13,&statb);
            if (-1 < iVar14) {
              iVar11 = iVar11 + statb.st_mtim.tv_sec;
            }
          }
        }
        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar11))
        {
          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {
            outstr(PTR_UINT_0012a18c + 0x7e64,*(FILE **)PTR_stderr_0012b184);
            flush_stdout_stderr();
          }
          *(int *)(puVar3 + -0x4d54) = iVar11;
        }
        puVar3[-0x4c3b] = 0;
        popstackmark(&smark_1);
        iVar11 = (*pcVar9)(1);
        if (iVar11 == -1) goto joined_r0x0007fc18;
      }
      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;
      iVar21 = 0;
      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;
      iVar14 = (*pcVar16)(iVar11,0);
      if (iVar11 != 0) {
        iVar22 = iVar14;
      }
      popstackmark(&smark);
      bVar1 = PTR_DAT_0012a178[-0x4c39];
    } while (bVar1 == 0);
    do {
      PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;
LAB_0007fc98:
      do {
        do {
          do {
            if (iVar10 == *(int *)puVar7) {
              return iVar22;
            }
            (*(code *)PTR___stack_chk_fail_0012b0c8)();
LAB_0007fd58:
          } while (top == 0);
joined_r0x0007fc18:
        } while (0x31 < iVar21);
        iVar11 = (*pcVar17)();
        if (iVar11 != 0) goto LAB_0007fc68;
      } while (*(char *)(iVar20 + 0x2f) == '\0');
      outstr(puVar4 + 0x7e74,*(FILE **)PTR_stderr_0012b184);
      flush_stdout_stderr();
LAB_0007fc68:
      iVar21 = iVar21 + 1;
LAB_0007fc70:
      popstackmark(&smark);
      bVar1 = PTR_DAT_0012a178[-0x4c39];
    } while (bVar1 != 0);
  } while( true );
}



undefined4 FUN_0007fa24(int param_1)

{
  byte bVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined *puVar4;
  undefined *puVar5;
  undefined *puVar6;
  undefined *puVar7;
  code *pcVar8;
  code *pcVar9;
  int iVar10;
  code *pcVar11;
  char *pcVar12;
  undefined4 uVar13;
  int iVar14;
  code *pcVar15;
  code *pcVar16;
  code *pcVar17;
  char *pcVar18;
  int iVar20;
  int iVar21;
  undefined4 uVar22;
  int local_ec;
  undefined1 auStack_e8 [12];
  undefined1 auStack_dc [12];
  undefined1 auStack_d0 [72];
  int local_88;
  int local_2c;
  char *pcVar19;
  
  puVar7 = PTR___stack_chk_guard_0012b14c;
  puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c;
  puVar4 = PTR_UINT_0012a18c;
  puVar2 = PTR_DAT_0012a178;
  pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48);
  pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348);
  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;
  uVar22 = 0;
  pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c);
  iVar21 = 0;
  pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78);
  pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c);
  do {
    (*pcVar8)(auStack_e8);
    if (puVar2[-0x4c38] != '\0') {
      (*pcVar15)(0xc);
    }
    iVar20 = *(int *)puVar5;
    if (*(char *)(iVar20 + 0x30) == '\0') {
      iVar10 = (*pcVar9)(0);
      if (iVar10 != -1) goto LAB_0007fcf8;
      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;
LAB_0007fc20:
      iVar10 = (*pcVar17)();
      if (iVar10 == 0) {
        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;
        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);
        FUN_0006d5c0();
      }
      iVar21 = iVar21 + 1;
LAB_0007fc70:
      FUN_0006e128(auStack_e8);
      bVar1 = PTR_DAT_0012a178[-0x4c39];
    }
    else {
      if (param_1 == 0) {
        iVar10 = (*pcVar9)(0);
        if (iVar10 == -1) goto LAB_0007fc98;
      }
      else {
        (*pcVar8)(auStack_dc);
        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;
        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {
          local_ec = *(int *)(iVar10 + 0xe0) + 9;
        }
        else {
          local_ec = *(int *)(iVar10 + 0xd0) + 5;
        }
        iVar10 = 0;
        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);
        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),
              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {
          pcVar18 = pcVar12;
          if (*pcVar12 != '\0') {
            do {
              pcVar19 = pcVar18;
              pcVar18 = pcVar19 + 1;
            } while (*pcVar18 != '\0');
            *pcVar19 = '\0';
            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);
            if (-1 < iVar14) {
              iVar10 = iVar10 + local_88;
            }
          }
        }
        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))
        {
          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {
            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);
            FUN_0006d5c0();
          }
          *(int *)(puVar3 + -0x4d54) = iVar10;
        }
        puVar3[-0x4c3b] = 0;
        FUN_0006e128(auStack_dc);
        iVar10 = (*pcVar9)(1);
        if (iVar10 == -1) {
          if (iVar21 < 0x32) goto LAB_0007fc20;
          goto LAB_0007fc98;
        }
      }
LAB_0007fcf8:
      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;
      iVar21 = 0;
      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;
      uVar13 = (*pcVar16)(iVar10,0);
      if (iVar10 != 0) {
        uVar22 = uVar13;
      }
      FUN_0006e128(auStack_e8);
      bVar1 = PTR_DAT_0012a178[-0x4c39];
    }
  } while (bVar1 == 0);
  PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;
LAB_0007fc98:
  if (local_2c == *(int *)puVar7) {
    return uVar22;
  }
  uVar22 = (*(code *)PTR___stack_chk_fail_0012b0c8)();
  return uVar22;
}


lui gp,0xb
addiu gp,gp,0x272c
addu gp,gp,t9
addiu sp,sp,-0x138
lw v0,-0x793c(gp)
lw v1,-0x7004(gp)
sw s1,0x114(sp)
addiu v0,v0,0xa48
lw s1,-0x78a4(gp)
sw v0,0x1c(sp)
sw v1,0x30(sp)
addiu v0,s1,-0x1348
sw s2,0x118(sp)
sw s8,0x130(sp)
addiu s8,sp,0x50
sw v0,0x18(sp)
lw v0,0x0(v1)
lw v1,-0x793c(gp)
lw s2,-0x793c(gp)
sw s5,0x124(sp)
or s5,zero,zero
addiu v1,v1,0x314c
sw s3,0x11c(sp)
or s3,zero,zero
sw s7,0x12c(sp)
sw v1,0x38(sp)
or s7,a0,zero
lw v1,-0x7fd8(gp)
sw gp,0x10(sp)
sw ra,0x134(sp)
sw v1,0x28(sp)
lw v1,-0x78a4(gp)
sw s6,0x128(sp)
sw s4,0x120(sp)
addiu v1,v1,-0x6c78
sw s0,0x110(sp)
sw v0,0x10c(sp)
sw v1,0x3c(sp)
lw v1,-0x7904(gp)
sw v1,0x2c(sp)
lw v1,-0x793c(gp)
addiu v1,v1,0x1f1c
sw v1,0x40(sp)
lw v1,-0x7fc4(gp)
sw v1,0x44(sp)
lw t9,0x1c(sp)
jalr t9
_or a0,s8,zero
lw v0,0x28(sp)
lb v0,-0x4c38(v0)
beq v0,zero,0x0007fafc
_lw t9,0x38(sp)
jalr t9
_li a0,0xc
lw v0,0x2c(sp)
lw s0,0x0(v0)
lbu v0,0x30(s0)
beq v0,zero,0x0007fcdc
_lw t9,0x18(sp)
beq s7,zero,0x0007fd70
_addiu v0,sp,0x5c
lw t9,0x1c(sp)
sw v0,0x34(sp)
jalr t9
_or a0,v0,zero
lw gp,0x10(sp)
lw v0,-0x7900(gp)
lw v0,0x0(v0)
lw v1,0xdc(v0)
andi v1,v1,0x20
bne v1,zero,0x0007fd90
_nop
lw v0,0xe0(v0)
addiu v0,v0,0x9
sw v0,0x4c(sp)
addiu v1,s0,0x2c
lw v0,-0x793c(gp)
or s4,zero,zero
addiu s6,sp,0x4c
sw v1,0x20(sp)
addiu s1,sp,0x68
addiu v0,v0,0x5108
sw v0,0x24(sp)
lw a1,0x20(sp)
lw t9,0x24(sp)
jalr t9
_or a0,s6,zero
bne v0,zero,0x0007fd9c
_lw gp,0x10(sp)
lw v0,-0x7fd8(gp)
lb v1,-0x4c3b(v0)
bne v1,zero,0x0007fbe4
_lw s1,-0x7fd8(gp)
lw a0,-0x4d54(s1)
beq a0,s4,0x0007fbe4
_nop
beq a0,zero,0x0007fbe0
_lw t9,-0x793c(gp)
lw a0,-0x6fcc(gp)
sw v0,0x20(sp)
lw a1,0x0(a0)
addiu t9,t9,0x1ae0
lw a0,-0x7fc4(gp)
bal 0x00071ae0
_addiu a0,a0,0x7e64
lw gp,0x10(sp)
lw t9,-0x793c(gp)
addiu t9,t9,-0x2a40
bal 0x0006d5c0
_nop
lw v0,0x20(sp)
sw s4,-0x4d54(s1)
lw a0,0x34(sp)
addiu s1,s2,-0x1ed8
or t9,s1,zero
bal 0x0006e128
_sb zero,-0x4c3b(v0)
lw t9,0x18(sp)
jalr t9
_li a0,0x1
li a0,-0x1
lw gp,0x10(sp)
bne v0,a0,0x0007fcf8
_or s4,v0,zero
slti v0,s3,0x32
beq v0,zero,0x0007fc98
_lw t9,0x40(sp)
jalr t9
_nop
bne v0,zero,0x0007fc68
_lw gp,0x10(sp)
lbu v0,0x2f(s0)
beq v0,zero,0x0007fc98
_lw v0,0x44(sp)
lw t9,-0x793c(gp)
addiu a0,v0,0x7e74
lw v0,-0x6fcc(gp)
addiu t9,t9,0x1ae0
bal 0x00071ae0
_lw a1,0x0(v0)
lw gp,0x10(sp)
lw t9,-0x793c(gp)
addiu t9,t9,-0x2a40
bal 0x0006d5c0
_nop
addiu s3,s3,0x1
addiu s1,s2,-0x1ed8
or t9,s1,zero
bal 0x0006e128
_or a0,s8,zero
lw gp,0x10(sp)
lw v1,-0x7fd8(gp)
lb v0,-0x4c39(v1)
beq v0,zero,0x0007fad8
_li a0,-0x5
and v0,v0,a0
sb v0,-0x4c39(v1)
lw v1,0x30(sp)
or v0,s5,zero
lw a0,0x10c(sp)
lw v1,0x0(v1)
bne a0,v1,0x0007fd4c
_lw ra,0x134(sp)
lw s8,0x130(sp)
lw s7,0x12c(sp)
lw s6,0x128(sp)
lw s5,0x124(sp)
lw s4,0x120(sp)
lw s3,0x11c(sp)
lw s2,0x118(sp)
lw s1,0x114(sp)
lw s0,0x110(sp)
jr ra
_addiu sp,sp,0x138
jalr t9
_or a0,zero,zero
li v1,-0x1
lw gp,0x10(sp)
beq v0,v1,0x0007fd58
_or s4,v0,zero
addiu s1,s2,-0x1ed8
lbu v0,0x32(s0)
bne v0,zero,0x0007fc70
_or a1,zero,zero
lb v0,0x2(s0)
lw t9,0x3c(sp)
or a0,s4,zero
or s3,zero,zero
sra v0,v0,0x1
jalr t9
_sb v0,0x2(s0)
or a0,s8,zero
or t9,s1,zero
bal 0x0006e128
_movn s5,v0,s4
lw gp,0x10(sp)
lw v1,-0x7fd8(gp)
lb v0,-0x4c39(v1)
beq v0,zero,0x0007fad8
_li a0,-0x5
b 0x0007fc94
_and v0,v0,a0
lw t9,-0x7088(gp)
jalr t9
_nop
beq s7,zero,0x0007fc98
_slti v0,s3,0x32
beq v0,zero,0x0007fc98
_lw t9,0x40(sp)
b 0x0007fc20
_nop
jalr t9
_or a0,zero,zero
li v1,-0x1
lw gp,0x10(sp)
beq v0,v1,0x0007fc98
_or s4,v0,zero
b 0x0007fcf8
_addiu s1,s2,-0x1ed8
lw v0,0xd0(v0)
b 0x0007fb4c
_addiu v0,v0,0x5
lbu v1,0x0(v0)
beq v1,zero,0x0007fb70
_or v1,v0,zero
addiu v1,v1,0x1
lbu a0,0x0(v1)
bne a0,zero,0x0007fda8
_lw t9,-0x748c(gp)
li a0,0x3
sb zero,-0x1(v1)
or a2,s1,zero
jalr t9
_or a1,v0,zero
bltz v0,0x0007fb70
_lw v0,0xb0(sp)
b 0x0007fb70
_addu s4,s4,v0
(translation_unit "undefined4 FUN_0007fa24(int param_1)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  code *pcVar9;\n  int iVar10;\n  code *pcVar11;\n  char *pcVar12;\n  undefined4 uVar13;\n  int iVar14;\n  code *pcVar15;\n  code *pcVar16;\n  code *pcVar17;\n  char *pcVar18;\n  int iVar20;\n  int iVar21;\n  undefined4 uVar22;\n  int local_ec;\n  undefined1 auStack_e8 [12];\n  undefined1 auStack_dc [12];\n  undefined1 auStack_d0 [72];\n  int local_88;\n  int local_2c;\n  char *pcVar19;\n  \n  puVar7 = PTR___stack_chk_guard_0012b14c;\n  puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar4 = PTR_UINT_0012a18c;\n  puVar2 = PTR_DAT_0012a178;\n  pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48);\n  pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348);\n  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;\n  uVar22 = 0;\n  pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c);\n  iVar21 = 0;\n  pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78);\n  pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c);\n  do {\n    (*pcVar8)(auStack_e8);\n    if (puVar2[-0x4c38] != '\0') {\n      (*pcVar15)(0xc);\n    }\n    iVar20 = *(int *)puVar5;\n    if (*(char *)(iVar20 + 0x30) == '\0') {\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n    else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n  } while (bVar1 == 0);\n  PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;\nLAB_0007fc98:\n  if (local_2c == *(int *)puVar7) {\n    return uVar22;\n  }\n  uVar22 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar22;\n}\n\n" (function_definition "undefined4 FUN_0007fa24(int param_1)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  code *pcVar9;\n  int iVar10;\n  code *pcVar11;\n  char *pcVar12;\n  undefined4 uVar13;\n  int iVar14;\n  code *pcVar15;\n  code *pcVar16;\n  code *pcVar17;\n  char *pcVar18;\n  int iVar20;\n  int iVar21;\n  undefined4 uVar22;\n  int local_ec;\n  undefined1 auStack_e8 [12];\n  undefined1 auStack_dc [12];\n  undefined1 auStack_d0 [72];\n  int local_88;\n  int local_2c;\n  char *pcVar19;\n  \n  puVar7 = PTR___stack_chk_guard_0012b14c;\n  puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar4 = PTR_UINT_0012a18c;\n  puVar2 = PTR_DAT_0012a178;\n  pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48);\n  pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348);\n  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;\n  uVar22 = 0;\n  pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c);\n  iVar21 = 0;\n  pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78);\n  pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c);\n  do {\n    (*pcVar8)(auStack_e8);\n    if (puVar2[-0x4c38] != '\0') {\n      (*pcVar15)(0xc);\n    }\n    iVar20 = *(int *)puVar5;\n    if (*(char *)(iVar20 + 0x30) == '\0') {\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n    else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n  } while (bVar1 == 0);\n  PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;\nLAB_0007fc98:\n  if (local_2c == *(int *)puVar7) {\n    return uVar22;\n  }\n  uVar22 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar22;\n}" type_identifier (function_declarator "FUN_0007fa24(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  code *pcVar9;\n  int iVar10;\n  code *pcVar11;\n  char *pcVar12;\n  undefined4 uVar13;\n  int iVar14;\n  code *pcVar15;\n  code *pcVar16;\n  code *pcVar17;\n  char *pcVar18;\n  int iVar20;\n  int iVar21;\n  undefined4 uVar22;\n  int local_ec;\n  undefined1 auStack_e8 [12];\n  undefined1 auStack_dc [12];\n  undefined1 auStack_d0 [72];\n  int local_88;\n  int local_2c;\n  char *pcVar19;\n  \n  puVar7 = PTR___stack_chk_guard_0012b14c;\n  puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar4 = PTR_UINT_0012a18c;\n  puVar2 = PTR_DAT_0012a178;\n  pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48);\n  pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348);\n  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;\n  uVar22 = 0;\n  pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c);\n  iVar21 = 0;\n  pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78);\n  pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c);\n  do {\n    (*pcVar8)(auStack_e8);\n    if (puVar2[-0x4c38] != '\0') {\n      (*pcVar15)(0xc);\n    }\n    iVar20 = *(int *)puVar5;\n    if (*(char *)(iVar20 + 0x30) == '\0') {\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n    else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n  } while (bVar1 == 0);\n  PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;\nLAB_0007fc98:\n  if (local_2c == *(int *)puVar7) {\n    return uVar22;\n  }\n  uVar22 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar22;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (declaration "char *pcVar12;" primitive_type (pointer_declarator "*pcVar12" * identifier) ;) (declaration "undefined4 uVar13;" type_identifier identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "code *pcVar15;" type_identifier (pointer_declarator "*pcVar15" * identifier) ;) (declaration "code *pcVar16;" type_identifier (pointer_declarator "*pcVar16" * identifier) ;) (declaration "code *pcVar17;" type_identifier (pointer_declarator "*pcVar17" * identifier) ;) (declaration "char *pcVar18;" primitive_type (pointer_declarator "*pcVar18" * identifier) ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "int iVar21;" primitive_type identifier ;) (declaration "undefined4 uVar22;" type_identifier identifier ;) (declaration "int local_ec;" primitive_type identifier ;) (declaration "undefined1 auStack_e8 [12];" type_identifier (array_declarator "auStack_e8 [12]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_dc [12];" type_identifier (array_declarator "auStack_dc [12]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_d0 [72];" type_identifier (array_declarator "auStack_d0 [72]" identifier [ number_literal ]) ;) (declaration "int local_88;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "char *pcVar19;" primitive_type (pointer_declarator "*pcVar19" * identifier) ;) (expression_statement "puVar7 = PTR___stack_chk_guard_0012b14c;" (assignment_expression "puVar7 = PTR___stack_chk_guard_0012b14c" identifier = identifier) ;) (expression_statement "puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c;" (assignment_expression "puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c" identifier = identifier) ;) (expression_statement "puVar4 = PTR_UINT_0012a18c;" (assignment_expression "puVar4 = PTR_UINT_0012a18c" identifier = identifier) ;) (expression_statement "puVar2 = PTR_DAT_0012a178;" (assignment_expression "puVar2 = PTR_DAT_0012a178" identifier = identifier) ;) (expression_statement "pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48);" (assignment_expression "pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48)" identifier = (cast_expression "(code *)(PTR_LAB_0012a814 + 0xa48)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a814 + 0xa48)" ( (binary_expression "PTR_LAB_0012a814 + 0xa48" identifier + number_literal) )))) ;) (expression_statement "pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348);" (assignment_expression "pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348)" identifier = (cast_expression "(code *)(PTR_LAB_0012a8ac + -0x1348)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a8ac + -0x1348)" ( (binary_expression "PTR_LAB_0012a8ac + -0x1348" identifier + number_literal) )))) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0012b14c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0012b14c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0012b14c" * (cast_expression "(int *)PTR___stack_chk_guard_0012b14c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" identifier = number_literal) ;) (expression_statement "pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c);" (assignment_expression "pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c)" identifier = (cast_expression "(code *)(PTR_LAB_0012a814 + 0x314c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a814 + 0x314c)" ( (binary_expression "PTR_LAB_0012a814 + 0x314c" identifier + number_literal) )))) ;) (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" identifier = number_literal) ;) (expression_statement "pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78);" (assignment_expression "pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78)" identifier = (cast_expression "(code *)(PTR_LAB_0012a8ac + -0x6c78)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a8ac + -0x6c78)" ( (binary_expression "PTR_LAB_0012a8ac + -0x6c78" identifier + number_literal) )))) ;) (expression_statement "pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c);" (assignment_expression "pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c)" identifier = (cast_expression "(code *)(PTR_LAB_0012a814 + 0x1f1c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a814 + 0x1f1c)" ( (binary_expression "PTR_LAB_0012a814 + 0x1f1c" identifier + number_literal) )))) ;) (do_statement "do {\n    (*pcVar8)(auStack_e8);\n    if (puVar2[-0x4c38] != '\0') {\n      (*pcVar15)(0xc);\n    }\n    iVar20 = *(int *)puVar5;\n    if (*(char *)(iVar20 + 0x30) == '\0') {\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n    else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n  } while (bVar1 == 0);" do (compound_statement "{\n    (*pcVar8)(auStack_e8);\n    if (puVar2[-0x4c38] != '\0') {\n      (*pcVar15)(0xc);\n    }\n    iVar20 = *(int *)puVar5;\n    if (*(char *)(iVar20 + 0x30) == '\0') {\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n    else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n  }" { (expression_statement "(*pcVar8)(auStack_e8);" (call_expression "(*pcVar8)(auStack_e8)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(auStack_e8)" ( identifier ))) ;) (if_statement "if (puVar2[-0x4c38] != '\0') {\n      (*pcVar15)(0xc);\n    }" if (parenthesized_expression "(puVar2[-0x4c38] != '\0')" ( (binary_expression "puVar2[-0x4c38] != '\0'" (subscript_expression "puVar2[-0x4c38]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      (*pcVar15)(0xc);\n    }" { (expression_statement "(*pcVar15)(0xc);" (call_expression "(*pcVar15)(0xc)" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "(0xc)" ( number_literal ))) ;) })) (expression_statement "iVar20 = *(int *)puVar5;" (assignment_expression "iVar20 = *(int *)puVar5" identifier = (pointer_expression "*(int *)puVar5" * (cast_expression "(int *)puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (*(char *)(iVar20 + 0x30) == '\0') {\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n    else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }" if (parenthesized_expression "(*(char *)(iVar20 + 0x30) == '\0')" ( (binary_expression "*(char *)(iVar20 + 0x30) == '\0'" (pointer_expression "*(char *)(iVar20 + 0x30)" * (cast_expression "(char *)(iVar20 + 0x30)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x30)" ( (binary_expression "iVar20 + 0x30" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }" { (expression_statement "iVar10 = (*pcVar9)(0);" (assignment_expression "iVar10 = (*pcVar9)(0)" identifier = (call_expression "(*pcVar9)(0)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (iVar10 != -1) goto LAB_0007fcf8;" if (parenthesized_expression "(iVar10 != -1)" ( (binary_expression "iVar10 != -1" identifier != number_literal) )) (goto_statement "goto LAB_0007fcf8;" goto statement_identifier ;)) (if_statement "if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;" if (parenthesized_expression "((param_1 == 0) || (0x31 < iVar21))" ( (binary_expression "(param_1 == 0) || (0x31 < iVar21)" (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) || (parenthesized_expression "(0x31 < iVar21)" ( (binary_expression "0x31 < iVar21" number_literal < identifier) ))) )) (goto_statement "goto LAB_0007fc98;" goto statement_identifier ;)) (labeled_statement "LAB_0007fc20:\n      iVar10 = (*pcVar17)();" statement_identifier : (expression_statement "iVar10 = (*pcVar17)();" (assignment_expression "iVar10 = (*pcVar17)()" identifier = (call_expression "(*pcVar17)()" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "()" ( )))) ;)) (if_statement "if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }" { (if_statement "if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;" if (parenthesized_expression "(*(char *)(iVar20 + 0x2f) == '\0')" ( (binary_expression "*(char *)(iVar20 + 0x2f) == '\0'" (pointer_expression "*(char *)(iVar20 + 0x2f)" * (cast_expression "(char *)(iVar20 + 0x2f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x2f)" ( (binary_expression "iVar20 + 0x2f" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0007fc98;" goto statement_identifier ;)) (expression_statement "FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);" (call_expression "FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184)" identifier (argument_list "(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184)" ( (binary_expression "puVar4 + 0x7e74" identifier + number_literal) , (pointer_expression "*(undefined4 *)PTR_stderr_0012b184" * (cast_expression "(undefined4 *)PTR_stderr_0012b184" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "FUN_0006d5c0();" (call_expression "FUN_0006d5c0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar21 = iVar21 + 1;" (assignment_expression "iVar21 = iVar21 + 1" identifier = (binary_expression "iVar21 + 1" identifier + number_literal)) ;) (labeled_statement "LAB_0007fc70:\n      FUN_0006e128(auStack_e8);" statement_identifier : (expression_statement "FUN_0006e128(auStack_e8);" (call_expression "FUN_0006e128(auStack_e8)" identifier (argument_list "(auStack_e8)" ( identifier ))) ;)) (expression_statement "bVar1 = PTR_DAT_0012a178[-0x4c39];" (assignment_expression "bVar1 = PTR_DAT_0012a178[-0x4c39]" identifier = (subscript_expression "PTR_DAT_0012a178[-0x4c39]" identifier [ number_literal ])) ;) }) (else_clause "else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }" else (compound_statement "{\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }" { (if_statement "if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }" { (expression_statement "iVar10 = (*pcVar9)(0);" (assignment_expression "iVar10 = (*pcVar9)(0)" identifier = (call_expression "(*pcVar9)(0)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (iVar10 == -1) goto LAB_0007fc98;" if (parenthesized_expression "(iVar10 == -1)" ( (binary_expression "iVar10 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0007fc98;" goto statement_identifier ;)) }) (else_clause "else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }" else (compound_statement "{\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }" { (expression_statement "(*pcVar8)(auStack_dc);" (call_expression "(*pcVar8)(auStack_dc)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(auStack_dc)" ( identifier ))) ;) (expression_statement "iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;" (assignment_expression "iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850" identifier = (pointer_expression "*(int *)PTR_ash_ptr_to_globals_var_0012a850" * (cast_expression "(int *)PTR_ash_ptr_to_globals_var_0012a850" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }" if (parenthesized_expression "((*(uint *)(iVar10 + 0xdc) & 0x20) == 0)" ( (binary_expression "(*(uint *)(iVar10 + 0xdc) & 0x20) == 0" (parenthesized_expression "(*(uint *)(iVar10 + 0xdc) & 0x20)" ( (binary_expression "*(uint *)(iVar10 + 0xdc) & 0x20" (pointer_expression "*(uint *)(iVar10 + 0xdc)" * (cast_expression "(uint *)(iVar10 + 0xdc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xdc)" ( (binary_expression "iVar10 + 0xdc" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }" { (expression_statement "local_ec = *(int *)(iVar10 + 0xe0) + 9;" (assignment_expression "local_ec = *(int *)(iVar10 + 0xe0) + 9" identifier = (binary_expression "*(int *)(iVar10 + 0xe0) + 9" (pointer_expression "*(int *)(iVar10 + 0xe0)" * (cast_expression "(int *)(iVar10 + 0xe0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xe0)" ( (binary_expression "iVar10 + 0xe0" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }" else (compound_statement "{\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }" { (expression_statement "local_ec = *(int *)(iVar10 + 0xd0) + 5;" (assignment_expression "local_ec = *(int *)(iVar10 + 0xd0) + 5" identifier = (binary_expression "*(int *)(iVar10 + 0xd0) + 5" (pointer_expression "*(int *)(iVar10 + 0xd0)" * (cast_expression "(int *)(iVar10 + 0xd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xd0)" ( (binary_expression "iVar10 + 0xd0" identifier + number_literal) )))) + number_literal)) ;) }))) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);" (assignment_expression "pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108)" identifier = (cast_expression "(code *)(PTR_LAB_0012a814 + 0x5108)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a814 + 0x5108)" ( (binary_expression "PTR_LAB_0012a814 + 0x5108" identifier + number_literal) )))) ;) (while_statement "while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }" while (parenthesized_expression "(pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0)" ( (comma_expression "pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0" (assignment_expression "pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c)" identifier = (cast_expression "(char *)(*pcVar11)(&local_ec,iVar20 + 0x2c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar11)(&local_ec,iVar20 + 0x2c)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(&local_ec,iVar20 + 0x2c)" ( (pointer_expression "&local_ec" & identifier) , (binary_expression "iVar20 + 0x2c" identifier + number_literal) ))))) , (comma_expression "puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0" (assignment_expression "puVar6 = PTR___xstat64_0012acc4" identifier = identifier) , (comma_expression "puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0" (assignment_expression "puVar3 = PTR_DAT_0012a178" identifier = identifier) , (binary_expression "pcVar12 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))))) )) (compound_statement "{\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }" { (expression_statement "pcVar18 = pcVar12;" (assignment_expression "pcVar18 = pcVar12" identifier = identifier) ;) (if_statement "if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }" if (parenthesized_expression "(*pcVar12 != '\0')" ( (binary_expression "*pcVar12 != '\0'" (pointer_expression "*pcVar12" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }" { (do_statement "do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');" do (compound_statement "{\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            }" { (expression_statement "pcVar19 = pcVar18;" (assignment_expression "pcVar19 = pcVar18" identifier = identifier) ;) (expression_statement "pcVar18 = pcVar19 + 1;" (assignment_expression "pcVar18 = pcVar19 + 1" identifier = (binary_expression "pcVar19 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*pcVar18 != '\0')" ( (binary_expression "*pcVar18 != '\0'" (pointer_expression "*pcVar18" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "*pcVar19 = '\0';" (assignment_expression "*pcVar19 = '\0'" (pointer_expression "*pcVar19" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);" (assignment_expression "iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0)" identifier = (call_expression "(*(code *)puVar6)(3,pcVar12,auStack_d0)" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,pcVar12,auStack_d0)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }" if (parenthesized_expression "(-1 < iVar14)" ( (binary_expression "-1 < iVar14" number_literal < identifier) )) (compound_statement "{\n              iVar10 = iVar10 + local_88;\n            }" { (expression_statement "iVar10 = iVar10 + local_88;" (assignment_expression "iVar10 = iVar10 + local_88" identifier = (binary_expression "iVar10 + local_88" identifier + identifier)) ;) })) })) })) (if_statement "if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }" if (parenthesized_expression "((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))" ( (binary_expression "(PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10)" (parenthesized_expression "(PTR_DAT_0012a178[-0x4c3b] == '\0')" ( (binary_expression "PTR_DAT_0012a178[-0x4c3b] == '\0'" (subscript_expression "PTR_DAT_0012a178[-0x4c3b]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10)" ( (binary_expression "*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10" (pointer_expression "*(int *)(PTR_DAT_0012a178 + -0x4d54)" * (cast_expression "(int *)(PTR_DAT_0012a178 + -0x4d54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0012a178 + -0x4d54)" ( (binary_expression "PTR_DAT_0012a178 + -0x4d54" identifier + number_literal) )))) != identifier) ))) )) (compound_statement "{\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }" { (if_statement "if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }" if (parenthesized_expression "(*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0)" ( (binary_expression "*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0" (pointer_expression "*(int *)(PTR_DAT_0012a178 + -0x4d54)" * (cast_expression "(int *)(PTR_DAT_0012a178 + -0x4d54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0012a178 + -0x4d54)" ( (binary_expression "PTR_DAT_0012a178 + -0x4d54" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }" { (expression_statement "FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);" (call_expression "FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184)" identifier (argument_list "(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184)" ( (binary_expression "PTR_UINT_0012a18c + 0x7e64" identifier + number_literal) , (pointer_expression "*(undefined4 *)PTR_stderr_0012b184" * (cast_expression "(undefined4 *)PTR_stderr_0012b184" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "FUN_0006d5c0();" (call_expression "FUN_0006d5c0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "*(int *)(puVar3 + -0x4d54) = iVar10;" (assignment_expression "*(int *)(puVar3 + -0x4d54) = iVar10" (pointer_expression "*(int *)(puVar3 + -0x4d54)" * (cast_expression "(int *)(puVar3 + -0x4d54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + -0x4d54)" ( (binary_expression "puVar3 + -0x4d54" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "puVar3[-0x4c3b] = 0;" (assignment_expression "puVar3[-0x4c3b] = 0" (subscript_expression "puVar3[-0x4c3b]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_0006e128(auStack_dc);" (call_expression "FUN_0006e128(auStack_dc)" identifier (argument_list "(auStack_dc)" ( identifier ))) ;) (expression_statement "iVar10 = (*pcVar9)(1);" (assignment_expression "iVar10 = (*pcVar9)(1)" identifier = (call_expression "(*pcVar9)(1)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(1)" ( number_literal )))) ;) (if_statement "if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }" if (parenthesized_expression "(iVar10 == -1)" ( (binary_expression "iVar10 == -1" identifier == number_literal) )) (compound_statement "{\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }" { (if_statement "if (iVar21 < 0x32) goto LAB_0007fc20;" if (parenthesized_expression "(iVar21 < 0x32)" ( (binary_expression "iVar21 < 0x32" identifier < number_literal) )) (goto_statement "goto LAB_0007fc20;" goto statement_identifier ;)) (goto_statement "goto LAB_0007fc98;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;" statement_identifier : (if_statement "if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;" if (parenthesized_expression "(*(char *)(iVar20 + 0x32) != '\0')" ( (binary_expression "*(char *)(iVar20 + 0x32) != '\0'" (pointer_expression "*(char *)(iVar20 + 0x32)" * (cast_expression "(char *)(iVar20 + 0x32)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x32)" ( (binary_expression "iVar20 + 0x32" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0007fc70;" goto statement_identifier ;))) (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" identifier = number_literal) ;) (expression_statement "*(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;" (assignment_expression "*(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1" (pointer_expression "*(char *)(iVar20 + 2)" * (cast_expression "(char *)(iVar20 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 2)" ( (binary_expression "iVar20 + 2" identifier + number_literal) )))) = (binary_expression "*(char *)(iVar20 + 2) >> 1" (pointer_expression "*(char *)(iVar20 + 2)" * (cast_expression "(char *)(iVar20 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 2)" ( (binary_expression "iVar20 + 2" identifier + number_literal) )))) >> number_literal)) ;) (expression_statement "uVar13 = (*pcVar16)(iVar10,0);" (assignment_expression "uVar13 = (*pcVar16)(iVar10,0)" identifier = (call_expression "(*pcVar16)(iVar10,0)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar10,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar22 = uVar13;\n      }" { (expression_statement "uVar22 = uVar13;" (assignment_expression "uVar22 = uVar13" identifier = identifier) ;) })) (expression_statement "FUN_0006e128(auStack_e8);" (call_expression "FUN_0006e128(auStack_e8)" identifier (argument_list "(auStack_e8)" ( identifier ))) ;) (expression_statement "bVar1 = PTR_DAT_0012a178[-0x4c39];" (assignment_expression "bVar1 = PTR_DAT_0012a178[-0x4c39]" identifier = (subscript_expression "PTR_DAT_0012a178[-0x4c39]" identifier [ number_literal ])) ;) }))) }) while (parenthesized_expression "(bVar1 == 0)" ( (binary_expression "bVar1 == 0" identifier == number_literal) )) ;) (expression_statement "PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;" (assignment_expression "PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb" (subscript_expression "PTR_DAT_0012a178[-0x4c39]" identifier [ number_literal ]) = (binary_expression "bVar1 & 0xfb" identifier & number_literal)) ;) (labeled_statement "LAB_0007fc98:\n  if (local_2c == *(int *)puVar7) {\n    return uVar22;\n  }" statement_identifier : (if_statement "if (local_2c == *(int *)puVar7) {\n    return uVar22;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar7)" ( (binary_expression "local_2c == *(int *)puVar7" identifier == (pointer_expression "*(int *)puVar7" * (cast_expression "(int *)puVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar22;\n  }" { (return_statement "return uVar22;" return identifier ;) }))) (expression_statement "uVar22 = (*(code *)PTR___stack_chk_fail_0012b0c8)();" (assignment_expression "uVar22 = (*(code *)PTR___stack_chk_fail_0012b0c8)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0012b0c8" * (cast_expression "(code *)PTR___stack_chk_fail_0012b0c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return uVar22;" return identifier ;) })))
(translation_unit "int cmdloop(int top)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  code *pcVar9;\n  int iVar10;\n  int iVar11;\n  code *pcVar12;\n  char *pcVar13;\n  int iVar14;\n  code *pcVar15;\n  code *pcVar16;\n  code *pcVar17;\n  char *pcVar18;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  char *mpath;\n  stackmark smark;\n  stackmark smark_1;\n  stat statb;\n  char *pcVar19;\n  \n  puVar7 = PTR___stack_chk_guard_0012b14c;\n  puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar4 = PTR_UINT_0012a18c;\n  puVar2 = PTR_DAT_0012a178;\n  pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48);\n  pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348);\n  iVar10 = *(int *)PTR___stack_chk_guard_0012b14c;\n  iVar22 = 0;\n  pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c);\n  iVar21 = 0;\n  pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78);\n  pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c);\n  do {\n    do {\n      (*pcVar8)(&smark);\n      if (puVar2[-0x4c38] != '\0') {\n        (*pcVar15)(0xc);\n      }\n      iVar20 = *(int *)puVar5;\n      if (*(char *)(iVar20 + 0x30) == '\0') {\n        iVar11 = (*pcVar9)(0);\n        if (iVar11 == -1) goto LAB_0007fd58;\n      }\n      else if (top == 0) {\n        iVar11 = (*pcVar9)(0);\n        if (iVar11 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(&smark_1);\n        iVar11 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar11 + 0xdc) & 0x20) == 0) {\n          mpath = (char *)(*(int *)(iVar11 + 0xe0) + 9);\n        }\n        else {\n          mpath = (char *)(*(int *)(iVar11 + 0xd0) + 5);\n        }\n        iVar11 = 0;\n        pcVar12 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar13 = (char *)(*pcVar12)(&mpath,iVar20 + 0x2c), puVar6 = PTR___xstat64_0012acc4,\n              puVar3 = PTR_DAT_0012a178, pcVar13 != (char *)0x0) {\n          pcVar18 = pcVar13;\n          if (*pcVar13 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar13,&statb);\n            if (-1 < iVar14) {\n              iVar11 = iVar11 + statb.st_mtim.tv_sec;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar11))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            outstr(PTR_UINT_0012a18c + 0x7e64,*(FILE **)PTR_stderr_0012b184);\n            flush_stdout_stderr();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar11;\n        }\n        puVar3[-0x4c3b] = 0;\n        popstackmark(&smark_1);\n        iVar11 = (*pcVar9)(1);\n        if (iVar11 == -1) goto joined_r0x0007fc18;\n      }\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      iVar14 = (*pcVar16)(iVar11,0);\n      if (iVar11 != 0) {\n        iVar22 = iVar14;\n      }\n      popstackmark(&smark);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    } while (bVar1 == 0);\n    do {\n      PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;\nLAB_0007fc98:\n      do {\n        do {\n          do {\n            if (iVar10 == *(int *)puVar7) {\n              return iVar22;\n            }\n            (*(code *)PTR___stack_chk_fail_0012b0c8)();\nLAB_0007fd58:\n          } while (top == 0);\njoined_r0x0007fc18:\n        } while (0x31 < iVar21);\n        iVar11 = (*pcVar17)();\n        if (iVar11 != 0) goto LAB_0007fc68;\n      } while (*(char *)(iVar20 + 0x2f) == '\0');\n      outstr(puVar4 + 0x7e74,*(FILE **)PTR_stderr_0012b184);\n      flush_stdout_stderr();\nLAB_0007fc68:\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      popstackmark(&smark);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    } while (bVar1 != 0);\n  } while( true );\n}\n\n" (ERROR "int cmdloop(int top)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  code *pcVar9;\n  int iVar10;\n  int iVar11;\n  code *pcVar12;\n  char *pcVar13;\n  int iVar14;\n  code *pcVar15;\n  code *pcVar16;\n  code *pcVar17;\n  char *pcVar18;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  char *mpath;\n  stackmark smark;\n  stackmark smark_1;\n  stat statb;\n  char *pcVar19;\n  \n  puVar7 = PTR___stack_chk_guard_0012b14c;\n  puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar4 = PTR_UINT_0012a18c;\n  puVar2 = PTR_DAT_0012a178;\n  pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48);\n  pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348);\n  iVar10 = *(int *)PTR___stack_chk_guard_0012b14c;\n  iVar22 = 0;\n  pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c);\n  iVar21 = 0;\n  pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78);\n  pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c);\n  do {\n    do {\n      (*pcVar8)(&smark);\n      if (puVar2[-0x4c38] != '\0') {\n        (*pcVar15)(0xc);\n      }\n      iVar20 = *(int *)puVar5;\n      if (*(char *)(iVar20 + 0x30) == '\0') {\n        iVar11 = (*pcVar9)(0);\n        if (iVar11 == -1) goto LAB_0007fd58;\n      }\n      else if (top == 0) {\n        iVar11 = (*pcVar9)(0);\n        if (iVar11 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(&smark_1);\n        iVar11 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar11 + 0xdc) & 0x20) == 0) {\n          mpath = (char *)(*(int *)(iVar11 + 0xe0) + 9);\n        }\n        else {\n          mpath = (char *)(*(int *)(iVar11 + 0xd0) + 5);\n        }\n        iVar11 = 0;\n        pcVar12 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar13 = (char *)(*pcVar12)(&mpath,iVar20 + 0x2c), puVar6 = PTR___xstat64_0012acc4,\n              puVar3 = PTR_DAT_0012a178, pcVar13 != (char *)0x0) {\n          pcVar18 = pcVar13;\n          if (*pcVar13 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar13,&statb);\n            if (-1 < iVar14) {\n              iVar11 = iVar11 + statb.st_mtim.tv_sec;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar11))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            outstr(PTR_UINT_0012a18c + 0x7e64,*(FILE **)PTR_stderr_0012b184);\n            flush_stdout_stderr();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar11;\n        }\n        puVar3[-0x4c3b] = 0;\n        popstackmark(&smark_1);\n        iVar11 = (*pcVar9)(1);\n        if (iVar11 == -1) goto joined_r0x0007fc18;\n      }\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      iVar14 = (*pcVar16)(iVar11,0);\n      if (iVar11 != 0) {\n        iVar22 = iVar14;\n      }\n      popstackmark(&smark);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    } while (bVar1 == 0);\n    do {\n      PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;\nLAB_0007fc98:\n      do {\n        do {\n          do {\n            if (iVar10 == *(int *)puVar7) {\n              return iVar22;\n            }\n            (*(code *)PTR___stack_chk_fail_0012b0c8)();\nLAB_0007fd58:\n          } while (top == 0);\njoined_r0x0007fc18:\n        } while (0x31 < iVar21);\n        iVar11 = (*pcVar17)();\n        if (iVar11 != 0) goto LAB_0007fc68;\n      } while (*(char *)(iVar20 + 0x2f) == '\0');\n      outstr(puVar4 + 0x7e74,*(FILE **)PTR_stderr_0012b184);\n      flush_stdout_stderr();\nLAB_0007fc68:\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      popstackmark(&smark);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    } while (bVar1 != 0);\n  } while( true );\n}" primitive_type (function_declarator "cmdloop(int top)" identifier (parameter_list "(int top)" ( (parameter_declaration "int top" primitive_type identifier) ))) { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "code *pcVar12;" type_identifier (pointer_declarator "*pcVar12" * identifier) ;) (declaration "char *pcVar13;" primitive_type (pointer_declarator "*pcVar13" * identifier) ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "code *pcVar15;" type_identifier (pointer_declarator "*pcVar15" * identifier) ;) (declaration "code *pcVar16;" type_identifier (pointer_declarator "*pcVar16" * identifier) ;) (declaration "code *pcVar17;" type_identifier (pointer_declarator "*pcVar17" * identifier) ;) (declaration "char *pcVar18;" primitive_type (pointer_declarator "*pcVar18" * identifier) ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "int iVar21;" primitive_type identifier ;) (declaration "int iVar22;" primitive_type identifier ;) (declaration "char *mpath;" primitive_type (pointer_declarator "*mpath" * identifier) ;) (declaration "stackmark smark;" type_identifier identifier ;) (declaration "stackmark smark_1;" type_identifier identifier ;) (declaration "stat statb;" type_identifier identifier ;) (declaration "char *pcVar19;" primitive_type (pointer_declarator "*pcVar19" * identifier) ;) (expression_statement "puVar7 = PTR___stack_chk_guard_0012b14c;" (assignment_expression "puVar7 = PTR___stack_chk_guard_0012b14c" identifier = identifier) ;) (expression_statement "puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c;" (assignment_expression "puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c" identifier = identifier) ;) (expression_statement "puVar4 = PTR_UINT_0012a18c;" (assignment_expression "puVar4 = PTR_UINT_0012a18c" identifier = identifier) ;) (expression_statement "puVar2 = PTR_DAT_0012a178;" (assignment_expression "puVar2 = PTR_DAT_0012a178" identifier = identifier) ;) (expression_statement "pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48);" (assignment_expression "pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48)" identifier = (cast_expression "(code *)(PTR_LAB_0012a814 + 0xa48)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a814 + 0xa48)" ( (binary_expression "PTR_LAB_0012a814 + 0xa48" identifier + number_literal) )))) ;) (expression_statement "pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348);" (assignment_expression "pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348)" identifier = (cast_expression "(code *)(PTR_LAB_0012a8ac + -0x1348)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a8ac + -0x1348)" ( (binary_expression "PTR_LAB_0012a8ac + -0x1348" identifier + number_literal) )))) ;) (expression_statement "iVar10 = *(int *)PTR___stack_chk_guard_0012b14c;" (assignment_expression "iVar10 = *(int *)PTR___stack_chk_guard_0012b14c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0012b14c" * (cast_expression "(int *)PTR___stack_chk_guard_0012b14c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" identifier = number_literal) ;) (expression_statement "pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c);" (assignment_expression "pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c)" identifier = (cast_expression "(code *)(PTR_LAB_0012a814 + 0x314c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a814 + 0x314c)" ( (binary_expression "PTR_LAB_0012a814 + 0x314c" identifier + number_literal) )))) ;) (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" identifier = number_literal) ;) (expression_statement "pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78);" (assignment_expression "pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78)" identifier = (cast_expression "(code *)(PTR_LAB_0012a8ac + -0x6c78)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a8ac + -0x6c78)" ( (binary_expression "PTR_LAB_0012a8ac + -0x6c78" identifier + number_literal) )))) ;) (expression_statement "pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c);" (assignment_expression "pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c)" identifier = (cast_expression "(code *)(PTR_LAB_0012a814 + 0x1f1c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a814 + 0x1f1c)" ( (binary_expression "PTR_LAB_0012a814 + 0x1f1c" identifier + number_literal) )))) ;) do { (do_statement "do {\n      (*pcVar8)(&smark);\n      if (puVar2[-0x4c38] != '\0') {\n        (*pcVar15)(0xc);\n      }\n      iVar20 = *(int *)puVar5;\n      if (*(char *)(iVar20 + 0x30) == '\0') {\n        iVar11 = (*pcVar9)(0);\n        if (iVar11 == -1) goto LAB_0007fd58;\n      }\n      else if (top == 0) {\n        iVar11 = (*pcVar9)(0);\n        if (iVar11 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(&smark_1);\n        iVar11 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar11 + 0xdc) & 0x20) == 0) {\n          mpath = (char *)(*(int *)(iVar11 + 0xe0) + 9);\n        }\n        else {\n          mpath = (char *)(*(int *)(iVar11 + 0xd0) + 5);\n        }\n        iVar11 = 0;\n        pcVar12 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar13 = (char *)(*pcVar12)(&mpath,iVar20 + 0x2c), puVar6 = PTR___xstat64_0012acc4,\n              puVar3 = PTR_DAT_0012a178, pcVar13 != (char *)0x0) {\n          pcVar18 = pcVar13;\n          if (*pcVar13 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar13,&statb);\n            if (-1 < iVar14) {\n              iVar11 = iVar11 + statb.st_mtim.tv_sec;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar11))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            outstr(PTR_UINT_0012a18c + 0x7e64,*(FILE **)PTR_stderr_0012b184);\n            flush_stdout_stderr();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar11;\n        }\n        puVar3[-0x4c3b] = 0;\n        popstackmark(&smark_1);\n        iVar11 = (*pcVar9)(1);\n        if (iVar11 == -1) goto joined_r0x0007fc18;\n      }\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      iVar14 = (*pcVar16)(iVar11,0);\n      if (iVar11 != 0) {\n        iVar22 = iVar14;\n      }\n      popstackmark(&smark);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    } while (bVar1 == 0);" do (compound_statement "{\n      (*pcVar8)(&smark);\n      if (puVar2[-0x4c38] != '\0') {\n        (*pcVar15)(0xc);\n      }\n      iVar20 = *(int *)puVar5;\n      if (*(char *)(iVar20 + 0x30) == '\0') {\n        iVar11 = (*pcVar9)(0);\n        if (iVar11 == -1) goto LAB_0007fd58;\n      }\n      else if (top == 0) {\n        iVar11 = (*pcVar9)(0);\n        if (iVar11 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(&smark_1);\n        iVar11 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar11 + 0xdc) & 0x20) == 0) {\n          mpath = (char *)(*(int *)(iVar11 + 0xe0) + 9);\n        }\n        else {\n          mpath = (char *)(*(int *)(iVar11 + 0xd0) + 5);\n        }\n        iVar11 = 0;\n        pcVar12 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar13 = (char *)(*pcVar12)(&mpath,iVar20 + 0x2c), puVar6 = PTR___xstat64_0012acc4,\n              puVar3 = PTR_DAT_0012a178, pcVar13 != (char *)0x0) {\n          pcVar18 = pcVar13;\n          if (*pcVar13 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar13,&statb);\n            if (-1 < iVar14) {\n              iVar11 = iVar11 + statb.st_mtim.tv_sec;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar11))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            outstr(PTR_UINT_0012a18c + 0x7e64,*(FILE **)PTR_stderr_0012b184);\n            flush_stdout_stderr();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar11;\n        }\n        puVar3[-0x4c3b] = 0;\n        popstackmark(&smark_1);\n        iVar11 = (*pcVar9)(1);\n        if (iVar11 == -1) goto joined_r0x0007fc18;\n      }\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      iVar14 = (*pcVar16)(iVar11,0);\n      if (iVar11 != 0) {\n        iVar22 = iVar14;\n      }\n      popstackmark(&smark);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }" { (expression_statement "(*pcVar8)(&smark);" (call_expression "(*pcVar8)(&smark)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(&smark)" ( (pointer_expression "&smark" & identifier) ))) ;) (if_statement "if (puVar2[-0x4c38] != '\0') {\n        (*pcVar15)(0xc);\n      }" if (parenthesized_expression "(puVar2[-0x4c38] != '\0')" ( (binary_expression "puVar2[-0x4c38] != '\0'" (subscript_expression "puVar2[-0x4c38]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        (*pcVar15)(0xc);\n      }" { (expression_statement "(*pcVar15)(0xc);" (call_expression "(*pcVar15)(0xc)" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "(0xc)" ( number_literal ))) ;) })) (expression_statement "iVar20 = *(int *)puVar5;" (assignment_expression "iVar20 = *(int *)puVar5" identifier = (pointer_expression "*(int *)puVar5" * (cast_expression "(int *)puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (*(char *)(iVar20 + 0x30) == '\0') {\n        iVar11 = (*pcVar9)(0);\n        if (iVar11 == -1) goto LAB_0007fd58;\n      }\n      else if (top == 0) {\n        iVar11 = (*pcVar9)(0);\n        if (iVar11 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(&smark_1);\n        iVar11 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar11 + 0xdc) & 0x20) == 0) {\n          mpath = (char *)(*(int *)(iVar11 + 0xe0) + 9);\n        }\n        else {\n          mpath = (char *)(*(int *)(iVar11 + 0xd0) + 5);\n        }\n        iVar11 = 0;\n        pcVar12 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar13 = (char *)(*pcVar12)(&mpath,iVar20 + 0x2c), puVar6 = PTR___xstat64_0012acc4,\n              puVar3 = PTR_DAT_0012a178, pcVar13 != (char *)0x0) {\n          pcVar18 = pcVar13;\n          if (*pcVar13 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar13,&statb);\n            if (-1 < iVar14) {\n              iVar11 = iVar11 + statb.st_mtim.tv_sec;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar11))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            outstr(PTR_UINT_0012a18c + 0x7e64,*(FILE **)PTR_stderr_0012b184);\n            flush_stdout_stderr();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar11;\n        }\n        puVar3[-0x4c3b] = 0;\n        popstackmark(&smark_1);\n        iVar11 = (*pcVar9)(1);\n        if (iVar11 == -1) goto joined_r0x0007fc18;\n      }" if (parenthesized_expression "(*(char *)(iVar20 + 0x30) == '\0')" ( (binary_expression "*(char *)(iVar20 + 0x30) == '\0'" (pointer_expression "*(char *)(iVar20 + 0x30)" * (cast_expression "(char *)(iVar20 + 0x30)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x30)" ( (binary_expression "iVar20 + 0x30" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar11 = (*pcVar9)(0);\n        if (iVar11 == -1) goto LAB_0007fd58;\n      }" { (expression_statement "iVar11 = (*pcVar9)(0);" (assignment_expression "iVar11 = (*pcVar9)(0)" identifier = (call_expression "(*pcVar9)(0)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (iVar11 == -1) goto LAB_0007fd58;" if (parenthesized_expression "(iVar11 == -1)" ( (binary_expression "iVar11 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0007fd58;" goto statement_identifier ;)) }) (else_clause "else if (top == 0) {\n        iVar11 = (*pcVar9)(0);\n        if (iVar11 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(&smark_1);\n        iVar11 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar11 + 0xdc) & 0x20) == 0) {\n          mpath = (char *)(*(int *)(iVar11 + 0xe0) + 9);\n        }\n        else {\n          mpath = (char *)(*(int *)(iVar11 + 0xd0) + 5);\n        }\n        iVar11 = 0;\n        pcVar12 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar13 = (char *)(*pcVar12)(&mpath,iVar20 + 0x2c), puVar6 = PTR___xstat64_0012acc4,\n              puVar3 = PTR_DAT_0012a178, pcVar13 != (char *)0x0) {\n          pcVar18 = pcVar13;\n          if (*pcVar13 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar13,&statb);\n            if (-1 < iVar14) {\n              iVar11 = iVar11 + statb.st_mtim.tv_sec;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar11))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            outstr(PTR_UINT_0012a18c + 0x7e64,*(FILE **)PTR_stderr_0012b184);\n            flush_stdout_stderr();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar11;\n        }\n        puVar3[-0x4c3b] = 0;\n        popstackmark(&smark_1);\n        iVar11 = (*pcVar9)(1);\n        if (iVar11 == -1) goto joined_r0x0007fc18;\n      }" else (if_statement "if (top == 0) {\n        iVar11 = (*pcVar9)(0);\n        if (iVar11 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(&smark_1);\n        iVar11 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar11 + 0xdc) & 0x20) == 0) {\n          mpath = (char *)(*(int *)(iVar11 + 0xe0) + 9);\n        }\n        else {\n          mpath = (char *)(*(int *)(iVar11 + 0xd0) + 5);\n        }\n        iVar11 = 0;\n        pcVar12 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar13 = (char *)(*pcVar12)(&mpath,iVar20 + 0x2c), puVar6 = PTR___xstat64_0012acc4,\n              puVar3 = PTR_DAT_0012a178, pcVar13 != (char *)0x0) {\n          pcVar18 = pcVar13;\n          if (*pcVar13 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar13,&statb);\n            if (-1 < iVar14) {\n              iVar11 = iVar11 + statb.st_mtim.tv_sec;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar11))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            outstr(PTR_UINT_0012a18c + 0x7e64,*(FILE **)PTR_stderr_0012b184);\n            flush_stdout_stderr();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar11;\n        }\n        puVar3[-0x4c3b] = 0;\n        popstackmark(&smark_1);\n        iVar11 = (*pcVar9)(1);\n        if (iVar11 == -1) goto joined_r0x0007fc18;\n      }" if (parenthesized_expression "(top == 0)" ( (binary_expression "top == 0" identifier == number_literal) )) (compound_statement "{\n        iVar11 = (*pcVar9)(0);\n        if (iVar11 == -1) goto LAB_0007fc98;\n      }" { (expression_statement "iVar11 = (*pcVar9)(0);" (assignment_expression "iVar11 = (*pcVar9)(0)" identifier = (call_expression "(*pcVar9)(0)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (iVar11 == -1) goto LAB_0007fc98;" if (parenthesized_expression "(iVar11 == -1)" ( (binary_expression "iVar11 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0007fc98;" goto statement_identifier ;)) }) (else_clause "else {\n        (*pcVar8)(&smark_1);\n        iVar11 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar11 + 0xdc) & 0x20) == 0) {\n          mpath = (char *)(*(int *)(iVar11 + 0xe0) + 9);\n        }\n        else {\n          mpath = (char *)(*(int *)(iVar11 + 0xd0) + 5);\n        }\n        iVar11 = 0;\n        pcVar12 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar13 = (char *)(*pcVar12)(&mpath,iVar20 + 0x2c), puVar6 = PTR___xstat64_0012acc4,\n              puVar3 = PTR_DAT_0012a178, pcVar13 != (char *)0x0) {\n          pcVar18 = pcVar13;\n          if (*pcVar13 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar13,&statb);\n            if (-1 < iVar14) {\n              iVar11 = iVar11 + statb.st_mtim.tv_sec;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar11))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            outstr(PTR_UINT_0012a18c + 0x7e64,*(FILE **)PTR_stderr_0012b184);\n            flush_stdout_stderr();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar11;\n        }\n        puVar3[-0x4c3b] = 0;\n        popstackmark(&smark_1);\n        iVar11 = (*pcVar9)(1);\n        if (iVar11 == -1) goto joined_r0x0007fc18;\n      }" else (compound_statement "{\n        (*pcVar8)(&smark_1);\n        iVar11 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar11 + 0xdc) & 0x20) == 0) {\n          mpath = (char *)(*(int *)(iVar11 + 0xe0) + 9);\n        }\n        else {\n          mpath = (char *)(*(int *)(iVar11 + 0xd0) + 5);\n        }\n        iVar11 = 0;\n        pcVar12 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar13 = (char *)(*pcVar12)(&mpath,iVar20 + 0x2c), puVar6 = PTR___xstat64_0012acc4,\n              puVar3 = PTR_DAT_0012a178, pcVar13 != (char *)0x0) {\n          pcVar18 = pcVar13;\n          if (*pcVar13 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar13,&statb);\n            if (-1 < iVar14) {\n              iVar11 = iVar11 + statb.st_mtim.tv_sec;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar11))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            outstr(PTR_UINT_0012a18c + 0x7e64,*(FILE **)PTR_stderr_0012b184);\n            flush_stdout_stderr();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar11;\n        }\n        puVar3[-0x4c3b] = 0;\n        popstackmark(&smark_1);\n        iVar11 = (*pcVar9)(1);\n        if (iVar11 == -1) goto joined_r0x0007fc18;\n      }" { (expression_statement "(*pcVar8)(&smark_1);" (call_expression "(*pcVar8)(&smark_1)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(&smark_1)" ( (pointer_expression "&smark_1" & identifier) ))) ;) (expression_statement "iVar11 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;" (assignment_expression "iVar11 = *(int *)PTR_ash_ptr_to_globals_var_0012a850" identifier = (pointer_expression "*(int *)PTR_ash_ptr_to_globals_var_0012a850" * (cast_expression "(int *)PTR_ash_ptr_to_globals_var_0012a850" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((*(uint *)(iVar11 + 0xdc) & 0x20) == 0) {\n          mpath = (char *)(*(int *)(iVar11 + 0xe0) + 9);\n        }\n        else {\n          mpath = (char *)(*(int *)(iVar11 + 0xd0) + 5);\n        }" if (parenthesized_expression "((*(uint *)(iVar11 + 0xdc) & 0x20) == 0)" ( (binary_expression "(*(uint *)(iVar11 + 0xdc) & 0x20) == 0" (parenthesized_expression "(*(uint *)(iVar11 + 0xdc) & 0x20)" ( (binary_expression "*(uint *)(iVar11 + 0xdc) & 0x20" (pointer_expression "*(uint *)(iVar11 + 0xdc)" * (cast_expression "(uint *)(iVar11 + 0xdc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xdc)" ( (binary_expression "iVar11 + 0xdc" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n          mpath = (char *)(*(int *)(iVar11 + 0xe0) + 9);\n        }" { (expression_statement "mpath = (char *)(*(int *)(iVar11 + 0xe0) + 9);" (assignment_expression "mpath = (char *)(*(int *)(iVar11 + 0xe0) + 9)" identifier = (cast_expression "(char *)(*(int *)(iVar11 + 0xe0) + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar11 + 0xe0) + 9)" ( (binary_expression "*(int *)(iVar11 + 0xe0) + 9" (pointer_expression "*(int *)(iVar11 + 0xe0)" * (cast_expression "(int *)(iVar11 + 0xe0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xe0)" ( (binary_expression "iVar11 + 0xe0" identifier + number_literal) )))) + number_literal) )))) ;) }) (else_clause "else {\n          mpath = (char *)(*(int *)(iVar11 + 0xd0) + 5);\n        }" else (compound_statement "{\n          mpath = (char *)(*(int *)(iVar11 + 0xd0) + 5);\n        }" { (expression_statement "mpath = (char *)(*(int *)(iVar11 + 0xd0) + 5);" (assignment_expression "mpath = (char *)(*(int *)(iVar11 + 0xd0) + 5)" identifier = (cast_expression "(char *)(*(int *)(iVar11 + 0xd0) + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar11 + 0xd0) + 5)" ( (binary_expression "*(int *)(iVar11 + 0xd0) + 5" (pointer_expression "*(int *)(iVar11 + 0xd0)" * (cast_expression "(int *)(iVar11 + 0xd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xd0)" ( (binary_expression "iVar11 + 0xd0" identifier + number_literal) )))) + number_literal) )))) ;) }))) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "pcVar12 = (code *)(PTR_LAB_0012a814 + 0x5108);" (assignment_expression "pcVar12 = (code *)(PTR_LAB_0012a814 + 0x5108)" identifier = (cast_expression "(code *)(PTR_LAB_0012a814 + 0x5108)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a814 + 0x5108)" ( (binary_expression "PTR_LAB_0012a814 + 0x5108" identifier + number_literal) )))) ;) (while_statement "while (pcVar13 = (char *)(*pcVar12)(&mpath,iVar20 + 0x2c), puVar6 = PTR___xstat64_0012acc4,\n              puVar3 = PTR_DAT_0012a178, pcVar13 != (char *)0x0) {\n          pcVar18 = pcVar13;\n          if (*pcVar13 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar13,&statb);\n            if (-1 < iVar14) {\n              iVar11 = iVar11 + statb.st_mtim.tv_sec;\n            }\n          }\n        }" while (parenthesized_expression "(pcVar13 = (char *)(*pcVar12)(&mpath,iVar20 + 0x2c), puVar6 = PTR___xstat64_0012acc4,\n              puVar3 = PTR_DAT_0012a178, pcVar13 != (char *)0x0)" ( (comma_expression "pcVar13 = (char *)(*pcVar12)(&mpath,iVar20 + 0x2c), puVar6 = PTR___xstat64_0012acc4,\n              puVar3 = PTR_DAT_0012a178, pcVar13 != (char *)0x0" (assignment_expression "pcVar13 = (char *)(*pcVar12)(&mpath,iVar20 + 0x2c)" identifier = (cast_expression "(char *)(*pcVar12)(&mpath,iVar20 + 0x2c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar12)(&mpath,iVar20 + 0x2c)" (parenthesized_expression "(*pcVar12)" ( (pointer_expression "*pcVar12" * identifier) )) (argument_list "(&mpath,iVar20 + 0x2c)" ( (pointer_expression "&mpath" & identifier) , (binary_expression "iVar20 + 0x2c" identifier + number_literal) ))))) , (comma_expression "puVar6 = PTR___xstat64_0012acc4,\n              puVar3 = PTR_DAT_0012a178, pcVar13 != (char *)0x0" (assignment_expression "puVar6 = PTR___xstat64_0012acc4" identifier = identifier) , (comma_expression "puVar3 = PTR_DAT_0012a178, pcVar13 != (char *)0x0" (assignment_expression "puVar3 = PTR_DAT_0012a178" identifier = identifier) , (binary_expression "pcVar13 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))))) )) (compound_statement "{\n          pcVar18 = pcVar13;\n          if (*pcVar13 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar13,&statb);\n            if (-1 < iVar14) {\n              iVar11 = iVar11 + statb.st_mtim.tv_sec;\n            }\n          }\n        }" { (expression_statement "pcVar18 = pcVar13;" (assignment_expression "pcVar18 = pcVar13" identifier = identifier) ;) (if_statement "if (*pcVar13 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar13,&statb);\n            if (-1 < iVar14) {\n              iVar11 = iVar11 + statb.st_mtim.tv_sec;\n            }\n          }" if (parenthesized_expression "(*pcVar13 != '\0')" ( (binary_expression "*pcVar13 != '\0'" (pointer_expression "*pcVar13" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar13,&statb);\n            if (-1 < iVar14) {\n              iVar11 = iVar11 + statb.st_mtim.tv_sec;\n            }\n          }" { (do_statement "do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');" do (compound_statement "{\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            }" { (expression_statement "pcVar19 = pcVar18;" (assignment_expression "pcVar19 = pcVar18" identifier = identifier) ;) (expression_statement "pcVar18 = pcVar19 + 1;" (assignment_expression "pcVar18 = pcVar19 + 1" identifier = (binary_expression "pcVar19 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*pcVar18 != '\0')" ( (binary_expression "*pcVar18 != '\0'" (pointer_expression "*pcVar18" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "*pcVar19 = '\0';" (assignment_expression "*pcVar19 = '\0'" (pointer_expression "*pcVar19" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar14 = (*(code *)puVar6)(3,pcVar13,&statb);" (assignment_expression "iVar14 = (*(code *)puVar6)(3,pcVar13,&statb)" identifier = (call_expression "(*(code *)puVar6)(3,pcVar13,&statb)" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,pcVar13,&statb)" ( number_literal , identifier , (pointer_expression "&statb" & identifier) )))) ;) (if_statement "if (-1 < iVar14) {\n              iVar11 = iVar11 + statb.st_mtim.tv_sec;\n            }" if (parenthesized_expression "(-1 < iVar14)" ( (binary_expression "-1 < iVar14" number_literal < identifier) )) (compound_statement "{\n              iVar11 = iVar11 + statb.st_mtim.tv_sec;\n            }" { (expression_statement "iVar11 = iVar11 + statb.st_mtim.tv_sec;" (assignment_expression "iVar11 = iVar11 + statb.st_mtim.tv_sec" identifier = (binary_expression "iVar11 + statb.st_mtim.tv_sec" identifier + (field_expression "statb.st_mtim.tv_sec" (field_expression "statb.st_mtim" identifier . field_identifier) . field_identifier))) ;) })) })) })) (if_statement "if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar11))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            outstr(PTR_UINT_0012a18c + 0x7e64,*(FILE **)PTR_stderr_0012b184);\n            flush_stdout_stderr();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar11;\n        }" if (parenthesized_expression "((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar11))" ( (binary_expression "(PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar11)" (parenthesized_expression "(PTR_DAT_0012a178[-0x4c3b] == '\0')" ( (binary_expression "PTR_DAT_0012a178[-0x4c3b] == '\0'" (subscript_expression "PTR_DAT_0012a178[-0x4c3b]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar11)" ( (binary_expression "*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar11" (pointer_expression "*(int *)(PTR_DAT_0012a178 + -0x4d54)" * (cast_expression "(int *)(PTR_DAT_0012a178 + -0x4d54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0012a178 + -0x4d54)" ( (binary_expression "PTR_DAT_0012a178 + -0x4d54" identifier + number_literal) )))) != identifier) ))) )) (compound_statement "{\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            outstr(PTR_UINT_0012a18c + 0x7e64,*(FILE **)PTR_stderr_0012b184);\n            flush_stdout_stderr();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar11;\n        }" { (if_statement "if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            outstr(PTR_UINT_0012a18c + 0x7e64,*(FILE **)PTR_stderr_0012b184);\n            flush_stdout_stderr();\n          }" if (parenthesized_expression "(*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0)" ( (binary_expression "*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0" (pointer_expression "*(int *)(PTR_DAT_0012a178 + -0x4d54)" * (cast_expression "(int *)(PTR_DAT_0012a178 + -0x4d54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0012a178 + -0x4d54)" ( (binary_expression "PTR_DAT_0012a178 + -0x4d54" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            outstr(PTR_UINT_0012a18c + 0x7e64,*(FILE **)PTR_stderr_0012b184);\n            flush_stdout_stderr();\n          }" { (expression_statement "outstr(PTR_UINT_0012a18c + 0x7e64,*(FILE **)PTR_stderr_0012b184);" (call_expression "outstr(PTR_UINT_0012a18c + 0x7e64,*(FILE **)PTR_stderr_0012b184)" identifier (argument_list "(PTR_UINT_0012a18c + 0x7e64,*(FILE **)PTR_stderr_0012b184)" ( (binary_expression "PTR_UINT_0012a18c + 0x7e64" identifier + number_literal) , (pointer_expression "*(FILE **)PTR_stderr_0012b184" * (cast_expression "(FILE **)PTR_stderr_0012b184" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "flush_stdout_stderr();" (call_expression "flush_stdout_stderr()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "*(int *)(puVar3 + -0x4d54) = iVar11;" (assignment_expression "*(int *)(puVar3 + -0x4d54) = iVar11" (pointer_expression "*(int *)(puVar3 + -0x4d54)" * (cast_expression "(int *)(puVar3 + -0x4d54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + -0x4d54)" ( (binary_expression "puVar3 + -0x4d54" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "puVar3[-0x4c3b] = 0;" (assignment_expression "puVar3[-0x4c3b] = 0" (subscript_expression "puVar3[-0x4c3b]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "popstackmark(&smark_1);" (call_expression "popstackmark(&smark_1)" identifier (argument_list "(&smark_1)" ( (pointer_expression "&smark_1" & identifier) ))) ;) (expression_statement "iVar11 = (*pcVar9)(1);" (assignment_expression "iVar11 = (*pcVar9)(1)" identifier = (call_expression "(*pcVar9)(1)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(1)" ( number_literal )))) ;) (if_statement "if (iVar11 == -1) goto joined_r0x0007fc18;" if (parenthesized_expression "(iVar11 == -1)" ( (binary_expression "iVar11 == -1" identifier == number_literal) )) (goto_statement "goto joined_r0x0007fc18;" goto statement_identifier ;)) }))))) (if_statement "if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;" if (parenthesized_expression "(*(char *)(iVar20 + 0x32) != '\0')" ( (binary_expression "*(char *)(iVar20 + 0x32) != '\0'" (pointer_expression "*(char *)(iVar20 + 0x32)" * (cast_expression "(char *)(iVar20 + 0x32)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x32)" ( (binary_expression "iVar20 + 0x32" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0007fc70;" goto statement_identifier ;)) (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" identifier = number_literal) ;) (expression_statement "*(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;" (assignment_expression "*(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1" (pointer_expression "*(char *)(iVar20 + 2)" * (cast_expression "(char *)(iVar20 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 2)" ( (binary_expression "iVar20 + 2" identifier + number_literal) )))) = (binary_expression "*(char *)(iVar20 + 2) >> 1" (pointer_expression "*(char *)(iVar20 + 2)" * (cast_expression "(char *)(iVar20 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 2)" ( (binary_expression "iVar20 + 2" identifier + number_literal) )))) >> number_literal)) ;) (expression_statement "iVar14 = (*pcVar16)(iVar11,0);" (assignment_expression "iVar14 = (*pcVar16)(iVar11,0)" identifier = (call_expression "(*pcVar16)(iVar11,0)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar11,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar11 != 0) {\n        iVar22 = iVar14;\n      }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar22 = iVar14;\n      }" { (expression_statement "iVar22 = iVar14;" (assignment_expression "iVar22 = iVar14" identifier = identifier) ;) })) (expression_statement "popstackmark(&smark);" (call_expression "popstackmark(&smark)" identifier (argument_list "(&smark)" ( (pointer_expression "&smark" & identifier) ))) ;) (expression_statement "bVar1 = PTR_DAT_0012a178[-0x4c39];" (assignment_expression "bVar1 = PTR_DAT_0012a178[-0x4c39]" identifier = (subscript_expression "PTR_DAT_0012a178[-0x4c39]" identifier [ number_literal ])) ;) }) while (parenthesized_expression "(bVar1 == 0)" ( (binary_expression "bVar1 == 0" identifier == number_literal) )) ;) do (compound_statement "{\n      PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;\nLAB_0007fc98:\n      do {\n        do {\n          do {\n            if (iVar10 == *(int *)puVar7) {\n              return iVar22;\n            }\n            (*(code *)PTR___stack_chk_fail_0012b0c8)();\nLAB_0007fd58:\n          } while (top == 0);\njoined_r0x0007fc18:\n        } while (0x31 < iVar21);\n        iVar11 = (*pcVar17)();\n        if (iVar11 != 0) goto LAB_0007fc68;\n      } while (*(char *)(iVar20 + 0x2f) == '\0');\n      outstr(puVar4 + 0x7e74,*(FILE **)PTR_stderr_0012b184);\n      flush_stdout_stderr();\nLAB_0007fc68:\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      popstackmark(&smark);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    } while (bVar1 != 0);\n  } while( true );\n}" { (expression_statement "PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;" (assignment_expression "PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb" (subscript_expression "PTR_DAT_0012a178[-0x4c39]" identifier [ number_literal ]) = (binary_expression "bVar1 & 0xfb" identifier & number_literal)) ;) (labeled_statement "LAB_0007fc98:\n      do {\n        do {\n          do {\n            if (iVar10 == *(int *)puVar7) {\n              return iVar22;\n            }\n            (*(code *)PTR___stack_chk_fail_0012b0c8)();\nLAB_0007fd58:\n          } while (top == 0);\njoined_r0x0007fc18:\n        } while (0x31 < iVar21);\n        iVar11 = (*pcVar17)();\n        if (iVar11 != 0) goto LAB_0007fc68;\n      } while (*(char *)(iVar20 + 0x2f) == '\0');\n      outstr(puVar4 + 0x7e74,*(FILE **)PTR_stderr_0012b184);\n      flush_stdout_stderr();\nLAB_0007fc68:\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      popstackmark(&smark);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    } while (bVar1 != 0);\n  } while( true );" statement_identifier : (do_statement "do {\n        do {\n          do {\n            if (iVar10 == *(int *)puVar7) {\n              return iVar22;\n            }\n            (*(code *)PTR___stack_chk_fail_0012b0c8)();\nLAB_0007fd58:\n          } while (top == 0);\njoined_r0x0007fc18:\n        } while (0x31 < iVar21);\n        iVar11 = (*pcVar17)();\n        if (iVar11 != 0) goto LAB_0007fc68;\n      } while (*(char *)(iVar20 + 0x2f) == '\0');\n      outstr(puVar4 + 0x7e74,*(FILE **)PTR_stderr_0012b184);\n      flush_stdout_stderr();\nLAB_0007fc68:\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      popstackmark(&smark);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    } while (bVar1 != 0);\n  } while( true );" do (compound_statement "{\n        do {\n          do {\n            if (iVar10 == *(int *)puVar7) {\n              return iVar22;\n            }\n            (*(code *)PTR___stack_chk_fail_0012b0c8)();\nLAB_0007fd58:\n          } while (top == 0);\njoined_r0x0007fc18:\n        } while (0x31 < iVar21);\n        iVar11 = (*pcVar17)();\n        if (iVar11 != 0) goto LAB_0007fc68;\n      } while (*(char *)(iVar20 + 0x2f) == '\0');\n      outstr(puVar4 + 0x7e74,*(FILE **)PTR_stderr_0012b184);\n      flush_stdout_stderr();\nLAB_0007fc68:\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      popstackmark(&smark);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    } while (bVar1 != 0);\n  }" { (do_statement "do {\n          do {\n            if (iVar10 == *(int *)puVar7) {\n              return iVar22;\n            }\n            (*(code *)PTR___stack_chk_fail_0012b0c8)();\nLAB_0007fd58:\n          } while (top == 0);\njoined_r0x0007fc18:\n        } while (0x31 < iVar21);\n        iVar11 = (*pcVar17)();\n        if (iVar11 != 0) goto LAB_0007fc68;\n      } while (*(char *)(iVar20 + 0x2f) == '\0');\n      outstr(puVar4 + 0x7e74,*(FILE **)PTR_stderr_0012b184);\n      flush_stdout_stderr();\nLAB_0007fc68:\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      popstackmark(&smark);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    } while (bVar1 != 0);" do (compound_statement "{\n          do {\n            if (iVar10 == *(int *)puVar7) {\n              return iVar22;\n            }\n            (*(code *)PTR___stack_chk_fail_0012b0c8)();\nLAB_0007fd58:\n          } while (top == 0);\njoined_r0x0007fc18:\n        } while (0x31 < iVar21);\n        iVar11 = (*pcVar17)();\n        if (iVar11 != 0) goto LAB_0007fc68;\n      } while (*(char *)(iVar20 + 0x2f) == '\0');\n      outstr(puVar4 + 0x7e74,*(FILE **)PTR_stderr_0012b184);\n      flush_stdout_stderr();\nLAB_0007fc68:\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      popstackmark(&smark);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }" { (do_statement "do {\n            if (iVar10 == *(int *)puVar7) {\n              return iVar22;\n            }\n            (*(code *)PTR___stack_chk_fail_0012b0c8)();\nLAB_0007fd58:\n          } while (top == 0);\njoined_r0x0007fc18:\n        } while (0x31 < iVar21);\n        iVar11 = (*pcVar17)();\n        if (iVar11 != 0) goto LAB_0007fc68;\n      } while (*(char *)(iVar20 + 0x2f) == '\0');" do (compound_statement "{\n            if (iVar10 == *(int *)puVar7) {\n              return iVar22;\n            }\n            (*(code *)PTR___stack_chk_fail_0012b0c8)();\nLAB_0007fd58:\n          } while (top == 0);\njoined_r0x0007fc18:\n        } while (0x31 < iVar21);\n        iVar11 = (*pcVar17)();\n        if (iVar11 != 0) goto LAB_0007fc68;\n      }" { (if_statement "if (iVar10 == *(int *)puVar7) {\n              return iVar22;\n            }" if (parenthesized_expression "(iVar10 == *(int *)puVar7)" ( (binary_expression "iVar10 == *(int *)puVar7" identifier == (pointer_expression "*(int *)puVar7" * (cast_expression "(int *)puVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n              return iVar22;\n            }" { (return_statement "return iVar22;" return identifier ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_0012b0c8)();" (call_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0012b0c8" * (cast_expression "(code *)PTR___stack_chk_fail_0012b0c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_0007fd58:\n          } while (top == 0);" statement_identifier : (ERROR "}" }) (while_statement "while (top == 0);" while (parenthesized_expression "(top == 0)" ( (binary_expression "top == 0" identifier == number_literal) )) (expression_statement ";" ;))) (labeled_statement "joined_r0x0007fc18:\n        } while (0x31 < iVar21);" statement_identifier : (ERROR "}" }) (while_statement "while (0x31 < iVar21);" while (parenthesized_expression "(0x31 < iVar21)" ( (binary_expression "0x31 < iVar21" number_literal < identifier) )) (expression_statement ";" ;))) (expression_statement "iVar11 = (*pcVar17)();" (assignment_expression "iVar11 = (*pcVar17)()" identifier = (call_expression "(*pcVar17)()" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar11 != 0) goto LAB_0007fc68;" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0007fc68;" goto statement_identifier ;)) }) while (parenthesized_expression "(*(char *)(iVar20 + 0x2f) == '\0')" ( (binary_expression "*(char *)(iVar20 + 0x2f) == '\0'" (pointer_expression "*(char *)(iVar20 + 0x2f)" * (cast_expression "(char *)(iVar20 + 0x2f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x2f)" ( (binary_expression "iVar20 + 0x2f" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "outstr(puVar4 + 0x7e74,*(FILE **)PTR_stderr_0012b184);" (call_expression "outstr(puVar4 + 0x7e74,*(FILE **)PTR_stderr_0012b184)" identifier (argument_list "(puVar4 + 0x7e74,*(FILE **)PTR_stderr_0012b184)" ( (binary_expression "puVar4 + 0x7e74" identifier + number_literal) , (pointer_expression "*(FILE **)PTR_stderr_0012b184" * (cast_expression "(FILE **)PTR_stderr_0012b184" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "flush_stdout_stderr();" (call_expression "flush_stdout_stderr()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_0007fc68:\n      iVar21 = iVar21 + 1;" statement_identifier : (expression_statement "iVar21 = iVar21 + 1;" (assignment_expression "iVar21 = iVar21 + 1" identifier = (binary_expression "iVar21 + 1" identifier + number_literal)) ;)) (labeled_statement "LAB_0007fc70:\n      popstackmark(&smark);" statement_identifier : (expression_statement "popstackmark(&smark);" (call_expression "popstackmark(&smark)" identifier (argument_list "(&smark)" ( (pointer_expression "&smark" & identifier) ))) ;)) (expression_statement "bVar1 = PTR_DAT_0012a178[-0x4c39];" (assignment_expression "bVar1 = PTR_DAT_0012a178[-0x4c39]" identifier = (subscript_expression "PTR_DAT_0012a178[-0x4c39]" identifier [ number_literal ])) ;) }) while (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit "undefined4 FUN_0007fa24(int param_1)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  code *pcVar9;\n  int iVar10;\n  code *pcVar11;\n  char *pcVar12;\n  undefined4 uVar13;\n  int iVar14;\n  code *pcVar15;\n  code *pcVar16;\n  code *pcVar17;\n  char *pcVar18;\n  int iVar20;\n  int iVar21;\n  undefined4 uVar22;\n  int local_ec;\n  undefined1 auStack_e8 [12];\n  undefined1 auStack_dc [12];\n  undefined1 auStack_d0 [72];\n  int local_88;\n  int local_2c;\n  char *pcVar19;\n  \n  puVar7 = PTR___stack_chk_guard_0012b14c;\n  puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar4 = PTR_UINT_0012a18c;\n  puVar2 = PTR_DAT_0012a178;\n  pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48);\n  pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348);\n  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;\n  uVar22 = 0;\n  pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c);\n  iVar21 = 0;\n  pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78);\n  pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c);\n  do {\n    (*pcVar8)(auStack_e8);\n    if (puVar2[-0x4c38] != '\0') {\n      (*pcVar15)(0xc);\n    }\n    iVar20 = *(int *)puVar5;\n    if (*(char *)(iVar20 + 0x30) == '\0') {\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n    else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n  } while (bVar1 == 0);\n  PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;\nLAB_0007fc98:\n  if (local_2c == *(int *)puVar7) {\n    return uVar22;\n  }\n  uVar22 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar22;\n}\n\n" (function_definition "undefined4 FUN_0007fa24(int param_1)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  code *pcVar9;\n  int iVar10;\n  code *pcVar11;\n  char *pcVar12;\n  undefined4 uVar13;\n  int iVar14;\n  code *pcVar15;\n  code *pcVar16;\n  code *pcVar17;\n  char *pcVar18;\n  int iVar20;\n  int iVar21;\n  undefined4 uVar22;\n  int local_ec;\n  undefined1 auStack_e8 [12];\n  undefined1 auStack_dc [12];\n  undefined1 auStack_d0 [72];\n  int local_88;\n  int local_2c;\n  char *pcVar19;\n  \n  puVar7 = PTR___stack_chk_guard_0012b14c;\n  puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar4 = PTR_UINT_0012a18c;\n  puVar2 = PTR_DAT_0012a178;\n  pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48);\n  pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348);\n  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;\n  uVar22 = 0;\n  pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c);\n  iVar21 = 0;\n  pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78);\n  pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c);\n  do {\n    (*pcVar8)(auStack_e8);\n    if (puVar2[-0x4c38] != '\0') {\n      (*pcVar15)(0xc);\n    }\n    iVar20 = *(int *)puVar5;\n    if (*(char *)(iVar20 + 0x30) == '\0') {\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n    else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n  } while (bVar1 == 0);\n  PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;\nLAB_0007fc98:\n  if (local_2c == *(int *)puVar7) {\n    return uVar22;\n  }\n  uVar22 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar22;\n}" type_identifier (function_declarator "FUN_0007fa24(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  code *pcVar9;\n  int iVar10;\n  code *pcVar11;\n  char *pcVar12;\n  undefined4 uVar13;\n  int iVar14;\n  code *pcVar15;\n  code *pcVar16;\n  code *pcVar17;\n  char *pcVar18;\n  int iVar20;\n  int iVar21;\n  undefined4 uVar22;\n  int local_ec;\n  undefined1 auStack_e8 [12];\n  undefined1 auStack_dc [12];\n  undefined1 auStack_d0 [72];\n  int local_88;\n  int local_2c;\n  char *pcVar19;\n  \n  puVar7 = PTR___stack_chk_guard_0012b14c;\n  puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar4 = PTR_UINT_0012a18c;\n  puVar2 = PTR_DAT_0012a178;\n  pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48);\n  pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348);\n  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;\n  uVar22 = 0;\n  pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c);\n  iVar21 = 0;\n  pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78);\n  pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c);\n  do {\n    (*pcVar8)(auStack_e8);\n    if (puVar2[-0x4c38] != '\0') {\n      (*pcVar15)(0xc);\n    }\n    iVar20 = *(int *)puVar5;\n    if (*(char *)(iVar20 + 0x30) == '\0') {\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n    else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n  } while (bVar1 == 0);\n  PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;\nLAB_0007fc98:\n  if (local_2c == *(int *)puVar7) {\n    return uVar22;\n  }\n  uVar22 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar22;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "code *pcVar11;" type_identifier (pointer_declarator "*pcVar11" * identifier) ;) (declaration "char *pcVar12;" primitive_type (pointer_declarator "*pcVar12" * identifier) ;) (declaration "undefined4 uVar13;" type_identifier identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "code *pcVar15;" type_identifier (pointer_declarator "*pcVar15" * identifier) ;) (declaration "code *pcVar16;" type_identifier (pointer_declarator "*pcVar16" * identifier) ;) (declaration "code *pcVar17;" type_identifier (pointer_declarator "*pcVar17" * identifier) ;) (declaration "char *pcVar18;" primitive_type (pointer_declarator "*pcVar18" * identifier) ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "int iVar21;" primitive_type identifier ;) (declaration "undefined4 uVar22;" type_identifier identifier ;) (declaration "int local_ec;" primitive_type identifier ;) (declaration "undefined1 auStack_e8 [12];" type_identifier (array_declarator "auStack_e8 [12]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_dc [12];" type_identifier (array_declarator "auStack_dc [12]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_d0 [72];" type_identifier (array_declarator "auStack_d0 [72]" identifier [ number_literal ]) ;) (declaration "int local_88;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "char *pcVar19;" primitive_type (pointer_declarator "*pcVar19" * identifier) ;) (expression_statement "puVar7 = PTR___stack_chk_guard_0012b14c;" (assignment_expression "puVar7 = PTR___stack_chk_guard_0012b14c" identifier = identifier) ;) (expression_statement "puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c;" (assignment_expression "puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c" identifier = identifier) ;) (expression_statement "puVar4 = PTR_UINT_0012a18c;" (assignment_expression "puVar4 = PTR_UINT_0012a18c" identifier = identifier) ;) (expression_statement "puVar2 = PTR_DAT_0012a178;" (assignment_expression "puVar2 = PTR_DAT_0012a178" identifier = identifier) ;) (expression_statement "pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48);" (assignment_expression "pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48)" identifier = (cast_expression "(code *)(PTR_LAB_0012a814 + 0xa48)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a814 + 0xa48)" ( (binary_expression "PTR_LAB_0012a814 + 0xa48" identifier + number_literal) )))) ;) (expression_statement "pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348);" (assignment_expression "pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348)" identifier = (cast_expression "(code *)(PTR_LAB_0012a8ac + -0x1348)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a8ac + -0x1348)" ( (binary_expression "PTR_LAB_0012a8ac + -0x1348" identifier + number_literal) )))) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0012b14c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0012b14c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0012b14c" * (cast_expression "(int *)PTR___stack_chk_guard_0012b14c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" identifier = number_literal) ;) (expression_statement "pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c);" (assignment_expression "pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c)" identifier = (cast_expression "(code *)(PTR_LAB_0012a814 + 0x314c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a814 + 0x314c)" ( (binary_expression "PTR_LAB_0012a814 + 0x314c" identifier + number_literal) )))) ;) (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" identifier = number_literal) ;) (expression_statement "pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78);" (assignment_expression "pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78)" identifier = (cast_expression "(code *)(PTR_LAB_0012a8ac + -0x6c78)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a8ac + -0x6c78)" ( (binary_expression "PTR_LAB_0012a8ac + -0x6c78" identifier + number_literal) )))) ;) (expression_statement "pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c);" (assignment_expression "pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c)" identifier = (cast_expression "(code *)(PTR_LAB_0012a814 + 0x1f1c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a814 + 0x1f1c)" ( (binary_expression "PTR_LAB_0012a814 + 0x1f1c" identifier + number_literal) )))) ;) (do_statement "do {\n    (*pcVar8)(auStack_e8);\n    if (puVar2[-0x4c38] != '\0') {\n      (*pcVar15)(0xc);\n    }\n    iVar20 = *(int *)puVar5;\n    if (*(char *)(iVar20 + 0x30) == '\0') {\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n    else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n  } while (bVar1 == 0);" do (compound_statement "{\n    (*pcVar8)(auStack_e8);\n    if (puVar2[-0x4c38] != '\0') {\n      (*pcVar15)(0xc);\n    }\n    iVar20 = *(int *)puVar5;\n    if (*(char *)(iVar20 + 0x30) == '\0') {\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n    else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n  }" { (expression_statement "(*pcVar8)(auStack_e8);" (call_expression "(*pcVar8)(auStack_e8)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(auStack_e8)" ( identifier ))) ;) (if_statement "if (puVar2[-0x4c38] != '\0') {\n      (*pcVar15)(0xc);\n    }" if (parenthesized_expression "(puVar2[-0x4c38] != '\0')" ( (binary_expression "puVar2[-0x4c38] != '\0'" (subscript_expression "puVar2[-0x4c38]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      (*pcVar15)(0xc);\n    }" { (expression_statement "(*pcVar15)(0xc);" (call_expression "(*pcVar15)(0xc)" (parenthesized_expression "(*pcVar15)" ( (pointer_expression "*pcVar15" * identifier) )) (argument_list "(0xc)" ( number_literal ))) ;) })) (expression_statement "iVar20 = *(int *)puVar5;" (assignment_expression "iVar20 = *(int *)puVar5" identifier = (pointer_expression "*(int *)puVar5" * (cast_expression "(int *)puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (*(char *)(iVar20 + 0x30) == '\0') {\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n    else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }" if (parenthesized_expression "(*(char *)(iVar20 + 0x30) == '\0')" ( (binary_expression "*(char *)(iVar20 + 0x30) == '\0'" (pointer_expression "*(char *)(iVar20 + 0x30)" * (cast_expression "(char *)(iVar20 + 0x30)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x30)" ( (binary_expression "iVar20 + 0x30" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }" { (expression_statement "iVar10 = (*pcVar9)(0);" (assignment_expression "iVar10 = (*pcVar9)(0)" identifier = (call_expression "(*pcVar9)(0)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (iVar10 != -1) goto LAB_0007fcf8;" if (parenthesized_expression "(iVar10 != -1)" ( (binary_expression "iVar10 != -1" identifier != number_literal) )) (goto_statement "goto LAB_0007fcf8;" goto statement_identifier ;)) (if_statement "if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;" if (parenthesized_expression "((param_1 == 0) || (0x31 < iVar21))" ( (binary_expression "(param_1 == 0) || (0x31 < iVar21)" (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) || (parenthesized_expression "(0x31 < iVar21)" ( (binary_expression "0x31 < iVar21" number_literal < identifier) ))) )) (goto_statement "goto LAB_0007fc98;" goto statement_identifier ;)) (labeled_statement "LAB_0007fc20:\n      iVar10 = (*pcVar17)();" statement_identifier : (expression_statement "iVar10 = (*pcVar17)();" (assignment_expression "iVar10 = (*pcVar17)()" identifier = (call_expression "(*pcVar17)()" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "()" ( )))) ;)) (if_statement "if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }" { (if_statement "if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;" if (parenthesized_expression "(*(char *)(iVar20 + 0x2f) == '\0')" ( (binary_expression "*(char *)(iVar20 + 0x2f) == '\0'" (pointer_expression "*(char *)(iVar20 + 0x2f)" * (cast_expression "(char *)(iVar20 + 0x2f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x2f)" ( (binary_expression "iVar20 + 0x2f" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0007fc98;" goto statement_identifier ;)) (expression_statement "FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);" (call_expression "FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184)" identifier (argument_list "(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184)" ( (binary_expression "puVar4 + 0x7e74" identifier + number_literal) , (pointer_expression "*(undefined4 *)PTR_stderr_0012b184" * (cast_expression "(undefined4 *)PTR_stderr_0012b184" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "FUN_0006d5c0();" (call_expression "FUN_0006d5c0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar21 = iVar21 + 1;" (assignment_expression "iVar21 = iVar21 + 1" identifier = (binary_expression "iVar21 + 1" identifier + number_literal)) ;) (labeled_statement "LAB_0007fc70:\n      FUN_0006e128(auStack_e8);" statement_identifier : (expression_statement "FUN_0006e128(auStack_e8);" (call_expression "FUN_0006e128(auStack_e8)" identifier (argument_list "(auStack_e8)" ( identifier ))) ;)) (expression_statement "bVar1 = PTR_DAT_0012a178[-0x4c39];" (assignment_expression "bVar1 = PTR_DAT_0012a178[-0x4c39]" identifier = (subscript_expression "PTR_DAT_0012a178[-0x4c39]" identifier [ number_literal ])) ;) }) (else_clause "else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }" else (compound_statement "{\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }" { (if_statement "if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }" { (expression_statement "iVar10 = (*pcVar9)(0);" (assignment_expression "iVar10 = (*pcVar9)(0)" identifier = (call_expression "(*pcVar9)(0)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (iVar10 == -1) goto LAB_0007fc98;" if (parenthesized_expression "(iVar10 == -1)" ( (binary_expression "iVar10 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0007fc98;" goto statement_identifier ;)) }) (else_clause "else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }" else (compound_statement "{\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }" { (expression_statement "(*pcVar8)(auStack_dc);" (call_expression "(*pcVar8)(auStack_dc)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(auStack_dc)" ( identifier ))) ;) (expression_statement "iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;" (assignment_expression "iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850" identifier = (pointer_expression "*(int *)PTR_ash_ptr_to_globals_var_0012a850" * (cast_expression "(int *)PTR_ash_ptr_to_globals_var_0012a850" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }" if (parenthesized_expression "((*(uint *)(iVar10 + 0xdc) & 0x20) == 0)" ( (binary_expression "(*(uint *)(iVar10 + 0xdc) & 0x20) == 0" (parenthesized_expression "(*(uint *)(iVar10 + 0xdc) & 0x20)" ( (binary_expression "*(uint *)(iVar10 + 0xdc) & 0x20" (pointer_expression "*(uint *)(iVar10 + 0xdc)" * (cast_expression "(uint *)(iVar10 + 0xdc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xdc)" ( (binary_expression "iVar10 + 0xdc" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }" { (expression_statement "local_ec = *(int *)(iVar10 + 0xe0) + 9;" (assignment_expression "local_ec = *(int *)(iVar10 + 0xe0) + 9" identifier = (binary_expression "*(int *)(iVar10 + 0xe0) + 9" (pointer_expression "*(int *)(iVar10 + 0xe0)" * (cast_expression "(int *)(iVar10 + 0xe0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xe0)" ( (binary_expression "iVar10 + 0xe0" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }" else (compound_statement "{\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }" { (expression_statement "local_ec = *(int *)(iVar10 + 0xd0) + 5;" (assignment_expression "local_ec = *(int *)(iVar10 + 0xd0) + 5" identifier = (binary_expression "*(int *)(iVar10 + 0xd0) + 5" (pointer_expression "*(int *)(iVar10 + 0xd0)" * (cast_expression "(int *)(iVar10 + 0xd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xd0)" ( (binary_expression "iVar10 + 0xd0" identifier + number_literal) )))) + number_literal)) ;) }))) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);" (assignment_expression "pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108)" identifier = (cast_expression "(code *)(PTR_LAB_0012a814 + 0x5108)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a814 + 0x5108)" ( (binary_expression "PTR_LAB_0012a814 + 0x5108" identifier + number_literal) )))) ;) (while_statement "while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }" while (parenthesized_expression "(pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0)" ( (comma_expression "pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0" (assignment_expression "pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c)" identifier = (cast_expression "(char *)(*pcVar11)(&local_ec,iVar20 + 0x2c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar11)(&local_ec,iVar20 + 0x2c)" (parenthesized_expression "(*pcVar11)" ( (pointer_expression "*pcVar11" * identifier) )) (argument_list "(&local_ec,iVar20 + 0x2c)" ( (pointer_expression "&local_ec" & identifier) , (binary_expression "iVar20 + 0x2c" identifier + number_literal) ))))) , (comma_expression "puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0" (assignment_expression "puVar6 = PTR___xstat64_0012acc4" identifier = identifier) , (comma_expression "puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0" (assignment_expression "puVar3 = PTR_DAT_0012a178" identifier = identifier) , (binary_expression "pcVar12 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))))) )) (compound_statement "{\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }" { (expression_statement "pcVar18 = pcVar12;" (assignment_expression "pcVar18 = pcVar12" identifier = identifier) ;) (if_statement "if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }" if (parenthesized_expression "(*pcVar12 != '\0')" ( (binary_expression "*pcVar12 != '\0'" (pointer_expression "*pcVar12" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }" { (do_statement "do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');" do (compound_statement "{\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            }" { (expression_statement "pcVar19 = pcVar18;" (assignment_expression "pcVar19 = pcVar18" identifier = identifier) ;) (expression_statement "pcVar18 = pcVar19 + 1;" (assignment_expression "pcVar18 = pcVar19 + 1" identifier = (binary_expression "pcVar19 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*pcVar18 != '\0')" ( (binary_expression "*pcVar18 != '\0'" (pointer_expression "*pcVar18" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "*pcVar19 = '\0';" (assignment_expression "*pcVar19 = '\0'" (pointer_expression "*pcVar19" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);" (assignment_expression "iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0)" identifier = (call_expression "(*(code *)puVar6)(3,pcVar12,auStack_d0)" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,pcVar12,auStack_d0)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }" if (parenthesized_expression "(-1 < iVar14)" ( (binary_expression "-1 < iVar14" number_literal < identifier) )) (compound_statement "{\n              iVar10 = iVar10 + local_88;\n            }" { (expression_statement "iVar10 = iVar10 + local_88;" (assignment_expression "iVar10 = iVar10 + local_88" identifier = (binary_expression "iVar10 + local_88" identifier + identifier)) ;) })) })) })) (if_statement "if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }" if (parenthesized_expression "((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))" ( (binary_expression "(PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10)" (parenthesized_expression "(PTR_DAT_0012a178[-0x4c3b] == '\0')" ( (binary_expression "PTR_DAT_0012a178[-0x4c3b] == '\0'" (subscript_expression "PTR_DAT_0012a178[-0x4c3b]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10)" ( (binary_expression "*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10" (pointer_expression "*(int *)(PTR_DAT_0012a178 + -0x4d54)" * (cast_expression "(int *)(PTR_DAT_0012a178 + -0x4d54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0012a178 + -0x4d54)" ( (binary_expression "PTR_DAT_0012a178 + -0x4d54" identifier + number_literal) )))) != identifier) ))) )) (compound_statement "{\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }" { (if_statement "if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }" if (parenthesized_expression "(*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0)" ( (binary_expression "*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0" (pointer_expression "*(int *)(PTR_DAT_0012a178 + -0x4d54)" * (cast_expression "(int *)(PTR_DAT_0012a178 + -0x4d54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0012a178 + -0x4d54)" ( (binary_expression "PTR_DAT_0012a178 + -0x4d54" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }" { (expression_statement "FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);" (call_expression "FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184)" identifier (argument_list "(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184)" ( (binary_expression "PTR_UINT_0012a18c + 0x7e64" identifier + number_literal) , (pointer_expression "*(undefined4 *)PTR_stderr_0012b184" * (cast_expression "(undefined4 *)PTR_stderr_0012b184" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "FUN_0006d5c0();" (call_expression "FUN_0006d5c0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "*(int *)(puVar3 + -0x4d54) = iVar10;" (assignment_expression "*(int *)(puVar3 + -0x4d54) = iVar10" (pointer_expression "*(int *)(puVar3 + -0x4d54)" * (cast_expression "(int *)(puVar3 + -0x4d54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + -0x4d54)" ( (binary_expression "puVar3 + -0x4d54" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "puVar3[-0x4c3b] = 0;" (assignment_expression "puVar3[-0x4c3b] = 0" (subscript_expression "puVar3[-0x4c3b]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_0006e128(auStack_dc);" (call_expression "FUN_0006e128(auStack_dc)" identifier (argument_list "(auStack_dc)" ( identifier ))) ;) (expression_statement "iVar10 = (*pcVar9)(1);" (assignment_expression "iVar10 = (*pcVar9)(1)" identifier = (call_expression "(*pcVar9)(1)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(1)" ( number_literal )))) ;) (if_statement "if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }" if (parenthesized_expression "(iVar10 == -1)" ( (binary_expression "iVar10 == -1" identifier == number_literal) )) (compound_statement "{\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }" { (if_statement "if (iVar21 < 0x32) goto LAB_0007fc20;" if (parenthesized_expression "(iVar21 < 0x32)" ( (binary_expression "iVar21 < 0x32" identifier < number_literal) )) (goto_statement "goto LAB_0007fc20;" goto statement_identifier ;)) (goto_statement "goto LAB_0007fc98;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;" statement_identifier : (if_statement "if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;" if (parenthesized_expression "(*(char *)(iVar20 + 0x32) != '\0')" ( (binary_expression "*(char *)(iVar20 + 0x32) != '\0'" (pointer_expression "*(char *)(iVar20 + 0x32)" * (cast_expression "(char *)(iVar20 + 0x32)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 0x32)" ( (binary_expression "iVar20 + 0x32" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0007fc70;" goto statement_identifier ;))) (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" identifier = number_literal) ;) (expression_statement "*(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;" (assignment_expression "*(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1" (pointer_expression "*(char *)(iVar20 + 2)" * (cast_expression "(char *)(iVar20 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 2)" ( (binary_expression "iVar20 + 2" identifier + number_literal) )))) = (binary_expression "*(char *)(iVar20 + 2) >> 1" (pointer_expression "*(char *)(iVar20 + 2)" * (cast_expression "(char *)(iVar20 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar20 + 2)" ( (binary_expression "iVar20 + 2" identifier + number_literal) )))) >> number_literal)) ;) (expression_statement "uVar13 = (*pcVar16)(iVar10,0);" (assignment_expression "uVar13 = (*pcVar16)(iVar10,0)" identifier = (call_expression "(*pcVar16)(iVar10,0)" (parenthesized_expression "(*pcVar16)" ( (pointer_expression "*pcVar16" * identifier) )) (argument_list "(iVar10,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar22 = uVar13;\n      }" { (expression_statement "uVar22 = uVar13;" (assignment_expression "uVar22 = uVar13" identifier = identifier) ;) })) (expression_statement "FUN_0006e128(auStack_e8);" (call_expression "FUN_0006e128(auStack_e8)" identifier (argument_list "(auStack_e8)" ( identifier ))) ;) (expression_statement "bVar1 = PTR_DAT_0012a178[-0x4c39];" (assignment_expression "bVar1 = PTR_DAT_0012a178[-0x4c39]" identifier = (subscript_expression "PTR_DAT_0012a178[-0x4c39]" identifier [ number_literal ])) ;) }))) }) while (parenthesized_expression "(bVar1 == 0)" ( (binary_expression "bVar1 == 0" identifier == number_literal) )) ;) (expression_statement "PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;" (assignment_expression "PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb" (subscript_expression "PTR_DAT_0012a178[-0x4c39]" identifier [ number_literal ]) = (binary_expression "bVar1 & 0xfb" identifier & number_literal)) ;) (labeled_statement "LAB_0007fc98:\n  if (local_2c == *(int *)puVar7) {\n    return uVar22;\n  }" statement_identifier : (if_statement "if (local_2c == *(int *)puVar7) {\n    return uVar22;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar7)" ( (binary_expression "local_2c == *(int *)puVar7" identifier == (pointer_expression "*(int *)puVar7" * (cast_expression "(int *)puVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return uVar22;\n  }" { (return_statement "return uVar22;" return identifier ;) }))) (expression_statement "uVar22 = (*(code *)PTR___stack_chk_fail_0012b0c8)();" (assignment_expression "uVar22 = (*(code *)PTR___stack_chk_fail_0012b0c8)()" identifier = (call_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0012b0c8" * (cast_expression "(code *)PTR___stack_chk_fail_0012b0c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (return_statement "return uVar22;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 (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 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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) , (binary_expression IDENT + LIT) ))))) , (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) })) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT & LIT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0007fa24(int param_1)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  code *pcVar9;\n  int iVar10;\n  code *pcVar11;\n  char *pcVar12;\n  undefined4 uVar13;\n  int iVar14;\n  code *pcVar15;\n  code *pcVar16;\n  code *pcVar17;\n  char *pcVar18;\n  int iVar20;\n  int iVar21;\n  undefined4 uVar22;\n  int local_ec;\n  undefined1 auStack_e8 [12];\n  undefined1 auStack_dc [12];\n  undefined1 auStack_d0 [72];\n  int local_88;\n  int local_2c;\n  char *pcVar19;\n  \n  puVar7 = PTR___stack_chk_guard_0012b14c;\n  puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar4 = PTR_UINT_0012a18c;\n  puVar2 = PTR_DAT_0012a178;\n  pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48);\n  pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348);\n  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;\n  uVar22 = 0;\n  pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c);\n  iVar21 = 0;\n  pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78);\n  pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c);\n  do {\n    (*pcVar8)(auStack_e8);\n    if (puVar2[-0x4c38] != '\0') {\n      (*pcVar15)(0xc);\n    }\n    iVar20 = *(int *)puVar5;\n    if (*(char *)(iVar20 + 0x30) == '\0') {\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n    else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n  } while (bVar1 == 0);\n  PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;\nLAB_0007fc98:\n  if (local_2c == *(int *)puVar7) {\n    return uVar22;\n  }\n  uVar22 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar22;\n}" (type_identifier "undefined4") (function_declarator "FUN_0007fa24(int param_1)" (identifier "FUN_0007fa24") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  code *pcVar9;\n  int iVar10;\n  code *pcVar11;\n  char *pcVar12;\n  undefined4 uVar13;\n  int iVar14;\n  code *pcVar15;\n  code *pcVar16;\n  code *pcVar17;\n  char *pcVar18;\n  int iVar20;\n  int iVar21;\n  undefined4 uVar22;\n  int local_ec;\n  undefined1 auStack_e8 [12];\n  undefined1 auStack_dc [12];\n  undefined1 auStack_d0 [72];\n  int local_88;\n  int local_2c;\n  char *pcVar19;\n  \n  puVar7 = PTR___stack_chk_guard_0012b14c;\n  puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c;\n  puVar4 = PTR_UINT_0012a18c;\n  puVar2 = PTR_DAT_0012a178;\n  pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48);\n  pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348);\n  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;\n  uVar22 = 0;\n  pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c);\n  iVar21 = 0;\n  pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78);\n  pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c);\n  do {\n    (*pcVar8)(auStack_e8);\n    if (puVar2[-0x4c38] != '\0') {\n      (*pcVar15)(0xc);\n    }\n    iVar20 = *(int *)puVar5;\n    if (*(char *)(iVar20 + 0x30) == '\0') {\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n    else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n  } while (bVar1 == 0);\n  PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;\nLAB_0007fc98:\n  if (local_2c == *(int *)puVar7) {\n    return uVar22;\n  }\n  uVar22 = (*(code *)PTR___stack_chk_fail_0012b0c8)();\n  return uVar22;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined *puVar7;" (type_identifier "undefined") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "code *pcVar8;" (type_identifier "code") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "code *pcVar9;" (type_identifier "code") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "code *pcVar11;" (type_identifier "code") (pointer_declarator "*pcVar11" (* "*") (identifier "pcVar11")) (; ";")) (declaration "char *pcVar12;" (primitive_type "char") (pointer_declarator "*pcVar12" (* "*") (identifier "pcVar12")) (; ";")) (declaration "undefined4 uVar13;" (type_identifier "undefined4") (identifier "uVar13") (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "code *pcVar15;" (type_identifier "code") (pointer_declarator "*pcVar15" (* "*") (identifier "pcVar15")) (; ";")) (declaration "code *pcVar16;" (type_identifier "code") (pointer_declarator "*pcVar16" (* "*") (identifier "pcVar16")) (; ";")) (declaration "code *pcVar17;" (type_identifier "code") (pointer_declarator "*pcVar17" (* "*") (identifier "pcVar17")) (; ";")) (declaration "char *pcVar18;" (primitive_type "char") (pointer_declarator "*pcVar18" (* "*") (identifier "pcVar18")) (; ";")) (declaration "int iVar20;" (primitive_type "int") (identifier "iVar20") (; ";")) (declaration "int iVar21;" (primitive_type "int") (identifier "iVar21") (; ";")) (declaration "undefined4 uVar22;" (type_identifier "undefined4") (identifier "uVar22") (; ";")) (declaration "int local_ec;" (primitive_type "int") (identifier "local_ec") (; ";")) (declaration "undefined1 auStack_e8 [12];" (type_identifier "undefined1") (array_declarator "auStack_e8 [12]" (identifier "auStack_e8") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "undefined1 auStack_dc [12];" (type_identifier "undefined1") (array_declarator "auStack_dc [12]" (identifier "auStack_dc") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "undefined1 auStack_d0 [72];" (type_identifier "undefined1") (array_declarator "auStack_d0 [72]" (identifier "auStack_d0") ([ "[") (number_literal "72") (] "]")) (; ";")) (declaration "int local_88;" (primitive_type "int") (identifier "local_88") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (declaration "char *pcVar19;" (primitive_type "char") (pointer_declarator "*pcVar19" (* "*") (identifier "pcVar19")) (; ";")) (expression_statement "puVar7 = PTR___stack_chk_guard_0012b14c;" (assignment_expression "puVar7 = PTR___stack_chk_guard_0012b14c" (identifier "puVar7") (= "=") (identifier "PTR___stack_chk_guard_0012b14c")) (; ";")) (expression_statement "puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c;" (assignment_expression "puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c" (identifier "puVar5") (= "=") (identifier "PTR_ash_ptr_to_globals_misc_0012a84c")) (; ";")) (expression_statement "puVar4 = PTR_UINT_0012a18c;" (assignment_expression "puVar4 = PTR_UINT_0012a18c" (identifier "puVar4") (= "=") (identifier "PTR_UINT_0012a18c")) (; ";")) (expression_statement "puVar2 = PTR_DAT_0012a178;" (assignment_expression "puVar2 = PTR_DAT_0012a178" (identifier "puVar2") (= "=") (identifier "PTR_DAT_0012a178")) (; ";")) (expression_statement "pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48);" (assignment_expression "pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48)" (identifier "pcVar8") (= "=") (cast_expression "(code *)(PTR_LAB_0012a814 + 0xa48)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0012a814 + 0xa48)" (( "(") (binary_expression "PTR_LAB_0012a814 + 0xa48" (identifier "PTR_LAB_0012a814") (+ "+") (number_literal "0xa48")) () ")")))) (; ";")) (expression_statement "pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348);" (assignment_expression "pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348)" (identifier "pcVar9") (= "=") (cast_expression "(code *)(PTR_LAB_0012a8ac + -0x1348)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0012a8ac + -0x1348)" (( "(") (binary_expression "PTR_LAB_0012a8ac + -0x1348" (identifier "PTR_LAB_0012a8ac") (+ "+") (number_literal "-0x1348")) () ")")))) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0012b14c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0012b14c" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0012b14c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0012b14c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0012b14c")))) (; ";")) (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" (identifier "uVar22") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c);" (assignment_expression "pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c)" (identifier "pcVar15") (= "=") (cast_expression "(code *)(PTR_LAB_0012a814 + 0x314c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0012a814 + 0x314c)" (( "(") (binary_expression "PTR_LAB_0012a814 + 0x314c" (identifier "PTR_LAB_0012a814") (+ "+") (number_literal "0x314c")) () ")")))) (; ";")) (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" (identifier "iVar21") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78);" (assignment_expression "pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78)" (identifier "pcVar16") (= "=") (cast_expression "(code *)(PTR_LAB_0012a8ac + -0x6c78)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0012a8ac + -0x6c78)" (( "(") (binary_expression "PTR_LAB_0012a8ac + -0x6c78" (identifier "PTR_LAB_0012a8ac") (+ "+") (number_literal "-0x6c78")) () ")")))) (; ";")) (expression_statement "pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c);" (assignment_expression "pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c)" (identifier "pcVar17") (= "=") (cast_expression "(code *)(PTR_LAB_0012a814 + 0x1f1c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0012a814 + 0x1f1c)" (( "(") (binary_expression "PTR_LAB_0012a814 + 0x1f1c" (identifier "PTR_LAB_0012a814") (+ "+") (number_literal "0x1f1c")) () ")")))) (; ";")) (do_statement "do {\n    (*pcVar8)(auStack_e8);\n    if (puVar2[-0x4c38] != '\0') {\n      (*pcVar15)(0xc);\n    }\n    iVar20 = *(int *)puVar5;\n    if (*(char *)(iVar20 + 0x30) == '\0') {\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n    else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n  } while (bVar1 == 0);" (do "do") (compound_statement "{\n    (*pcVar8)(auStack_e8);\n    if (puVar2[-0x4c38] != '\0') {\n      (*pcVar15)(0xc);\n    }\n    iVar20 = *(int *)puVar5;\n    if (*(char *)(iVar20 + 0x30) == '\0') {\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n    else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n  }" ({ "{") (expression_statement "(*pcVar8)(auStack_e8);" (call_expression "(*pcVar8)(auStack_e8)" (parenthesized_expression "(*pcVar8)" (( "(") (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) () ")")) (argument_list "(auStack_e8)" (( "(") (identifier "auStack_e8") () ")"))) (; ";")) (if_statement "if (puVar2[-0x4c38] != '\0') {\n      (*pcVar15)(0xc);\n    }" (if "if") (parenthesized_expression "(puVar2[-0x4c38] != '\0')" (( "(") (binary_expression "puVar2[-0x4c38] != '\0'" (subscript_expression "puVar2[-0x4c38]" (identifier "puVar2") ([ "[") (number_literal "-0x4c38") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      (*pcVar15)(0xc);\n    }" ({ "{") (expression_statement "(*pcVar15)(0xc);" (call_expression "(*pcVar15)(0xc)" (parenthesized_expression "(*pcVar15)" (( "(") (pointer_expression "*pcVar15" (* "*") (identifier "pcVar15")) () ")")) (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar20 = *(int *)puVar5;" (assignment_expression "iVar20 = *(int *)puVar5" (identifier "iVar20") (= "=") (pointer_expression "*(int *)puVar5" (* "*") (cast_expression "(int *)puVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar5")))) (; ";")) (if_statement "if (*(char *)(iVar20 + 0x30) == '\0') {\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }\n    else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }" (if "if") (parenthesized_expression "(*(char *)(iVar20 + 0x30) == '\0')" (( "(") (binary_expression "*(char *)(iVar20 + 0x30) == '\0'" (pointer_expression "*(char *)(iVar20 + 0x30)" (* "*") (cast_expression "(char *)(iVar20 + 0x30)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar20 + 0x30)" (( "(") (binary_expression "iVar20 + 0x30" (identifier "iVar20") (+ "+") (number_literal "0x30")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      iVar10 = (*pcVar9)(0);\n      if (iVar10 != -1) goto LAB_0007fcf8;\n      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;\nLAB_0007fc20:\n      iVar10 = (*pcVar17)();\n      if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }\n      iVar21 = iVar21 + 1;\nLAB_0007fc70:\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }" ({ "{") (expression_statement "iVar10 = (*pcVar9)(0);" (assignment_expression "iVar10 = (*pcVar9)(0)" (identifier "iVar10") (= "=") (call_expression "(*pcVar9)(0)" (parenthesized_expression "(*pcVar9)" (( "(") (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) () ")")) (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar10 != -1) goto LAB_0007fcf8;" (if "if") (parenthesized_expression "(iVar10 != -1)" (( "(") (binary_expression "iVar10 != -1" (identifier "iVar10") (!= "!=") (number_literal "-1")) () ")")) (goto_statement "goto LAB_0007fcf8;" (goto "goto") (statement_identifier "LAB_0007fcf8") (; ";"))) (if_statement "if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;" (if "if") (parenthesized_expression "((param_1 == 0) || (0x31 < iVar21))" (( "(") (binary_expression "(param_1 == 0) || (0x31 < iVar21)" (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(0x31 < iVar21)" (( "(") (binary_expression "0x31 < iVar21" (number_literal "0x31") (< "<") (identifier "iVar21")) () ")"))) () ")")) (goto_statement "goto LAB_0007fc98;" (goto "goto") (statement_identifier "LAB_0007fc98") (; ";"))) (labeled_statement "LAB_0007fc20:\n      iVar10 = (*pcVar17)();" (statement_identifier "LAB_0007fc20") (: ":") (expression_statement "iVar10 = (*pcVar17)();" (assignment_expression "iVar10 = (*pcVar17)()" (identifier "iVar10") (= "=") (call_expression "(*pcVar17)()" (parenthesized_expression "(*pcVar17)" (( "(") (pointer_expression "*pcVar17" (* "*") (identifier "pcVar17")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";"))) (if_statement "if (iVar10 == 0) {\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }" (if "if") (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;\n        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);\n        FUN_0006d5c0();\n      }" ({ "{") (if_statement "if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;" (if "if") (parenthesized_expression "(*(char *)(iVar20 + 0x2f) == '\0')" (( "(") (binary_expression "*(char *)(iVar20 + 0x2f) == '\0'" (pointer_expression "*(char *)(iVar20 + 0x2f)" (* "*") (cast_expression "(char *)(iVar20 + 0x2f)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar20 + 0x2f)" (( "(") (binary_expression "iVar20 + 0x2f" (identifier "iVar20") (+ "+") (number_literal "0x2f")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0007fc98;" (goto "goto") (statement_identifier "LAB_0007fc98") (; ";"))) (expression_statement "FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);" (call_expression "FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184)" (identifier "FUN_00071ae0") (argument_list "(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184)" (( "(") (binary_expression "puVar4 + 0x7e74" (identifier "puVar4") (+ "+") (number_literal "0x7e74")) (, ",") (pointer_expression "*(undefined4 *)PTR_stderr_0012b184" (* "*") (cast_expression "(undefined4 *)PTR_stderr_0012b184" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_0012b184"))) () ")"))) (; ";")) (expression_statement "FUN_0006d5c0();" (call_expression "FUN_0006d5c0()" (identifier "FUN_0006d5c0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar21 = iVar21 + 1;" (assignment_expression "iVar21 = iVar21 + 1" (identifier "iVar21") (= "=") (binary_expression "iVar21 + 1" (identifier "iVar21") (+ "+") (number_literal "1"))) (; ";")) (labeled_statement "LAB_0007fc70:\n      FUN_0006e128(auStack_e8);" (statement_identifier "LAB_0007fc70") (: ":") (expression_statement "FUN_0006e128(auStack_e8);" (call_expression "FUN_0006e128(auStack_e8)" (identifier "FUN_0006e128") (argument_list "(auStack_e8)" (( "(") (identifier "auStack_e8") () ")"))) (; ";"))) (expression_statement "bVar1 = PTR_DAT_0012a178[-0x4c39];" (assignment_expression "bVar1 = PTR_DAT_0012a178[-0x4c39]" (identifier "bVar1") (= "=") (subscript_expression "PTR_DAT_0012a178[-0x4c39]" (identifier "PTR_DAT_0012a178") ([ "[") (number_literal "-0x4c39") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }" (else "else") (compound_statement "{\n      if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }\nLAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;\n      iVar21 = 0;\n      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;\n      uVar13 = (*pcVar16)(iVar10,0);\n      if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }\n      FUN_0006e128(auStack_e8);\n      bVar1 = PTR_DAT_0012a178[-0x4c39];\n    }" ({ "{") (if_statement "if (param_1 == 0) {\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }\n      else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar10 = (*pcVar9)(0);\n        if (iVar10 == -1) goto LAB_0007fc98;\n      }" ({ "{") (expression_statement "iVar10 = (*pcVar9)(0);" (assignment_expression "iVar10 = (*pcVar9)(0)" (identifier "iVar10") (= "=") (call_expression "(*pcVar9)(0)" (parenthesized_expression "(*pcVar9)" (( "(") (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) () ")")) (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar10 == -1) goto LAB_0007fc98;" (if "if") (parenthesized_expression "(iVar10 == -1)" (( "(") (binary_expression "iVar10 == -1" (identifier "iVar10") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_0007fc98;" (goto "goto") (statement_identifier "LAB_0007fc98") (; ";"))) (} "}")) (else_clause "else {\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }" (else "else") (compound_statement "{\n        (*pcVar8)(auStack_dc);\n        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;\n        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }\n        iVar10 = 0;\n        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);\n        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }\n        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }\n        puVar3[-0x4c3b] = 0;\n        FUN_0006e128(auStack_dc);\n        iVar10 = (*pcVar9)(1);\n        if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }\n      }" ({ "{") (expression_statement "(*pcVar8)(auStack_dc);" (call_expression "(*pcVar8)(auStack_dc)" (parenthesized_expression "(*pcVar8)" (( "(") (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) () ")")) (argument_list "(auStack_dc)" (( "(") (identifier "auStack_dc") () ")"))) (; ";")) (expression_statement "iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;" (assignment_expression "iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850" (identifier "iVar10") (= "=") (pointer_expression "*(int *)PTR_ash_ptr_to_globals_var_0012a850" (* "*") (cast_expression "(int *)PTR_ash_ptr_to_globals_var_0012a850" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ash_ptr_to_globals_var_0012a850")))) (; ";")) (if_statement "if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }\n        else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }" (if "if") (parenthesized_expression "((*(uint *)(iVar10 + 0xdc) & 0x20) == 0)" (( "(") (binary_expression "(*(uint *)(iVar10 + 0xdc) & 0x20) == 0" (parenthesized_expression "(*(uint *)(iVar10 + 0xdc) & 0x20)" (( "(") (binary_expression "*(uint *)(iVar10 + 0xdc) & 0x20" (pointer_expression "*(uint *)(iVar10 + 0xdc)" (* "*") (cast_expression "(uint *)(iVar10 + 0xdc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0xdc)" (( "(") (binary_expression "iVar10 + 0xdc" (identifier "iVar10") (+ "+") (number_literal "0xdc")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          local_ec = *(int *)(iVar10 + 0xe0) + 9;\n        }" ({ "{") (expression_statement "local_ec = *(int *)(iVar10 + 0xe0) + 9;" (assignment_expression "local_ec = *(int *)(iVar10 + 0xe0) + 9" (identifier "local_ec") (= "=") (binary_expression "*(int *)(iVar10 + 0xe0) + 9" (pointer_expression "*(int *)(iVar10 + 0xe0)" (* "*") (cast_expression "(int *)(iVar10 + 0xe0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0xe0)" (( "(") (binary_expression "iVar10 + 0xe0" (identifier "iVar10") (+ "+") (number_literal "0xe0")) () ")")))) (+ "+") (number_literal "9"))) (; ";")) (} "}")) (else_clause "else {\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }" (else "else") (compound_statement "{\n          local_ec = *(int *)(iVar10 + 0xd0) + 5;\n        }" ({ "{") (expression_statement "local_ec = *(int *)(iVar10 + 0xd0) + 5;" (assignment_expression "local_ec = *(int *)(iVar10 + 0xd0) + 5" (identifier "local_ec") (= "=") (binary_expression "*(int *)(iVar10 + 0xd0) + 5" (pointer_expression "*(int *)(iVar10 + 0xd0)" (* "*") (cast_expression "(int *)(iVar10 + 0xd0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0xd0)" (( "(") (binary_expression "iVar10 + 0xd0" (identifier "iVar10") (+ "+") (number_literal "0xd0")) () ")")))) (+ "+") (number_literal "5"))) (; ";")) (} "}")))) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);" (assignment_expression "pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108)" (identifier "pcVar11") (= "=") (cast_expression "(code *)(PTR_LAB_0012a814 + 0x5108)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0012a814 + 0x5108)" (( "(") (binary_expression "PTR_LAB_0012a814 + 0x5108" (identifier "PTR_LAB_0012a814") (+ "+") (number_literal "0x5108")) () ")")))) (; ";")) (while_statement "while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }" (while "while") (parenthesized_expression "(pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0)" (( "(") (comma_expression "pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),\n              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0" (assignment_expression "pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c)" (identifier "pcVar12") (= "=") (cast_expression "(char *)(*pcVar11)(&local_ec,iVar20 + 0x2c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*pcVar11)(&local_ec,iVar20 + 0x2c)" (parenthesized_expression "(*pcVar11)" (( "(") (pointer_expression "*pcVar11" (* "*") (identifier "pcVar11")) () ")")) (argument_list "(&local_ec,iVar20 + 0x2c)" (( "(") (pointer_expression "&local_ec" (& "&") (identifier "local_ec")) (, ",") (binary_expression "iVar20 + 0x2c" (identifier "iVar20") (+ "+") (number_literal "0x2c")) () ")"))))) (, ",") (comma_expression "puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0" (assignment_expression "puVar6 = PTR___xstat64_0012acc4" (identifier "puVar6") (= "=") (identifier "PTR___xstat64_0012acc4")) (, ",") (comma_expression "puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0" (assignment_expression "puVar3 = PTR_DAT_0012a178" (identifier "puVar3") (= "=") (identifier "PTR_DAT_0012a178")) (, ",") (binary_expression "pcVar12 != (char *)0x0" (identifier "pcVar12") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))))) () ")")) (compound_statement "{\n          pcVar18 = pcVar12;\n          if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }\n        }" ({ "{") (expression_statement "pcVar18 = pcVar12;" (assignment_expression "pcVar18 = pcVar12" (identifier "pcVar18") (= "=") (identifier "pcVar12")) (; ";")) (if_statement "if (*pcVar12 != '\0') {\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }" (if "if") (parenthesized_expression "(*pcVar12 != '\0')" (( "(") (binary_expression "*pcVar12 != '\0'" (pointer_expression "*pcVar12" (* "*") (identifier "pcVar12")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');\n            *pcVar19 = '\0';\n            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);\n            if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }\n          }" ({ "{") (do_statement "do {\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            } while (*pcVar18 != '\0');" (do "do") (compound_statement "{\n              pcVar19 = pcVar18;\n              pcVar18 = pcVar19 + 1;\n            }" ({ "{") (expression_statement "pcVar19 = pcVar18;" (assignment_expression "pcVar19 = pcVar18" (identifier "pcVar19") (= "=") (identifier "pcVar18")) (; ";")) (expression_statement "pcVar18 = pcVar19 + 1;" (assignment_expression "pcVar18 = pcVar19 + 1" (identifier "pcVar18") (= "=") (binary_expression "pcVar19 + 1" (identifier "pcVar19") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*pcVar18 != '\0')" (( "(") (binary_expression "*pcVar18 != '\0'" (pointer_expression "*pcVar18" (* "*") (identifier "pcVar18")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (expression_statement "*pcVar19 = '\0';" (assignment_expression "*pcVar19 = '\0'" (pointer_expression "*pcVar19" (* "*") (identifier "pcVar19")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);" (assignment_expression "iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0)" (identifier "iVar14") (= "=") (call_expression "(*(code *)puVar6)(3,pcVar12,auStack_d0)" (parenthesized_expression "(*(code *)puVar6)" (( "(") (pointer_expression "*(code *)puVar6" (* "*") (cast_expression "(code *)puVar6" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar6"))) () ")")) (argument_list "(3,pcVar12,auStack_d0)" (( "(") (number_literal "3") (, ",") (identifier "pcVar12") (, ",") (identifier "auStack_d0") () ")")))) (; ";")) (if_statement "if (-1 < iVar14) {\n              iVar10 = iVar10 + local_88;\n            }" (if "if") (parenthesized_expression "(-1 < iVar14)" (( "(") (binary_expression "-1 < iVar14" (number_literal "-1") (< "<") (identifier "iVar14")) () ")")) (compound_statement "{\n              iVar10 = iVar10 + local_88;\n            }" ({ "{") (expression_statement "iVar10 = iVar10 + local_88;" (assignment_expression "iVar10 = iVar10 + local_88" (identifier "iVar10") (= "=") (binary_expression "iVar10 + local_88" (identifier "iVar10") (+ "+") (identifier "local_88"))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (if_statement "if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))\n        {\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }" (if "if") (parenthesized_expression "((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))" (( "(") (binary_expression "(PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10)" (parenthesized_expression "(PTR_DAT_0012a178[-0x4c3b] == '\0')" (( "(") (binary_expression "PTR_DAT_0012a178[-0x4c3b] == '\0'" (subscript_expression "PTR_DAT_0012a178[-0x4c3b]" (identifier "PTR_DAT_0012a178") ([ "[") (number_literal "-0x4c3b") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10)" (( "(") (binary_expression "*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10" (pointer_expression "*(int *)(PTR_DAT_0012a178 + -0x4d54)" (* "*") (cast_expression "(int *)(PTR_DAT_0012a178 + -0x4d54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0012a178 + -0x4d54)" (( "(") (binary_expression "PTR_DAT_0012a178 + -0x4d54" (identifier "PTR_DAT_0012a178") (+ "+") (number_literal "-0x4d54")) () ")")))) (!= "!=") (identifier "iVar10")) () ")"))) () ")")) (compound_statement "{\n          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }\n          *(int *)(puVar3 + -0x4d54) = iVar10;\n        }" ({ "{") (if_statement "if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0" (pointer_expression "*(int *)(PTR_DAT_0012a178 + -0x4d54)" (* "*") (cast_expression "(int *)(PTR_DAT_0012a178 + -0x4d54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0012a178 + -0x4d54)" (( "(") (binary_expression "PTR_DAT_0012a178 + -0x4d54" (identifier "PTR_DAT_0012a178") (+ "+") (number_literal "-0x4d54")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);\n            FUN_0006d5c0();\n          }" ({ "{") (expression_statement "FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);" (call_expression "FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184)" (identifier "FUN_00071ae0") (argument_list "(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184)" (( "(") (binary_expression "PTR_UINT_0012a18c + 0x7e64" (identifier "PTR_UINT_0012a18c") (+ "+") (number_literal "0x7e64")) (, ",") (pointer_expression "*(undefined4 *)PTR_stderr_0012b184" (* "*") (cast_expression "(undefined4 *)PTR_stderr_0012b184" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_0012b184"))) () ")"))) (; ";")) (expression_statement "FUN_0006d5c0();" (call_expression "FUN_0006d5c0()" (identifier "FUN_0006d5c0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "*(int *)(puVar3 + -0x4d54) = iVar10;" (assignment_expression "*(int *)(puVar3 + -0x4d54) = iVar10" (pointer_expression "*(int *)(puVar3 + -0x4d54)" (* "*") (cast_expression "(int *)(puVar3 + -0x4d54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + -0x4d54)" (( "(") (binary_expression "puVar3 + -0x4d54" (identifier "puVar3") (+ "+") (number_literal "-0x4d54")) () ")")))) (= "=") (identifier "iVar10")) (; ";")) (} "}"))) (expression_statement "puVar3[-0x4c3b] = 0;" (assignment_expression "puVar3[-0x4c3b] = 0" (subscript_expression "puVar3[-0x4c3b]" (identifier "puVar3") ([ "[") (number_literal "-0x4c3b") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0006e128(auStack_dc);" (call_expression "FUN_0006e128(auStack_dc)" (identifier "FUN_0006e128") (argument_list "(auStack_dc)" (( "(") (identifier "auStack_dc") () ")"))) (; ";")) (expression_statement "iVar10 = (*pcVar9)(1);" (assignment_expression "iVar10 = (*pcVar9)(1)" (identifier "iVar10") (= "=") (call_expression "(*pcVar9)(1)" (parenthesized_expression "(*pcVar9)" (( "(") (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) () ")")) (argument_list "(1)" (( "(") (number_literal "1") () ")")))) (; ";")) (if_statement "if (iVar10 == -1) {\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }" (if "if") (parenthesized_expression "(iVar10 == -1)" (( "(") (binary_expression "iVar10 == -1" (identifier "iVar10") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n          if (iVar21 < 0x32) goto LAB_0007fc20;\n          goto LAB_0007fc98;\n        }" ({ "{") (if_statement "if (iVar21 < 0x32) goto LAB_0007fc20;" (if "if") (parenthesized_expression "(iVar21 < 0x32)" (( "(") (binary_expression "iVar21 < 0x32" (identifier "iVar21") (< "<") (number_literal "0x32")) () ")")) (goto_statement "goto LAB_0007fc20;" (goto "goto") (statement_identifier "LAB_0007fc20") (; ";"))) (goto_statement "goto LAB_0007fc98;" (goto "goto") (statement_identifier "LAB_0007fc98") (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_0007fcf8:\n      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;" (statement_identifier "LAB_0007fcf8") (: ":") (if_statement "if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;" (if "if") (parenthesized_expression "(*(char *)(iVar20 + 0x32) != '\0')" (( "(") (binary_expression "*(char *)(iVar20 + 0x32) != '\0'" (pointer_expression "*(char *)(iVar20 + 0x32)" (* "*") (cast_expression "(char *)(iVar20 + 0x32)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar20 + 0x32)" (( "(") (binary_expression "iVar20 + 0x32" (identifier "iVar20") (+ "+") (number_literal "0x32")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0007fc70;" (goto "goto") (statement_identifier "LAB_0007fc70") (; ";")))) (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" (identifier "iVar21") (= "=") (number_literal "0")) (; ";")) (expression_statement "*(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;" (assignment_expression "*(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1" (pointer_expression "*(char *)(iVar20 + 2)" (* "*") (cast_expression "(char *)(iVar20 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar20 + 2)" (( "(") (binary_expression "iVar20 + 2" (identifier "iVar20") (+ "+") (number_literal "2")) () ")")))) (= "=") (binary_expression "*(char *)(iVar20 + 2) >> 1" (pointer_expression "*(char *)(iVar20 + 2)" (* "*") (cast_expression "(char *)(iVar20 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar20 + 2)" (( "(") (binary_expression "iVar20 + 2" (identifier "iVar20") (+ "+") (number_literal "2")) () ")")))) (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "uVar13 = (*pcVar16)(iVar10,0);" (assignment_expression "uVar13 = (*pcVar16)(iVar10,0)" (identifier "uVar13") (= "=") (call_expression "(*pcVar16)(iVar10,0)" (parenthesized_expression "(*pcVar16)" (( "(") (pointer_expression "*pcVar16" (* "*") (identifier "pcVar16")) () ")")) (argument_list "(iVar10,0)" (( "(") (identifier "iVar10") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar10 != 0) {\n        uVar22 = uVar13;\n      }" (if "if") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar22 = uVar13;\n      }" ({ "{") (expression_statement "uVar22 = uVar13;" (assignment_expression "uVar22 = uVar13" (identifier "uVar22") (= "=") (identifier "uVar13")) (; ";")) (} "}"))) (expression_statement "FUN_0006e128(auStack_e8);" (call_expression "FUN_0006e128(auStack_e8)" (identifier "FUN_0006e128") (argument_list "(auStack_e8)" (( "(") (identifier "auStack_e8") () ")"))) (; ";")) (expression_statement "bVar1 = PTR_DAT_0012a178[-0x4c39];" (assignment_expression "bVar1 = PTR_DAT_0012a178[-0x4c39]" (identifier "bVar1") (= "=") (subscript_expression "PTR_DAT_0012a178[-0x4c39]" (identifier "PTR_DAT_0012a178") ([ "[") (number_literal "-0x4c39") (] "]"))) (; ";")) (} "}")))) (} "}")) (while "while") (parenthesized_expression "(bVar1 == 0)" (( "(") (binary_expression "bVar1 == 0" (identifier "bVar1") (== "==") (number_literal "0")) () ")")) (; ";")) (expression_statement "PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;" (assignment_expression "PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb" (subscript_expression "PTR_DAT_0012a178[-0x4c39]" (identifier "PTR_DAT_0012a178") ([ "[") (number_literal "-0x4c39") (] "]")) (= "=") (binary_expression "bVar1 & 0xfb" (identifier "bVar1") (& "&") (number_literal "0xfb"))) (; ";")) (labeled_statement "LAB_0007fc98:\n  if (local_2c == *(int *)puVar7) {\n    return uVar22;\n  }" (statement_identifier "LAB_0007fc98") (: ":") (if_statement "if (local_2c == *(int *)puVar7) {\n    return uVar22;\n  }" (if "if") (parenthesized_expression "(local_2c == *(int *)puVar7)" (( "(") (binary_expression "local_2c == *(int *)puVar7" (identifier "local_2c") (== "==") (pointer_expression "*(int *)puVar7" (* "*") (cast_expression "(int *)puVar7" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar7")))) () ")")) (compound_statement "{\n    return uVar22;\n  }" ({ "{") (return_statement "return uVar22;" (return "return") (identifier "uVar22") (; ";")) (} "}")))) (expression_statement "uVar22 = (*(code *)PTR___stack_chk_fail_0012b0c8)();" (assignment_expression "uVar22 = (*(code *)PTR___stack_chk_fail_0012b0c8)()" (identifier "uVar22") (= "=") (call_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0012b0c8)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0012b0c8" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0012b0c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0012b0c8"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar22;" (return "return") (identifier "uVar22") (; ";")) (} "}")))

int cmdloop(int top)

{
  byte bVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined *puVar4;
  undefined *puVar5;
  undefined *puVar6;
  undefined *puVar7;
  code *pcVar8;
  code *pcVar9;
  int iVar10;
  int iVar11;
  code *pcVar12;
  char *pcVar13;
  int iVar14;
  code *pcVar15;
  code *pcVar16;
  code *pcVar17;
  char *pcVar18;
  int iVar20;
  int iVar21;
  int iVar22;
  char *mpath;
  stackmark smark;
  stackmark smark_1;
  stat statb;
  char *pcVar19;
  
  puVar7 = PTR___stack_chk_guard_0012b14c;
  puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c;
  puVar4 = PTR_UINT_0012a18c;
  puVar2 = PTR_DAT_0012a178;
  pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48);
  pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348);
  iVar10 = *(int *)PTR___stack_chk_guard_0012b14c;
  iVar22 = 0;
  pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c);
  iVar21 = 0;
  pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78);
  pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c);
  do {
    do {
      (*pcVar8)(&smark);
      if (puVar2[-0x4c38] != '\0') {
        (*pcVar15)(0xc);
      }
      iVar20 = *(int *)puVar5;
      if (*(char *)(iVar20 + 0x30) == '\0') {
        iVar11 = (*pcVar9)(0);
        if (iVar11 == -1) goto LAB_0007fd58;
      }
      else if (top == 0) {
        iVar11 = (*pcVar9)(0);
        if (iVar11 == -1) goto LAB_0007fc98;
      }
      else {
        (*pcVar8)(&smark_1);
        iVar11 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;
        if ((*(uint *)(iVar11 + 0xdc) & 0x20) == 0) {
          mpath = (char *)(*(int *)(iVar11 + 0xe0) + 9);
        }
        else {
          mpath = (char *)(*(int *)(iVar11 + 0xd0) + 5);
        }
        iVar11 = 0;
        pcVar12 = (code *)(PTR_LAB_0012a814 + 0x5108);
        while (pcVar13 = (char *)(*pcVar12)(&mpath,iVar20 + 0x2c), puVar6 = PTR___xstat64_0012acc4,
              puVar3 = PTR_DAT_0012a178, pcVar13 != (char *)0x0) {
          pcVar18 = pcVar13;
          if (*pcVar13 != '\0') {
            do {
              pcVar19 = pcVar18;
              pcVar18 = pcVar19 + 1;
            } while (*pcVar18 != '\0');
            *pcVar19 = '\0';
            iVar14 = (*(code *)puVar6)(3,pcVar13,&statb);
            if (-1 < iVar14) {
              iVar11 = iVar11 + statb.st_mtim.tv_sec;
            }
          }
        }
        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar11))
        {
          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {
            outstr(PTR_UINT_0012a18c + 0x7e64,*(FILE **)PTR_stderr_0012b184);
            flush_stdout_stderr();
          }
          *(int *)(puVar3 + -0x4d54) = iVar11;
        }
        puVar3[-0x4c3b] = 0;
        popstackmark(&smark_1);
        iVar11 = (*pcVar9)(1);
        if (iVar11 == -1) goto joined_r0x0007fc18;
      }
      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;
      iVar21 = 0;
      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;
      iVar14 = (*pcVar16)(iVar11,0);
      if (iVar11 != 0) {
        iVar22 = iVar14;
      }
      popstackmark(&smark);
      bVar1 = PTR_DAT_0012a178[-0x4c39];
    } while (bVar1 == 0);
    do {
      PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;
LAB_0007fc98:
      do {
        do {
          do {
            if (iVar10 == *(int *)puVar7) {
              return iVar22;
            }
            (*(code *)PTR___stack_chk_fail_0012b0c8)();
LAB_0007fd58:
          } while (top == 0);
joined_r0x0007fc18:
        } while (0x31 < iVar21);
        iVar11 = (*pcVar17)();
        if (iVar11 != 0) goto LAB_0007fc68;
      } while (*(char *)(iVar20 + 0x2f) == '\0');
      outstr(puVar4 + 0x7e74,*(FILE **)PTR_stderr_0012b184);
      flush_stdout_stderr();
LAB_0007fc68:
      iVar21 = iVar21 + 1;
LAB_0007fc70:
      popstackmark(&smark);
      bVar1 = PTR_DAT_0012a178[-0x4c39];
    } while (bVar1 != 0);
  } while( true );
}


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

undefined4 MASKED(int param_1)

{
  byte bVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined *puVar4;
  undefined *puVar5;
  undefined *puVar6;
  undefined *puVar7;
  code *pcVar8;
  code *pcVar9;
  int iVar10;
  code *pcVar11;
  char *pcVar12;
  undefined4 uVar13;
  int iVar14;
  code *pcVar15;
  code *pcVar16;
  code *pcVar17;
  char *pcVar18;
  int iVar20;
  int iVar21;
  undefined4 uVar22;
  int local_ec;
  undefined1 auStack_e8 [12];
  undefined1 auStack_dc [12];
  undefined1 auStack_d0 [72];
  int local_88;
  int local_2c;
  char *pcVar19;
  
  puVar7 = PTR___stack_chk_guard_0012b14c;
  puVar5 = PTR_ash_ptr_to_globals_misc_0012a84c;
  puVar4 = PTR_UINT_0012a18c;
  puVar2 = PTR_DAT_0012a178;
  pcVar8 = (code *)(PTR_LAB_0012a814 + 0xa48);
  pcVar9 = (code *)(PTR_LAB_0012a8ac + -0x1348);
  local_2c = *(int *)PTR___stack_chk_guard_0012b14c;
  uVar22 = 0;
  pcVar15 = (code *)(PTR_LAB_0012a814 + 0x314c);
  iVar21 = 0;
  pcVar16 = (code *)(PTR_LAB_0012a8ac + -0x6c78);
  pcVar17 = (code *)(PTR_LAB_0012a814 + 0x1f1c);
  do {
    (*pcVar8)(auStack_e8);
    if (puVar2[-0x4c38] != '\0') {
      (*pcVar15)(0xc);
    }
    iVar20 = *(int *)puVar5;
    if (*(char *)(iVar20 + 0x30) == '\0') {
      iVar10 = (*pcVar9)(0);
      if (iVar10 != -1) goto LAB_0007fcf8;
      if ((param_1 == 0) || (0x31 < iVar21)) goto LAB_0007fc98;
LAB_0007fc20:
      iVar10 = (*pcVar17)();
      if (iVar10 == 0) {
        if (*(char *)(iVar20 + 0x2f) == '\0') goto LAB_0007fc98;
        FUN_00071ae0(puVar4 + 0x7e74,*(undefined4 *)PTR_stderr_0012b184);
        FUN_0006d5c0();
      }
      iVar21 = iVar21 + 1;
LAB_0007fc70:
      FUN_0006e128(auStack_e8);
      bVar1 = PTR_DAT_0012a178[-0x4c39];
    }
    else {
      if (param_1 == 0) {
        iVar10 = (*pcVar9)(0);
        if (iVar10 == -1) goto LAB_0007fc98;
      }
      else {
        (*pcVar8)(auStack_dc);
        iVar10 = *(int *)PTR_ash_ptr_to_globals_var_0012a850;
        if ((*(uint *)(iVar10 + 0xdc) & 0x20) == 0) {
          local_ec = *(int *)(iVar10 + 0xe0) + 9;
        }
        else {
          local_ec = *(int *)(iVar10 + 0xd0) + 5;
        }
        iVar10 = 0;
        pcVar11 = (code *)(PTR_LAB_0012a814 + 0x5108);
        while (pcVar12 = (char *)(*pcVar11)(&local_ec,iVar20 + 0x2c),
              puVar6 = PTR___xstat64_0012acc4, puVar3 = PTR_DAT_0012a178, pcVar12 != (char *)0x0) {
          pcVar18 = pcVar12;
          if (*pcVar12 != '\0') {
            do {
              pcVar19 = pcVar18;
              pcVar18 = pcVar19 + 1;
            } while (*pcVar18 != '\0');
            *pcVar19 = '\0';
            iVar14 = (*(code *)puVar6)(3,pcVar12,auStack_d0);
            if (-1 < iVar14) {
              iVar10 = iVar10 + local_88;
            }
          }
        }
        if ((PTR_DAT_0012a178[-0x4c3b] == '\0') && (*(int *)(PTR_DAT_0012a178 + -0x4d54) != iVar10))
        {
          if (*(int *)(PTR_DAT_0012a178 + -0x4d54) != 0) {
            FUN_00071ae0(PTR_UINT_0012a18c + 0x7e64,*(undefined4 *)PTR_stderr_0012b184);
            FUN_0006d5c0();
          }
          *(int *)(puVar3 + -0x4d54) = iVar10;
        }
        puVar3[-0x4c3b] = 0;
        FUN_0006e128(auStack_dc);
        iVar10 = (*pcVar9)(1);
        if (iVar10 == -1) {
          if (iVar21 < 0x32) goto LAB_0007fc20;
          goto LAB_0007fc98;
        }
      }
LAB_0007fcf8:
      if (*(char *)(iVar20 + 0x32) != '\0') goto LAB_0007fc70;
      iVar21 = 0;
      *(char *)(iVar20 + 2) = *(char *)(iVar20 + 2) >> 1;
      uVar13 = (*pcVar16)(iVar10,0);
      if (iVar10 != 0) {
        uVar22 = uVar13;
      }
      FUN_0006e128(auStack_e8);
      bVar1 = PTR_DAT_0012a178[-0x4c39];
    }
  } while (bVar1 == 0);
  PTR_DAT_0012a178[-0x4c39] = bVar1 & 0xfb;
LAB_0007fc98:
  if (local_2c == *(int *)puVar7) {
    return uVar22;
  }
  uVar22 = (*(code *)PTR___stack_chk_fail_0012b0c8)();
  return uVar22;
}

