
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void read_lines(void)

{
  int iVar1;
  
  if (*(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x14) + 1U < 10000000) {
    iVar1 = *(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x20);
    if ((*(uint *)PTR_option_mask32_0012a334 & 8) != 0) {
      iVar1 = iVar1 + -8;
    }
                    /* WARNING: Subroutine does not return */
    xmalloc(iVar1 + 5);
  }
  return;
}



void FUN_00030280(void)

{
  char cVar1;
  byte bVar2;
  undefined *puVar3;
  undefined *puVar4;
  undefined *puVar5;
  undefined *puVar6;
  undefined *puVar7;
  undefined *puVar8;
  undefined *puVar9;
  undefined *puVar10;
  undefined *puVar11;
  int iVar12;
  code *pcVar13;
  code *pcVar14;
  int iVar15;
  undefined4 uVar16;
  undefined4 uVar17;
  undefined4 *puVar18;
  uint uVar19;
  int iVar20;
  uint uVar21;
  byte *pbVar22;
  int iVar23;
  int iVar24;
  byte *pbVar25;
  int *piVar26;
  int iVar27;
  
  puVar8 = PTR_DAT_0012a334;
  puVar7 = PTR_DAT_0012a304;
  puVar4 = PTR_FUN_0012a230;
  iVar27 = *(int *)PTR_DAT_0012a304;
  uVar21 = *(uint *)(iVar27 + 0x14);
  if (9999999 < uVar21 + 1) {
    return;
  }
  iVar23 = *(int *)(iVar27 + 0x20);
  if ((*(uint *)PTR_DAT_0012a334 & 8) != 0) {
    iVar23 = iVar23 + -8;
  }
  cVar1 = *(char *)(iVar27 + 0x103);
  iVar12 = FUN_0001a1bc();
  pbVar22 = (byte *)(iVar12 + 4);
  if (cVar1 == '\0') {
    iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);
    pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);
    (*(code *)PTR_free_0012b168)(iVar12 + -4);
  }
  else {
    *(undefined4 *)(iVar27 + 0x10) = 0;
    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;
    pbVar25 = pbVar22;
  }
  puVar11 = PTR_FUN_0012a3b8;
  puVar10 = PTR_bb_common_bufsiz1_0012a344;
  puVar9 = PTR_FUN_0012a340;
  puVar5 = PTR_FUN_0012a2a4;
  iVar24 = 2;
  iVar12 = 0;
  pcVar13 = (code *)(PTR_LAB_0012a398 + 0x148);
  pcVar14 = (code *)(PTR_LAB_0012a398 + -0x15c);
  do {
    puVar3 = PTR_DAT_0012a214;
    *pbVar25 = 0;
    *(undefined1 *)(iVar27 + 0x103) = 0;
    puVar6 = PTR_FUN_0012a2b4;
    iVar15 = *(int *)(iVar27 + 0x2c);
LAB_0003038c:
    while( true ) {
      if (*(int *)(iVar27 + 0x30) <= iVar15) {
        uVar16 = (*(code *)puVar9)();
        piVar26 = *(int **)puVar3;
        iVar15 = iVar12;
        while( true ) {
          *piVar26 = 0;
          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);
          *(undefined4 *)(iVar27 + 0x28) = uVar17;
          iVar12 = iVar15;
          if ((*piVar26 != 0xb) ||
             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&
              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;
          (*(code *)PTR_sched_yield_0012aff0)();
          iVar15 = iVar12;
        }
        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);
        *(undefined4 *)(iVar27 + 0x2c) = 0;
        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);
        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;
        iVar15 = 0;
        iVar24 = 1;
      }
      bVar2 = puVar10[iVar15];
      uVar19 = (uint)bVar2;
      if (uVar19 == 8) break;
      if ((*(uint *)puVar8 & 0x100) == 0) {
        iVar20 = *(int *)(iVar27 + 0x10);
LAB_00030498:
        if (uVar19 != 9) goto LAB_000304e4;
        uVar19 = iVar20 + 8U & 0xfffffff8;
        if ((int)uVar19 <= iVar23) {
          *(uint *)(iVar27 + 0x10) = uVar19;
          *(int *)(iVar27 + 0x2c) = iVar15 + 1;
          goto LAB_000304c0;
        }
        goto LAB_00030510;
      }
      if (uVar19 != 0x1b) {
        if (*(char *)(iVar27 + 0x101) == '\0') {
          iVar20 = *(int *)(iVar27 + 0x10);
        }
        else {
          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))
          goto LAB_000306e8;
          iVar20 = *(int *)(iVar27 + 0x10);
          *(undefined1 *)(iVar27 + 0x101) = 0;
        }
        goto LAB_00030498;
      }
LAB_000306e8:
      iVar15 = iVar15 + 1;
      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;
      *(int *)(iVar27 + 0x2c) = iVar15;
    }
    iVar20 = *(int *)(iVar27 + 0x10);
    if ((iVar20 != 0) && (pbVar25[-1] != 9)) {
      *(int *)(iVar27 + 0x2c) = iVar15 + 1;
      *(int *)(iVar27 + 0x10) = iVar20 + -1;
      pbVar25[-1] = 0;
      iVar15 = *(int *)(iVar27 + 0x2c);
      pbVar25 = pbVar25 + -1;
      goto LAB_0003038c;
    }
    if ((*(uint *)puVar8 & 0x100) != 0) {
      if (*(char *)(iVar27 + 0x101) != '\0') {
        *(undefined1 *)(iVar27 + 0x101) = 0;
      }
      goto LAB_00030498;
    }
LAB_000304e4:
    if (iVar23 < iVar20 + 1) goto LAB_00030510;
    *(int *)(iVar27 + 0x10) = iVar20 + 1;
    *(int *)(iVar27 + 0x2c) = iVar15 + 1;
    if (uVar19 != 10) {
      if (uVar19 == 0) {
        *pbVar25 = 10;
        pbVar25[1] = 0;
        iVar15 = *(int *)(iVar27 + 0x2c);
        pbVar25 = pbVar25 + 1;
      }
      else {
LAB_000304c0:
        *pbVar25 = bVar2;
        pbVar25 = pbVar25 + 1;
        *pbVar25 = 0;
        iVar15 = *(int *)(iVar27 + 0x2c);
      }
      goto LAB_0003038c;
    }
    *(undefined4 *)(iVar27 + 0x10) = 0;
    *(undefined1 *)(iVar27 + 0x103) = 1;
LAB_00030510:
    iVar27 = *(int *)puVar7;
    uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))
    ;
    puVar3 = PTR_strlen_0012af3c;
    *(undefined4 *)(iVar27 + 0x38) = uVar16;
    iVar15 = (*(code *)puVar3)(pbVar22);
    puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);
    uVar16 = *(undefined4 *)(iVar27 + 0x18);
    *(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;
    *puVar18 = uVar16;
    if (*(char *)(iVar27 + 0x103) != '\0') {
      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;
    }
    uVar19 = *(uint *)(iVar27 + 0x14);
    if (0x98967e < uVar19) {
      *(undefined4 *)(iVar27 + 0x28) = 0;
      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);
      goto LAB_000305b0;
    }
    iVar15 = (*pcVar14)();
    if (iVar15 == 0) {
      uVar19 = uVar21;
      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {
        (*pcVar13)(uVar21);
        uVar19 = *(uint *)(iVar27 + 0x14);
        uVar21 = uVar19;
        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;
      }
      iVar15 = *(int *)(iVar27 + 0x28);
      uVar21 = uVar19;
LAB_0003065c:
      if (iVar15 < 0) {
        if (**(int **)PTR_DAT_0012a214 == 0xb) {
          *(undefined4 *)(iVar27 + 0x28) = 1;
        }
        else {
          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);
        }
      }
      else if (iVar15 == 0) {
        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);
      }
LAB_000305b0:
      (*pcVar13)(uVar21);
      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;
      return;
    }
LAB_00030680:
    iVar15 = *(int *)(iVar27 + 0x28);
    if (iVar15 < 1) goto LAB_0003065c;
    *(uint *)(iVar27 + 0x14) = uVar19 + 1;
    iVar15 = (*(code *)puVar4)(iVar23 + 5);
    pbVar22 = (byte *)(iVar15 + 4);
    *(undefined4 *)(iVar27 + 0x10) = 0;
    pbVar25 = pbVar22;
  } while( true );
}


lui gp,0x10
addiu gp,gp,0x1ed0
addu gp,gp,t9
lw v0,-0x7e4c(gp)
addiu sp,sp,-0x78
lui a0,0x98
sw s8,0x70(sp)
ori a0,a0,0x9680
sw s0,0x50(sp)
lw s8,0x0(v0)
sw v0,0x2c(sp)
sw gp,0x10(sp)
sw ra,0x74(sp)
lw s0,0x14(s8)
sw s7,0x6c(sp)
sw s6,0x68(sp)
addiu v0,s0,0x1
sw s5,0x64(sp)
sw s4,0x60(sp)
sltu v0,v0,a0
sw s3,0x5c(sp)
sw s2,0x58(sp)
beq v0,zero,0x000305c0
_sw s1,0x54(sp)
lw s4,-0x7e1c(gp)
lw v0,0x0(s4)
andi v0,v0,0x8
beq v0,zero,0x000302f8
_lw s2,0x20(s8)
addiu s2,s2,-0x8
lw t9,-0x7f20(gp)
addiu a0,s2,0x5
lb s3,0x103(s8)
sw a0,0x24(sp)
bal 0x0001a1bc
_sw t9,0x30(sp)
lw gp,0x10(sp)
beq s3,zero,0x00030764
_addiu s1,v0,0x4
lw v0,0x14(s8)
or s6,s1,zero
sw zero,0x10(s8)
addiu v0,v0,0x1
sw v0,0x14(s8)
lw v0,-0x7d98(gp)
li s3,0x2
or s5,zero,zero
sw v0,0x38(sp)
lw v0,-0x7eac(gp)
sw v0,0x34(sp)
lw v0,-0x7db8(gp)
addiu v0,v0,0x148
sw v0,0x1c(sp)
lw v0,-0x7e10(gp)
sw v0,0x3c(sp)
lw v0,-0x7db8(gp)
addiu v0,v0,-0x15c
sw v0,0x48(sp)
lw v0,-0x7e0c(gp)
sw v0,0x20(sp)
lw v0,-0x7f3c(gp)
sb zero,0x0(s6)
sb zero,0x103(s8)
sw v0,0x40(sp)
lw v0,-0x7e9c(gp)
sw v0,0x44(sp)
lw v0,0x2c(s8)
lw a0,0x30(s8)
slt a0,v0,a0
bne a0,zero,0x00030430
_lw t9,0x3c(sp)
jalr t9
_nop
lw v1,0x40(sp)
sw v0,0x28(sp)
lw s7,0x0(v1)
lw a1,0x20(sp)
li a2,0x400
lw t9,0x44(sp)
or a0,zero,zero
jalr t9
_sw zero,0x0(s7)
li v1,0xb
lw gp,0x10(sp)
sw v0,0x28(s8)
lw v0,0x0(s7)
bne v0,v1,0x00030404
_lw t9,-0x7024(gp)
jalr t9
_or a0,zero,zero
lw gp,0x10(sp)
beq s5,v0,0x000307a4
_or a0,v0,zero
addiu s3,s3,-0x1
bgez s3,0x000307a8
_lw t9,-0x7160(gp)
or s5,v0,zero
lw t9,-0x734c(gp)
li a1,0x4
lw a2,0x28(sp)
jalr t9
_or a0,zero,zero
lw v0,0x28(s8)
sw zero,0x2c(s8)
blez v0,0x00030510
_sw v0,0x30(s8)
or v0,zero,zero
li s3,0x1
lw v1,0x20(sp)
li a1,0x8
addu a0,v1,v0
lbu a0,0x0(a0)
bne a0,a1,0x00030484
_nop
lw a2,0x10(s8)
beq a2,zero,0x000304d4
_or a1,a2,zero
lbu t1,-0x1(s6)
li t0,0x9
beq t1,t0,0x000304d4
_nop
addiu s6,s6,-0x1
addiu v0,v0,0x1
addiu a2,a2,-0x1
sw v0,0x2c(s8)
sw a2,0x10(s8)
sb zero,0x0(s6)
b 0x0003038c
_lw v0,0x2c(s8)
lw a1,0x0(s4)
andi a1,a1,0x100
bne a1,zero,0x000306e0
_li a1,0x1b
lw a1,0x10(s8)
li a2,0x9
bne a0,a2,0x000304e4
_li a2,-0x8
addiu a1,a1,0x8
and a1,a1,a2
slt a2,s2,a1
bne a2,zero,0x00030510
_addiu v0,v0,0x1
sw a1,0x10(s8)
sw v0,0x2c(s8)
sb a0,0x0(s6)
addiu s6,s6,0x1
sb zero,0x0(s6)
b 0x0003038c
_lw v0,0x2c(s8)
lw t0,0x0(s4)
andi t0,t0,0x100
bne t0,zero,0x00030750
_nop
addiu a1,a1,0x1
slt a2,s2,a1
bne a2,zero,0x00030510
_addiu v0,v0,0x1
sw a1,0x10(s8)
li a1,0xa
bne a0,a1,0x000305f0
_sw v0,0x2c(s8)
li v0,0x1
sw zero,0x10(s8)
sb v0,0x103(s8)
lw v0,0x2c(sp)
li a1,0x408
lw t9,0x38(sp)
lw s8,0x0(v0)
lw a2,0x14(s8)
jalr t9
_lw a0,0x38(s8)
or a0,s1,zero
lw gp,0x10(sp)
lw t9,-0x7214(gp)
jalr t9
_sw v0,0x38(s8)
addiu a0,s1,-0x4
lw t9,0x34(sp)
jalr t9
_addiu a1,v0,0x5
lw a1,0x14(s8)
addiu a3,v0,0x4
lw a0,0x38(s8)
lw a2,0x18(s8)
sll a1,a1,0x2
addu a0,a0,a1
sw a3,0x0(a0)
sw a2,0x0(v0)
lb v0,0x103(s8)
beq v0,zero,0x00030588
_nop
lw v0,0x18(s8)
addiu v0,v0,0x1
sw v0,0x18(s8)
lw a3,0x14(s8)
lui v0,0x98
ori v0,v0,0x967f
sltu v0,a3,v0
bne v0,zero,0x00030610
_lw t9,0x48(sp)
lw v0,0x18(s8)
sw zero,0x28(s8)
sw v0,0x50(s8)
lw t9,0x1c(sp)
jalr t9
_or a0,s0,zero
li v0,-0x1
sw v0,0xd8(s8)
lw ra,0x74(sp)
lw s8,0x70(sp)
lw s7,0x6c(sp)
lw s6,0x68(sp)
lw s5,0x64(sp)
lw s4,0x60(sp)
lw s3,0x5c(sp)
lw s2,0x58(sp)
lw s1,0x54(sp)
lw s0,0x50(sp)
jr ra
_addiu sp,sp,0x78
bne a0,zero,0x000304c0
_nop
li a0,0xa
addiu s6,s6,0x1
sb a0,-0x1(s6)
sb zero,0x0(s6)
b 0x0003038c
_lw v0,0x2c(s8)
jalr t9
_nop
bne v0,zero,0x00030680
_lw gp,0x10(sp)
lw v0,0xd8(s8)
lw a0,0xdc(s8)
slt v0,v0,a0
bne v0,zero,0x00030658
_lw t9,0x1c(sp)
jalr t9
_or a0,s0,zero
lw v0,0xd8(s8)
lw a0,0xdc(s8)
lw s0,0x14(s8)
lw gp,0x10(sp)
slt v0,v0,a0
beq v0,zero,0x00030680
_or a3,s0,zero
lw v0,0x28(s8)
bgez v0,0x000306b0
_lw a0,-0x7f3c(gp)
li v0,0xb
lw a0,0x0(a0)
lw a0,0x0(a0)
bne a0,v0,0x000306c4
_li v0,0x1
b 0x000305ac
_sw v0,0x28(s8)
lw v0,0x28(s8)
blez v0,0x0003065c
_lw a0,0x24(sp)
addiu a3,a3,0x1
lw t9,0x30(sp)
jalr t9
_sw a3,0x14(s8)
addiu s6,v0,0x4
lw gp,0x10(sp)
sw zero,0x10(s8)
b 0x00030370
_or s1,s6,zero
bne v0,zero,0x000305b0
_lw t9,0x1c(sp)
lw v0,0x18(s8)
b 0x000305ac
_sw v0,0x50(s8)
lw a0,-0x7fa8(gp)
lw t9,-0x7db8(gp)
addiu t9,t9,0x10
bal 0x00030010
_addiu a0,a0,-0x4770
b 0x000305b0
_lw t9,0x1c(sp)
bne a0,a1,0x00030700
_nop
xori a0,a0,0x6d
addiu v0,v0,0x1
sltu a0,zero,a0
sb a0,0x101(s8)
b 0x0003038c
_sw v0,0x2c(s8)
lb a1,0x101(s8)
beq a1,zero,0x00030744
_nop
addiu a1,a0,-0x30
sltiu a1,a1,0xa
bne a1,zero,0x000306e8
_li a1,0x5b
beq a0,a1,0x000306e8
_li a1,0x3b
beq a0,a1,0x000306e8
_li a1,0x6d
beq a0,a1,0x000306e8
_nop
lw a2,0x10(s8)
sb zero,0x101(s8)
b 0x00030498
_or a1,a2,zero
lw a2,0x10(s8)
b 0x00030498
_or a1,a2,zero
lb a1,0x101(s8)
beq a1,zero,0x0003073c
_nop
b 0x0003073c
_sb zero,0x101(s8)
lw a1,0x14(s8)
or a0,s1,zero
lw v0,0x38(s8)
lw t9,-0x7080(gp)
sll a1,a1,0x2
addu v0,v0,a1
lw s3,0x0(v0)
jalr t9
_or a1,s3,zero
addiu a0,s3,-0x4
lw gp,0x10(sp)
lw t9,-0x6fe8(gp)
jalr t9
_or s6,v0,zero
b 0x00030330
_lw gp,0x10(sp)
lw t9,-0x7160(gp)
jalr t9
_sw a0,0x4c(sp)
lw a0,0x4c(sp)
b 0x000303b0
_or s5,a0,zero
(translation_unit "void FUN_00030280(void)\n\n{\n  char cVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  undefined *puVar11;\n  int iVar12;\n  code *pcVar13;\n  code *pcVar14;\n  int iVar15;\n  undefined4 uVar16;\n  undefined4 uVar17;\n  undefined4 *puVar18;\n  uint uVar19;\n  int iVar20;\n  uint uVar21;\n  byte *pbVar22;\n  int iVar23;\n  int iVar24;\n  byte *pbVar25;\n  int *piVar26;\n  int iVar27;\n  \n  puVar8 = PTR_DAT_0012a334;\n  puVar7 = PTR_DAT_0012a304;\n  puVar4 = PTR_FUN_0012a230;\n  iVar27 = *(int *)PTR_DAT_0012a304;\n  uVar21 = *(uint *)(iVar27 + 0x14);\n  if (9999999 < uVar21 + 1) {\n    return;\n  }\n  iVar23 = *(int *)(iVar27 + 0x20);\n  if ((*(uint *)PTR_DAT_0012a334 & 8) != 0) {\n    iVar23 = iVar23 + -8;\n  }\n  cVar1 = *(char *)(iVar27 + 0x103);\n  iVar12 = FUN_0001a1bc();\n  pbVar22 = (byte *)(iVar12 + 4);\n  if (cVar1 == '\0') {\n    iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);\n    pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);\n    (*(code *)PTR_free_0012b168)(iVar12 + -4);\n  }\n  else {\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;\n    pbVar25 = pbVar22;\n  }\n  puVar11 = PTR_FUN_0012a3b8;\n  puVar10 = PTR_bb_common_bufsiz1_0012a344;\n  puVar9 = PTR_FUN_0012a340;\n  puVar5 = PTR_FUN_0012a2a4;\n  iVar24 = 2;\n  iVar12 = 0;\n  pcVar13 = (code *)(PTR_LAB_0012a398 + 0x148);\n  pcVar14 = (code *)(PTR_LAB_0012a398 + -0x15c);\n  do {\n    puVar3 = PTR_DAT_0012a214;\n    *pbVar25 = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 0;\n    puVar6 = PTR_FUN_0012a2b4;\n    iVar15 = *(int *)(iVar27 + 0x2c);\nLAB_0003038c:\n    while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }\n    iVar20 = *(int *)(iVar27 + 0x10);\n    if ((iVar20 != 0) && (pbVar25[-1] != 9)) {\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }\n    if ((*(uint *)puVar8 & 0x100) != 0) {\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }\nLAB_000304e4:\n    if (iVar23 < iVar20 + 1) goto LAB_00030510;\n    *(int *)(iVar27 + 0x10) = iVar20 + 1;\n    *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n    if (uVar19 != 10) {\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 1;\nLAB_00030510:\n    iVar27 = *(int *)puVar7;\n    uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))\n    ;\n    puVar3 = PTR_strlen_0012af3c;\n    *(undefined4 *)(iVar27 + 0x38) = uVar16;\n    iVar15 = (*(code *)puVar3)(pbVar22);\n    puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);\n    uVar16 = *(undefined4 *)(iVar27 + 0x18);\n    *(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;\n    *puVar18 = uVar16;\n    if (*(char *)(iVar27 + 0x103) != '\0') {\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }\n    uVar19 = *(uint *)(iVar27 + 0x14);\n    if (0x98967e < uVar19) {\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }\n    iVar15 = (*pcVar14)();\n    if (iVar15 == 0) {\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }\nLAB_00030680:\n    iVar15 = *(int *)(iVar27 + 0x28);\n    if (iVar15 < 1) goto LAB_0003065c;\n    *(uint *)(iVar27 + 0x14) = uVar19 + 1;\n    iVar15 = (*(code *)puVar4)(iVar23 + 5);\n    pbVar22 = (byte *)(iVar15 + 4);\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    pbVar25 = pbVar22;\n  } while( true );\n}\n\n" (function_definition "void FUN_00030280(void)\n\n{\n  char cVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  undefined *puVar11;\n  int iVar12;\n  code *pcVar13;\n  code *pcVar14;\n  int iVar15;\n  undefined4 uVar16;\n  undefined4 uVar17;\n  undefined4 *puVar18;\n  uint uVar19;\n  int iVar20;\n  uint uVar21;\n  byte *pbVar22;\n  int iVar23;\n  int iVar24;\n  byte *pbVar25;\n  int *piVar26;\n  int iVar27;\n  \n  puVar8 = PTR_DAT_0012a334;\n  puVar7 = PTR_DAT_0012a304;\n  puVar4 = PTR_FUN_0012a230;\n  iVar27 = *(int *)PTR_DAT_0012a304;\n  uVar21 = *(uint *)(iVar27 + 0x14);\n  if (9999999 < uVar21 + 1) {\n    return;\n  }\n  iVar23 = *(int *)(iVar27 + 0x20);\n  if ((*(uint *)PTR_DAT_0012a334 & 8) != 0) {\n    iVar23 = iVar23 + -8;\n  }\n  cVar1 = *(char *)(iVar27 + 0x103);\n  iVar12 = FUN_0001a1bc();\n  pbVar22 = (byte *)(iVar12 + 4);\n  if (cVar1 == '\0') {\n    iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);\n    pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);\n    (*(code *)PTR_free_0012b168)(iVar12 + -4);\n  }\n  else {\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;\n    pbVar25 = pbVar22;\n  }\n  puVar11 = PTR_FUN_0012a3b8;\n  puVar10 = PTR_bb_common_bufsiz1_0012a344;\n  puVar9 = PTR_FUN_0012a340;\n  puVar5 = PTR_FUN_0012a2a4;\n  iVar24 = 2;\n  iVar12 = 0;\n  pcVar13 = (code *)(PTR_LAB_0012a398 + 0x148);\n  pcVar14 = (code *)(PTR_LAB_0012a398 + -0x15c);\n  do {\n    puVar3 = PTR_DAT_0012a214;\n    *pbVar25 = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 0;\n    puVar6 = PTR_FUN_0012a2b4;\n    iVar15 = *(int *)(iVar27 + 0x2c);\nLAB_0003038c:\n    while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }\n    iVar20 = *(int *)(iVar27 + 0x10);\n    if ((iVar20 != 0) && (pbVar25[-1] != 9)) {\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }\n    if ((*(uint *)puVar8 & 0x100) != 0) {\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }\nLAB_000304e4:\n    if (iVar23 < iVar20 + 1) goto LAB_00030510;\n    *(int *)(iVar27 + 0x10) = iVar20 + 1;\n    *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n    if (uVar19 != 10) {\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 1;\nLAB_00030510:\n    iVar27 = *(int *)puVar7;\n    uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))\n    ;\n    puVar3 = PTR_strlen_0012af3c;\n    *(undefined4 *)(iVar27 + 0x38) = uVar16;\n    iVar15 = (*(code *)puVar3)(pbVar22);\n    puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);\n    uVar16 = *(undefined4 *)(iVar27 + 0x18);\n    *(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;\n    *puVar18 = uVar16;\n    if (*(char *)(iVar27 + 0x103) != '\0') {\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }\n    uVar19 = *(uint *)(iVar27 + 0x14);\n    if (0x98967e < uVar19) {\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }\n    iVar15 = (*pcVar14)();\n    if (iVar15 == 0) {\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }\nLAB_00030680:\n    iVar15 = *(int *)(iVar27 + 0x28);\n    if (iVar15 < 1) goto LAB_0003065c;\n    *(uint *)(iVar27 + 0x14) = uVar19 + 1;\n    iVar15 = (*(code *)puVar4)(iVar23 + 5);\n    pbVar22 = (byte *)(iVar15 + 4);\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    pbVar25 = pbVar22;\n  } while( true );\n}" primitive_type (function_declarator "FUN_00030280(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char cVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  undefined *puVar11;\n  int iVar12;\n  code *pcVar13;\n  code *pcVar14;\n  int iVar15;\n  undefined4 uVar16;\n  undefined4 uVar17;\n  undefined4 *puVar18;\n  uint uVar19;\n  int iVar20;\n  uint uVar21;\n  byte *pbVar22;\n  int iVar23;\n  int iVar24;\n  byte *pbVar25;\n  int *piVar26;\n  int iVar27;\n  \n  puVar8 = PTR_DAT_0012a334;\n  puVar7 = PTR_DAT_0012a304;\n  puVar4 = PTR_FUN_0012a230;\n  iVar27 = *(int *)PTR_DAT_0012a304;\n  uVar21 = *(uint *)(iVar27 + 0x14);\n  if (9999999 < uVar21 + 1) {\n    return;\n  }\n  iVar23 = *(int *)(iVar27 + 0x20);\n  if ((*(uint *)PTR_DAT_0012a334 & 8) != 0) {\n    iVar23 = iVar23 + -8;\n  }\n  cVar1 = *(char *)(iVar27 + 0x103);\n  iVar12 = FUN_0001a1bc();\n  pbVar22 = (byte *)(iVar12 + 4);\n  if (cVar1 == '\0') {\n    iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);\n    pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);\n    (*(code *)PTR_free_0012b168)(iVar12 + -4);\n  }\n  else {\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;\n    pbVar25 = pbVar22;\n  }\n  puVar11 = PTR_FUN_0012a3b8;\n  puVar10 = PTR_bb_common_bufsiz1_0012a344;\n  puVar9 = PTR_FUN_0012a340;\n  puVar5 = PTR_FUN_0012a2a4;\n  iVar24 = 2;\n  iVar12 = 0;\n  pcVar13 = (code *)(PTR_LAB_0012a398 + 0x148);\n  pcVar14 = (code *)(PTR_LAB_0012a398 + -0x15c);\n  do {\n    puVar3 = PTR_DAT_0012a214;\n    *pbVar25 = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 0;\n    puVar6 = PTR_FUN_0012a2b4;\n    iVar15 = *(int *)(iVar27 + 0x2c);\nLAB_0003038c:\n    while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }\n    iVar20 = *(int *)(iVar27 + 0x10);\n    if ((iVar20 != 0) && (pbVar25[-1] != 9)) {\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }\n    if ((*(uint *)puVar8 & 0x100) != 0) {\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }\nLAB_000304e4:\n    if (iVar23 < iVar20 + 1) goto LAB_00030510;\n    *(int *)(iVar27 + 0x10) = iVar20 + 1;\n    *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n    if (uVar19 != 10) {\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 1;\nLAB_00030510:\n    iVar27 = *(int *)puVar7;\n    uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))\n    ;\n    puVar3 = PTR_strlen_0012af3c;\n    *(undefined4 *)(iVar27 + 0x38) = uVar16;\n    iVar15 = (*(code *)puVar3)(pbVar22);\n    puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);\n    uVar16 = *(undefined4 *)(iVar27 + 0x18);\n    *(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;\n    *puVar18 = uVar16;\n    if (*(char *)(iVar27 + 0x103) != '\0') {\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }\n    uVar19 = *(uint *)(iVar27 + 0x14);\n    if (0x98967e < uVar19) {\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }\n    iVar15 = (*pcVar14)();\n    if (iVar15 == 0) {\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }\nLAB_00030680:\n    iVar15 = *(int *)(iVar27 + 0x28);\n    if (iVar15 < 1) goto LAB_0003065c;\n    *(uint *)(iVar27 + 0x14) = uVar19 + 1;\n    iVar15 = (*(code *)puVar4)(iVar23 + 5);\n    pbVar22 = (byte *)(iVar15 + 4);\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    pbVar25 = pbVar22;\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier 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 "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "code *pcVar13;" type_identifier (pointer_declarator "*pcVar13" * identifier) ;) (declaration "code *pcVar14;" type_identifier (pointer_declarator "*pcVar14" * identifier) ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "undefined4 uVar16;" type_identifier identifier ;) (declaration "undefined4 uVar17;" type_identifier identifier ;) (declaration "undefined4 *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "uint uVar19;" type_identifier identifier ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "uint uVar21;" type_identifier identifier ;) (declaration "byte *pbVar22;" type_identifier (pointer_declarator "*pbVar22" * identifier) ;) (declaration "int iVar23;" primitive_type identifier ;) (declaration "int iVar24;" primitive_type identifier ;) (declaration "byte *pbVar25;" type_identifier (pointer_declarator "*pbVar25" * identifier) ;) (declaration "int *piVar26;" primitive_type (pointer_declarator "*piVar26" * identifier) ;) (declaration "int iVar27;" primitive_type identifier ;) (expression_statement "puVar8 = PTR_DAT_0012a334;" (assignment_expression "puVar8 = PTR_DAT_0012a334" identifier = identifier) ;) (expression_statement "puVar7 = PTR_DAT_0012a304;" (assignment_expression "puVar7 = PTR_DAT_0012a304" identifier = identifier) ;) (expression_statement "puVar4 = PTR_FUN_0012a230;" (assignment_expression "puVar4 = PTR_FUN_0012a230" identifier = identifier) ;) (expression_statement "iVar27 = *(int *)PTR_DAT_0012a304;" (assignment_expression "iVar27 = *(int *)PTR_DAT_0012a304" identifier = (pointer_expression "*(int *)PTR_DAT_0012a304" * (cast_expression "(int *)PTR_DAT_0012a304" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar21 = *(uint *)(iVar27 + 0x14);" (assignment_expression "uVar21 = *(uint *)(iVar27 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar27 + 0x14)" * (cast_expression "(uint *)(iVar27 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (9999999 < uVar21 + 1) {\n    return;\n  }" if (parenthesized_expression "(9999999 < uVar21 + 1)" ( (binary_expression "9999999 < uVar21 + 1" number_literal < (binary_expression "uVar21 + 1" identifier + number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar23 = *(int *)(iVar27 + 0x20);" (assignment_expression "iVar23 = *(int *)(iVar27 + 0x20)" identifier = (pointer_expression "*(int *)(iVar27 + 0x20)" * (cast_expression "(int *)(iVar27 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x20)" ( (binary_expression "iVar27 + 0x20" identifier + number_literal) ))))) ;) (if_statement "if ((*(uint *)PTR_DAT_0012a334 & 8) != 0) {\n    iVar23 = iVar23 + -8;\n  }" if (parenthesized_expression "((*(uint *)PTR_DAT_0012a334 & 8) != 0)" ( (binary_expression "(*(uint *)PTR_DAT_0012a334 & 8) != 0" (parenthesized_expression "(*(uint *)PTR_DAT_0012a334 & 8)" ( (binary_expression "*(uint *)PTR_DAT_0012a334 & 8" (pointer_expression "*(uint *)PTR_DAT_0012a334" * (cast_expression "(uint *)PTR_DAT_0012a334" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) != number_literal) )) (compound_statement "{\n    iVar23 = iVar23 + -8;\n  }" { (expression_statement "iVar23 = iVar23 + -8;" (assignment_expression "iVar23 = iVar23 + -8" identifier = (binary_expression "iVar23 + -8" identifier + number_literal)) ;) })) (expression_statement "cVar1 = *(char *)(iVar27 + 0x103);" (assignment_expression "cVar1 = *(char *)(iVar27 + 0x103)" identifier = (pointer_expression "*(char *)(iVar27 + 0x103)" * (cast_expression "(char *)(iVar27 + 0x103)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x103)" ( (binary_expression "iVar27 + 0x103" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = FUN_0001a1bc();" (assignment_expression "iVar12 = FUN_0001a1bc()" identifier = (call_expression "FUN_0001a1bc()" identifier (argument_list "()" ( )))) ;) (expression_statement "pbVar22 = (byte *)(iVar12 + 4);" (assignment_expression "pbVar22 = (byte *)(iVar12 + 4)" identifier = (cast_expression "(byte *)(iVar12 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 4)" ( (binary_expression "iVar12 + 4" identifier + number_literal) )))) ;) (if_statement "if (cVar1 == '\0') {\n    iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);\n    pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);\n    (*(code *)PTR_free_0012b168)(iVar12 + -4);\n  }\n  else {\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;\n    pbVar25 = pbVar22;\n  }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);\n    pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);\n    (*(code *)PTR_free_0012b168)(iVar12 + -4);\n  }" { (expression_statement "iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);" (assignment_expression "iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" identifier = (pointer_expression "*(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" * (cast_expression "(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" ( (binary_expression "*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4" (pointer_expression "*(int *)(iVar27 + 0x38)" * (cast_expression "(int *)(iVar27 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x38)" ( (binary_expression "iVar27 + 0x38" identifier + number_literal) )))) + (binary_expression "*(int *)(iVar27 + 0x14) * 4" (pointer_expression "*(int *)(iVar27 + 0x14)" * (cast_expression "(int *)(iVar27 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);" (assignment_expression "pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12)" identifier = (cast_expression "(byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12)" (parenthesized_expression "(*(code *)PTR_stpcpy_0012b0d0)" ( (pointer_expression "*(code *)PTR_stpcpy_0012b0d0" * (cast_expression "(code *)PTR_stpcpy_0012b0d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar22,iVar12)" ( identifier , identifier ))))) ;) (expression_statement "(*(code *)PTR_free_0012b168)(iVar12 + -4);" (call_expression "(*(code *)PTR_free_0012b168)(iVar12 + -4)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar12 + -4)" ( (binary_expression "iVar12 + -4" identifier + number_literal) ))) ;) }) (else_clause "else {\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;\n    pbVar25 = pbVar22;\n  }" else (compound_statement "{\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;\n    pbVar25 = pbVar22;\n  }" { (expression_statement "*(undefined4 *)(iVar27 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar27 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar27 + 0x10)" * (cast_expression "(undefined4 *)(iVar27 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;" (assignment_expression "*(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1" (pointer_expression "*(int *)(iVar27 + 0x14)" * (cast_expression "(int *)(iVar27 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar27 + 0x14) + 1" (pointer_expression "*(int *)(iVar27 + 0x14)" * (cast_expression "(int *)(iVar27 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "pbVar25 = pbVar22;" (assignment_expression "pbVar25 = pbVar22" identifier = identifier) ;) }))) (expression_statement "puVar11 = PTR_FUN_0012a3b8;" (assignment_expression "puVar11 = PTR_FUN_0012a3b8" identifier = identifier) ;) (expression_statement "puVar10 = PTR_bb_common_bufsiz1_0012a344;" (assignment_expression "puVar10 = PTR_bb_common_bufsiz1_0012a344" identifier = identifier) ;) (expression_statement "puVar9 = PTR_FUN_0012a340;" (assignment_expression "puVar9 = PTR_FUN_0012a340" identifier = identifier) ;) (expression_statement "puVar5 = PTR_FUN_0012a2a4;" (assignment_expression "puVar5 = PTR_FUN_0012a2a4" identifier = identifier) ;) (expression_statement "iVar24 = 2;" (assignment_expression "iVar24 = 2" identifier = number_literal) ;) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "pcVar13 = (code *)(PTR_LAB_0012a398 + 0x148);" (assignment_expression "pcVar13 = (code *)(PTR_LAB_0012a398 + 0x148)" identifier = (cast_expression "(code *)(PTR_LAB_0012a398 + 0x148)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a398 + 0x148)" ( (binary_expression "PTR_LAB_0012a398 + 0x148" identifier + number_literal) )))) ;) (expression_statement "pcVar14 = (code *)(PTR_LAB_0012a398 + -0x15c);" (assignment_expression "pcVar14 = (code *)(PTR_LAB_0012a398 + -0x15c)" identifier = (cast_expression "(code *)(PTR_LAB_0012a398 + -0x15c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a398 + -0x15c)" ( (binary_expression "PTR_LAB_0012a398 + -0x15c" identifier + number_literal) )))) ;) (do_statement "do {\n    puVar3 = PTR_DAT_0012a214;\n    *pbVar25 = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 0;\n    puVar6 = PTR_FUN_0012a2b4;\n    iVar15 = *(int *)(iVar27 + 0x2c);\nLAB_0003038c:\n    while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }\n    iVar20 = *(int *)(iVar27 + 0x10);\n    if ((iVar20 != 0) && (pbVar25[-1] != 9)) {\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }\n    if ((*(uint *)puVar8 & 0x100) != 0) {\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }\nLAB_000304e4:\n    if (iVar23 < iVar20 + 1) goto LAB_00030510;\n    *(int *)(iVar27 + 0x10) = iVar20 + 1;\n    *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n    if (uVar19 != 10) {\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 1;\nLAB_00030510:\n    iVar27 = *(int *)puVar7;\n    uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))\n    ;\n    puVar3 = PTR_strlen_0012af3c;\n    *(undefined4 *)(iVar27 + 0x38) = uVar16;\n    iVar15 = (*(code *)puVar3)(pbVar22);\n    puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);\n    uVar16 = *(undefined4 *)(iVar27 + 0x18);\n    *(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;\n    *puVar18 = uVar16;\n    if (*(char *)(iVar27 + 0x103) != '\0') {\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }\n    uVar19 = *(uint *)(iVar27 + 0x14);\n    if (0x98967e < uVar19) {\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }\n    iVar15 = (*pcVar14)();\n    if (iVar15 == 0) {\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }\nLAB_00030680:\n    iVar15 = *(int *)(iVar27 + 0x28);\n    if (iVar15 < 1) goto LAB_0003065c;\n    *(uint *)(iVar27 + 0x14) = uVar19 + 1;\n    iVar15 = (*(code *)puVar4)(iVar23 + 5);\n    pbVar22 = (byte *)(iVar15 + 4);\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    pbVar25 = pbVar22;\n  } while( true );" do (compound_statement "{\n    puVar3 = PTR_DAT_0012a214;\n    *pbVar25 = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 0;\n    puVar6 = PTR_FUN_0012a2b4;\n    iVar15 = *(int *)(iVar27 + 0x2c);\nLAB_0003038c:\n    while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }\n    iVar20 = *(int *)(iVar27 + 0x10);\n    if ((iVar20 != 0) && (pbVar25[-1] != 9)) {\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }\n    if ((*(uint *)puVar8 & 0x100) != 0) {\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }\nLAB_000304e4:\n    if (iVar23 < iVar20 + 1) goto LAB_00030510;\n    *(int *)(iVar27 + 0x10) = iVar20 + 1;\n    *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n    if (uVar19 != 10) {\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 1;\nLAB_00030510:\n    iVar27 = *(int *)puVar7;\n    uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))\n    ;\n    puVar3 = PTR_strlen_0012af3c;\n    *(undefined4 *)(iVar27 + 0x38) = uVar16;\n    iVar15 = (*(code *)puVar3)(pbVar22);\n    puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);\n    uVar16 = *(undefined4 *)(iVar27 + 0x18);\n    *(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;\n    *puVar18 = uVar16;\n    if (*(char *)(iVar27 + 0x103) != '\0') {\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }\n    uVar19 = *(uint *)(iVar27 + 0x14);\n    if (0x98967e < uVar19) {\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }\n    iVar15 = (*pcVar14)();\n    if (iVar15 == 0) {\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }\nLAB_00030680:\n    iVar15 = *(int *)(iVar27 + 0x28);\n    if (iVar15 < 1) goto LAB_0003065c;\n    *(uint *)(iVar27 + 0x14) = uVar19 + 1;\n    iVar15 = (*(code *)puVar4)(iVar23 + 5);\n    pbVar22 = (byte *)(iVar15 + 4);\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    pbVar25 = pbVar22;\n  }" { (expression_statement "puVar3 = PTR_DAT_0012a214;" (assignment_expression "puVar3 = PTR_DAT_0012a214" identifier = identifier) ;) (expression_statement "*pbVar25 = 0;" (assignment_expression "*pbVar25 = 0" (pointer_expression "*pbVar25" * identifier) = number_literal) ;) (expression_statement "*(undefined1 *)(iVar27 + 0x103) = 0;" (assignment_expression "*(undefined1 *)(iVar27 + 0x103) = 0" (pointer_expression "*(undefined1 *)(iVar27 + 0x103)" * (cast_expression "(undefined1 *)(iVar27 + 0x103)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x103)" ( (binary_expression "iVar27 + 0x103" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar6 = PTR_FUN_0012a2b4;" (assignment_expression "puVar6 = PTR_FUN_0012a2b4" identifier = identifier) ;) (expression_statement "iVar15 = *(int *)(iVar27 + 0x2c);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar27 + 0x2c)" * (cast_expression "(int *)(iVar27 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x2c)" ( (binary_expression "iVar27 + 0x2c" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0003038c:\n    while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }" statement_identifier : (while_statement "while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }" { (if_statement "if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }" if (parenthesized_expression "(*(int *)(iVar27 + 0x30) <= iVar15)" ( (binary_expression "*(int *)(iVar27 + 0x30) <= iVar15" (pointer_expression "*(int *)(iVar27 + 0x30)" * (cast_expression "(int *)(iVar27 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x30)" ( (binary_expression "iVar27 + 0x30" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }" { (expression_statement "uVar16 = (*(code *)puVar9)();" (assignment_expression "uVar16 = (*(code *)puVar9)()" identifier = (call_expression "(*(code *)puVar9)()" (parenthesized_expression "(*(code *)puVar9)" ( (pointer_expression "*(code *)puVar9" * (cast_expression "(code *)puVar9" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "piVar26 = *(int **)puVar3;" (assignment_expression "piVar26 = *(int **)puVar3" identifier = (pointer_expression "*(int **)puVar3" * (cast_expression "(int **)puVar3" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar15 = iVar12;" (assignment_expression "iVar15 = iVar12" identifier = identifier) ;) (while_statement "while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }" { (expression_statement "*piVar26 = 0;" (assignment_expression "*piVar26 = 0" (pointer_expression "*piVar26" * identifier) = number_literal) ;) (expression_statement "uVar17 = (*(code *)puVar6)(0,puVar10,0x400);" (assignment_expression "uVar17 = (*(code *)puVar6)(0,puVar10,0x400)" identifier = (call_expression "(*(code *)puVar6)(0,puVar10,0x400)" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar10,0x400)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "*(undefined4 *)(iVar27 + 0x28) = uVar17;" (assignment_expression "*(undefined4 *)(iVar27 + 0x28) = uVar17" (pointer_expression "*(undefined4 *)(iVar27 + 0x28)" * (cast_expression "(undefined4 *)(iVar27 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x28)" ( (binary_expression "iVar27 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar12 = iVar15;" (assignment_expression "iVar12 = iVar15" identifier = identifier) ;) (if_statement "if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;" if (parenthesized_expression "((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0))))" ( (binary_expression "(*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))" (parenthesized_expression "(*piVar26 != 0xb)" ( (binary_expression "*piVar26 != 0xb" (pointer_expression "*piVar26" * identifier) != number_literal) )) || (parenthesized_expression "((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))" ( (parenthesized_expression "(iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0))" ( (comma_expression "iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)" (assignment_expression "iVar12 = (*(code *)PTR_time_0012b12c)(0)" identifier = (call_expression "(*(code *)PTR_time_0012b12c)(0)" (parenthesized_expression "(*(code *)PTR_time_0012b12c)" ( (pointer_expression "*(code *)PTR_time_0012b12c" * (cast_expression "(code *)PTR_time_0012b12c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal )))) , (binary_expression "iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)" (binary_expression "iVar15 != iVar12" identifier != identifier) && (parenthesized_expression "(iVar24 = iVar24 + -1, iVar24 < 0)" ( (comma_expression "iVar24 = iVar24 + -1, iVar24 < 0" (assignment_expression "iVar24 = iVar24 + -1" identifier = (binary_expression "iVar24 + -1" identifier + number_literal)) , (binary_expression "iVar24 < 0" identifier < number_literal)) )))) )) ))) )) (break_statement "break;" break ;)) (expression_statement "(*(code *)PTR_sched_yield_0012aff0)();" (call_expression "(*(code *)PTR_sched_yield_0012aff0)()" (parenthesized_expression "(*(code *)PTR_sched_yield_0012aff0)" ( (pointer_expression "*(code *)PTR_sched_yield_0012aff0" * (cast_expression "(code *)PTR_sched_yield_0012aff0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar15 = iVar12;" (assignment_expression "iVar15 = iVar12" identifier = identifier) ;) })) (expression_statement "(*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);" (call_expression "(*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16)" (parenthesized_expression "(*(code *)PTR_fcntl64_0012ae04)" ( (pointer_expression "*(code *)PTR_fcntl64_0012ae04" * (cast_expression "(code *)PTR_fcntl64_0012ae04" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,4,uVar16)" ( number_literal , number_literal , identifier ))) ;) (expression_statement "*(undefined4 *)(iVar27 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(iVar27 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(iVar27 + 0x2c)" * (cast_expression "(undefined4 *)(iVar27 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x2c)" ( (binary_expression "iVar27 + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);" (assignment_expression "*(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28)" (pointer_expression "*(int *)(iVar27 + 0x30)" * (cast_expression "(int *)(iVar27 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x30)" ( (binary_expression "iVar27 + 0x30" identifier + number_literal) )))) = (pointer_expression "*(int *)(iVar27 + 0x28)" * (cast_expression "(int *)(iVar27 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x28)" ( (binary_expression "iVar27 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;" if (parenthesized_expression "(*(int *)(iVar27 + 0x28) < 1)" ( (binary_expression "*(int *)(iVar27 + 0x28) < 1" (pointer_expression "*(int *)(iVar27 + 0x28)" * (cast_expression "(int *)(iVar27 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x28)" ( (binary_expression "iVar27 + 0x28" identifier + number_literal) )))) < number_literal) )) (goto_statement "goto LAB_00030510;" goto statement_identifier ;)) (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" identifier = number_literal) ;) (expression_statement "iVar24 = 1;" (assignment_expression "iVar24 = 1" identifier = number_literal) ;) })) (expression_statement "bVar2 = puVar10[iVar15];" (assignment_expression "bVar2 = puVar10[iVar15]" identifier = (subscript_expression "puVar10[iVar15]" identifier [ identifier ])) ;) (expression_statement "uVar19 = (uint)bVar2;" (assignment_expression "uVar19 = (uint)bVar2" identifier = (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (uVar19 == 8) break;" if (parenthesized_expression "(uVar19 == 8)" ( (binary_expression "uVar19 == 8" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }" if (parenthesized_expression "((*(uint *)puVar8 & 0x100) == 0)" ( (binary_expression "(*(uint *)puVar8 & 0x100) == 0" (parenthesized_expression "(*(uint *)puVar8 & 0x100)" ( (binary_expression "*(uint *)puVar8 & 0x100" (pointer_expression "*(uint *)puVar8" * (cast_expression "(uint *)puVar8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }" { (expression_statement "iVar20 = *(int *)(iVar27 + 0x10);" (assignment_expression "iVar20 = *(int *)(iVar27 + 0x10)" identifier = (pointer_expression "*(int *)(iVar27 + 0x10)" * (cast_expression "(int *)(iVar27 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;" statement_identifier : (if_statement "if (uVar19 != 9) goto LAB_000304e4;" if (parenthesized_expression "(uVar19 != 9)" ( (binary_expression "uVar19 != 9" identifier != number_literal) )) (goto_statement "goto LAB_000304e4;" goto statement_identifier ;))) (expression_statement "uVar19 = iVar20 + 8U & 0xfffffff8;" (assignment_expression "uVar19 = iVar20 + 8U & 0xfffffff8" identifier = (binary_expression "iVar20 + 8U & 0xfffffff8" (binary_expression "iVar20 + 8U" identifier + number_literal) & number_literal)) ;) (if_statement "if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }" if (parenthesized_expression "((int)uVar19 <= iVar23)" ( (binary_expression "(int)uVar19 <= iVar23" (cast_expression "(int)uVar19" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )) (compound_statement "{\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }" { (expression_statement "*(uint *)(iVar27 + 0x10) = uVar19;" (assignment_expression "*(uint *)(iVar27 + 0x10) = uVar19" (pointer_expression "*(uint *)(iVar27 + 0x10)" * (cast_expression "(uint *)(iVar27 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar27 + 0x2c) = iVar15 + 1;" (assignment_expression "*(int *)(iVar27 + 0x2c) = iVar15 + 1" (pointer_expression "*(int *)(iVar27 + 0x2c)" * (cast_expression "(int *)(iVar27 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x2c)" ( (binary_expression "iVar27 + 0x2c" identifier + number_literal) )))) = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_000304c0;" goto statement_identifier ;) })) (goto_statement "goto LAB_00030510;" goto statement_identifier ;) })) (if_statement "if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }" if (parenthesized_expression "(uVar19 != 0x1b)" ( (binary_expression "uVar19 != 0x1b" identifier != number_literal) )) (compound_statement "{\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }" { (if_statement "if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }" if (parenthesized_expression "(*(char *)(iVar27 + 0x101) == '\0')" ( (binary_expression "*(char *)(iVar27 + 0x101) == '\0'" (pointer_expression "*(char *)(iVar27 + 0x101)" * (cast_expression "(char *)(iVar27 + 0x101)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x101)" ( (binary_expression "iVar27 + 0x101" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }" { (expression_statement "iVar20 = *(int *)(iVar27 + 0x10);" (assignment_expression "iVar20 = *(int *)(iVar27 + 0x10)" identifier = (pointer_expression "*(int *)(iVar27 + 0x10)" * (cast_expression "(int *)(iVar27 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) ))))) ;) }) (else_clause "else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }" else (compound_statement "{\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }" { (if_statement "if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;" if (parenthesized_expression "((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))" ( (binary_expression "(((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d)" (parenthesized_expression "(((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b))" ( (binary_expression "((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)" (parenthesized_expression "((uVar19 - 0x30 < 10) || (uVar19 == 0x5b))" ( (binary_expression "(uVar19 - 0x30 < 10) || (uVar19 == 0x5b)" (parenthesized_expression "(uVar19 - 0x30 < 10)" ( (binary_expression "uVar19 - 0x30 < 10" (binary_expression "uVar19 - 0x30" identifier - number_literal) < number_literal) )) || (parenthesized_expression "(uVar19 == 0x5b)" ( (binary_expression "uVar19 == 0x5b" identifier == number_literal) ))) )) || (parenthesized_expression "(uVar19 == 0x3b)" ( (binary_expression "uVar19 == 0x3b" identifier == number_literal) ))) )) || (parenthesized_expression "(uVar19 == 0x6d)" ( (binary_expression "uVar19 == 0x6d" identifier == number_literal) ))) )) (goto_statement "goto LAB_000306e8;" goto statement_identifier ;)) (expression_statement "iVar20 = *(int *)(iVar27 + 0x10);" (assignment_expression "iVar20 = *(int *)(iVar27 + 0x10)" identifier = (pointer_expression "*(int *)(iVar27 + 0x10)" * (cast_expression "(int *)(iVar27 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(iVar27 + 0x101) = 0;" (assignment_expression "*(undefined1 *)(iVar27 + 0x101) = 0" (pointer_expression "*(undefined1 *)(iVar27 + 0x101)" * (cast_expression "(undefined1 *)(iVar27 + 0x101)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x101)" ( (binary_expression "iVar27 + 0x101" identifier + number_literal) )))) = number_literal) ;) }))) (goto_statement "goto LAB_00030498;" goto statement_identifier ;) })) (labeled_statement "LAB_000306e8:\n      iVar15 = iVar15 + 1;" statement_identifier : (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;)) (expression_statement "*(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;" (assignment_expression "*(bool *)(iVar27 + 0x101) = uVar19 != 0x6d" (pointer_expression "*(bool *)(iVar27 + 0x101)" * (cast_expression "(bool *)(iVar27 + 0x101)" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x101)" ( (binary_expression "iVar27 + 0x101" identifier + number_literal) )))) = (binary_expression "uVar19 != 0x6d" identifier != number_literal)) ;) (expression_statement "*(int *)(iVar27 + 0x2c) = iVar15;" (assignment_expression "*(int *)(iVar27 + 0x2c) = iVar15" (pointer_expression "*(int *)(iVar27 + 0x2c)" * (cast_expression "(int *)(iVar27 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x2c)" ( (binary_expression "iVar27 + 0x2c" identifier + number_literal) )))) = identifier) ;) }))) (expression_statement "iVar20 = *(int *)(iVar27 + 0x10);" (assignment_expression "iVar20 = *(int *)(iVar27 + 0x10)" identifier = (pointer_expression "*(int *)(iVar27 + 0x10)" * (cast_expression "(int *)(iVar27 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if ((iVar20 != 0) && (pbVar25[-1] != 9)) {\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }" if (parenthesized_expression "((iVar20 != 0) && (pbVar25[-1] != 9))" ( (binary_expression "(iVar20 != 0) && (pbVar25[-1] != 9)" (parenthesized_expression "(iVar20 != 0)" ( (binary_expression "iVar20 != 0" identifier != number_literal) )) && (parenthesized_expression "(pbVar25[-1] != 9)" ( (binary_expression "pbVar25[-1] != 9" (subscript_expression "pbVar25[-1]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }" { (expression_statement "*(int *)(iVar27 + 0x2c) = iVar15 + 1;" (assignment_expression "*(int *)(iVar27 + 0x2c) = iVar15 + 1" (pointer_expression "*(int *)(iVar27 + 0x2c)" * (cast_expression "(int *)(iVar27 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x2c)" ( (binary_expression "iVar27 + 0x2c" identifier + number_literal) )))) = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar27 + 0x10) = iVar20 + -1;" (assignment_expression "*(int *)(iVar27 + 0x10) = iVar20 + -1" (pointer_expression "*(int *)(iVar27 + 0x10)" * (cast_expression "(int *)(iVar27 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) )))) = (binary_expression "iVar20 + -1" identifier + number_literal)) ;) (expression_statement "pbVar25[-1] = 0;" (assignment_expression "pbVar25[-1] = 0" (subscript_expression "pbVar25[-1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar15 = *(int *)(iVar27 + 0x2c);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar27 + 0x2c)" * (cast_expression "(int *)(iVar27 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x2c)" ( (binary_expression "iVar27 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "pbVar25 = pbVar25 + -1;" (assignment_expression "pbVar25 = pbVar25 + -1" identifier = (binary_expression "pbVar25 + -1" identifier + number_literal)) ;) (goto_statement "goto LAB_0003038c;" goto statement_identifier ;) })) (if_statement "if ((*(uint *)puVar8 & 0x100) != 0) {\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }" if (parenthesized_expression "((*(uint *)puVar8 & 0x100) != 0)" ( (binary_expression "(*(uint *)puVar8 & 0x100) != 0" (parenthesized_expression "(*(uint *)puVar8 & 0x100)" ( (binary_expression "*(uint *)puVar8 & 0x100" (pointer_expression "*(uint *)puVar8" * (cast_expression "(uint *)puVar8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) != number_literal) )) (compound_statement "{\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }" { (if_statement "if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }" if (parenthesized_expression "(*(char *)(iVar27 + 0x101) != '\0')" ( (binary_expression "*(char *)(iVar27 + 0x101) != '\0'" (pointer_expression "*(char *)(iVar27 + 0x101)" * (cast_expression "(char *)(iVar27 + 0x101)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x101)" ( (binary_expression "iVar27 + 0x101" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }" { (expression_statement "*(undefined1 *)(iVar27 + 0x101) = 0;" (assignment_expression "*(undefined1 *)(iVar27 + 0x101) = 0" (pointer_expression "*(undefined1 *)(iVar27 + 0x101)" * (cast_expression "(undefined1 *)(iVar27 + 0x101)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x101)" ( (binary_expression "iVar27 + 0x101" identifier + number_literal) )))) = number_literal) ;) })) (goto_statement "goto LAB_00030498;" goto statement_identifier ;) })) (labeled_statement "LAB_000304e4:\n    if (iVar23 < iVar20 + 1) goto LAB_00030510;" statement_identifier : (if_statement "if (iVar23 < iVar20 + 1) goto LAB_00030510;" if (parenthesized_expression "(iVar23 < iVar20 + 1)" ( (binary_expression "iVar23 < iVar20 + 1" identifier < (binary_expression "iVar20 + 1" identifier + number_literal)) )) (goto_statement "goto LAB_00030510;" goto statement_identifier ;))) (expression_statement "*(int *)(iVar27 + 0x10) = iVar20 + 1;" (assignment_expression "*(int *)(iVar27 + 0x10) = iVar20 + 1" (pointer_expression "*(int *)(iVar27 + 0x10)" * (cast_expression "(int *)(iVar27 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) )))) = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar27 + 0x2c) = iVar15 + 1;" (assignment_expression "*(int *)(iVar27 + 0x2c) = iVar15 + 1" (pointer_expression "*(int *)(iVar27 + 0x2c)" * (cast_expression "(int *)(iVar27 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x2c)" ( (binary_expression "iVar27 + 0x2c" identifier + number_literal) )))) = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (if_statement "if (uVar19 != 10) {\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }" if (parenthesized_expression "(uVar19 != 10)" ( (binary_expression "uVar19 != 10" identifier != number_literal) )) (compound_statement "{\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }" { (if_statement "if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }" if (parenthesized_expression "(uVar19 == 0)" ( (binary_expression "uVar19 == 0" identifier == number_literal) )) (compound_statement "{\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }" { (expression_statement "*pbVar25 = 10;" (assignment_expression "*pbVar25 = 10" (pointer_expression "*pbVar25" * identifier) = number_literal) ;) (expression_statement "pbVar25[1] = 0;" (assignment_expression "pbVar25[1] = 0" (subscript_expression "pbVar25[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar15 = *(int *)(iVar27 + 0x2c);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar27 + 0x2c)" * (cast_expression "(int *)(iVar27 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x2c)" ( (binary_expression "iVar27 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "pbVar25 = pbVar25 + 1;" (assignment_expression "pbVar25 = pbVar25 + 1" identifier = (binary_expression "pbVar25 + 1" identifier + number_literal)) ;) }) (else_clause "else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }" else (compound_statement "{\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }" { (labeled_statement "LAB_000304c0:\n        *pbVar25 = bVar2;" statement_identifier : (expression_statement "*pbVar25 = bVar2;" (assignment_expression "*pbVar25 = bVar2" (pointer_expression "*pbVar25" * identifier) = identifier) ;)) (expression_statement "pbVar25 = pbVar25 + 1;" (assignment_expression "pbVar25 = pbVar25 + 1" identifier = (binary_expression "pbVar25 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar25 = 0;" (assignment_expression "*pbVar25 = 0" (pointer_expression "*pbVar25" * identifier) = number_literal) ;) (expression_statement "iVar15 = *(int *)(iVar27 + 0x2c);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar27 + 0x2c)" * (cast_expression "(int *)(iVar27 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x2c)" ( (binary_expression "iVar27 + 0x2c" identifier + number_literal) ))))) ;) }))) (goto_statement "goto LAB_0003038c;" goto statement_identifier ;) })) (expression_statement "*(undefined4 *)(iVar27 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar27 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar27 + 0x10)" * (cast_expression "(undefined4 *)(iVar27 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(iVar27 + 0x103) = 1;" (assignment_expression "*(undefined1 *)(iVar27 + 0x103) = 1" (pointer_expression "*(undefined1 *)(iVar27 + 0x103)" * (cast_expression "(undefined1 *)(iVar27 + 0x103)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x103)" ( (binary_expression "iVar27 + 0x103" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "LAB_00030510:\n    iVar27 = *(int *)puVar7;" statement_identifier : (expression_statement "iVar27 = *(int *)puVar7;" (assignment_expression "iVar27 = *(int *)puVar7" identifier = (pointer_expression "*(int *)puVar7" * (cast_expression "(int *)puVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;)) (expression_statement "uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))\n    ;" (assignment_expression "uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))" identifier = (call_expression "(*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))" (parenthesized_expression "(*(code *)puVar11)" ( (pointer_expression "*(code *)puVar11" * (cast_expression "(code *)puVar11" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))" ( (pointer_expression "*(undefined4 *)(iVar27 + 0x38)" * (cast_expression "(undefined4 *)(iVar27 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x38)" ( (binary_expression "iVar27 + 0x38" identifier + number_literal) )))) , number_literal , (pointer_expression "*(undefined4 *)(iVar27 + 0x14)" * (cast_expression "(undefined4 *)(iVar27 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) )))) )))) ;) (expression_statement "puVar3 = PTR_strlen_0012af3c;" (assignment_expression "puVar3 = PTR_strlen_0012af3c" identifier = identifier) ;) (expression_statement "*(undefined4 *)(iVar27 + 0x38) = uVar16;" (assignment_expression "*(undefined4 *)(iVar27 + 0x38) = uVar16" (pointer_expression "*(undefined4 *)(iVar27 + 0x38)" * (cast_expression "(undefined4 *)(iVar27 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x38)" ( (binary_expression "iVar27 + 0x38" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar15 = (*(code *)puVar3)(pbVar22);" (assignment_expression "iVar15 = (*(code *)puVar3)(pbVar22)" identifier = (call_expression "(*(code *)puVar3)(pbVar22)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar22)" ( identifier )))) ;) (expression_statement "puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);" (assignment_expression "puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5)" identifier = (cast_expression "(undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5)" (parenthesized_expression "(*(code *)puVar5)" ( (pointer_expression "*(code *)puVar5" * (cast_expression "(code *)puVar5" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar22 + -4,iVar15 + 5)" ( (binary_expression "pbVar22 + -4" identifier + number_literal) , (binary_expression "iVar15 + 5" identifier + number_literal) ))))) ;) (expression_statement "uVar16 = *(undefined4 *)(iVar27 + 0x18);" (assignment_expression "uVar16 = *(undefined4 *)(iVar27 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(iVar27 + 0x18)" * (cast_expression "(undefined4 *)(iVar27 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x18)" ( (binary_expression "iVar27 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;" (assignment_expression "*(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1" (pointer_expression "*(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" * (cast_expression "(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" ( (binary_expression "*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4" (pointer_expression "*(int *)(iVar27 + 0x38)" * (cast_expression "(int *)(iVar27 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x38)" ( (binary_expression "iVar27 + 0x38" identifier + number_literal) )))) + (binary_expression "*(int *)(iVar27 + 0x14) * 4" (pointer_expression "*(int *)(iVar27 + 0x14)" * (cast_expression "(int *)(iVar27 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) )))) * number_literal)) )))) = (binary_expression "puVar18 + 1" identifier + number_literal)) ;) (expression_statement "*puVar18 = uVar16;" (assignment_expression "*puVar18 = uVar16" (pointer_expression "*puVar18" * identifier) = identifier) ;) (if_statement "if (*(char *)(iVar27 + 0x103) != '\0') {\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }" if (parenthesized_expression "(*(char *)(iVar27 + 0x103) != '\0')" ( (binary_expression "*(char *)(iVar27 + 0x103) != '\0'" (pointer_expression "*(char *)(iVar27 + 0x103)" * (cast_expression "(char *)(iVar27 + 0x103)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x103)" ( (binary_expression "iVar27 + 0x103" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }" { (expression_statement "*(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;" (assignment_expression "*(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1" (pointer_expression "*(int *)(iVar27 + 0x18)" * (cast_expression "(int *)(iVar27 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x18)" ( (binary_expression "iVar27 + 0x18" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar27 + 0x18) + 1" (pointer_expression "*(int *)(iVar27 + 0x18)" * (cast_expression "(int *)(iVar27 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x18)" ( (binary_expression "iVar27 + 0x18" identifier + number_literal) )))) + number_literal)) ;) })) (expression_statement "uVar19 = *(uint *)(iVar27 + 0x14);" (assignment_expression "uVar19 = *(uint *)(iVar27 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar27 + 0x14)" * (cast_expression "(uint *)(iVar27 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (0x98967e < uVar19) {\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }" if (parenthesized_expression "(0x98967e < uVar19)" ( (binary_expression "0x98967e < uVar19" number_literal < identifier) )) (compound_statement "{\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }" { (expression_statement "*(undefined4 *)(iVar27 + 0x28) = 0;" (assignment_expression "*(undefined4 *)(iVar27 + 0x28) = 0" (pointer_expression "*(undefined4 *)(iVar27 + 0x28)" * (cast_expression "(undefined4 *)(iVar27 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x28)" ( (binary_expression "iVar27 + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);" (assignment_expression "*(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18)" (pointer_expression "*(undefined4 *)(iVar27 + 0x50)" * (cast_expression "(undefined4 *)(iVar27 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x50)" ( (binary_expression "iVar27 + 0x50" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar27 + 0x18)" * (cast_expression "(undefined4 *)(iVar27 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x18)" ( (binary_expression "iVar27 + 0x18" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_000305b0;" goto statement_identifier ;) })) (expression_statement "iVar15 = (*pcVar14)();" (assignment_expression "iVar15 = (*pcVar14)()" identifier = (call_expression "(*pcVar14)()" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar15 == 0) {\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }" if (parenthesized_expression "(iVar15 == 0)" ( (binary_expression "iVar15 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }" { (expression_statement "uVar19 = uVar21;" (assignment_expression "uVar19 = uVar21" identifier = identifier) ;) (if_statement "if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }" if (parenthesized_expression "(*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8))" ( (binary_expression "*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)" (pointer_expression "*(int *)(iVar27 + 0xdc)" * (cast_expression "(int *)(iVar27 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0xdc)" ( (binary_expression "iVar27 + 0xdc" identifier + number_literal) )))) <= (pointer_expression "*(int *)(iVar27 + 0xd8)" * (cast_expression "(int *)(iVar27 + 0xd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0xd8)" ( (binary_expression "iVar27 + 0xd8" identifier + number_literal) ))))) )) (compound_statement "{\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }" { (expression_statement "(*pcVar13)(uVar21);" (call_expression "(*pcVar13)(uVar21)" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "(uVar21)" ( identifier ))) ;) (expression_statement "uVar19 = *(uint *)(iVar27 + 0x14);" (assignment_expression "uVar19 = *(uint *)(iVar27 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar27 + 0x14)" * (cast_expression "(uint *)(iVar27 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar21 = uVar19;" (assignment_expression "uVar21 = uVar19" identifier = identifier) ;) (if_statement "if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;" if (parenthesized_expression "(*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8))" ( (binary_expression "*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)" (pointer_expression "*(int *)(iVar27 + 0xdc)" * (cast_expression "(int *)(iVar27 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0xdc)" ( (binary_expression "iVar27 + 0xdc" identifier + number_literal) )))) <= (pointer_expression "*(int *)(iVar27 + 0xd8)" * (cast_expression "(int *)(iVar27 + 0xd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0xd8)" ( (binary_expression "iVar27 + 0xd8" identifier + number_literal) ))))) )) (goto_statement "goto LAB_00030680;" goto statement_identifier ;)) })) (expression_statement "iVar15 = *(int *)(iVar27 + 0x28);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x28)" identifier = (pointer_expression "*(int *)(iVar27 + 0x28)" * (cast_expression "(int *)(iVar27 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x28)" ( (binary_expression "iVar27 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "uVar21 = uVar19;" (assignment_expression "uVar21 = uVar19" identifier = identifier) ;) (labeled_statement "LAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }" statement_identifier : (if_statement "if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }" if (parenthesized_expression "(iVar15 < 0)" ( (binary_expression "iVar15 < 0" identifier < number_literal) )) (compound_statement "{\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }" { (if_statement "if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }" if (parenthesized_expression "(**(int **)PTR_DAT_0012a214 == 0xb)" ( (binary_expression "**(int **)PTR_DAT_0012a214 == 0xb" (pointer_expression "**(int **)PTR_DAT_0012a214" * (pointer_expression "*(int **)PTR_DAT_0012a214" * (cast_expression "(int **)PTR_DAT_0012a214" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) == number_literal) )) (compound_statement "{\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }" { (expression_statement "*(undefined4 *)(iVar27 + 0x28) = 1;" (assignment_expression "*(undefined4 *)(iVar27 + 0x28) = 1" (pointer_expression "*(undefined4 *)(iVar27 + 0x28)" * (cast_expression "(undefined4 *)(iVar27 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x28)" ( (binary_expression "iVar27 + 0x28" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }" else (compound_statement "{\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }" { (expression_statement "FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);" (call_expression "FUN_00030010(PTR_FUN_0012a1a8 + -0x4770)" identifier (argument_list "(PTR_FUN_0012a1a8 + -0x4770)" ( (binary_expression "PTR_FUN_0012a1a8 + -0x4770" identifier + number_literal) ))) ;) }))) }) (else_clause "else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }" else (if_statement "if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }" if (parenthesized_expression "(iVar15 == 0)" ( (binary_expression "iVar15 == 0" identifier == number_literal) )) (compound_statement "{\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }" { (expression_statement "*(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);" (assignment_expression "*(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18)" (pointer_expression "*(undefined4 *)(iVar27 + 0x50)" * (cast_expression "(undefined4 *)(iVar27 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x50)" ( (binary_expression "iVar27 + 0x50" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar27 + 0x18)" * (cast_expression "(undefined4 *)(iVar27 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x18)" ( (binary_expression "iVar27 + 0x18" identifier + number_literal) ))))) ;) }))))) (labeled_statement "LAB_000305b0:\n      (*pcVar13)(uVar21);" statement_identifier : (expression_statement "(*pcVar13)(uVar21);" (call_expression "(*pcVar13)(uVar21)" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "(uVar21)" ( identifier ))) ;)) (expression_statement "*(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar27 + 0xd8) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar27 + 0xd8)" * (cast_expression "(undefined4 *)(iVar27 + 0xd8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0xd8)" ( (binary_expression "iVar27 + 0xd8" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_00030680:\n    iVar15 = *(int *)(iVar27 + 0x28);" statement_identifier : (expression_statement "iVar15 = *(int *)(iVar27 + 0x28);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x28)" identifier = (pointer_expression "*(int *)(iVar27 + 0x28)" * (cast_expression "(int *)(iVar27 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x28)" ( (binary_expression "iVar27 + 0x28" identifier + number_literal) ))))) ;)) (if_statement "if (iVar15 < 1) goto LAB_0003065c;" if (parenthesized_expression "(iVar15 < 1)" ( (binary_expression "iVar15 < 1" identifier < number_literal) )) (goto_statement "goto LAB_0003065c;" goto statement_identifier ;)) (expression_statement "*(uint *)(iVar27 + 0x14) = uVar19 + 1;" (assignment_expression "*(uint *)(iVar27 + 0x14) = uVar19 + 1" (pointer_expression "*(uint *)(iVar27 + 0x14)" * (cast_expression "(uint *)(iVar27 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) )))) = (binary_expression "uVar19 + 1" identifier + number_literal)) ;) (expression_statement "iVar15 = (*(code *)puVar4)(iVar23 + 5);" (assignment_expression "iVar15 = (*(code *)puVar4)(iVar23 + 5)" identifier = (call_expression "(*(code *)puVar4)(iVar23 + 5)" (parenthesized_expression "(*(code *)puVar4)" ( (pointer_expression "*(code *)puVar4" * (cast_expression "(code *)puVar4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar23 + 5)" ( (binary_expression "iVar23 + 5" identifier + number_literal) )))) ;) (expression_statement "pbVar22 = (byte *)(iVar15 + 4);" (assignment_expression "pbVar22 = (byte *)(iVar15 + 4)" identifier = (cast_expression "(byte *)(iVar15 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 4)" ( (binary_expression "iVar15 + 4" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(iVar27 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar27 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar27 + 0x10)" * (cast_expression "(undefined4 *)(iVar27 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pbVar25 = pbVar22;" (assignment_expression "pbVar25 = pbVar22" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid read_lines(void)\n\n{\n  int iVar1;\n  \n  if (*(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x14) + 1U < 10000000) {\n    iVar1 = *(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x20);\n    if ((*(uint *)PTR_option_mask32_0012a334 & 8) != 0) {\n      iVar1 = iVar1 + -8;\n    }\n                    /* WARNING: Subroutine does not return */\n    xmalloc(iVar1 + 5);\n  }\n  return;\n}\n\n" comment (function_definition "void read_lines(void)\n\n{\n  int iVar1;\n  \n  if (*(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x14) + 1U < 10000000) {\n    iVar1 = *(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x20);\n    if ((*(uint *)PTR_option_mask32_0012a334 & 8) != 0) {\n      iVar1 = iVar1 + -8;\n    }\n                    /* WARNING: Subroutine does not return */\n    xmalloc(iVar1 + 5);\n  }\n  return;\n}" primitive_type (function_declarator "read_lines(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x14) + 1U < 10000000) {\n    iVar1 = *(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x20);\n    if ((*(uint *)PTR_option_mask32_0012a334 & 8) != 0) {\n      iVar1 = iVar1 + -8;\n    }\n                    /* WARNING: Subroutine does not return */\n    xmalloc(iVar1 + 5);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x14) + 1U < 10000000) {\n    iVar1 = *(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x20);\n    if ((*(uint *)PTR_option_mask32_0012a334 & 8) != 0) {\n      iVar1 = iVar1 + -8;\n    }\n                    /* WARNING: Subroutine does not return */\n    xmalloc(iVar1 + 5);\n  }" if (parenthesized_expression "(*(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x14) + 1U < 10000000)" ( (binary_expression "*(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x14) + 1U < 10000000" (binary_expression "*(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x14) + 1U" (pointer_expression "*(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x14)" * (cast_expression "(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_ptr_to_globals_0012a304 + 0x14)" ( (binary_expression "*(int *)PTR_ptr_to_globals_0012a304 + 0x14" (pointer_expression "*(int *)PTR_ptr_to_globals_0012a304" * (cast_expression "(int *)PTR_ptr_to_globals_0012a304" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) + number_literal) < number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x20);\n    if ((*(uint *)PTR_option_mask32_0012a334 & 8) != 0) {\n      iVar1 = iVar1 + -8;\n    }\n                    /* WARNING: Subroutine does not return */\n    xmalloc(iVar1 + 5);\n  }" { (expression_statement "iVar1 = *(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x20);" (assignment_expression "iVar1 = *(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x20)" identifier = (pointer_expression "*(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x20)" * (cast_expression "(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_ptr_to_globals_0012a304 + 0x20)" ( (binary_expression "*(int *)PTR_ptr_to_globals_0012a304 + 0x20" (pointer_expression "*(int *)PTR_ptr_to_globals_0012a304" * (cast_expression "(int *)PTR_ptr_to_globals_0012a304" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (if_statement "if ((*(uint *)PTR_option_mask32_0012a334 & 8) != 0) {\n      iVar1 = iVar1 + -8;\n    }" if (parenthesized_expression "((*(uint *)PTR_option_mask32_0012a334 & 8) != 0)" ( (binary_expression "(*(uint *)PTR_option_mask32_0012a334 & 8) != 0" (parenthesized_expression "(*(uint *)PTR_option_mask32_0012a334 & 8)" ( (binary_expression "*(uint *)PTR_option_mask32_0012a334 & 8" (pointer_expression "*(uint *)PTR_option_mask32_0012a334" * (cast_expression "(uint *)PTR_option_mask32_0012a334" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) != number_literal) )) (compound_statement "{\n      iVar1 = iVar1 + -8;\n    }" { (expression_statement "iVar1 = iVar1 + -8;" (assignment_expression "iVar1 = iVar1 + -8" identifier = (binary_expression "iVar1 + -8" identifier + number_literal)) ;) })) comment (expression_statement "xmalloc(iVar1 + 5);" (call_expression "xmalloc(iVar1 + 5)" identifier (argument_list "(iVar1 + 5)" ( (binary_expression "iVar1 + 5" identifier + number_literal) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00030280(void)\n\n{\n  char cVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  undefined *puVar11;\n  int iVar12;\n  code *pcVar13;\n  code *pcVar14;\n  int iVar15;\n  undefined4 uVar16;\n  undefined4 uVar17;\n  undefined4 *puVar18;\n  uint uVar19;\n  int iVar20;\n  uint uVar21;\n  byte *pbVar22;\n  int iVar23;\n  int iVar24;\n  byte *pbVar25;\n  int *piVar26;\n  int iVar27;\n  \n  puVar8 = PTR_DAT_0012a334;\n  puVar7 = PTR_DAT_0012a304;\n  puVar4 = PTR_FUN_0012a230;\n  iVar27 = *(int *)PTR_DAT_0012a304;\n  uVar21 = *(uint *)(iVar27 + 0x14);\n  if (9999999 < uVar21 + 1) {\n    return;\n  }\n  iVar23 = *(int *)(iVar27 + 0x20);\n  if ((*(uint *)PTR_DAT_0012a334 & 8) != 0) {\n    iVar23 = iVar23 + -8;\n  }\n  cVar1 = *(char *)(iVar27 + 0x103);\n  iVar12 = FUN_0001a1bc();\n  pbVar22 = (byte *)(iVar12 + 4);\n  if (cVar1 == '\0') {\n    iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);\n    pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);\n    (*(code *)PTR_free_0012b168)(iVar12 + -4);\n  }\n  else {\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;\n    pbVar25 = pbVar22;\n  }\n  puVar11 = PTR_FUN_0012a3b8;\n  puVar10 = PTR_bb_common_bufsiz1_0012a344;\n  puVar9 = PTR_FUN_0012a340;\n  puVar5 = PTR_FUN_0012a2a4;\n  iVar24 = 2;\n  iVar12 = 0;\n  pcVar13 = (code *)(PTR_LAB_0012a398 + 0x148);\n  pcVar14 = (code *)(PTR_LAB_0012a398 + -0x15c);\n  do {\n    puVar3 = PTR_DAT_0012a214;\n    *pbVar25 = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 0;\n    puVar6 = PTR_FUN_0012a2b4;\n    iVar15 = *(int *)(iVar27 + 0x2c);\nLAB_0003038c:\n    while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }\n    iVar20 = *(int *)(iVar27 + 0x10);\n    if ((iVar20 != 0) && (pbVar25[-1] != 9)) {\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }\n    if ((*(uint *)puVar8 & 0x100) != 0) {\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }\nLAB_000304e4:\n    if (iVar23 < iVar20 + 1) goto LAB_00030510;\n    *(int *)(iVar27 + 0x10) = iVar20 + 1;\n    *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n    if (uVar19 != 10) {\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 1;\nLAB_00030510:\n    iVar27 = *(int *)puVar7;\n    uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))\n    ;\n    puVar3 = PTR_strlen_0012af3c;\n    *(undefined4 *)(iVar27 + 0x38) = uVar16;\n    iVar15 = (*(code *)puVar3)(pbVar22);\n    puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);\n    uVar16 = *(undefined4 *)(iVar27 + 0x18);\n    *(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;\n    *puVar18 = uVar16;\n    if (*(char *)(iVar27 + 0x103) != '\0') {\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }\n    uVar19 = *(uint *)(iVar27 + 0x14);\n    if (0x98967e < uVar19) {\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }\n    iVar15 = (*pcVar14)();\n    if (iVar15 == 0) {\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }\nLAB_00030680:\n    iVar15 = *(int *)(iVar27 + 0x28);\n    if (iVar15 < 1) goto LAB_0003065c;\n    *(uint *)(iVar27 + 0x14) = uVar19 + 1;\n    iVar15 = (*(code *)puVar4)(iVar23 + 5);\n    pbVar22 = (byte *)(iVar15 + 4);\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    pbVar25 = pbVar22;\n  } while( true );\n}\n\n" (function_definition "void FUN_00030280(void)\n\n{\n  char cVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  undefined *puVar11;\n  int iVar12;\n  code *pcVar13;\n  code *pcVar14;\n  int iVar15;\n  undefined4 uVar16;\n  undefined4 uVar17;\n  undefined4 *puVar18;\n  uint uVar19;\n  int iVar20;\n  uint uVar21;\n  byte *pbVar22;\n  int iVar23;\n  int iVar24;\n  byte *pbVar25;\n  int *piVar26;\n  int iVar27;\n  \n  puVar8 = PTR_DAT_0012a334;\n  puVar7 = PTR_DAT_0012a304;\n  puVar4 = PTR_FUN_0012a230;\n  iVar27 = *(int *)PTR_DAT_0012a304;\n  uVar21 = *(uint *)(iVar27 + 0x14);\n  if (9999999 < uVar21 + 1) {\n    return;\n  }\n  iVar23 = *(int *)(iVar27 + 0x20);\n  if ((*(uint *)PTR_DAT_0012a334 & 8) != 0) {\n    iVar23 = iVar23 + -8;\n  }\n  cVar1 = *(char *)(iVar27 + 0x103);\n  iVar12 = FUN_0001a1bc();\n  pbVar22 = (byte *)(iVar12 + 4);\n  if (cVar1 == '\0') {\n    iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);\n    pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);\n    (*(code *)PTR_free_0012b168)(iVar12 + -4);\n  }\n  else {\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;\n    pbVar25 = pbVar22;\n  }\n  puVar11 = PTR_FUN_0012a3b8;\n  puVar10 = PTR_bb_common_bufsiz1_0012a344;\n  puVar9 = PTR_FUN_0012a340;\n  puVar5 = PTR_FUN_0012a2a4;\n  iVar24 = 2;\n  iVar12 = 0;\n  pcVar13 = (code *)(PTR_LAB_0012a398 + 0x148);\n  pcVar14 = (code *)(PTR_LAB_0012a398 + -0x15c);\n  do {\n    puVar3 = PTR_DAT_0012a214;\n    *pbVar25 = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 0;\n    puVar6 = PTR_FUN_0012a2b4;\n    iVar15 = *(int *)(iVar27 + 0x2c);\nLAB_0003038c:\n    while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }\n    iVar20 = *(int *)(iVar27 + 0x10);\n    if ((iVar20 != 0) && (pbVar25[-1] != 9)) {\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }\n    if ((*(uint *)puVar8 & 0x100) != 0) {\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }\nLAB_000304e4:\n    if (iVar23 < iVar20 + 1) goto LAB_00030510;\n    *(int *)(iVar27 + 0x10) = iVar20 + 1;\n    *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n    if (uVar19 != 10) {\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 1;\nLAB_00030510:\n    iVar27 = *(int *)puVar7;\n    uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))\n    ;\n    puVar3 = PTR_strlen_0012af3c;\n    *(undefined4 *)(iVar27 + 0x38) = uVar16;\n    iVar15 = (*(code *)puVar3)(pbVar22);\n    puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);\n    uVar16 = *(undefined4 *)(iVar27 + 0x18);\n    *(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;\n    *puVar18 = uVar16;\n    if (*(char *)(iVar27 + 0x103) != '\0') {\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }\n    uVar19 = *(uint *)(iVar27 + 0x14);\n    if (0x98967e < uVar19) {\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }\n    iVar15 = (*pcVar14)();\n    if (iVar15 == 0) {\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }\nLAB_00030680:\n    iVar15 = *(int *)(iVar27 + 0x28);\n    if (iVar15 < 1) goto LAB_0003065c;\n    *(uint *)(iVar27 + 0x14) = uVar19 + 1;\n    iVar15 = (*(code *)puVar4)(iVar23 + 5);\n    pbVar22 = (byte *)(iVar15 + 4);\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    pbVar25 = pbVar22;\n  } while( true );\n}" primitive_type (function_declarator "FUN_00030280(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char cVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  undefined *puVar11;\n  int iVar12;\n  code *pcVar13;\n  code *pcVar14;\n  int iVar15;\n  undefined4 uVar16;\n  undefined4 uVar17;\n  undefined4 *puVar18;\n  uint uVar19;\n  int iVar20;\n  uint uVar21;\n  byte *pbVar22;\n  int iVar23;\n  int iVar24;\n  byte *pbVar25;\n  int *piVar26;\n  int iVar27;\n  \n  puVar8 = PTR_DAT_0012a334;\n  puVar7 = PTR_DAT_0012a304;\n  puVar4 = PTR_FUN_0012a230;\n  iVar27 = *(int *)PTR_DAT_0012a304;\n  uVar21 = *(uint *)(iVar27 + 0x14);\n  if (9999999 < uVar21 + 1) {\n    return;\n  }\n  iVar23 = *(int *)(iVar27 + 0x20);\n  if ((*(uint *)PTR_DAT_0012a334 & 8) != 0) {\n    iVar23 = iVar23 + -8;\n  }\n  cVar1 = *(char *)(iVar27 + 0x103);\n  iVar12 = FUN_0001a1bc();\n  pbVar22 = (byte *)(iVar12 + 4);\n  if (cVar1 == '\0') {\n    iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);\n    pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);\n    (*(code *)PTR_free_0012b168)(iVar12 + -4);\n  }\n  else {\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;\n    pbVar25 = pbVar22;\n  }\n  puVar11 = PTR_FUN_0012a3b8;\n  puVar10 = PTR_bb_common_bufsiz1_0012a344;\n  puVar9 = PTR_FUN_0012a340;\n  puVar5 = PTR_FUN_0012a2a4;\n  iVar24 = 2;\n  iVar12 = 0;\n  pcVar13 = (code *)(PTR_LAB_0012a398 + 0x148);\n  pcVar14 = (code *)(PTR_LAB_0012a398 + -0x15c);\n  do {\n    puVar3 = PTR_DAT_0012a214;\n    *pbVar25 = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 0;\n    puVar6 = PTR_FUN_0012a2b4;\n    iVar15 = *(int *)(iVar27 + 0x2c);\nLAB_0003038c:\n    while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }\n    iVar20 = *(int *)(iVar27 + 0x10);\n    if ((iVar20 != 0) && (pbVar25[-1] != 9)) {\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }\n    if ((*(uint *)puVar8 & 0x100) != 0) {\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }\nLAB_000304e4:\n    if (iVar23 < iVar20 + 1) goto LAB_00030510;\n    *(int *)(iVar27 + 0x10) = iVar20 + 1;\n    *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n    if (uVar19 != 10) {\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 1;\nLAB_00030510:\n    iVar27 = *(int *)puVar7;\n    uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))\n    ;\n    puVar3 = PTR_strlen_0012af3c;\n    *(undefined4 *)(iVar27 + 0x38) = uVar16;\n    iVar15 = (*(code *)puVar3)(pbVar22);\n    puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);\n    uVar16 = *(undefined4 *)(iVar27 + 0x18);\n    *(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;\n    *puVar18 = uVar16;\n    if (*(char *)(iVar27 + 0x103) != '\0') {\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }\n    uVar19 = *(uint *)(iVar27 + 0x14);\n    if (0x98967e < uVar19) {\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }\n    iVar15 = (*pcVar14)();\n    if (iVar15 == 0) {\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }\nLAB_00030680:\n    iVar15 = *(int *)(iVar27 + 0x28);\n    if (iVar15 < 1) goto LAB_0003065c;\n    *(uint *)(iVar27 + 0x14) = uVar19 + 1;\n    iVar15 = (*(code *)puVar4)(iVar23 + 5);\n    pbVar22 = (byte *)(iVar15 + 4);\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    pbVar25 = pbVar22;\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier 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 "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "code *pcVar13;" type_identifier (pointer_declarator "*pcVar13" * identifier) ;) (declaration "code *pcVar14;" type_identifier (pointer_declarator "*pcVar14" * identifier) ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "undefined4 uVar16;" type_identifier identifier ;) (declaration "undefined4 uVar17;" type_identifier identifier ;) (declaration "undefined4 *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "uint uVar19;" type_identifier identifier ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "uint uVar21;" type_identifier identifier ;) (declaration "byte *pbVar22;" type_identifier (pointer_declarator "*pbVar22" * identifier) ;) (declaration "int iVar23;" primitive_type identifier ;) (declaration "int iVar24;" primitive_type identifier ;) (declaration "byte *pbVar25;" type_identifier (pointer_declarator "*pbVar25" * identifier) ;) (declaration "int *piVar26;" primitive_type (pointer_declarator "*piVar26" * identifier) ;) (declaration "int iVar27;" primitive_type identifier ;) (expression_statement "puVar8 = PTR_DAT_0012a334;" (assignment_expression "puVar8 = PTR_DAT_0012a334" identifier = identifier) ;) (expression_statement "puVar7 = PTR_DAT_0012a304;" (assignment_expression "puVar7 = PTR_DAT_0012a304" identifier = identifier) ;) (expression_statement "puVar4 = PTR_FUN_0012a230;" (assignment_expression "puVar4 = PTR_FUN_0012a230" identifier = identifier) ;) (expression_statement "iVar27 = *(int *)PTR_DAT_0012a304;" (assignment_expression "iVar27 = *(int *)PTR_DAT_0012a304" identifier = (pointer_expression "*(int *)PTR_DAT_0012a304" * (cast_expression "(int *)PTR_DAT_0012a304" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar21 = *(uint *)(iVar27 + 0x14);" (assignment_expression "uVar21 = *(uint *)(iVar27 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar27 + 0x14)" * (cast_expression "(uint *)(iVar27 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (9999999 < uVar21 + 1) {\n    return;\n  }" if (parenthesized_expression "(9999999 < uVar21 + 1)" ( (binary_expression "9999999 < uVar21 + 1" number_literal < (binary_expression "uVar21 + 1" identifier + number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar23 = *(int *)(iVar27 + 0x20);" (assignment_expression "iVar23 = *(int *)(iVar27 + 0x20)" identifier = (pointer_expression "*(int *)(iVar27 + 0x20)" * (cast_expression "(int *)(iVar27 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x20)" ( (binary_expression "iVar27 + 0x20" identifier + number_literal) ))))) ;) (if_statement "if ((*(uint *)PTR_DAT_0012a334 & 8) != 0) {\n    iVar23 = iVar23 + -8;\n  }" if (parenthesized_expression "((*(uint *)PTR_DAT_0012a334 & 8) != 0)" ( (binary_expression "(*(uint *)PTR_DAT_0012a334 & 8) != 0" (parenthesized_expression "(*(uint *)PTR_DAT_0012a334 & 8)" ( (binary_expression "*(uint *)PTR_DAT_0012a334 & 8" (pointer_expression "*(uint *)PTR_DAT_0012a334" * (cast_expression "(uint *)PTR_DAT_0012a334" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) != number_literal) )) (compound_statement "{\n    iVar23 = iVar23 + -8;\n  }" { (expression_statement "iVar23 = iVar23 + -8;" (assignment_expression "iVar23 = iVar23 + -8" identifier = (binary_expression "iVar23 + -8" identifier + number_literal)) ;) })) (expression_statement "cVar1 = *(char *)(iVar27 + 0x103);" (assignment_expression "cVar1 = *(char *)(iVar27 + 0x103)" identifier = (pointer_expression "*(char *)(iVar27 + 0x103)" * (cast_expression "(char *)(iVar27 + 0x103)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x103)" ( (binary_expression "iVar27 + 0x103" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = FUN_0001a1bc();" (assignment_expression "iVar12 = FUN_0001a1bc()" identifier = (call_expression "FUN_0001a1bc()" identifier (argument_list "()" ( )))) ;) (expression_statement "pbVar22 = (byte *)(iVar12 + 4);" (assignment_expression "pbVar22 = (byte *)(iVar12 + 4)" identifier = (cast_expression "(byte *)(iVar12 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 4)" ( (binary_expression "iVar12 + 4" identifier + number_literal) )))) ;) (if_statement "if (cVar1 == '\0') {\n    iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);\n    pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);\n    (*(code *)PTR_free_0012b168)(iVar12 + -4);\n  }\n  else {\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;\n    pbVar25 = pbVar22;\n  }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);\n    pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);\n    (*(code *)PTR_free_0012b168)(iVar12 + -4);\n  }" { (expression_statement "iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);" (assignment_expression "iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" identifier = (pointer_expression "*(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" * (cast_expression "(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" ( (binary_expression "*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4" (pointer_expression "*(int *)(iVar27 + 0x38)" * (cast_expression "(int *)(iVar27 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x38)" ( (binary_expression "iVar27 + 0x38" identifier + number_literal) )))) + (binary_expression "*(int *)(iVar27 + 0x14) * 4" (pointer_expression "*(int *)(iVar27 + 0x14)" * (cast_expression "(int *)(iVar27 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);" (assignment_expression "pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12)" identifier = (cast_expression "(byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12)" (parenthesized_expression "(*(code *)PTR_stpcpy_0012b0d0)" ( (pointer_expression "*(code *)PTR_stpcpy_0012b0d0" * (cast_expression "(code *)PTR_stpcpy_0012b0d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar22,iVar12)" ( identifier , identifier ))))) ;) (expression_statement "(*(code *)PTR_free_0012b168)(iVar12 + -4);" (call_expression "(*(code *)PTR_free_0012b168)(iVar12 + -4)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" ( (pointer_expression "*(code *)PTR_free_0012b168" * (cast_expression "(code *)PTR_free_0012b168" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar12 + -4)" ( (binary_expression "iVar12 + -4" identifier + number_literal) ))) ;) }) (else_clause "else {\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;\n    pbVar25 = pbVar22;\n  }" else (compound_statement "{\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;\n    pbVar25 = pbVar22;\n  }" { (expression_statement "*(undefined4 *)(iVar27 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar27 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar27 + 0x10)" * (cast_expression "(undefined4 *)(iVar27 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;" (assignment_expression "*(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1" (pointer_expression "*(int *)(iVar27 + 0x14)" * (cast_expression "(int *)(iVar27 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar27 + 0x14) + 1" (pointer_expression "*(int *)(iVar27 + 0x14)" * (cast_expression "(int *)(iVar27 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "pbVar25 = pbVar22;" (assignment_expression "pbVar25 = pbVar22" identifier = identifier) ;) }))) (expression_statement "puVar11 = PTR_FUN_0012a3b8;" (assignment_expression "puVar11 = PTR_FUN_0012a3b8" identifier = identifier) ;) (expression_statement "puVar10 = PTR_bb_common_bufsiz1_0012a344;" (assignment_expression "puVar10 = PTR_bb_common_bufsiz1_0012a344" identifier = identifier) ;) (expression_statement "puVar9 = PTR_FUN_0012a340;" (assignment_expression "puVar9 = PTR_FUN_0012a340" identifier = identifier) ;) (expression_statement "puVar5 = PTR_FUN_0012a2a4;" (assignment_expression "puVar5 = PTR_FUN_0012a2a4" identifier = identifier) ;) (expression_statement "iVar24 = 2;" (assignment_expression "iVar24 = 2" identifier = number_literal) ;) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "pcVar13 = (code *)(PTR_LAB_0012a398 + 0x148);" (assignment_expression "pcVar13 = (code *)(PTR_LAB_0012a398 + 0x148)" identifier = (cast_expression "(code *)(PTR_LAB_0012a398 + 0x148)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a398 + 0x148)" ( (binary_expression "PTR_LAB_0012a398 + 0x148" identifier + number_literal) )))) ;) (expression_statement "pcVar14 = (code *)(PTR_LAB_0012a398 + -0x15c);" (assignment_expression "pcVar14 = (code *)(PTR_LAB_0012a398 + -0x15c)" identifier = (cast_expression "(code *)(PTR_LAB_0012a398 + -0x15c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0012a398 + -0x15c)" ( (binary_expression "PTR_LAB_0012a398 + -0x15c" identifier + number_literal) )))) ;) (do_statement "do {\n    puVar3 = PTR_DAT_0012a214;\n    *pbVar25 = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 0;\n    puVar6 = PTR_FUN_0012a2b4;\n    iVar15 = *(int *)(iVar27 + 0x2c);\nLAB_0003038c:\n    while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }\n    iVar20 = *(int *)(iVar27 + 0x10);\n    if ((iVar20 != 0) && (pbVar25[-1] != 9)) {\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }\n    if ((*(uint *)puVar8 & 0x100) != 0) {\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }\nLAB_000304e4:\n    if (iVar23 < iVar20 + 1) goto LAB_00030510;\n    *(int *)(iVar27 + 0x10) = iVar20 + 1;\n    *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n    if (uVar19 != 10) {\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 1;\nLAB_00030510:\n    iVar27 = *(int *)puVar7;\n    uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))\n    ;\n    puVar3 = PTR_strlen_0012af3c;\n    *(undefined4 *)(iVar27 + 0x38) = uVar16;\n    iVar15 = (*(code *)puVar3)(pbVar22);\n    puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);\n    uVar16 = *(undefined4 *)(iVar27 + 0x18);\n    *(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;\n    *puVar18 = uVar16;\n    if (*(char *)(iVar27 + 0x103) != '\0') {\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }\n    uVar19 = *(uint *)(iVar27 + 0x14);\n    if (0x98967e < uVar19) {\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }\n    iVar15 = (*pcVar14)();\n    if (iVar15 == 0) {\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }\nLAB_00030680:\n    iVar15 = *(int *)(iVar27 + 0x28);\n    if (iVar15 < 1) goto LAB_0003065c;\n    *(uint *)(iVar27 + 0x14) = uVar19 + 1;\n    iVar15 = (*(code *)puVar4)(iVar23 + 5);\n    pbVar22 = (byte *)(iVar15 + 4);\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    pbVar25 = pbVar22;\n  } while( true );" do (compound_statement "{\n    puVar3 = PTR_DAT_0012a214;\n    *pbVar25 = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 0;\n    puVar6 = PTR_FUN_0012a2b4;\n    iVar15 = *(int *)(iVar27 + 0x2c);\nLAB_0003038c:\n    while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }\n    iVar20 = *(int *)(iVar27 + 0x10);\n    if ((iVar20 != 0) && (pbVar25[-1] != 9)) {\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }\n    if ((*(uint *)puVar8 & 0x100) != 0) {\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }\nLAB_000304e4:\n    if (iVar23 < iVar20 + 1) goto LAB_00030510;\n    *(int *)(iVar27 + 0x10) = iVar20 + 1;\n    *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n    if (uVar19 != 10) {\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 1;\nLAB_00030510:\n    iVar27 = *(int *)puVar7;\n    uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))\n    ;\n    puVar3 = PTR_strlen_0012af3c;\n    *(undefined4 *)(iVar27 + 0x38) = uVar16;\n    iVar15 = (*(code *)puVar3)(pbVar22);\n    puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);\n    uVar16 = *(undefined4 *)(iVar27 + 0x18);\n    *(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;\n    *puVar18 = uVar16;\n    if (*(char *)(iVar27 + 0x103) != '\0') {\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }\n    uVar19 = *(uint *)(iVar27 + 0x14);\n    if (0x98967e < uVar19) {\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }\n    iVar15 = (*pcVar14)();\n    if (iVar15 == 0) {\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }\nLAB_00030680:\n    iVar15 = *(int *)(iVar27 + 0x28);\n    if (iVar15 < 1) goto LAB_0003065c;\n    *(uint *)(iVar27 + 0x14) = uVar19 + 1;\n    iVar15 = (*(code *)puVar4)(iVar23 + 5);\n    pbVar22 = (byte *)(iVar15 + 4);\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    pbVar25 = pbVar22;\n  }" { (expression_statement "puVar3 = PTR_DAT_0012a214;" (assignment_expression "puVar3 = PTR_DAT_0012a214" identifier = identifier) ;) (expression_statement "*pbVar25 = 0;" (assignment_expression "*pbVar25 = 0" (pointer_expression "*pbVar25" * identifier) = number_literal) ;) (expression_statement "*(undefined1 *)(iVar27 + 0x103) = 0;" (assignment_expression "*(undefined1 *)(iVar27 + 0x103) = 0" (pointer_expression "*(undefined1 *)(iVar27 + 0x103)" * (cast_expression "(undefined1 *)(iVar27 + 0x103)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x103)" ( (binary_expression "iVar27 + 0x103" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar6 = PTR_FUN_0012a2b4;" (assignment_expression "puVar6 = PTR_FUN_0012a2b4" identifier = identifier) ;) (expression_statement "iVar15 = *(int *)(iVar27 + 0x2c);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar27 + 0x2c)" * (cast_expression "(int *)(iVar27 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x2c)" ( (binary_expression "iVar27 + 0x2c" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0003038c:\n    while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }" statement_identifier : (while_statement "while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }" { (if_statement "if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }" if (parenthesized_expression "(*(int *)(iVar27 + 0x30) <= iVar15)" ( (binary_expression "*(int *)(iVar27 + 0x30) <= iVar15" (pointer_expression "*(int *)(iVar27 + 0x30)" * (cast_expression "(int *)(iVar27 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x30)" ( (binary_expression "iVar27 + 0x30" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }" { (expression_statement "uVar16 = (*(code *)puVar9)();" (assignment_expression "uVar16 = (*(code *)puVar9)()" identifier = (call_expression "(*(code *)puVar9)()" (parenthesized_expression "(*(code *)puVar9)" ( (pointer_expression "*(code *)puVar9" * (cast_expression "(code *)puVar9" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "piVar26 = *(int **)puVar3;" (assignment_expression "piVar26 = *(int **)puVar3" identifier = (pointer_expression "*(int **)puVar3" * (cast_expression "(int **)puVar3" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar15 = iVar12;" (assignment_expression "iVar15 = iVar12" identifier = identifier) ;) (while_statement "while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }" { (expression_statement "*piVar26 = 0;" (assignment_expression "*piVar26 = 0" (pointer_expression "*piVar26" * identifier) = number_literal) ;) (expression_statement "uVar17 = (*(code *)puVar6)(0,puVar10,0x400);" (assignment_expression "uVar17 = (*(code *)puVar6)(0,puVar10,0x400)" identifier = (call_expression "(*(code *)puVar6)(0,puVar10,0x400)" (parenthesized_expression "(*(code *)puVar6)" ( (pointer_expression "*(code *)puVar6" * (cast_expression "(code *)puVar6" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,puVar10,0x400)" ( number_literal , identifier , number_literal )))) ;) (expression_statement "*(undefined4 *)(iVar27 + 0x28) = uVar17;" (assignment_expression "*(undefined4 *)(iVar27 + 0x28) = uVar17" (pointer_expression "*(undefined4 *)(iVar27 + 0x28)" * (cast_expression "(undefined4 *)(iVar27 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x28)" ( (binary_expression "iVar27 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar12 = iVar15;" (assignment_expression "iVar12 = iVar15" identifier = identifier) ;) (if_statement "if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;" if (parenthesized_expression "((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0))))" ( (binary_expression "(*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))" (parenthesized_expression "(*piVar26 != 0xb)" ( (binary_expression "*piVar26 != 0xb" (pointer_expression "*piVar26" * identifier) != number_literal) )) || (parenthesized_expression "((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))" ( (parenthesized_expression "(iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0))" ( (comma_expression "iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)" (assignment_expression "iVar12 = (*(code *)PTR_time_0012b12c)(0)" identifier = (call_expression "(*(code *)PTR_time_0012b12c)(0)" (parenthesized_expression "(*(code *)PTR_time_0012b12c)" ( (pointer_expression "*(code *)PTR_time_0012b12c" * (cast_expression "(code *)PTR_time_0012b12c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0)" ( number_literal )))) , (binary_expression "iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)" (binary_expression "iVar15 != iVar12" identifier != identifier) && (parenthesized_expression "(iVar24 = iVar24 + -1, iVar24 < 0)" ( (comma_expression "iVar24 = iVar24 + -1, iVar24 < 0" (assignment_expression "iVar24 = iVar24 + -1" identifier = (binary_expression "iVar24 + -1" identifier + number_literal)) , (binary_expression "iVar24 < 0" identifier < number_literal)) )))) )) ))) )) (break_statement "break;" break ;)) (expression_statement "(*(code *)PTR_sched_yield_0012aff0)();" (call_expression "(*(code *)PTR_sched_yield_0012aff0)()" (parenthesized_expression "(*(code *)PTR_sched_yield_0012aff0)" ( (pointer_expression "*(code *)PTR_sched_yield_0012aff0" * (cast_expression "(code *)PTR_sched_yield_0012aff0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar15 = iVar12;" (assignment_expression "iVar15 = iVar12" identifier = identifier) ;) })) (expression_statement "(*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);" (call_expression "(*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16)" (parenthesized_expression "(*(code *)PTR_fcntl64_0012ae04)" ( (pointer_expression "*(code *)PTR_fcntl64_0012ae04" * (cast_expression "(code *)PTR_fcntl64_0012ae04" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,4,uVar16)" ( number_literal , number_literal , identifier ))) ;) (expression_statement "*(undefined4 *)(iVar27 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(iVar27 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(iVar27 + 0x2c)" * (cast_expression "(undefined4 *)(iVar27 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x2c)" ( (binary_expression "iVar27 + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);" (assignment_expression "*(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28)" (pointer_expression "*(int *)(iVar27 + 0x30)" * (cast_expression "(int *)(iVar27 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x30)" ( (binary_expression "iVar27 + 0x30" identifier + number_literal) )))) = (pointer_expression "*(int *)(iVar27 + 0x28)" * (cast_expression "(int *)(iVar27 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x28)" ( (binary_expression "iVar27 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;" if (parenthesized_expression "(*(int *)(iVar27 + 0x28) < 1)" ( (binary_expression "*(int *)(iVar27 + 0x28) < 1" (pointer_expression "*(int *)(iVar27 + 0x28)" * (cast_expression "(int *)(iVar27 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x28)" ( (binary_expression "iVar27 + 0x28" identifier + number_literal) )))) < number_literal) )) (goto_statement "goto LAB_00030510;" goto statement_identifier ;)) (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" identifier = number_literal) ;) (expression_statement "iVar24 = 1;" (assignment_expression "iVar24 = 1" identifier = number_literal) ;) })) (expression_statement "bVar2 = puVar10[iVar15];" (assignment_expression "bVar2 = puVar10[iVar15]" identifier = (subscript_expression "puVar10[iVar15]" identifier [ identifier ])) ;) (expression_statement "uVar19 = (uint)bVar2;" (assignment_expression "uVar19 = (uint)bVar2" identifier = (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (uVar19 == 8) break;" if (parenthesized_expression "(uVar19 == 8)" ( (binary_expression "uVar19 == 8" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }" if (parenthesized_expression "((*(uint *)puVar8 & 0x100) == 0)" ( (binary_expression "(*(uint *)puVar8 & 0x100) == 0" (parenthesized_expression "(*(uint *)puVar8 & 0x100)" ( (binary_expression "*(uint *)puVar8 & 0x100" (pointer_expression "*(uint *)puVar8" * (cast_expression "(uint *)puVar8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }" { (expression_statement "iVar20 = *(int *)(iVar27 + 0x10);" (assignment_expression "iVar20 = *(int *)(iVar27 + 0x10)" identifier = (pointer_expression "*(int *)(iVar27 + 0x10)" * (cast_expression "(int *)(iVar27 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;" statement_identifier : (if_statement "if (uVar19 != 9) goto LAB_000304e4;" if (parenthesized_expression "(uVar19 != 9)" ( (binary_expression "uVar19 != 9" identifier != number_literal) )) (goto_statement "goto LAB_000304e4;" goto statement_identifier ;))) (expression_statement "uVar19 = iVar20 + 8U & 0xfffffff8;" (assignment_expression "uVar19 = iVar20 + 8U & 0xfffffff8" identifier = (binary_expression "iVar20 + 8U & 0xfffffff8" (binary_expression "iVar20 + 8U" identifier + number_literal) & number_literal)) ;) (if_statement "if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }" if (parenthesized_expression "((int)uVar19 <= iVar23)" ( (binary_expression "(int)uVar19 <= iVar23" (cast_expression "(int)uVar19" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )) (compound_statement "{\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }" { (expression_statement "*(uint *)(iVar27 + 0x10) = uVar19;" (assignment_expression "*(uint *)(iVar27 + 0x10) = uVar19" (pointer_expression "*(uint *)(iVar27 + 0x10)" * (cast_expression "(uint *)(iVar27 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar27 + 0x2c) = iVar15 + 1;" (assignment_expression "*(int *)(iVar27 + 0x2c) = iVar15 + 1" (pointer_expression "*(int *)(iVar27 + 0x2c)" * (cast_expression "(int *)(iVar27 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x2c)" ( (binary_expression "iVar27 + 0x2c" identifier + number_literal) )))) = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_000304c0;" goto statement_identifier ;) })) (goto_statement "goto LAB_00030510;" goto statement_identifier ;) })) (if_statement "if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }" if (parenthesized_expression "(uVar19 != 0x1b)" ( (binary_expression "uVar19 != 0x1b" identifier != number_literal) )) (compound_statement "{\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }" { (if_statement "if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }" if (parenthesized_expression "(*(char *)(iVar27 + 0x101) == '\0')" ( (binary_expression "*(char *)(iVar27 + 0x101) == '\0'" (pointer_expression "*(char *)(iVar27 + 0x101)" * (cast_expression "(char *)(iVar27 + 0x101)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x101)" ( (binary_expression "iVar27 + 0x101" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }" { (expression_statement "iVar20 = *(int *)(iVar27 + 0x10);" (assignment_expression "iVar20 = *(int *)(iVar27 + 0x10)" identifier = (pointer_expression "*(int *)(iVar27 + 0x10)" * (cast_expression "(int *)(iVar27 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) ))))) ;) }) (else_clause "else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }" else (compound_statement "{\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }" { (if_statement "if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;" if (parenthesized_expression "((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))" ( (binary_expression "(((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d)" (parenthesized_expression "(((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b))" ( (binary_expression "((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)" (parenthesized_expression "((uVar19 - 0x30 < 10) || (uVar19 == 0x5b))" ( (binary_expression "(uVar19 - 0x30 < 10) || (uVar19 == 0x5b)" (parenthesized_expression "(uVar19 - 0x30 < 10)" ( (binary_expression "uVar19 - 0x30 < 10" (binary_expression "uVar19 - 0x30" identifier - number_literal) < number_literal) )) || (parenthesized_expression "(uVar19 == 0x5b)" ( (binary_expression "uVar19 == 0x5b" identifier == number_literal) ))) )) || (parenthesized_expression "(uVar19 == 0x3b)" ( (binary_expression "uVar19 == 0x3b" identifier == number_literal) ))) )) || (parenthesized_expression "(uVar19 == 0x6d)" ( (binary_expression "uVar19 == 0x6d" identifier == number_literal) ))) )) (goto_statement "goto LAB_000306e8;" goto statement_identifier ;)) (expression_statement "iVar20 = *(int *)(iVar27 + 0x10);" (assignment_expression "iVar20 = *(int *)(iVar27 + 0x10)" identifier = (pointer_expression "*(int *)(iVar27 + 0x10)" * (cast_expression "(int *)(iVar27 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(iVar27 + 0x101) = 0;" (assignment_expression "*(undefined1 *)(iVar27 + 0x101) = 0" (pointer_expression "*(undefined1 *)(iVar27 + 0x101)" * (cast_expression "(undefined1 *)(iVar27 + 0x101)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x101)" ( (binary_expression "iVar27 + 0x101" identifier + number_literal) )))) = number_literal) ;) }))) (goto_statement "goto LAB_00030498;" goto statement_identifier ;) })) (labeled_statement "LAB_000306e8:\n      iVar15 = iVar15 + 1;" statement_identifier : (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;)) (expression_statement "*(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;" (assignment_expression "*(bool *)(iVar27 + 0x101) = uVar19 != 0x6d" (pointer_expression "*(bool *)(iVar27 + 0x101)" * (cast_expression "(bool *)(iVar27 + 0x101)" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x101)" ( (binary_expression "iVar27 + 0x101" identifier + number_literal) )))) = (binary_expression "uVar19 != 0x6d" identifier != number_literal)) ;) (expression_statement "*(int *)(iVar27 + 0x2c) = iVar15;" (assignment_expression "*(int *)(iVar27 + 0x2c) = iVar15" (pointer_expression "*(int *)(iVar27 + 0x2c)" * (cast_expression "(int *)(iVar27 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x2c)" ( (binary_expression "iVar27 + 0x2c" identifier + number_literal) )))) = identifier) ;) }))) (expression_statement "iVar20 = *(int *)(iVar27 + 0x10);" (assignment_expression "iVar20 = *(int *)(iVar27 + 0x10)" identifier = (pointer_expression "*(int *)(iVar27 + 0x10)" * (cast_expression "(int *)(iVar27 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if ((iVar20 != 0) && (pbVar25[-1] != 9)) {\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }" if (parenthesized_expression "((iVar20 != 0) && (pbVar25[-1] != 9))" ( (binary_expression "(iVar20 != 0) && (pbVar25[-1] != 9)" (parenthesized_expression "(iVar20 != 0)" ( (binary_expression "iVar20 != 0" identifier != number_literal) )) && (parenthesized_expression "(pbVar25[-1] != 9)" ( (binary_expression "pbVar25[-1] != 9" (subscript_expression "pbVar25[-1]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }" { (expression_statement "*(int *)(iVar27 + 0x2c) = iVar15 + 1;" (assignment_expression "*(int *)(iVar27 + 0x2c) = iVar15 + 1" (pointer_expression "*(int *)(iVar27 + 0x2c)" * (cast_expression "(int *)(iVar27 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x2c)" ( (binary_expression "iVar27 + 0x2c" identifier + number_literal) )))) = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar27 + 0x10) = iVar20 + -1;" (assignment_expression "*(int *)(iVar27 + 0x10) = iVar20 + -1" (pointer_expression "*(int *)(iVar27 + 0x10)" * (cast_expression "(int *)(iVar27 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) )))) = (binary_expression "iVar20 + -1" identifier + number_literal)) ;) (expression_statement "pbVar25[-1] = 0;" (assignment_expression "pbVar25[-1] = 0" (subscript_expression "pbVar25[-1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar15 = *(int *)(iVar27 + 0x2c);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar27 + 0x2c)" * (cast_expression "(int *)(iVar27 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x2c)" ( (binary_expression "iVar27 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "pbVar25 = pbVar25 + -1;" (assignment_expression "pbVar25 = pbVar25 + -1" identifier = (binary_expression "pbVar25 + -1" identifier + number_literal)) ;) (goto_statement "goto LAB_0003038c;" goto statement_identifier ;) })) (if_statement "if ((*(uint *)puVar8 & 0x100) != 0) {\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }" if (parenthesized_expression "((*(uint *)puVar8 & 0x100) != 0)" ( (binary_expression "(*(uint *)puVar8 & 0x100) != 0" (parenthesized_expression "(*(uint *)puVar8 & 0x100)" ( (binary_expression "*(uint *)puVar8 & 0x100" (pointer_expression "*(uint *)puVar8" * (cast_expression "(uint *)puVar8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) != number_literal) )) (compound_statement "{\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }" { (if_statement "if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }" if (parenthesized_expression "(*(char *)(iVar27 + 0x101) != '\0')" ( (binary_expression "*(char *)(iVar27 + 0x101) != '\0'" (pointer_expression "*(char *)(iVar27 + 0x101)" * (cast_expression "(char *)(iVar27 + 0x101)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x101)" ( (binary_expression "iVar27 + 0x101" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }" { (expression_statement "*(undefined1 *)(iVar27 + 0x101) = 0;" (assignment_expression "*(undefined1 *)(iVar27 + 0x101) = 0" (pointer_expression "*(undefined1 *)(iVar27 + 0x101)" * (cast_expression "(undefined1 *)(iVar27 + 0x101)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x101)" ( (binary_expression "iVar27 + 0x101" identifier + number_literal) )))) = number_literal) ;) })) (goto_statement "goto LAB_00030498;" goto statement_identifier ;) })) (labeled_statement "LAB_000304e4:\n    if (iVar23 < iVar20 + 1) goto LAB_00030510;" statement_identifier : (if_statement "if (iVar23 < iVar20 + 1) goto LAB_00030510;" if (parenthesized_expression "(iVar23 < iVar20 + 1)" ( (binary_expression "iVar23 < iVar20 + 1" identifier < (binary_expression "iVar20 + 1" identifier + number_literal)) )) (goto_statement "goto LAB_00030510;" goto statement_identifier ;))) (expression_statement "*(int *)(iVar27 + 0x10) = iVar20 + 1;" (assignment_expression "*(int *)(iVar27 + 0x10) = iVar20 + 1" (pointer_expression "*(int *)(iVar27 + 0x10)" * (cast_expression "(int *)(iVar27 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) )))) = (binary_expression "iVar20 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar27 + 0x2c) = iVar15 + 1;" (assignment_expression "*(int *)(iVar27 + 0x2c) = iVar15 + 1" (pointer_expression "*(int *)(iVar27 + 0x2c)" * (cast_expression "(int *)(iVar27 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x2c)" ( (binary_expression "iVar27 + 0x2c" identifier + number_literal) )))) = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (if_statement "if (uVar19 != 10) {\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }" if (parenthesized_expression "(uVar19 != 10)" ( (binary_expression "uVar19 != 10" identifier != number_literal) )) (compound_statement "{\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }" { (if_statement "if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }" if (parenthesized_expression "(uVar19 == 0)" ( (binary_expression "uVar19 == 0" identifier == number_literal) )) (compound_statement "{\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }" { (expression_statement "*pbVar25 = 10;" (assignment_expression "*pbVar25 = 10" (pointer_expression "*pbVar25" * identifier) = number_literal) ;) (expression_statement "pbVar25[1] = 0;" (assignment_expression "pbVar25[1] = 0" (subscript_expression "pbVar25[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar15 = *(int *)(iVar27 + 0x2c);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar27 + 0x2c)" * (cast_expression "(int *)(iVar27 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x2c)" ( (binary_expression "iVar27 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "pbVar25 = pbVar25 + 1;" (assignment_expression "pbVar25 = pbVar25 + 1" identifier = (binary_expression "pbVar25 + 1" identifier + number_literal)) ;) }) (else_clause "else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }" else (compound_statement "{\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }" { (labeled_statement "LAB_000304c0:\n        *pbVar25 = bVar2;" statement_identifier : (expression_statement "*pbVar25 = bVar2;" (assignment_expression "*pbVar25 = bVar2" (pointer_expression "*pbVar25" * identifier) = identifier) ;)) (expression_statement "pbVar25 = pbVar25 + 1;" (assignment_expression "pbVar25 = pbVar25 + 1" identifier = (binary_expression "pbVar25 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar25 = 0;" (assignment_expression "*pbVar25 = 0" (pointer_expression "*pbVar25" * identifier) = number_literal) ;) (expression_statement "iVar15 = *(int *)(iVar27 + 0x2c);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar27 + 0x2c)" * (cast_expression "(int *)(iVar27 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x2c)" ( (binary_expression "iVar27 + 0x2c" identifier + number_literal) ))))) ;) }))) (goto_statement "goto LAB_0003038c;" goto statement_identifier ;) })) (expression_statement "*(undefined4 *)(iVar27 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar27 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar27 + 0x10)" * (cast_expression "(undefined4 *)(iVar27 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(iVar27 + 0x103) = 1;" (assignment_expression "*(undefined1 *)(iVar27 + 0x103) = 1" (pointer_expression "*(undefined1 *)(iVar27 + 0x103)" * (cast_expression "(undefined1 *)(iVar27 + 0x103)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x103)" ( (binary_expression "iVar27 + 0x103" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "LAB_00030510:\n    iVar27 = *(int *)puVar7;" statement_identifier : (expression_statement "iVar27 = *(int *)puVar7;" (assignment_expression "iVar27 = *(int *)puVar7" identifier = (pointer_expression "*(int *)puVar7" * (cast_expression "(int *)puVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;)) (expression_statement "uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))\n    ;" (assignment_expression "uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))" identifier = (call_expression "(*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))" (parenthesized_expression "(*(code *)puVar11)" ( (pointer_expression "*(code *)puVar11" * (cast_expression "(code *)puVar11" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))" ( (pointer_expression "*(undefined4 *)(iVar27 + 0x38)" * (cast_expression "(undefined4 *)(iVar27 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x38)" ( (binary_expression "iVar27 + 0x38" identifier + number_literal) )))) , number_literal , (pointer_expression "*(undefined4 *)(iVar27 + 0x14)" * (cast_expression "(undefined4 *)(iVar27 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) )))) )))) ;) (expression_statement "puVar3 = PTR_strlen_0012af3c;" (assignment_expression "puVar3 = PTR_strlen_0012af3c" identifier = identifier) ;) (expression_statement "*(undefined4 *)(iVar27 + 0x38) = uVar16;" (assignment_expression "*(undefined4 *)(iVar27 + 0x38) = uVar16" (pointer_expression "*(undefined4 *)(iVar27 + 0x38)" * (cast_expression "(undefined4 *)(iVar27 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x38)" ( (binary_expression "iVar27 + 0x38" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar15 = (*(code *)puVar3)(pbVar22);" (assignment_expression "iVar15 = (*(code *)puVar3)(pbVar22)" identifier = (call_expression "(*(code *)puVar3)(pbVar22)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar22)" ( identifier )))) ;) (expression_statement "puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);" (assignment_expression "puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5)" identifier = (cast_expression "(undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5)" (parenthesized_expression "(*(code *)puVar5)" ( (pointer_expression "*(code *)puVar5" * (cast_expression "(code *)puVar5" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar22 + -4,iVar15 + 5)" ( (binary_expression "pbVar22 + -4" identifier + number_literal) , (binary_expression "iVar15 + 5" identifier + number_literal) ))))) ;) (expression_statement "uVar16 = *(undefined4 *)(iVar27 + 0x18);" (assignment_expression "uVar16 = *(undefined4 *)(iVar27 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(iVar27 + 0x18)" * (cast_expression "(undefined4 *)(iVar27 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x18)" ( (binary_expression "iVar27 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;" (assignment_expression "*(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1" (pointer_expression "*(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" * (cast_expression "(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" ( (binary_expression "*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4" (pointer_expression "*(int *)(iVar27 + 0x38)" * (cast_expression "(int *)(iVar27 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x38)" ( (binary_expression "iVar27 + 0x38" identifier + number_literal) )))) + (binary_expression "*(int *)(iVar27 + 0x14) * 4" (pointer_expression "*(int *)(iVar27 + 0x14)" * (cast_expression "(int *)(iVar27 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) )))) * number_literal)) )))) = (binary_expression "puVar18 + 1" identifier + number_literal)) ;) (expression_statement "*puVar18 = uVar16;" (assignment_expression "*puVar18 = uVar16" (pointer_expression "*puVar18" * identifier) = identifier) ;) (if_statement "if (*(char *)(iVar27 + 0x103) != '\0') {\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }" if (parenthesized_expression "(*(char *)(iVar27 + 0x103) != '\0')" ( (binary_expression "*(char *)(iVar27 + 0x103) != '\0'" (pointer_expression "*(char *)(iVar27 + 0x103)" * (cast_expression "(char *)(iVar27 + 0x103)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x103)" ( (binary_expression "iVar27 + 0x103" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }" { (expression_statement "*(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;" (assignment_expression "*(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1" (pointer_expression "*(int *)(iVar27 + 0x18)" * (cast_expression "(int *)(iVar27 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x18)" ( (binary_expression "iVar27 + 0x18" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar27 + 0x18) + 1" (pointer_expression "*(int *)(iVar27 + 0x18)" * (cast_expression "(int *)(iVar27 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x18)" ( (binary_expression "iVar27 + 0x18" identifier + number_literal) )))) + number_literal)) ;) })) (expression_statement "uVar19 = *(uint *)(iVar27 + 0x14);" (assignment_expression "uVar19 = *(uint *)(iVar27 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar27 + 0x14)" * (cast_expression "(uint *)(iVar27 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (0x98967e < uVar19) {\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }" if (parenthesized_expression "(0x98967e < uVar19)" ( (binary_expression "0x98967e < uVar19" number_literal < identifier) )) (compound_statement "{\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }" { (expression_statement "*(undefined4 *)(iVar27 + 0x28) = 0;" (assignment_expression "*(undefined4 *)(iVar27 + 0x28) = 0" (pointer_expression "*(undefined4 *)(iVar27 + 0x28)" * (cast_expression "(undefined4 *)(iVar27 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x28)" ( (binary_expression "iVar27 + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);" (assignment_expression "*(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18)" (pointer_expression "*(undefined4 *)(iVar27 + 0x50)" * (cast_expression "(undefined4 *)(iVar27 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x50)" ( (binary_expression "iVar27 + 0x50" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar27 + 0x18)" * (cast_expression "(undefined4 *)(iVar27 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x18)" ( (binary_expression "iVar27 + 0x18" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_000305b0;" goto statement_identifier ;) })) (expression_statement "iVar15 = (*pcVar14)();" (assignment_expression "iVar15 = (*pcVar14)()" identifier = (call_expression "(*pcVar14)()" (parenthesized_expression "(*pcVar14)" ( (pointer_expression "*pcVar14" * identifier) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar15 == 0) {\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }" if (parenthesized_expression "(iVar15 == 0)" ( (binary_expression "iVar15 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }" { (expression_statement "uVar19 = uVar21;" (assignment_expression "uVar19 = uVar21" identifier = identifier) ;) (if_statement "if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }" if (parenthesized_expression "(*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8))" ( (binary_expression "*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)" (pointer_expression "*(int *)(iVar27 + 0xdc)" * (cast_expression "(int *)(iVar27 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0xdc)" ( (binary_expression "iVar27 + 0xdc" identifier + number_literal) )))) <= (pointer_expression "*(int *)(iVar27 + 0xd8)" * (cast_expression "(int *)(iVar27 + 0xd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0xd8)" ( (binary_expression "iVar27 + 0xd8" identifier + number_literal) ))))) )) (compound_statement "{\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }" { (expression_statement "(*pcVar13)(uVar21);" (call_expression "(*pcVar13)(uVar21)" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "(uVar21)" ( identifier ))) ;) (expression_statement "uVar19 = *(uint *)(iVar27 + 0x14);" (assignment_expression "uVar19 = *(uint *)(iVar27 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar27 + 0x14)" * (cast_expression "(uint *)(iVar27 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar21 = uVar19;" (assignment_expression "uVar21 = uVar19" identifier = identifier) ;) (if_statement "if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;" if (parenthesized_expression "(*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8))" ( (binary_expression "*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)" (pointer_expression "*(int *)(iVar27 + 0xdc)" * (cast_expression "(int *)(iVar27 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0xdc)" ( (binary_expression "iVar27 + 0xdc" identifier + number_literal) )))) <= (pointer_expression "*(int *)(iVar27 + 0xd8)" * (cast_expression "(int *)(iVar27 + 0xd8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0xd8)" ( (binary_expression "iVar27 + 0xd8" identifier + number_literal) ))))) )) (goto_statement "goto LAB_00030680;" goto statement_identifier ;)) })) (expression_statement "iVar15 = *(int *)(iVar27 + 0x28);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x28)" identifier = (pointer_expression "*(int *)(iVar27 + 0x28)" * (cast_expression "(int *)(iVar27 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x28)" ( (binary_expression "iVar27 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "uVar21 = uVar19;" (assignment_expression "uVar21 = uVar19" identifier = identifier) ;) (labeled_statement "LAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }" statement_identifier : (if_statement "if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }" if (parenthesized_expression "(iVar15 < 0)" ( (binary_expression "iVar15 < 0" identifier < number_literal) )) (compound_statement "{\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }" { (if_statement "if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }" if (parenthesized_expression "(**(int **)PTR_DAT_0012a214 == 0xb)" ( (binary_expression "**(int **)PTR_DAT_0012a214 == 0xb" (pointer_expression "**(int **)PTR_DAT_0012a214" * (pointer_expression "*(int **)PTR_DAT_0012a214" * (cast_expression "(int **)PTR_DAT_0012a214" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) == number_literal) )) (compound_statement "{\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }" { (expression_statement "*(undefined4 *)(iVar27 + 0x28) = 1;" (assignment_expression "*(undefined4 *)(iVar27 + 0x28) = 1" (pointer_expression "*(undefined4 *)(iVar27 + 0x28)" * (cast_expression "(undefined4 *)(iVar27 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x28)" ( (binary_expression "iVar27 + 0x28" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }" else (compound_statement "{\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }" { (expression_statement "FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);" (call_expression "FUN_00030010(PTR_FUN_0012a1a8 + -0x4770)" identifier (argument_list "(PTR_FUN_0012a1a8 + -0x4770)" ( (binary_expression "PTR_FUN_0012a1a8 + -0x4770" identifier + number_literal) ))) ;) }))) }) (else_clause "else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }" else (if_statement "if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }" if (parenthesized_expression "(iVar15 == 0)" ( (binary_expression "iVar15 == 0" identifier == number_literal) )) (compound_statement "{\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }" { (expression_statement "*(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);" (assignment_expression "*(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18)" (pointer_expression "*(undefined4 *)(iVar27 + 0x50)" * (cast_expression "(undefined4 *)(iVar27 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x50)" ( (binary_expression "iVar27 + 0x50" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar27 + 0x18)" * (cast_expression "(undefined4 *)(iVar27 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x18)" ( (binary_expression "iVar27 + 0x18" identifier + number_literal) ))))) ;) }))))) (labeled_statement "LAB_000305b0:\n      (*pcVar13)(uVar21);" statement_identifier : (expression_statement "(*pcVar13)(uVar21);" (call_expression "(*pcVar13)(uVar21)" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "(uVar21)" ( identifier ))) ;)) (expression_statement "*(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar27 + 0xd8) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar27 + 0xd8)" * (cast_expression "(undefined4 *)(iVar27 + 0xd8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0xd8)" ( (binary_expression "iVar27 + 0xd8" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_00030680:\n    iVar15 = *(int *)(iVar27 + 0x28);" statement_identifier : (expression_statement "iVar15 = *(int *)(iVar27 + 0x28);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x28)" identifier = (pointer_expression "*(int *)(iVar27 + 0x28)" * (cast_expression "(int *)(iVar27 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x28)" ( (binary_expression "iVar27 + 0x28" identifier + number_literal) ))))) ;)) (if_statement "if (iVar15 < 1) goto LAB_0003065c;" if (parenthesized_expression "(iVar15 < 1)" ( (binary_expression "iVar15 < 1" identifier < number_literal) )) (goto_statement "goto LAB_0003065c;" goto statement_identifier ;)) (expression_statement "*(uint *)(iVar27 + 0x14) = uVar19 + 1;" (assignment_expression "*(uint *)(iVar27 + 0x14) = uVar19 + 1" (pointer_expression "*(uint *)(iVar27 + 0x14)" * (cast_expression "(uint *)(iVar27 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) )))) = (binary_expression "uVar19 + 1" identifier + number_literal)) ;) (expression_statement "iVar15 = (*(code *)puVar4)(iVar23 + 5);" (assignment_expression "iVar15 = (*(code *)puVar4)(iVar23 + 5)" identifier = (call_expression "(*(code *)puVar4)(iVar23 + 5)" (parenthesized_expression "(*(code *)puVar4)" ( (pointer_expression "*(code *)puVar4" * (cast_expression "(code *)puVar4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar23 + 5)" ( (binary_expression "iVar23 + 5" identifier + number_literal) )))) ;) (expression_statement "pbVar22 = (byte *)(iVar15 + 4);" (assignment_expression "pbVar22 = (byte *)(iVar15 + 4)" identifier = (cast_expression "(byte *)(iVar15 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 4)" ( (binary_expression "iVar15 + 4" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(iVar27 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar27 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar27 + 0x10)" * (cast_expression "(undefined4 *)(iVar27 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x10)" ( (binary_expression "iVar27 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pbVar25 = pbVar22;" (assignment_expression "pbVar25 = pbVar22" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (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 (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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT + LIT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = 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 = 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 = 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 (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (while_statement while (parenthesized_expression ( BOOL )) (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) )))) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , LIT )))) ;) (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 IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) || (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT )))) , (binary_expression (binary_expression IDENT != IDENT) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT < LIT)) )))) )) ))) )) (break_statement break ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , LIT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (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 ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }))) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_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 IDENT != LIT)) ;) (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 IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_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 IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) & LIT) )) != 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 ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT + LIT)) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_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 IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_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)) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = 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 (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (goto_statement goto 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 { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) == LIT) )) (compound_statement { (expression_statement (assignment_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 (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) }))) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))))) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_00030280(void)\n\n{\n  char cVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  undefined *puVar11;\n  int iVar12;\n  code *pcVar13;\n  code *pcVar14;\n  int iVar15;\n  undefined4 uVar16;\n  undefined4 uVar17;\n  undefined4 *puVar18;\n  uint uVar19;\n  int iVar20;\n  uint uVar21;\n  byte *pbVar22;\n  int iVar23;\n  int iVar24;\n  byte *pbVar25;\n  int *piVar26;\n  int iVar27;\n  \n  puVar8 = PTR_DAT_0012a334;\n  puVar7 = PTR_DAT_0012a304;\n  puVar4 = PTR_FUN_0012a230;\n  iVar27 = *(int *)PTR_DAT_0012a304;\n  uVar21 = *(uint *)(iVar27 + 0x14);\n  if (9999999 < uVar21 + 1) {\n    return;\n  }\n  iVar23 = *(int *)(iVar27 + 0x20);\n  if ((*(uint *)PTR_DAT_0012a334 & 8) != 0) {\n    iVar23 = iVar23 + -8;\n  }\n  cVar1 = *(char *)(iVar27 + 0x103);\n  iVar12 = FUN_0001a1bc();\n  pbVar22 = (byte *)(iVar12 + 4);\n  if (cVar1 == '\0') {\n    iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);\n    pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);\n    (*(code *)PTR_free_0012b168)(iVar12 + -4);\n  }\n  else {\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;\n    pbVar25 = pbVar22;\n  }\n  puVar11 = PTR_FUN_0012a3b8;\n  puVar10 = PTR_bb_common_bufsiz1_0012a344;\n  puVar9 = PTR_FUN_0012a340;\n  puVar5 = PTR_FUN_0012a2a4;\n  iVar24 = 2;\n  iVar12 = 0;\n  pcVar13 = (code *)(PTR_LAB_0012a398 + 0x148);\n  pcVar14 = (code *)(PTR_LAB_0012a398 + -0x15c);\n  do {\n    puVar3 = PTR_DAT_0012a214;\n    *pbVar25 = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 0;\n    puVar6 = PTR_FUN_0012a2b4;\n    iVar15 = *(int *)(iVar27 + 0x2c);\nLAB_0003038c:\n    while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }\n    iVar20 = *(int *)(iVar27 + 0x10);\n    if ((iVar20 != 0) && (pbVar25[-1] != 9)) {\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }\n    if ((*(uint *)puVar8 & 0x100) != 0) {\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }\nLAB_000304e4:\n    if (iVar23 < iVar20 + 1) goto LAB_00030510;\n    *(int *)(iVar27 + 0x10) = iVar20 + 1;\n    *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n    if (uVar19 != 10) {\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 1;\nLAB_00030510:\n    iVar27 = *(int *)puVar7;\n    uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))\n    ;\n    puVar3 = PTR_strlen_0012af3c;\n    *(undefined4 *)(iVar27 + 0x38) = uVar16;\n    iVar15 = (*(code *)puVar3)(pbVar22);\n    puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);\n    uVar16 = *(undefined4 *)(iVar27 + 0x18);\n    *(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;\n    *puVar18 = uVar16;\n    if (*(char *)(iVar27 + 0x103) != '\0') {\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }\n    uVar19 = *(uint *)(iVar27 + 0x14);\n    if (0x98967e < uVar19) {\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }\n    iVar15 = (*pcVar14)();\n    if (iVar15 == 0) {\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }\nLAB_00030680:\n    iVar15 = *(int *)(iVar27 + 0x28);\n    if (iVar15 < 1) goto LAB_0003065c;\n    *(uint *)(iVar27 + 0x14) = uVar19 + 1;\n    iVar15 = (*(code *)puVar4)(iVar23 + 5);\n    pbVar22 = (byte *)(iVar15 + 4);\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    pbVar25 = pbVar22;\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_00030280(void)" (identifier "FUN_00030280") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  char cVar1;\n  byte bVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  undefined *puVar11;\n  int iVar12;\n  code *pcVar13;\n  code *pcVar14;\n  int iVar15;\n  undefined4 uVar16;\n  undefined4 uVar17;\n  undefined4 *puVar18;\n  uint uVar19;\n  int iVar20;\n  uint uVar21;\n  byte *pbVar22;\n  int iVar23;\n  int iVar24;\n  byte *pbVar25;\n  int *piVar26;\n  int iVar27;\n  \n  puVar8 = PTR_DAT_0012a334;\n  puVar7 = PTR_DAT_0012a304;\n  puVar4 = PTR_FUN_0012a230;\n  iVar27 = *(int *)PTR_DAT_0012a304;\n  uVar21 = *(uint *)(iVar27 + 0x14);\n  if (9999999 < uVar21 + 1) {\n    return;\n  }\n  iVar23 = *(int *)(iVar27 + 0x20);\n  if ((*(uint *)PTR_DAT_0012a334 & 8) != 0) {\n    iVar23 = iVar23 + -8;\n  }\n  cVar1 = *(char *)(iVar27 + 0x103);\n  iVar12 = FUN_0001a1bc();\n  pbVar22 = (byte *)(iVar12 + 4);\n  if (cVar1 == '\0') {\n    iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);\n    pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);\n    (*(code *)PTR_free_0012b168)(iVar12 + -4);\n  }\n  else {\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;\n    pbVar25 = pbVar22;\n  }\n  puVar11 = PTR_FUN_0012a3b8;\n  puVar10 = PTR_bb_common_bufsiz1_0012a344;\n  puVar9 = PTR_FUN_0012a340;\n  puVar5 = PTR_FUN_0012a2a4;\n  iVar24 = 2;\n  iVar12 = 0;\n  pcVar13 = (code *)(PTR_LAB_0012a398 + 0x148);\n  pcVar14 = (code *)(PTR_LAB_0012a398 + -0x15c);\n  do {\n    puVar3 = PTR_DAT_0012a214;\n    *pbVar25 = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 0;\n    puVar6 = PTR_FUN_0012a2b4;\n    iVar15 = *(int *)(iVar27 + 0x2c);\nLAB_0003038c:\n    while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }\n    iVar20 = *(int *)(iVar27 + 0x10);\n    if ((iVar20 != 0) && (pbVar25[-1] != 9)) {\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }\n    if ((*(uint *)puVar8 & 0x100) != 0) {\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }\nLAB_000304e4:\n    if (iVar23 < iVar20 + 1) goto LAB_00030510;\n    *(int *)(iVar27 + 0x10) = iVar20 + 1;\n    *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n    if (uVar19 != 10) {\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 1;\nLAB_00030510:\n    iVar27 = *(int *)puVar7;\n    uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))\n    ;\n    puVar3 = PTR_strlen_0012af3c;\n    *(undefined4 *)(iVar27 + 0x38) = uVar16;\n    iVar15 = (*(code *)puVar3)(pbVar22);\n    puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);\n    uVar16 = *(undefined4 *)(iVar27 + 0x18);\n    *(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;\n    *puVar18 = uVar16;\n    if (*(char *)(iVar27 + 0x103) != '\0') {\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }\n    uVar19 = *(uint *)(iVar27 + 0x14);\n    if (0x98967e < uVar19) {\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }\n    iVar15 = (*pcVar14)();\n    if (iVar15 == 0) {\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }\nLAB_00030680:\n    iVar15 = *(int *)(iVar27 + 0x28);\n    if (iVar15 < 1) goto LAB_0003065c;\n    *(uint *)(iVar27 + 0x14) = uVar19 + 1;\n    iVar15 = (*(code *)puVar4)(iVar23 + 5);\n    pbVar22 = (byte *)(iVar15 + 4);\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    pbVar25 = pbVar22;\n  } while( true );\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (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 "undefined *puVar8;" (type_identifier "undefined") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined *puVar9;" (type_identifier "undefined") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "undefined *puVar10;" (type_identifier "undefined") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "undefined *puVar11;" (type_identifier "undefined") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "code *pcVar13;" (type_identifier "code") (pointer_declarator "*pcVar13" (* "*") (identifier "pcVar13")) (; ";")) (declaration "code *pcVar14;" (type_identifier "code") (pointer_declarator "*pcVar14" (* "*") (identifier "pcVar14")) (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (declaration "undefined4 uVar16;" (type_identifier "undefined4") (identifier "uVar16") (; ";")) (declaration "undefined4 uVar17;" (type_identifier "undefined4") (identifier "uVar17") (; ";")) (declaration "undefined4 *puVar18;" (type_identifier "undefined4") (pointer_declarator "*puVar18" (* "*") (identifier "puVar18")) (; ";")) (declaration "uint uVar19;" (type_identifier "uint") (identifier "uVar19") (; ";")) (declaration "int iVar20;" (primitive_type "int") (identifier "iVar20") (; ";")) (declaration "uint uVar21;" (type_identifier "uint") (identifier "uVar21") (; ";")) (declaration "byte *pbVar22;" (type_identifier "byte") (pointer_declarator "*pbVar22" (* "*") (identifier "pbVar22")) (; ";")) (declaration "int iVar23;" (primitive_type "int") (identifier "iVar23") (; ";")) (declaration "int iVar24;" (primitive_type "int") (identifier "iVar24") (; ";")) (declaration "byte *pbVar25;" (type_identifier "byte") (pointer_declarator "*pbVar25" (* "*") (identifier "pbVar25")) (; ";")) (declaration "int *piVar26;" (primitive_type "int") (pointer_declarator "*piVar26" (* "*") (identifier "piVar26")) (; ";")) (declaration "int iVar27;" (primitive_type "int") (identifier "iVar27") (; ";")) (expression_statement "puVar8 = PTR_DAT_0012a334;" (assignment_expression "puVar8 = PTR_DAT_0012a334" (identifier "puVar8") (= "=") (identifier "PTR_DAT_0012a334")) (; ";")) (expression_statement "puVar7 = PTR_DAT_0012a304;" (assignment_expression "puVar7 = PTR_DAT_0012a304" (identifier "puVar7") (= "=") (identifier "PTR_DAT_0012a304")) (; ";")) (expression_statement "puVar4 = PTR_FUN_0012a230;" (assignment_expression "puVar4 = PTR_FUN_0012a230" (identifier "puVar4") (= "=") (identifier "PTR_FUN_0012a230")) (; ";")) (expression_statement "iVar27 = *(int *)PTR_DAT_0012a304;" (assignment_expression "iVar27 = *(int *)PTR_DAT_0012a304" (identifier "iVar27") (= "=") (pointer_expression "*(int *)PTR_DAT_0012a304" (* "*") (cast_expression "(int *)PTR_DAT_0012a304" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_0012a304")))) (; ";")) (expression_statement "uVar21 = *(uint *)(iVar27 + 0x14);" (assignment_expression "uVar21 = *(uint *)(iVar27 + 0x14)" (identifier "uVar21") (= "=") (pointer_expression "*(uint *)(iVar27 + 0x14)" (* "*") (cast_expression "(uint *)(iVar27 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x14)" (( "(") (binary_expression "iVar27 + 0x14" (identifier "iVar27") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (9999999 < uVar21 + 1) {\n    return;\n  }" (if "if") (parenthesized_expression "(9999999 < uVar21 + 1)" (( "(") (binary_expression "9999999 < uVar21 + 1" (number_literal "9999999") (< "<") (binary_expression "uVar21 + 1" (identifier "uVar21") (+ "+") (number_literal "1"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar23 = *(int *)(iVar27 + 0x20);" (assignment_expression "iVar23 = *(int *)(iVar27 + 0x20)" (identifier "iVar23") (= "=") (pointer_expression "*(int *)(iVar27 + 0x20)" (* "*") (cast_expression "(int *)(iVar27 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x20)" (( "(") (binary_expression "iVar27 + 0x20" (identifier "iVar27") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (if_statement "if ((*(uint *)PTR_DAT_0012a334 & 8) != 0) {\n    iVar23 = iVar23 + -8;\n  }" (if "if") (parenthesized_expression "((*(uint *)PTR_DAT_0012a334 & 8) != 0)" (( "(") (binary_expression "(*(uint *)PTR_DAT_0012a334 & 8) != 0" (parenthesized_expression "(*(uint *)PTR_DAT_0012a334 & 8)" (( "(") (binary_expression "*(uint *)PTR_DAT_0012a334 & 8" (pointer_expression "*(uint *)PTR_DAT_0012a334" (* "*") (cast_expression "(uint *)PTR_DAT_0012a334" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DAT_0012a334"))) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar23 = iVar23 + -8;\n  }" ({ "{") (expression_statement "iVar23 = iVar23 + -8;" (assignment_expression "iVar23 = iVar23 + -8" (identifier "iVar23") (= "=") (binary_expression "iVar23 + -8" (identifier "iVar23") (+ "+") (number_literal "-8"))) (; ";")) (} "}"))) (expression_statement "cVar1 = *(char *)(iVar27 + 0x103);" (assignment_expression "cVar1 = *(char *)(iVar27 + 0x103)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)(iVar27 + 0x103)" (* "*") (cast_expression "(char *)(iVar27 + 0x103)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x103)" (( "(") (binary_expression "iVar27 + 0x103" (identifier "iVar27") (+ "+") (number_literal "0x103")) () ")"))))) (; ";")) (expression_statement "iVar12 = FUN_0001a1bc();" (assignment_expression "iVar12 = FUN_0001a1bc()" (identifier "iVar12") (= "=") (call_expression "FUN_0001a1bc()" (identifier "FUN_0001a1bc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pbVar22 = (byte *)(iVar12 + 4);" (assignment_expression "pbVar22 = (byte *)(iVar12 + 4)" (identifier "pbVar22") (= "=") (cast_expression "(byte *)(iVar12 + 4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 4)" (( "(") (binary_expression "iVar12 + 4" (identifier "iVar12") (+ "+") (number_literal "4")) () ")")))) (; ";")) (if_statement "if (cVar1 == '\0') {\n    iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);\n    pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);\n    (*(code *)PTR_free_0012b168)(iVar12 + -4);\n  }\n  else {\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;\n    pbVar25 = pbVar22;\n  }" (if "if") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);\n    pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);\n    (*(code *)PTR_free_0012b168)(iVar12 + -4);\n  }" ({ "{") (expression_statement "iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);" (assignment_expression "iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" (* "*") (cast_expression "(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" (( "(") (binary_expression "*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4" (pointer_expression "*(int *)(iVar27 + 0x38)" (* "*") (cast_expression "(int *)(iVar27 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x38)" (( "(") (binary_expression "iVar27 + 0x38" (identifier "iVar27") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (binary_expression "*(int *)(iVar27 + 0x14) * 4" (pointer_expression "*(int *)(iVar27 + 0x14)" (* "*") (cast_expression "(int *)(iVar27 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x14)" (( "(") (binary_expression "iVar27 + 0x14" (identifier "iVar27") (+ "+") (number_literal "0x14")) () ")")))) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);" (assignment_expression "pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12)" (identifier "pbVar25") (= "=") (cast_expression "(byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12)" (parenthesized_expression "(*(code *)PTR_stpcpy_0012b0d0)" (( "(") (pointer_expression "*(code *)PTR_stpcpy_0012b0d0" (* "*") (cast_expression "(code *)PTR_stpcpy_0012b0d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stpcpy_0012b0d0"))) () ")")) (argument_list "(pbVar22,iVar12)" (( "(") (identifier "pbVar22") (, ",") (identifier "iVar12") () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_free_0012b168)(iVar12 + -4);" (call_expression "(*(code *)PTR_free_0012b168)(iVar12 + -4)" (parenthesized_expression "(*(code *)PTR_free_0012b168)" (( "(") (pointer_expression "*(code *)PTR_free_0012b168" (* "*") (cast_expression "(code *)PTR_free_0012b168" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0012b168"))) () ")")) (argument_list "(iVar12 + -4)" (( "(") (binary_expression "iVar12 + -4" (identifier "iVar12") (+ "+") (number_literal "-4")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;\n    pbVar25 = pbVar22;\n  }" (else "else") (compound_statement "{\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;\n    pbVar25 = pbVar22;\n  }" ({ "{") (expression_statement "*(undefined4 *)(iVar27 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar27 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar27 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar27 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x10)" (( "(") (binary_expression "iVar27 + 0x10" (identifier "iVar27") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;" (assignment_expression "*(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1" (pointer_expression "*(int *)(iVar27 + 0x14)" (* "*") (cast_expression "(int *)(iVar27 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x14)" (( "(") (binary_expression "iVar27 + 0x14" (identifier "iVar27") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "*(int *)(iVar27 + 0x14) + 1" (pointer_expression "*(int *)(iVar27 + 0x14)" (* "*") (cast_expression "(int *)(iVar27 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x14)" (( "(") (binary_expression "iVar27 + 0x14" (identifier "iVar27") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar25 = pbVar22;" (assignment_expression "pbVar25 = pbVar22" (identifier "pbVar25") (= "=") (identifier "pbVar22")) (; ";")) (} "}")))) (expression_statement "puVar11 = PTR_FUN_0012a3b8;" (assignment_expression "puVar11 = PTR_FUN_0012a3b8" (identifier "puVar11") (= "=") (identifier "PTR_FUN_0012a3b8")) (; ";")) (expression_statement "puVar10 = PTR_bb_common_bufsiz1_0012a344;" (assignment_expression "puVar10 = PTR_bb_common_bufsiz1_0012a344" (identifier "puVar10") (= "=") (identifier "PTR_bb_common_bufsiz1_0012a344")) (; ";")) (expression_statement "puVar9 = PTR_FUN_0012a340;" (assignment_expression "puVar9 = PTR_FUN_0012a340" (identifier "puVar9") (= "=") (identifier "PTR_FUN_0012a340")) (; ";")) (expression_statement "puVar5 = PTR_FUN_0012a2a4;" (assignment_expression "puVar5 = PTR_FUN_0012a2a4" (identifier "puVar5") (= "=") (identifier "PTR_FUN_0012a2a4")) (; ";")) (expression_statement "iVar24 = 2;" (assignment_expression "iVar24 = 2" (identifier "iVar24") (= "=") (number_literal "2")) (; ";")) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" (identifier "iVar12") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar13 = (code *)(PTR_LAB_0012a398 + 0x148);" (assignment_expression "pcVar13 = (code *)(PTR_LAB_0012a398 + 0x148)" (identifier "pcVar13") (= "=") (cast_expression "(code *)(PTR_LAB_0012a398 + 0x148)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0012a398 + 0x148)" (( "(") (binary_expression "PTR_LAB_0012a398 + 0x148" (identifier "PTR_LAB_0012a398") (+ "+") (number_literal "0x148")) () ")")))) (; ";")) (expression_statement "pcVar14 = (code *)(PTR_LAB_0012a398 + -0x15c);" (assignment_expression "pcVar14 = (code *)(PTR_LAB_0012a398 + -0x15c)" (identifier "pcVar14") (= "=") (cast_expression "(code *)(PTR_LAB_0012a398 + -0x15c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0012a398 + -0x15c)" (( "(") (binary_expression "PTR_LAB_0012a398 + -0x15c" (identifier "PTR_LAB_0012a398") (+ "+") (number_literal "-0x15c")) () ")")))) (; ";")) (do_statement "do {\n    puVar3 = PTR_DAT_0012a214;\n    *pbVar25 = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 0;\n    puVar6 = PTR_FUN_0012a2b4;\n    iVar15 = *(int *)(iVar27 + 0x2c);\nLAB_0003038c:\n    while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }\n    iVar20 = *(int *)(iVar27 + 0x10);\n    if ((iVar20 != 0) && (pbVar25[-1] != 9)) {\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }\n    if ((*(uint *)puVar8 & 0x100) != 0) {\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }\nLAB_000304e4:\n    if (iVar23 < iVar20 + 1) goto LAB_00030510;\n    *(int *)(iVar27 + 0x10) = iVar20 + 1;\n    *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n    if (uVar19 != 10) {\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 1;\nLAB_00030510:\n    iVar27 = *(int *)puVar7;\n    uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))\n    ;\n    puVar3 = PTR_strlen_0012af3c;\n    *(undefined4 *)(iVar27 + 0x38) = uVar16;\n    iVar15 = (*(code *)puVar3)(pbVar22);\n    puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);\n    uVar16 = *(undefined4 *)(iVar27 + 0x18);\n    *(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;\n    *puVar18 = uVar16;\n    if (*(char *)(iVar27 + 0x103) != '\0') {\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }\n    uVar19 = *(uint *)(iVar27 + 0x14);\n    if (0x98967e < uVar19) {\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }\n    iVar15 = (*pcVar14)();\n    if (iVar15 == 0) {\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }\nLAB_00030680:\n    iVar15 = *(int *)(iVar27 + 0x28);\n    if (iVar15 < 1) goto LAB_0003065c;\n    *(uint *)(iVar27 + 0x14) = uVar19 + 1;\n    iVar15 = (*(code *)puVar4)(iVar23 + 5);\n    pbVar22 = (byte *)(iVar15 + 4);\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    pbVar25 = pbVar22;\n  } while( true );" (do "do") (compound_statement "{\n    puVar3 = PTR_DAT_0012a214;\n    *pbVar25 = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 0;\n    puVar6 = PTR_FUN_0012a2b4;\n    iVar15 = *(int *)(iVar27 + 0x2c);\nLAB_0003038c:\n    while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }\n    iVar20 = *(int *)(iVar27 + 0x10);\n    if ((iVar20 != 0) && (pbVar25[-1] != 9)) {\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }\n    if ((*(uint *)puVar8 & 0x100) != 0) {\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }\nLAB_000304e4:\n    if (iVar23 < iVar20 + 1) goto LAB_00030510;\n    *(int *)(iVar27 + 0x10) = iVar20 + 1;\n    *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n    if (uVar19 != 10) {\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    *(undefined1 *)(iVar27 + 0x103) = 1;\nLAB_00030510:\n    iVar27 = *(int *)puVar7;\n    uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))\n    ;\n    puVar3 = PTR_strlen_0012af3c;\n    *(undefined4 *)(iVar27 + 0x38) = uVar16;\n    iVar15 = (*(code *)puVar3)(pbVar22);\n    puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);\n    uVar16 = *(undefined4 *)(iVar27 + 0x18);\n    *(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;\n    *puVar18 = uVar16;\n    if (*(char *)(iVar27 + 0x103) != '\0') {\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }\n    uVar19 = *(uint *)(iVar27 + 0x14);\n    if (0x98967e < uVar19) {\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }\n    iVar15 = (*pcVar14)();\n    if (iVar15 == 0) {\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }\nLAB_00030680:\n    iVar15 = *(int *)(iVar27 + 0x28);\n    if (iVar15 < 1) goto LAB_0003065c;\n    *(uint *)(iVar27 + 0x14) = uVar19 + 1;\n    iVar15 = (*(code *)puVar4)(iVar23 + 5);\n    pbVar22 = (byte *)(iVar15 + 4);\n    *(undefined4 *)(iVar27 + 0x10) = 0;\n    pbVar25 = pbVar22;\n  }" ({ "{") (expression_statement "puVar3 = PTR_DAT_0012a214;" (assignment_expression "puVar3 = PTR_DAT_0012a214" (identifier "puVar3") (= "=") (identifier "PTR_DAT_0012a214")) (; ";")) (expression_statement "*pbVar25 = 0;" (assignment_expression "*pbVar25 = 0" (pointer_expression "*pbVar25" (* "*") (identifier "pbVar25")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(iVar27 + 0x103) = 0;" (assignment_expression "*(undefined1 *)(iVar27 + 0x103) = 0" (pointer_expression "*(undefined1 *)(iVar27 + 0x103)" (* "*") (cast_expression "(undefined1 *)(iVar27 + 0x103)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x103)" (( "(") (binary_expression "iVar27 + 0x103" (identifier "iVar27") (+ "+") (number_literal "0x103")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6 = PTR_FUN_0012a2b4;" (assignment_expression "puVar6 = PTR_FUN_0012a2b4" (identifier "puVar6") (= "=") (identifier "PTR_FUN_0012a2b4")) (; ";")) (expression_statement "iVar15 = *(int *)(iVar27 + 0x2c);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x2c)" (identifier "iVar15") (= "=") (pointer_expression "*(int *)(iVar27 + 0x2c)" (* "*") (cast_expression "(int *)(iVar27 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x2c)" (( "(") (binary_expression "iVar27 + 0x2c" (identifier "iVar27") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (labeled_statement "LAB_0003038c:\n    while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }" (statement_identifier "LAB_0003038c") (: ":") (while_statement "while( true ) {\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }\n      bVar2 = puVar10[iVar15];\n      uVar19 = (uint)bVar2;\n      if (uVar19 == 8) break;\n      if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }\n      if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }\nLAB_000306e8:\n      iVar15 = iVar15 + 1;\n      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;\n      *(int *)(iVar27 + 0x2c) = iVar15;\n    }" ({ "{") (if_statement "if (*(int *)(iVar27 + 0x30) <= iVar15) {\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar27 + 0x30) <= iVar15)" (( "(") (binary_expression "*(int *)(iVar27 + 0x30) <= iVar15" (pointer_expression "*(int *)(iVar27 + 0x30)" (* "*") (cast_expression "(int *)(iVar27 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x30)" (( "(") (binary_expression "iVar27 + 0x30" (identifier "iVar27") (+ "+") (number_literal "0x30")) () ")")))) (<= "<=") (identifier "iVar15")) () ")")) (compound_statement "{\n        uVar16 = (*(code *)puVar9)();\n        piVar26 = *(int **)puVar3;\n        iVar15 = iVar12;\n        while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }\n        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);\n        *(undefined4 *)(iVar27 + 0x2c) = 0;\n        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);\n        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;\n        iVar15 = 0;\n        iVar24 = 1;\n      }" ({ "{") (expression_statement "uVar16 = (*(code *)puVar9)();" (assignment_expression "uVar16 = (*(code *)puVar9)()" (identifier "uVar16") (= "=") (call_expression "(*(code *)puVar9)()" (parenthesized_expression "(*(code *)puVar9)" (( "(") (pointer_expression "*(code *)puVar9" (* "*") (cast_expression "(code *)puVar9" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar9"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "piVar26 = *(int **)puVar3;" (assignment_expression "piVar26 = *(int **)puVar3" (identifier "piVar26") (= "=") (pointer_expression "*(int **)puVar3" (* "*") (cast_expression "(int **)puVar3" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3")))) (; ";")) (expression_statement "iVar15 = iVar12;" (assignment_expression "iVar15 = iVar12" (identifier "iVar15") (= "=") (identifier "iVar12")) (; ";")) (while_statement "while( true ) {\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          *piVar26 = 0;\n          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);\n          *(undefined4 *)(iVar27 + 0x28) = uVar17;\n          iVar12 = iVar15;\n          if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;\n          (*(code *)PTR_sched_yield_0012aff0)();\n          iVar15 = iVar12;\n        }" ({ "{") (expression_statement "*piVar26 = 0;" (assignment_expression "*piVar26 = 0" (pointer_expression "*piVar26" (* "*") (identifier "piVar26")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar17 = (*(code *)puVar6)(0,puVar10,0x400);" (assignment_expression "uVar17 = (*(code *)puVar6)(0,puVar10,0x400)" (identifier "uVar17") (= "=") (call_expression "(*(code *)puVar6)(0,puVar10,0x400)" (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 "(0,puVar10,0x400)" (( "(") (number_literal "0") (, ",") (identifier "puVar10") (, ",") (number_literal "0x400") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar27 + 0x28) = uVar17;" (assignment_expression "*(undefined4 *)(iVar27 + 0x28) = uVar17" (pointer_expression "*(undefined4 *)(iVar27 + 0x28)" (* "*") (cast_expression "(undefined4 *)(iVar27 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x28)" (( "(") (binary_expression "iVar27 + 0x28" (identifier "iVar27") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "uVar17")) (; ";")) (expression_statement "iVar12 = iVar15;" (assignment_expression "iVar12 = iVar15" (identifier "iVar12") (= "=") (identifier "iVar15")) (; ";")) (if_statement "if ((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;" (if "if") (parenthesized_expression "((*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0))))" (( "(") (binary_expression "(*piVar26 != 0xb) ||\n             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))" (parenthesized_expression "(*piVar26 != 0xb)" (( "(") (binary_expression "*piVar26 != 0xb" (pointer_expression "*piVar26" (* "*") (identifier "piVar26")) (!= "!=") (number_literal "0xb")) () ")")) (|| "||") (parenthesized_expression "((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)))" (( "(") (parenthesized_expression "(iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0))" (( "(") (comma_expression "iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)" (assignment_expression "iVar12 = (*(code *)PTR_time_0012b12c)(0)" (identifier "iVar12") (= "=") (call_expression "(*(code *)PTR_time_0012b12c)(0)" (parenthesized_expression "(*(code *)PTR_time_0012b12c)" (( "(") (pointer_expression "*(code *)PTR_time_0012b12c" (* "*") (cast_expression "(code *)PTR_time_0012b12c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_time_0012b12c"))) () ")")) (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (, ",") (binary_expression "iVar15 != iVar12 &&\n              (iVar24 = iVar24 + -1, iVar24 < 0)" (binary_expression "iVar15 != iVar12" (identifier "iVar15") (!= "!=") (identifier "iVar12")) (&& "&&") (parenthesized_expression "(iVar24 = iVar24 + -1, iVar24 < 0)" (( "(") (comma_expression "iVar24 = iVar24 + -1, iVar24 < 0" (assignment_expression "iVar24 = iVar24 + -1" (identifier "iVar24") (= "=") (binary_expression "iVar24 + -1" (identifier "iVar24") (+ "+") (number_literal "-1"))) (, ",") (binary_expression "iVar24 < 0" (identifier "iVar24") (< "<") (number_literal "0"))) () ")")))) () ")")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "(*(code *)PTR_sched_yield_0012aff0)();" (call_expression "(*(code *)PTR_sched_yield_0012aff0)()" (parenthesized_expression "(*(code *)PTR_sched_yield_0012aff0)" (( "(") (pointer_expression "*(code *)PTR_sched_yield_0012aff0" (* "*") (cast_expression "(code *)PTR_sched_yield_0012aff0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sched_yield_0012aff0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar15 = iVar12;" (assignment_expression "iVar15 = iVar12" (identifier "iVar15") (= "=") (identifier "iVar12")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);" (call_expression "(*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16)" (parenthesized_expression "(*(code *)PTR_fcntl64_0012ae04)" (( "(") (pointer_expression "*(code *)PTR_fcntl64_0012ae04" (* "*") (cast_expression "(code *)PTR_fcntl64_0012ae04" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fcntl64_0012ae04"))) () ")")) (argument_list "(0,4,uVar16)" (( "(") (number_literal "0") (, ",") (number_literal "4") (, ",") (identifier "uVar16") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(iVar27 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(iVar27 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(iVar27 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(iVar27 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x2c)" (( "(") (binary_expression "iVar27 + 0x2c" (identifier "iVar27") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);" (assignment_expression "*(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28)" (pointer_expression "*(int *)(iVar27 + 0x30)" (* "*") (cast_expression "(int *)(iVar27 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x30)" (( "(") (binary_expression "iVar27 + 0x30" (identifier "iVar27") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (pointer_expression "*(int *)(iVar27 + 0x28)" (* "*") (cast_expression "(int *)(iVar27 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x28)" (( "(") (binary_expression "iVar27 + 0x28" (identifier "iVar27") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;" (if "if") (parenthesized_expression "(*(int *)(iVar27 + 0x28) < 1)" (( "(") (binary_expression "*(int *)(iVar27 + 0x28) < 1" (pointer_expression "*(int *)(iVar27 + 0x28)" (* "*") (cast_expression "(int *)(iVar27 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x28)" (( "(") (binary_expression "iVar27 + 0x28" (identifier "iVar27") (+ "+") (number_literal "0x28")) () ")")))) (< "<") (number_literal "1")) () ")")) (goto_statement "goto LAB_00030510;" (goto "goto") (statement_identifier "LAB_00030510") (; ";"))) (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" (identifier "iVar15") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar24 = 1;" (assignment_expression "iVar24 = 1" (identifier "iVar24") (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "bVar2 = puVar10[iVar15];" (assignment_expression "bVar2 = puVar10[iVar15]" (identifier "bVar2") (= "=") (subscript_expression "puVar10[iVar15]" (identifier "puVar10") ([ "[") (identifier "iVar15") (] "]"))) (; ";")) (expression_statement "uVar19 = (uint)bVar2;" (assignment_expression "uVar19 = (uint)bVar2" (identifier "uVar19") (= "=") (cast_expression "(uint)bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar2"))) (; ";")) (if_statement "if (uVar19 == 8) break;" (if "if") (parenthesized_expression "(uVar19 == 8)" (( "(") (binary_expression "uVar19 == 8" (identifier "uVar19") (== "==") (number_literal "8")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if ((*(uint *)puVar8 & 0x100) == 0) {\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }" (if "if") (parenthesized_expression "((*(uint *)puVar8 & 0x100) == 0)" (( "(") (binary_expression "(*(uint *)puVar8 & 0x100) == 0" (parenthesized_expression "(*(uint *)puVar8 & 0x100)" (( "(") (binary_expression "*(uint *)puVar8 & 0x100" (pointer_expression "*(uint *)puVar8" (* "*") (cast_expression "(uint *)puVar8" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar8"))) (& "&") (number_literal "0x100")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar20 = *(int *)(iVar27 + 0x10);\nLAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;\n        uVar19 = iVar20 + 8U & 0xfffffff8;\n        if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }\n        goto LAB_00030510;\n      }" ({ "{") (expression_statement "iVar20 = *(int *)(iVar27 + 0x10);" (assignment_expression "iVar20 = *(int *)(iVar27 + 0x10)" (identifier "iVar20") (= "=") (pointer_expression "*(int *)(iVar27 + 0x10)" (* "*") (cast_expression "(int *)(iVar27 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x10)" (( "(") (binary_expression "iVar27 + 0x10" (identifier "iVar27") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (labeled_statement "LAB_00030498:\n        if (uVar19 != 9) goto LAB_000304e4;" (statement_identifier "LAB_00030498") (: ":") (if_statement "if (uVar19 != 9) goto LAB_000304e4;" (if "if") (parenthesized_expression "(uVar19 != 9)" (( "(") (binary_expression "uVar19 != 9" (identifier "uVar19") (!= "!=") (number_literal "9")) () ")")) (goto_statement "goto LAB_000304e4;" (goto "goto") (statement_identifier "LAB_000304e4") (; ";")))) (expression_statement "uVar19 = iVar20 + 8U & 0xfffffff8;" (assignment_expression "uVar19 = iVar20 + 8U & 0xfffffff8" (identifier "uVar19") (= "=") (binary_expression "iVar20 + 8U & 0xfffffff8" (binary_expression "iVar20 + 8U" (identifier "iVar20") (+ "+") (number_literal "8U")) (& "&") (number_literal "0xfffffff8"))) (; ";")) (if_statement "if ((int)uVar19 <= iVar23) {\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }" (if "if") (parenthesized_expression "((int)uVar19 <= iVar23)" (( "(") (binary_expression "(int)uVar19 <= iVar23" (cast_expression "(int)uVar19" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar19")) (<= "<=") (identifier "iVar23")) () ")")) (compound_statement "{\n          *(uint *)(iVar27 + 0x10) = uVar19;\n          *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n          goto LAB_000304c0;\n        }" ({ "{") (expression_statement "*(uint *)(iVar27 + 0x10) = uVar19;" (assignment_expression "*(uint *)(iVar27 + 0x10) = uVar19" (pointer_expression "*(uint *)(iVar27 + 0x10)" (* "*") (cast_expression "(uint *)(iVar27 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x10)" (( "(") (binary_expression "iVar27 + 0x10" (identifier "iVar27") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar19")) (; ";")) (expression_statement "*(int *)(iVar27 + 0x2c) = iVar15 + 1;" (assignment_expression "*(int *)(iVar27 + 0x2c) = iVar15 + 1" (pointer_expression "*(int *)(iVar27 + 0x2c)" (* "*") (cast_expression "(int *)(iVar27 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x2c)" (( "(") (binary_expression "iVar27 + 0x2c" (identifier "iVar27") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (binary_expression "iVar15 + 1" (identifier "iVar15") (+ "+") (number_literal "1"))) (; ";")) (goto_statement "goto LAB_000304c0;" (goto "goto") (statement_identifier "LAB_000304c0") (; ";")) (} "}"))) (goto_statement "goto LAB_00030510;" (goto "goto") (statement_identifier "LAB_00030510") (; ";")) (} "}"))) (if_statement "if (uVar19 != 0x1b) {\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }" (if "if") (parenthesized_expression "(uVar19 != 0x1b)" (( "(") (binary_expression "uVar19 != 0x1b" (identifier "uVar19") (!= "!=") (number_literal "0x1b")) () ")")) (compound_statement "{\n        if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }\n        goto LAB_00030498;\n      }" ({ "{") (if_statement "if (*(char *)(iVar27 + 0x101) == '\0') {\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }\n        else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }" (if "if") (parenthesized_expression "(*(char *)(iVar27 + 0x101) == '\0')" (( "(") (binary_expression "*(char *)(iVar27 + 0x101) == '\0'" (pointer_expression "*(char *)(iVar27 + 0x101)" (* "*") (cast_expression "(char *)(iVar27 + 0x101)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x101)" (( "(") (binary_expression "iVar27 + 0x101" (identifier "iVar27") (+ "+") (number_literal "0x101")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          iVar20 = *(int *)(iVar27 + 0x10);\n        }" ({ "{") (expression_statement "iVar20 = *(int *)(iVar27 + 0x10);" (assignment_expression "iVar20 = *(int *)(iVar27 + 0x10)" (identifier "iVar20") (= "=") (pointer_expression "*(int *)(iVar27 + 0x10)" (* "*") (cast_expression "(int *)(iVar27 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x10)" (( "(") (binary_expression "iVar27 + 0x10" (identifier "iVar27") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }" (else "else") (compound_statement "{\n          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;\n          iVar20 = *(int *)(iVar27 + 0x10);\n          *(undefined1 *)(iVar27 + 0x101) = 0;\n        }" ({ "{") (if_statement "if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))\n          goto LAB_000306e8;" (if "if") (parenthesized_expression "((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))" (( "(") (binary_expression "(((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d)" (parenthesized_expression "(((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b))" (( "(") (binary_expression "((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)" (parenthesized_expression "((uVar19 - 0x30 < 10) || (uVar19 == 0x5b))" (( "(") (binary_expression "(uVar19 - 0x30 < 10) || (uVar19 == 0x5b)" (parenthesized_expression "(uVar19 - 0x30 < 10)" (( "(") (binary_expression "uVar19 - 0x30 < 10" (binary_expression "uVar19 - 0x30" (identifier "uVar19") (- "-") (number_literal "0x30")) (< "<") (number_literal "10")) () ")")) (|| "||") (parenthesized_expression "(uVar19 == 0x5b)" (( "(") (binary_expression "uVar19 == 0x5b" (identifier "uVar19") (== "==") (number_literal "0x5b")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(uVar19 == 0x3b)" (( "(") (binary_expression "uVar19 == 0x3b" (identifier "uVar19") (== "==") (number_literal "0x3b")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(uVar19 == 0x6d)" (( "(") (binary_expression "uVar19 == 0x6d" (identifier "uVar19") (== "==") (number_literal "0x6d")) () ")"))) () ")")) (goto_statement "goto LAB_000306e8;" (goto "goto") (statement_identifier "LAB_000306e8") (; ";"))) (expression_statement "iVar20 = *(int *)(iVar27 + 0x10);" (assignment_expression "iVar20 = *(int *)(iVar27 + 0x10)" (identifier "iVar20") (= "=") (pointer_expression "*(int *)(iVar27 + 0x10)" (* "*") (cast_expression "(int *)(iVar27 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x10)" (( "(") (binary_expression "iVar27 + 0x10" (identifier "iVar27") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(iVar27 + 0x101) = 0;" (assignment_expression "*(undefined1 *)(iVar27 + 0x101) = 0" (pointer_expression "*(undefined1 *)(iVar27 + 0x101)" (* "*") (cast_expression "(undefined1 *)(iVar27 + 0x101)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x101)" (( "(") (binary_expression "iVar27 + 0x101" (identifier "iVar27") (+ "+") (number_literal "0x101")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")))) (goto_statement "goto LAB_00030498;" (goto "goto") (statement_identifier "LAB_00030498") (; ";")) (} "}"))) (labeled_statement "LAB_000306e8:\n      iVar15 = iVar15 + 1;" (statement_identifier "LAB_000306e8") (: ":") (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" (identifier "iVar15") (= "=") (binary_expression "iVar15 + 1" (identifier "iVar15") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "*(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;" (assignment_expression "*(bool *)(iVar27 + 0x101) = uVar19 != 0x6d" (pointer_expression "*(bool *)(iVar27 + 0x101)" (* "*") (cast_expression "(bool *)(iVar27 + 0x101)" (( "(") (type_descriptor "bool *" (primitive_type "bool") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x101)" (( "(") (binary_expression "iVar27 + 0x101" (identifier "iVar27") (+ "+") (number_literal "0x101")) () ")")))) (= "=") (binary_expression "uVar19 != 0x6d" (identifier "uVar19") (!= "!=") (number_literal "0x6d"))) (; ";")) (expression_statement "*(int *)(iVar27 + 0x2c) = iVar15;" (assignment_expression "*(int *)(iVar27 + 0x2c) = iVar15" (pointer_expression "*(int *)(iVar27 + 0x2c)" (* "*") (cast_expression "(int *)(iVar27 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x2c)" (( "(") (binary_expression "iVar27 + 0x2c" (identifier "iVar27") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (identifier "iVar15")) (; ";")) (} "}")))) (expression_statement "iVar20 = *(int *)(iVar27 + 0x10);" (assignment_expression "iVar20 = *(int *)(iVar27 + 0x10)" (identifier "iVar20") (= "=") (pointer_expression "*(int *)(iVar27 + 0x10)" (* "*") (cast_expression "(int *)(iVar27 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x10)" (( "(") (binary_expression "iVar27 + 0x10" (identifier "iVar27") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if ((iVar20 != 0) && (pbVar25[-1] != 9)) {\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }" (if "if") (parenthesized_expression "((iVar20 != 0) && (pbVar25[-1] != 9))" (( "(") (binary_expression "(iVar20 != 0) && (pbVar25[-1] != 9)" (parenthesized_expression "(iVar20 != 0)" (( "(") (binary_expression "iVar20 != 0" (identifier "iVar20") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(pbVar25[-1] != 9)" (( "(") (binary_expression "pbVar25[-1] != 9" (subscript_expression "pbVar25[-1]" (identifier "pbVar25") ([ "[") (number_literal "-1") (] "]")) (!= "!=") (number_literal "9")) () ")"))) () ")")) (compound_statement "{\n      *(int *)(iVar27 + 0x2c) = iVar15 + 1;\n      *(int *)(iVar27 + 0x10) = iVar20 + -1;\n      pbVar25[-1] = 0;\n      iVar15 = *(int *)(iVar27 + 0x2c);\n      pbVar25 = pbVar25 + -1;\n      goto LAB_0003038c;\n    }" ({ "{") (expression_statement "*(int *)(iVar27 + 0x2c) = iVar15 + 1;" (assignment_expression "*(int *)(iVar27 + 0x2c) = iVar15 + 1" (pointer_expression "*(int *)(iVar27 + 0x2c)" (* "*") (cast_expression "(int *)(iVar27 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x2c)" (( "(") (binary_expression "iVar27 + 0x2c" (identifier "iVar27") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (binary_expression "iVar15 + 1" (identifier "iVar15") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(iVar27 + 0x10) = iVar20 + -1;" (assignment_expression "*(int *)(iVar27 + 0x10) = iVar20 + -1" (pointer_expression "*(int *)(iVar27 + 0x10)" (* "*") (cast_expression "(int *)(iVar27 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x10)" (( "(") (binary_expression "iVar27 + 0x10" (identifier "iVar27") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "iVar20 + -1" (identifier "iVar20") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "pbVar25[-1] = 0;" (assignment_expression "pbVar25[-1] = 0" (subscript_expression "pbVar25[-1]" (identifier "pbVar25") ([ "[") (number_literal "-1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar15 = *(int *)(iVar27 + 0x2c);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x2c)" (identifier "iVar15") (= "=") (pointer_expression "*(int *)(iVar27 + 0x2c)" (* "*") (cast_expression "(int *)(iVar27 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x2c)" (( "(") (binary_expression "iVar27 + 0x2c" (identifier "iVar27") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (expression_statement "pbVar25 = pbVar25 + -1;" (assignment_expression "pbVar25 = pbVar25 + -1" (identifier "pbVar25") (= "=") (binary_expression "pbVar25 + -1" (identifier "pbVar25") (+ "+") (number_literal "-1"))) (; ";")) (goto_statement "goto LAB_0003038c;" (goto "goto") (statement_identifier "LAB_0003038c") (; ";")) (} "}"))) (if_statement "if ((*(uint *)puVar8 & 0x100) != 0) {\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }" (if "if") (parenthesized_expression "((*(uint *)puVar8 & 0x100) != 0)" (( "(") (binary_expression "(*(uint *)puVar8 & 0x100) != 0" (parenthesized_expression "(*(uint *)puVar8 & 0x100)" (( "(") (binary_expression "*(uint *)puVar8 & 0x100" (pointer_expression "*(uint *)puVar8" (* "*") (cast_expression "(uint *)puVar8" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar8"))) (& "&") (number_literal "0x100")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }\n      goto LAB_00030498;\n    }" ({ "{") (if_statement "if (*(char *)(iVar27 + 0x101) != '\0') {\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }" (if "if") (parenthesized_expression "(*(char *)(iVar27 + 0x101) != '\0')" (( "(") (binary_expression "*(char *)(iVar27 + 0x101) != '\0'" (pointer_expression "*(char *)(iVar27 + 0x101)" (* "*") (cast_expression "(char *)(iVar27 + 0x101)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x101)" (( "(") (binary_expression "iVar27 + 0x101" (identifier "iVar27") (+ "+") (number_literal "0x101")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        *(undefined1 *)(iVar27 + 0x101) = 0;\n      }" ({ "{") (expression_statement "*(undefined1 *)(iVar27 + 0x101) = 0;" (assignment_expression "*(undefined1 *)(iVar27 + 0x101) = 0" (pointer_expression "*(undefined1 *)(iVar27 + 0x101)" (* "*") (cast_expression "(undefined1 *)(iVar27 + 0x101)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x101)" (( "(") (binary_expression "iVar27 + 0x101" (identifier "iVar27") (+ "+") (number_literal "0x101")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (goto_statement "goto LAB_00030498;" (goto "goto") (statement_identifier "LAB_00030498") (; ";")) (} "}"))) (labeled_statement "LAB_000304e4:\n    if (iVar23 < iVar20 + 1) goto LAB_00030510;" (statement_identifier "LAB_000304e4") (: ":") (if_statement "if (iVar23 < iVar20 + 1) goto LAB_00030510;" (if "if") (parenthesized_expression "(iVar23 < iVar20 + 1)" (( "(") (binary_expression "iVar23 < iVar20 + 1" (identifier "iVar23") (< "<") (binary_expression "iVar20 + 1" (identifier "iVar20") (+ "+") (number_literal "1"))) () ")")) (goto_statement "goto LAB_00030510;" (goto "goto") (statement_identifier "LAB_00030510") (; ";")))) (expression_statement "*(int *)(iVar27 + 0x10) = iVar20 + 1;" (assignment_expression "*(int *)(iVar27 + 0x10) = iVar20 + 1" (pointer_expression "*(int *)(iVar27 + 0x10)" (* "*") (cast_expression "(int *)(iVar27 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x10)" (( "(") (binary_expression "iVar27 + 0x10" (identifier "iVar27") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "iVar20 + 1" (identifier "iVar20") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(iVar27 + 0x2c) = iVar15 + 1;" (assignment_expression "*(int *)(iVar27 + 0x2c) = iVar15 + 1" (pointer_expression "*(int *)(iVar27 + 0x2c)" (* "*") (cast_expression "(int *)(iVar27 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x2c)" (( "(") (binary_expression "iVar27 + 0x2c" (identifier "iVar27") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (binary_expression "iVar15 + 1" (identifier "iVar15") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar19 != 10) {\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }" (if "if") (parenthesized_expression "(uVar19 != 10)" (( "(") (binary_expression "uVar19 != 10" (identifier "uVar19") (!= "!=") (number_literal "10")) () ")")) (compound_statement "{\n      if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }\n      goto LAB_0003038c;\n    }" ({ "{") (if_statement "if (uVar19 == 0) {\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }\n      else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }" (if "if") (parenthesized_expression "(uVar19 == 0)" (( "(") (binary_expression "uVar19 == 0" (identifier "uVar19") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        *pbVar25 = 10;\n        pbVar25[1] = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n        pbVar25 = pbVar25 + 1;\n      }" ({ "{") (expression_statement "*pbVar25 = 10;" (assignment_expression "*pbVar25 = 10" (pointer_expression "*pbVar25" (* "*") (identifier "pbVar25")) (= "=") (number_literal "10")) (; ";")) (expression_statement "pbVar25[1] = 0;" (assignment_expression "pbVar25[1] = 0" (subscript_expression "pbVar25[1]" (identifier "pbVar25") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar15 = *(int *)(iVar27 + 0x2c);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x2c)" (identifier "iVar15") (= "=") (pointer_expression "*(int *)(iVar27 + 0x2c)" (* "*") (cast_expression "(int *)(iVar27 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x2c)" (( "(") (binary_expression "iVar27 + 0x2c" (identifier "iVar27") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (expression_statement "pbVar25 = pbVar25 + 1;" (assignment_expression "pbVar25 = pbVar25 + 1" (identifier "pbVar25") (= "=") (binary_expression "pbVar25 + 1" (identifier "pbVar25") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }" (else "else") (compound_statement "{\nLAB_000304c0:\n        *pbVar25 = bVar2;\n        pbVar25 = pbVar25 + 1;\n        *pbVar25 = 0;\n        iVar15 = *(int *)(iVar27 + 0x2c);\n      }" ({ "{") (labeled_statement "LAB_000304c0:\n        *pbVar25 = bVar2;" (statement_identifier "LAB_000304c0") (: ":") (expression_statement "*pbVar25 = bVar2;" (assignment_expression "*pbVar25 = bVar2" (pointer_expression "*pbVar25" (* "*") (identifier "pbVar25")) (= "=") (identifier "bVar2")) (; ";"))) (expression_statement "pbVar25 = pbVar25 + 1;" (assignment_expression "pbVar25 = pbVar25 + 1" (identifier "pbVar25") (= "=") (binary_expression "pbVar25 + 1" (identifier "pbVar25") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pbVar25 = 0;" (assignment_expression "*pbVar25 = 0" (pointer_expression "*pbVar25" (* "*") (identifier "pbVar25")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar15 = *(int *)(iVar27 + 0x2c);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x2c)" (identifier "iVar15") (= "=") (pointer_expression "*(int *)(iVar27 + 0x2c)" (* "*") (cast_expression "(int *)(iVar27 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x2c)" (( "(") (binary_expression "iVar27 + 0x2c" (identifier "iVar27") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (} "}")))) (goto_statement "goto LAB_0003038c;" (goto "goto") (statement_identifier "LAB_0003038c") (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(iVar27 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar27 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar27 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar27 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x10)" (( "(") (binary_expression "iVar27 + 0x10" (identifier "iVar27") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(iVar27 + 0x103) = 1;" (assignment_expression "*(undefined1 *)(iVar27 + 0x103) = 1" (pointer_expression "*(undefined1 *)(iVar27 + 0x103)" (* "*") (cast_expression "(undefined1 *)(iVar27 + 0x103)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x103)" (( "(") (binary_expression "iVar27 + 0x103" (identifier "iVar27") (+ "+") (number_literal "0x103")) () ")")))) (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_00030510:\n    iVar27 = *(int *)puVar7;" (statement_identifier "LAB_00030510") (: ":") (expression_statement "iVar27 = *(int *)puVar7;" (assignment_expression "iVar27 = *(int *)puVar7" (identifier "iVar27") (= "=") (pointer_expression "*(int *)puVar7" (* "*") (cast_expression "(int *)puVar7" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar7")))) (; ";"))) (expression_statement "uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))\n    ;" (assignment_expression "uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))" (identifier "uVar16") (= "=") (call_expression "(*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))" (parenthesized_expression "(*(code *)puVar11)" (( "(") (pointer_expression "*(code *)puVar11" (* "*") (cast_expression "(code *)puVar11" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar11"))) () ")")) (argument_list "(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))" (( "(") (pointer_expression "*(undefined4 *)(iVar27 + 0x38)" (* "*") (cast_expression "(undefined4 *)(iVar27 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x38)" (( "(") (binary_expression "iVar27 + 0x38" (identifier "iVar27") (+ "+") (number_literal "0x38")) () ")")))) (, ",") (number_literal "0x408") (, ",") (pointer_expression "*(undefined4 *)(iVar27 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar27 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x14)" (( "(") (binary_expression "iVar27 + 0x14" (identifier "iVar27") (+ "+") (number_literal "0x14")) () ")")))) () ")")))) (; ";")) (expression_statement "puVar3 = PTR_strlen_0012af3c;" (assignment_expression "puVar3 = PTR_strlen_0012af3c" (identifier "puVar3") (= "=") (identifier "PTR_strlen_0012af3c")) (; ";")) (expression_statement "*(undefined4 *)(iVar27 + 0x38) = uVar16;" (assignment_expression "*(undefined4 *)(iVar27 + 0x38) = uVar16" (pointer_expression "*(undefined4 *)(iVar27 + 0x38)" (* "*") (cast_expression "(undefined4 *)(iVar27 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x38)" (( "(") (binary_expression "iVar27 + 0x38" (identifier "iVar27") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (identifier "uVar16")) (; ";")) (expression_statement "iVar15 = (*(code *)puVar3)(pbVar22);" (assignment_expression "iVar15 = (*(code *)puVar3)(pbVar22)" (identifier "iVar15") (= "=") (call_expression "(*(code *)puVar3)(pbVar22)" (parenthesized_expression "(*(code *)puVar3)" (( "(") (pointer_expression "*(code *)puVar3" (* "*") (cast_expression "(code *)puVar3" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) () ")")) (argument_list "(pbVar22)" (( "(") (identifier "pbVar22") () ")")))) (; ";")) (expression_statement "puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);" (assignment_expression "puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5)" (identifier "puVar18") (= "=") (cast_expression "(undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5)" (parenthesized_expression "(*(code *)puVar5)" (( "(") (pointer_expression "*(code *)puVar5" (* "*") (cast_expression "(code *)puVar5" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar5"))) () ")")) (argument_list "(pbVar22 + -4,iVar15 + 5)" (( "(") (binary_expression "pbVar22 + -4" (identifier "pbVar22") (+ "+") (number_literal "-4")) (, ",") (binary_expression "iVar15 + 5" (identifier "iVar15") (+ "+") (number_literal "5")) () ")"))))) (; ";")) (expression_statement "uVar16 = *(undefined4 *)(iVar27 + 0x18);" (assignment_expression "uVar16 = *(undefined4 *)(iVar27 + 0x18)" (identifier "uVar16") (= "=") (pointer_expression "*(undefined4 *)(iVar27 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar27 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x18)" (( "(") (binary_expression "iVar27 + 0x18" (identifier "iVar27") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "*(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;" (assignment_expression "*(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1" (pointer_expression "*(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" (* "*") (cast_expression "(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4)" (( "(") (binary_expression "*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4" (pointer_expression "*(int *)(iVar27 + 0x38)" (* "*") (cast_expression "(int *)(iVar27 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x38)" (( "(") (binary_expression "iVar27 + 0x38" (identifier "iVar27") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (binary_expression "*(int *)(iVar27 + 0x14) * 4" (pointer_expression "*(int *)(iVar27 + 0x14)" (* "*") (cast_expression "(int *)(iVar27 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x14)" (( "(") (binary_expression "iVar27 + 0x14" (identifier "iVar27") (+ "+") (number_literal "0x14")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (= "=") (binary_expression "puVar18 + 1" (identifier "puVar18") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar18 = uVar16;" (assignment_expression "*puVar18 = uVar16" (pointer_expression "*puVar18" (* "*") (identifier "puVar18")) (= "=") (identifier "uVar16")) (; ";")) (if_statement "if (*(char *)(iVar27 + 0x103) != '\0') {\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }" (if "if") (parenthesized_expression "(*(char *)(iVar27 + 0x103) != '\0')" (( "(") (binary_expression "*(char *)(iVar27 + 0x103) != '\0'" (pointer_expression "*(char *)(iVar27 + 0x103)" (* "*") (cast_expression "(char *)(iVar27 + 0x103)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x103)" (( "(") (binary_expression "iVar27 + 0x103" (identifier "iVar27") (+ "+") (number_literal "0x103")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;\n    }" ({ "{") (expression_statement "*(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;" (assignment_expression "*(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1" (pointer_expression "*(int *)(iVar27 + 0x18)" (* "*") (cast_expression "(int *)(iVar27 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x18)" (( "(") (binary_expression "iVar27 + 0x18" (identifier "iVar27") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "*(int *)(iVar27 + 0x18) + 1" (pointer_expression "*(int *)(iVar27 + 0x18)" (* "*") (cast_expression "(int *)(iVar27 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x18)" (( "(") (binary_expression "iVar27 + 0x18" (identifier "iVar27") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar19 = *(uint *)(iVar27 + 0x14);" (assignment_expression "uVar19 = *(uint *)(iVar27 + 0x14)" (identifier "uVar19") (= "=") (pointer_expression "*(uint *)(iVar27 + 0x14)" (* "*") (cast_expression "(uint *)(iVar27 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x14)" (( "(") (binary_expression "iVar27 + 0x14" (identifier "iVar27") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (0x98967e < uVar19) {\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }" (if "if") (parenthesized_expression "(0x98967e < uVar19)" (( "(") (binary_expression "0x98967e < uVar19" (number_literal "0x98967e") (< "<") (identifier "uVar19")) () ")")) (compound_statement "{\n      *(undefined4 *)(iVar27 + 0x28) = 0;\n      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      goto LAB_000305b0;\n    }" ({ "{") (expression_statement "*(undefined4 *)(iVar27 + 0x28) = 0;" (assignment_expression "*(undefined4 *)(iVar27 + 0x28) = 0" (pointer_expression "*(undefined4 *)(iVar27 + 0x28)" (* "*") (cast_expression "(undefined4 *)(iVar27 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x28)" (( "(") (binary_expression "iVar27 + 0x28" (identifier "iVar27") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);" (assignment_expression "*(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18)" (pointer_expression "*(undefined4 *)(iVar27 + 0x50)" (* "*") (cast_expression "(undefined4 *)(iVar27 + 0x50)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x50)" (( "(") (binary_expression "iVar27 + 0x50" (identifier "iVar27") (+ "+") (number_literal "0x50")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar27 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar27 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x18)" (( "(") (binary_expression "iVar27 + 0x18" (identifier "iVar27") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (goto_statement "goto LAB_000305b0;" (goto "goto") (statement_identifier "LAB_000305b0") (; ";")) (} "}"))) (expression_statement "iVar15 = (*pcVar14)();" (assignment_expression "iVar15 = (*pcVar14)()" (identifier "iVar15") (= "=") (call_expression "(*pcVar14)()" (parenthesized_expression "(*pcVar14)" (( "(") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar15 == 0) {\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }" (if "if") (parenthesized_expression "(iVar15 == 0)" (( "(") (binary_expression "iVar15 == 0" (identifier "iVar15") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar19 = uVar21;\n      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }\n      iVar15 = *(int *)(iVar27 + 0x28);\n      uVar21 = uVar19;\nLAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }\nLAB_000305b0:\n      (*pcVar13)(uVar21);\n      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;\n      return;\n    }" ({ "{") (expression_statement "uVar19 = uVar21;" (assignment_expression "uVar19 = uVar21" (identifier "uVar19") (= "=") (identifier "uVar21")) (; ";")) (if_statement "if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8))" (( "(") (binary_expression "*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)" (pointer_expression "*(int *)(iVar27 + 0xdc)" (* "*") (cast_expression "(int *)(iVar27 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0xdc)" (( "(") (binary_expression "iVar27 + 0xdc" (identifier "iVar27") (+ "+") (number_literal "0xdc")) () ")")))) (<= "<=") (pointer_expression "*(int *)(iVar27 + 0xd8)" (* "*") (cast_expression "(int *)(iVar27 + 0xd8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0xd8)" (( "(") (binary_expression "iVar27 + 0xd8" (identifier "iVar27") (+ "+") (number_literal "0xd8")) () ")"))))) () ")")) (compound_statement "{\n        (*pcVar13)(uVar21);\n        uVar19 = *(uint *)(iVar27 + 0x14);\n        uVar21 = uVar19;\n        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;\n      }" ({ "{") (expression_statement "(*pcVar13)(uVar21);" (call_expression "(*pcVar13)(uVar21)" (parenthesized_expression "(*pcVar13)" (( "(") (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13")) () ")")) (argument_list "(uVar21)" (( "(") (identifier "uVar21") () ")"))) (; ";")) (expression_statement "uVar19 = *(uint *)(iVar27 + 0x14);" (assignment_expression "uVar19 = *(uint *)(iVar27 + 0x14)" (identifier "uVar19") (= "=") (pointer_expression "*(uint *)(iVar27 + 0x14)" (* "*") (cast_expression "(uint *)(iVar27 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x14)" (( "(") (binary_expression "iVar27 + 0x14" (identifier "iVar27") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar21 = uVar19;" (assignment_expression "uVar21 = uVar19" (identifier "uVar21") (= "=") (identifier "uVar19")) (; ";")) (if_statement "if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;" (if "if") (parenthesized_expression "(*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8))" (( "(") (binary_expression "*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)" (pointer_expression "*(int *)(iVar27 + 0xdc)" (* "*") (cast_expression "(int *)(iVar27 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0xdc)" (( "(") (binary_expression "iVar27 + 0xdc" (identifier "iVar27") (+ "+") (number_literal "0xdc")) () ")")))) (<= "<=") (pointer_expression "*(int *)(iVar27 + 0xd8)" (* "*") (cast_expression "(int *)(iVar27 + 0xd8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0xd8)" (( "(") (binary_expression "iVar27 + 0xd8" (identifier "iVar27") (+ "+") (number_literal "0xd8")) () ")"))))) () ")")) (goto_statement "goto LAB_00030680;" (goto "goto") (statement_identifier "LAB_00030680") (; ";"))) (} "}"))) (expression_statement "iVar15 = *(int *)(iVar27 + 0x28);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x28)" (identifier "iVar15") (= "=") (pointer_expression "*(int *)(iVar27 + 0x28)" (* "*") (cast_expression "(int *)(iVar27 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x28)" (( "(") (binary_expression "iVar27 + 0x28" (identifier "iVar27") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "uVar21 = uVar19;" (assignment_expression "uVar21 = uVar19" (identifier "uVar21") (= "=") (identifier "uVar19")) (; ";")) (labeled_statement "LAB_0003065c:\n      if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }" (statement_identifier "LAB_0003065c") (: ":") (if_statement "if (iVar15 < 0) {\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }\n      else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }" (if "if") (parenthesized_expression "(iVar15 < 0)" (( "(") (binary_expression "iVar15 < 0" (identifier "iVar15") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }\n      }" ({ "{") (if_statement "if (**(int **)PTR_DAT_0012a214 == 0xb) {\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }\n        else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }" (if "if") (parenthesized_expression "(**(int **)PTR_DAT_0012a214 == 0xb)" (( "(") (binary_expression "**(int **)PTR_DAT_0012a214 == 0xb" (pointer_expression "**(int **)PTR_DAT_0012a214" (* "*") (pointer_expression "*(int **)PTR_DAT_0012a214" (* "*") (cast_expression "(int **)PTR_DAT_0012a214" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_DAT_0012a214")))) (== "==") (number_literal "0xb")) () ")")) (compound_statement "{\n          *(undefined4 *)(iVar27 + 0x28) = 1;\n        }" ({ "{") (expression_statement "*(undefined4 *)(iVar27 + 0x28) = 1;" (assignment_expression "*(undefined4 *)(iVar27 + 0x28) = 1" (pointer_expression "*(undefined4 *)(iVar27 + 0x28)" (* "*") (cast_expression "(undefined4 *)(iVar27 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x28)" (( "(") (binary_expression "iVar27 + 0x28" (identifier "iVar27") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }" (else "else") (compound_statement "{\n          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);\n        }" ({ "{") (expression_statement "FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);" (call_expression "FUN_00030010(PTR_FUN_0012a1a8 + -0x4770)" (identifier "FUN_00030010") (argument_list "(PTR_FUN_0012a1a8 + -0x4770)" (( "(") (binary_expression "PTR_FUN_0012a1a8 + -0x4770" (identifier "PTR_FUN_0012a1a8") (+ "+") (number_literal "-0x4770")) () ")"))) (; ";")) (} "}")))) (} "}")) (else_clause "else if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }" (else "else") (if_statement "if (iVar15 == 0) {\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }" (if "if") (parenthesized_expression "(iVar15 == 0)" (( "(") (binary_expression "iVar15 == 0" (identifier "iVar15") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);\n      }" ({ "{") (expression_statement "*(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);" (assignment_expression "*(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18)" (pointer_expression "*(undefined4 *)(iVar27 + 0x50)" (* "*") (cast_expression "(undefined4 *)(iVar27 + 0x50)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x50)" (( "(") (binary_expression "iVar27 + 0x50" (identifier "iVar27") (+ "+") (number_literal "0x50")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar27 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar27 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x18)" (( "(") (binary_expression "iVar27 + 0x18" (identifier "iVar27") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (} "}")))))) (labeled_statement "LAB_000305b0:\n      (*pcVar13)(uVar21);" (statement_identifier "LAB_000305b0") (: ":") (expression_statement "(*pcVar13)(uVar21);" (call_expression "(*pcVar13)(uVar21)" (parenthesized_expression "(*pcVar13)" (( "(") (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13")) () ")")) (argument_list "(uVar21)" (( "(") (identifier "uVar21") () ")"))) (; ";"))) (expression_statement "*(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar27 + 0xd8) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar27 + 0xd8)" (* "*") (cast_expression "(undefined4 *)(iVar27 + 0xd8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0xd8)" (( "(") (binary_expression "iVar27 + 0xd8" (identifier "iVar27") (+ "+") (number_literal "0xd8")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "LAB_00030680:\n    iVar15 = *(int *)(iVar27 + 0x28);" (statement_identifier "LAB_00030680") (: ":") (expression_statement "iVar15 = *(int *)(iVar27 + 0x28);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x28)" (identifier "iVar15") (= "=") (pointer_expression "*(int *)(iVar27 + 0x28)" (* "*") (cast_expression "(int *)(iVar27 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x28)" (( "(") (binary_expression "iVar27 + 0x28" (identifier "iVar27") (+ "+") (number_literal "0x28")) () ")"))))) (; ";"))) (if_statement "if (iVar15 < 1) goto LAB_0003065c;" (if "if") (parenthesized_expression "(iVar15 < 1)" (( "(") (binary_expression "iVar15 < 1" (identifier "iVar15") (< "<") (number_literal "1")) () ")")) (goto_statement "goto LAB_0003065c;" (goto "goto") (statement_identifier "LAB_0003065c") (; ";"))) (expression_statement "*(uint *)(iVar27 + 0x14) = uVar19 + 1;" (assignment_expression "*(uint *)(iVar27 + 0x14) = uVar19 + 1" (pointer_expression "*(uint *)(iVar27 + 0x14)" (* "*") (cast_expression "(uint *)(iVar27 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x14)" (( "(") (binary_expression "iVar27 + 0x14" (identifier "iVar27") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "uVar19 + 1" (identifier "uVar19") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar15 = (*(code *)puVar4)(iVar23 + 5);" (assignment_expression "iVar15 = (*(code *)puVar4)(iVar23 + 5)" (identifier "iVar15") (= "=") (call_expression "(*(code *)puVar4)(iVar23 + 5)" (parenthesized_expression "(*(code *)puVar4)" (( "(") (pointer_expression "*(code *)puVar4" (* "*") (cast_expression "(code *)puVar4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar4"))) () ")")) (argument_list "(iVar23 + 5)" (( "(") (binary_expression "iVar23 + 5" (identifier "iVar23") (+ "+") (number_literal "5")) () ")")))) (; ";")) (expression_statement "pbVar22 = (byte *)(iVar15 + 4);" (assignment_expression "pbVar22 = (byte *)(iVar15 + 4)" (identifier "pbVar22") (= "=") (cast_expression "(byte *)(iVar15 + 4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar15 + 4)" (( "(") (binary_expression "iVar15 + 4" (identifier "iVar15") (+ "+") (number_literal "4")) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar27 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(iVar27 + 0x10) = 0" (pointer_expression "*(undefined4 *)(iVar27 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar27 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x10)" (( "(") (binary_expression "iVar27 + 0x10" (identifier "iVar27") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar25 = pbVar22;" (assignment_expression "pbVar25 = pbVar22" (identifier "pbVar25") (= "=") (identifier "pbVar22")) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  int var_1;
  
  if (*(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x14) + 1U < 10000000) {
    var_1 = *(int *)(*(int *)PTR_ptr_to_globals_0012a304 + 0x20);
    if ((*(type_1 *)PTR_option_mask32_0012a334 & 8) != 0) {
      var_1 = var_1 + -8;
    }
                    /* WARNING: Subroutine does not return */
    var_2(var_1 + 5);
  }
  return;
}


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

void MASKED(void)

{
  char cVar1;
  byte bVar2;
  undefined *puVar3;
  undefined *puVar4;
  undefined *puVar5;
  undefined *puVar6;
  undefined *puVar7;
  undefined *puVar8;
  undefined *puVar9;
  undefined *puVar10;
  undefined *puVar11;
  int iVar12;
  code *pcVar13;
  code *pcVar14;
  int iVar15;
  undefined4 uVar16;
  undefined4 uVar17;
  undefined4 *puVar18;
  uint uVar19;
  int iVar20;
  uint uVar21;
  byte *pbVar22;
  int iVar23;
  int iVar24;
  byte *pbVar25;
  int *piVar26;
  int iVar27;
  
  puVar8 = PTR_DAT_0012a334;
  puVar7 = PTR_DAT_0012a304;
  puVar4 = PTR_FUN_0012a230;
  iVar27 = *(int *)PTR_DAT_0012a304;
  uVar21 = *(uint *)(iVar27 + 0x14);
  if (9999999 < uVar21 + 1) {
    return;
  }
  iVar23 = *(int *)(iVar27 + 0x20);
  if ((*(uint *)PTR_DAT_0012a334 & 8) != 0) {
    iVar23 = iVar23 + -8;
  }
  cVar1 = *(char *)(iVar27 + 0x103);
  iVar12 = FUN_0001a1bc();
  pbVar22 = (byte *)(iVar12 + 4);
  if (cVar1 == '\0') {
    iVar12 = *(int *)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4);
    pbVar25 = (byte *)(*(code *)PTR_stpcpy_0012b0d0)(pbVar22,iVar12);
    (*(code *)PTR_free_0012b168)(iVar12 + -4);
  }
  else {
    *(undefined4 *)(iVar27 + 0x10) = 0;
    *(int *)(iVar27 + 0x14) = *(int *)(iVar27 + 0x14) + 1;
    pbVar25 = pbVar22;
  }
  puVar11 = PTR_FUN_0012a3b8;
  puVar10 = PTR_bb_common_bufsiz1_0012a344;
  puVar9 = PTR_FUN_0012a340;
  puVar5 = PTR_FUN_0012a2a4;
  iVar24 = 2;
  iVar12 = 0;
  pcVar13 = (code *)(PTR_LAB_0012a398 + 0x148);
  pcVar14 = (code *)(PTR_LAB_0012a398 + -0x15c);
  do {
    puVar3 = PTR_DAT_0012a214;
    *pbVar25 = 0;
    *(undefined1 *)(iVar27 + 0x103) = 0;
    puVar6 = PTR_FUN_0012a2b4;
    iVar15 = *(int *)(iVar27 + 0x2c);
LAB_0003038c:
    while( true ) {
      if (*(int *)(iVar27 + 0x30) <= iVar15) {
        uVar16 = (*(code *)puVar9)();
        piVar26 = *(int **)puVar3;
        iVar15 = iVar12;
        while( true ) {
          *piVar26 = 0;
          uVar17 = (*(code *)puVar6)(0,puVar10,0x400);
          *(undefined4 *)(iVar27 + 0x28) = uVar17;
          iVar12 = iVar15;
          if ((*piVar26 != 0xb) ||
             ((iVar12 = (*(code *)PTR_time_0012b12c)(0), iVar15 != iVar12 &&
              (iVar24 = iVar24 + -1, iVar24 < 0)))) break;
          (*(code *)PTR_sched_yield_0012aff0)();
          iVar15 = iVar12;
        }
        (*(code *)PTR_fcntl64_0012ae04)(0,4,uVar16);
        *(undefined4 *)(iVar27 + 0x2c) = 0;
        *(int *)(iVar27 + 0x30) = *(int *)(iVar27 + 0x28);
        if (*(int *)(iVar27 + 0x28) < 1) goto LAB_00030510;
        iVar15 = 0;
        iVar24 = 1;
      }
      bVar2 = puVar10[iVar15];
      uVar19 = (uint)bVar2;
      if (uVar19 == 8) break;
      if ((*(uint *)puVar8 & 0x100) == 0) {
        iVar20 = *(int *)(iVar27 + 0x10);
LAB_00030498:
        if (uVar19 != 9) goto LAB_000304e4;
        uVar19 = iVar20 + 8U & 0xfffffff8;
        if ((int)uVar19 <= iVar23) {
          *(uint *)(iVar27 + 0x10) = uVar19;
          *(int *)(iVar27 + 0x2c) = iVar15 + 1;
          goto LAB_000304c0;
        }
        goto LAB_00030510;
      }
      if (uVar19 != 0x1b) {
        if (*(char *)(iVar27 + 0x101) == '\0') {
          iVar20 = *(int *)(iVar27 + 0x10);
        }
        else {
          if ((((uVar19 - 0x30 < 10) || (uVar19 == 0x5b)) || (uVar19 == 0x3b)) || (uVar19 == 0x6d))
          goto LAB_000306e8;
          iVar20 = *(int *)(iVar27 + 0x10);
          *(undefined1 *)(iVar27 + 0x101) = 0;
        }
        goto LAB_00030498;
      }
LAB_000306e8:
      iVar15 = iVar15 + 1;
      *(bool *)(iVar27 + 0x101) = uVar19 != 0x6d;
      *(int *)(iVar27 + 0x2c) = iVar15;
    }
    iVar20 = *(int *)(iVar27 + 0x10);
    if ((iVar20 != 0) && (pbVar25[-1] != 9)) {
      *(int *)(iVar27 + 0x2c) = iVar15 + 1;
      *(int *)(iVar27 + 0x10) = iVar20 + -1;
      pbVar25[-1] = 0;
      iVar15 = *(int *)(iVar27 + 0x2c);
      pbVar25 = pbVar25 + -1;
      goto LAB_0003038c;
    }
    if ((*(uint *)puVar8 & 0x100) != 0) {
      if (*(char *)(iVar27 + 0x101) != '\0') {
        *(undefined1 *)(iVar27 + 0x101) = 0;
      }
      goto LAB_00030498;
    }
LAB_000304e4:
    if (iVar23 < iVar20 + 1) goto LAB_00030510;
    *(int *)(iVar27 + 0x10) = iVar20 + 1;
    *(int *)(iVar27 + 0x2c) = iVar15 + 1;
    if (uVar19 != 10) {
      if (uVar19 == 0) {
        *pbVar25 = 10;
        pbVar25[1] = 0;
        iVar15 = *(int *)(iVar27 + 0x2c);
        pbVar25 = pbVar25 + 1;
      }
      else {
LAB_000304c0:
        *pbVar25 = bVar2;
        pbVar25 = pbVar25 + 1;
        *pbVar25 = 0;
        iVar15 = *(int *)(iVar27 + 0x2c);
      }
      goto LAB_0003038c;
    }
    *(undefined4 *)(iVar27 + 0x10) = 0;
    *(undefined1 *)(iVar27 + 0x103) = 1;
LAB_00030510:
    iVar27 = *(int *)puVar7;
    uVar16 = (*(code *)puVar11)(*(undefined4 *)(iVar27 + 0x38),0x408,*(undefined4 *)(iVar27 + 0x14))
    ;
    puVar3 = PTR_strlen_0012af3c;
    *(undefined4 *)(iVar27 + 0x38) = uVar16;
    iVar15 = (*(code *)puVar3)(pbVar22);
    puVar18 = (undefined4 *)(*(code *)puVar5)(pbVar22 + -4,iVar15 + 5);
    uVar16 = *(undefined4 *)(iVar27 + 0x18);
    *(undefined4 **)(*(int *)(iVar27 + 0x38) + *(int *)(iVar27 + 0x14) * 4) = puVar18 + 1;
    *puVar18 = uVar16;
    if (*(char *)(iVar27 + 0x103) != '\0') {
      *(int *)(iVar27 + 0x18) = *(int *)(iVar27 + 0x18) + 1;
    }
    uVar19 = *(uint *)(iVar27 + 0x14);
    if (0x98967e < uVar19) {
      *(undefined4 *)(iVar27 + 0x28) = 0;
      *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);
      goto LAB_000305b0;
    }
    iVar15 = (*pcVar14)();
    if (iVar15 == 0) {
      uVar19 = uVar21;
      if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) {
        (*pcVar13)(uVar21);
        uVar19 = *(uint *)(iVar27 + 0x14);
        uVar21 = uVar19;
        if (*(int *)(iVar27 + 0xdc) <= *(int *)(iVar27 + 0xd8)) goto LAB_00030680;
      }
      iVar15 = *(int *)(iVar27 + 0x28);
      uVar21 = uVar19;
LAB_0003065c:
      if (iVar15 < 0) {
        if (**(int **)PTR_DAT_0012a214 == 0xb) {
          *(undefined4 *)(iVar27 + 0x28) = 1;
        }
        else {
          FUN_00030010(PTR_FUN_0012a1a8 + -0x4770);
        }
      }
      else if (iVar15 == 0) {
        *(undefined4 *)(iVar27 + 0x50) = *(undefined4 *)(iVar27 + 0x18);
      }
LAB_000305b0:
      (*pcVar13)(uVar21);
      *(undefined4 *)(iVar27 + 0xd8) = 0xffffffff;
      return;
    }
LAB_00030680:
    iVar15 = *(int *)(iVar27 + 0x28);
    if (iVar15 < 1) goto LAB_0003065c;
    *(uint *)(iVar27 + 0x14) = uVar19 + 1;
    iVar15 = (*(code *)puVar4)(iVar23 + 5);
    pbVar22 = (byte *)(iVar15 + 4);
    *(undefined4 *)(iVar27 + 0x10) = 0;
    pbVar25 = pbVar22;
  } while( true );
}

