
/* WARNING: Type propagation algorithm not settling */

int inflate_codes(huft *tl,huft *td,int bl,int bd)

{
  byte bVar1;
  ushort uVar2;
  ushort uVar3;
  ushort uVar4;
  ushort uVar5;
  uint *puVar6;
  undefined *puVar7;
  undefined *puVar8;
  undefined *puVar9;
  undefined *puVar10;
  undefined *puVar11;
  undefined *puVar12;
  uint uVar13;
  uint uVar14;
  undefined1 *puVar15;
  undefined1 *puVar16;
  uint uVar17;
  huft *phVar18;
  uint uVar19;
  uint uVar20;
  uint uVar21;
  uint uVar22;
  
  puVar12 = PTR_outcnt_00036488;
  puVar11 = PTR_inbuf_000363c0;
  puVar9 = PTR_inptr_000363b8;
  puVar8 = PTR_LAB_00036398;
  puVar7 = PTR_DAT_00036388;
  uVar2 = *(ushort *)(PTR_LAB_00036398 + bl * 2 + 0x4e40);
  uVar3 = *(ushort *)(PTR_LAB_00036398 + bd * 2 + 0x4e40);
  uVar20 = *(uint *)(PTR_DAT_00036388 + 0x6d38);
  uVar22 = *(uint *)(PTR_DAT_00036388 + 0x6d34);
  uVar21 = *(uint *)PTR_outcnt_00036488;
  puVar6 = (uint *)PTR_insize_000363bc;
joined_r0x000181cc:
  do {
    for (; PTR_insize_000363bc = (undefined *)puVar6, uVar22 < (uint)bl; uVar22 = uVar22 + 8) {
      uVar19 = *(uint *)puVar9;
      if (uVar19 < *puVar6) {
        uVar17 = (uint)(byte)puVar11[uVar19];
        *(uint *)puVar9 = uVar19 + 1;
      }
      else {
        *(uint *)puVar12 = uVar21;
        uVar17 = fill_inbuf(0);
        uVar17 = uVar17 & 0xff;
      }
      uVar20 = uVar20 | uVar17 << (uVar22 & 0x1f);
      puVar6 = (uint *)PTR_insize_000363bc;
    }
    phVar18 = tl + (uVar20 & uVar2);
    uVar19 = (uint)phVar18->e;
    if (0x10 < uVar19) {
      if (uVar19 == 99) {
        return 1;
      }
      do {
        uVar19 = uVar19 - 0x10;
        uVar22 = uVar22 - phVar18->b;
        uVar20 = uVar20 >> (phVar18->b & 0x1f);
        if (uVar22 < uVar19) {
          do {
            while( true ) {
              uVar17 = uVar22;
              uVar22 = *(uint *)puVar9;
              if (uVar22 < *puVar6) break;
              *(uint *)puVar12 = uVar21;
              uVar22 = fill_inbuf(0);
              uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f);
              uVar22 = uVar17 + 8;
              if (uVar19 <= uVar17 + 8) goto LAB_0001856c;
            }
            uVar20 = uVar20 | (uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f);
            *(uint *)puVar9 = uVar22 + 1;
            uVar22 = uVar17 + 8;
          } while (uVar17 + 8 < uVar19);
LAB_0001856c:
          uVar22 = uVar17 + 8;
        }
        phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar20);
        uVar19 = (uint)phVar18->e;
        if (uVar19 < 0x11) break;
        if (uVar19 == 99) {
          return 1;
        }
      } while( true );
    }
    puVar10 = PTR_insize_000363bc;
    uVar20 = uVar20 >> (phVar18->b & 0x1f);
    uVar22 = uVar22 - phVar18->b;
    if (uVar19 == 0x10) {
      uVar19 = uVar21 + 1;
      PTR_window_0003649c[uVar21] = (char)(phVar18->v).n;
      uVar21 = uVar19;
      puVar6 = (uint *)PTR_insize_000363bc;
      if (uVar19 == 0x8000) {
        *(undefined4 *)puVar12 = 0x8000;
        flush_window();
        uVar21 = 0;
        puVar6 = (uint *)PTR_insize_000363bc;
      }
      goto joined_r0x000181cc;
    }
    if (uVar19 == 0xf) {
      *(uint *)puVar12 = uVar21;
      *(uint *)(puVar7 + 0x6d38) = uVar20;
      *(uint *)(puVar7 + 0x6d34) = uVar22;
      return 0;
    }
    for (; uVar22 < uVar19; uVar22 = uVar22 + 8) {
      while( true ) {
        uVar17 = *(uint *)puVar9;
        if (*(uint *)puVar10 <= uVar17) break;
        uVar13 = uVar22 & 0x1f;
        uVar22 = uVar22 + 8;
        uVar20 = uVar20 | (uint)(byte)puVar11[uVar17] << uVar13;
        *(uint *)puVar9 = uVar17 + 1;
        if (uVar19 <= uVar22) goto LAB_000182f4;
      }
      *(uint *)puVar12 = uVar21;
      uVar17 = fill_inbuf(0);
      uVar20 = uVar20 | (uVar17 & 0xff) << (uVar22 & 0x1f);
    }
LAB_000182f4:
    puVar10 = PTR_insize_000363bc;
    uVar4 = (phVar18->v).n;
    uVar17 = uVar20 >> (uVar19 & 0x1f);
    uVar5 = *(ushort *)(puVar8 + uVar19 * 2 + 0x4e40);
    for (uVar22 = uVar22 - uVar19; uVar22 < (uint)bd; uVar22 = uVar22 + 8) {
      while( true ) {
        uVar19 = *(uint *)puVar9;
        if (uVar19 < *(uint *)puVar10) break;
        *(uint *)puVar12 = uVar21;
        uVar13 = fill_inbuf(0);
        uVar19 = uVar22 & 0x1f;
        uVar22 = uVar22 + 8;
        uVar17 = uVar17 | (uVar13 & 0xff) << uVar19;
        if ((uint)bd <= uVar22) goto LAB_0001839c;
      }
      bVar1 = puVar11[uVar19];
      *(uint *)puVar9 = uVar19 + 1;
      uVar17 = uVar17 | (uint)bVar1 << (uVar22 & 0x1f);
    }
LAB_0001839c:
    puVar10 = PTR_insize_000363bc;
    phVar18 = td + (uVar3 & uVar17);
    bVar1 = phVar18->e;
    puVar6 = (uint *)PTR_insize_000363bc;
    while (uVar19 = (uint)bVar1, PTR_insize_000363bc = (undefined *)puVar6, 0x10 < uVar19) {
      if (uVar19 == 99) {
        return 1;
      }
      uVar19 = uVar19 - 0x10;
      uVar22 = uVar22 - phVar18->b;
      uVar17 = uVar17 >> (phVar18->b & 0x1f);
      if (uVar22 < uVar19) {
        do {
          while( true ) {
            uVar13 = uVar22;
            uVar22 = *(uint *)puVar9;
            if (uVar22 < *(uint *)puVar10) break;
            *(uint *)puVar12 = uVar21;
            uVar22 = fill_inbuf(0);
            uVar17 = uVar17 | (uVar22 & 0xff) << (uVar13 & 0x1f);
            uVar22 = uVar13 + 8;
            if (uVar19 <= uVar13 + 8) goto LAB_00018454;
          }
          uVar17 = uVar17 | (uint)(byte)puVar11[uVar22] << (uVar13 & 0x1f);
          *(uint *)puVar9 = uVar22 + 1;
          uVar22 = uVar13 + 8;
        } while (uVar13 + 8 < uVar19);
LAB_00018454:
        uVar22 = uVar13 + 8;
      }
      phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17);
      puVar6 = (uint *)PTR_insize_000363bc;
      bVar1 = phVar18->e;
    }
    uVar22 = uVar22 - phVar18->b;
    uVar17 = uVar17 >> (phVar18->b & 0x1f);
    if (uVar22 < uVar19) {
      uVar14 = *(uint *)puVar9;
      uVar13 = uVar22;
      while( true ) {
        if (uVar14 < *puVar6) {
          uVar22 = (uint)(byte)puVar11[uVar14] << (uVar13 & 0x1f);
          *(uint *)puVar9 = uVar14 + 1;
        }
        else {
          *(uint *)puVar12 = uVar21;
          uVar22 = fill_inbuf(0);
          uVar22 = (uVar22 & 0xff) << (uVar13 & 0x1f);
        }
        uVar17 = uVar17 | uVar22;
        uVar22 = uVar13 + 8;
        if (uVar19 <= uVar22) break;
        uVar13 = uVar13 + 8;
        uVar14 = *(uint *)puVar9;
      }
    }
    puVar10 = PTR_window_0003649c;
    uVar22 = uVar22 - uVar19;
    uVar13 = uVar5 & uVar20;
    uVar20 = uVar17 >> (uVar19 & 0x1f);
    uVar13 = uVar13 + uVar4;
    uVar19 = (uVar21 - (phVar18->v).n) - (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17);
    do {
      uVar19 = uVar19 & 0x7fff;
      if (uVar21 < uVar19) {
        uVar17 = 0x8000 - uVar19;
        if (uVar13 <= 0x8000 - uVar19) {
          uVar17 = uVar13;
        }
        uVar13 = uVar13 - uVar17;
        if (uVar21 <= uVar19) goto LAB_00018724;
LAB_000186a8:
        if (uVar21 - uVar19 < uVar17) goto LAB_00018738;
LAB_000186bc:
        (*(code *)PTR_memcpy_00036698)(puVar10 + uVar21,puVar10 + uVar19,uVar17);
      }
      else {
        uVar17 = 0x8000 - uVar21;
        if (uVar13 <= 0x8000 - uVar21) {
          uVar17 = uVar13;
        }
        uVar13 = uVar13 - uVar17;
        if (uVar19 < uVar21) goto LAB_000186a8;
LAB_00018724:
        if (uVar17 <= uVar19 - uVar21) goto LAB_000186bc;
LAB_00018738:
        puVar15 = puVar10 + uVar19;
        do {
          puVar16 = puVar15 + 1;
          puVar15[uVar21 - uVar19] = *puVar15;
          puVar15 = puVar16;
        } while (puVar10 + uVar19 + uVar17 != puVar16);
      }
      uVar21 = uVar21 + uVar17;
      uVar19 = uVar17 + uVar19;
      if (uVar21 == 0x8000) {
        *(undefined4 *)puVar12 = 0x8000;
        uVar21 = 0;
        flush_window();
      }
      puVar6 = (uint *)PTR_insize_000363bc;
    } while (uVar13 != 0);
  } while( true );
}



undefined4 FUN_00018120(int param_1,int param_2,uint param_3,uint param_4)

{
  byte bVar1;
  ushort uVar2;
  ushort uVar3;
  ushort uVar4;
  ushort uVar5;
  uint uVar6;
  uint uVar7;
  undefined1 *puVar8;
  undefined1 *puVar9;
  int iVar10;
  uint uVar11;
  int iVar12;
  int iVar13;
  int iVar14;
  uint *puVar15;
  byte *pbVar16;
  uint uVar17;
  uint *puVar18;
  int iVar19;
  uint *puVar20;
  uint uVar21;
  uint uVar22;
  int in_t9;
  code *pcVar23;
  uint uVar24;
  byte *local_54;
  
  iVar13 = *(int *)(in_t9 + 0x1e268);
  iVar12 = *(int *)(in_t9 + 0x1e268);
  iVar10 = *(int *)(in_t9 + 0x1e278) + 0x4e40;
  puVar15 = *(uint **)(write_buf + in_t9);
  uVar2 = *(ushort *)(iVar10 + param_3 * 2);
  uVar3 = *(ushort *)(iVar10 + param_4 * 2);
  puVar18 = *(uint **)(in_t9 + 0x1e298);
  uVar21 = *(uint *)(iVar12 + 0x6d38);
  uVar24 = *(uint *)(iVar13 + 0x6d34);
  uVar22 = *puVar15;
  iVar19 = *(int *)(in_t9 + 0x1e2a0);
LAB_000181c8:
  puVar20 = *(uint **)(in_t9 + 0x1e29c);
  if (param_3 <= uVar24) goto LAB_000181d8;
  goto LAB_00018240;
LAB_000181d8:
  pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8);
  uVar17 = (uint)*pbVar16;
  if (0x10 < uVar17) {
    puVar20 = *(uint **)(in_t9 + 0x1e29c);
    if (uVar17 == 99) {
      return 1;
    }
    do {
      uVar17 = uVar17 - 0x10;
      uVar24 = uVar24 - pbVar16[1];
      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);
      if (uVar24 < uVar17) {
        do {
          while( true ) {
            uVar11 = uVar24;
            uVar24 = *puVar18;
            if (uVar24 < *puVar20) break;
            *puVar15 = uVar22;
            uVar24 = fill_inbuf(0);
            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);
            uVar24 = uVar11 + 8;
            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;
          }
          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);
          *puVar18 = uVar24 + 1;
          uVar24 = uVar11 + 8;
        } while (uVar11 + 8 < uVar17);
LAB_0001856c:
        uVar24 = uVar11 + 8;
      }
      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);
      uVar17 = (uint)*pbVar16;
      if (uVar17 < 0x11) break;
      if (uVar17 == 99) {
        return 1;
      }
    } while( true );
  }
  uVar21 = uVar21 >> (pbVar16[1] & 0x1f);
  uVar24 = uVar24 - pbVar16[1];
  if (uVar17 == 0x10) {
    uVar17 = uVar22 + 1;
    *(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);
    if (uVar17 == 0x8000) {
      uVar22 = 0;
      *puVar15 = 0x8000;
      flush_window();
      goto LAB_000181c8;
    }
    uVar22 = uVar17;
    if (uVar24 < param_3) goto code_r0x0001823c;
    goto LAB_000181d8;
  }
  if (uVar17 == 0xf) {
    *puVar15 = uVar22;
    *(uint *)(iVar12 + 0x6d38) = uVar21;
    *(uint *)(iVar13 + 0x6d34) = uVar24;
    return 0;
  }
  if (uVar24 < uVar17) {
    puVar20 = *(uint **)(in_t9 + 0x1e29c);
    do {
      uVar11 = *puVar18;
      if (uVar11 < *puVar20) {
        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);
        *puVar18 = uVar11 + 1;
      }
      else {
        *puVar15 = uVar22;
        uVar11 = fill_inbuf(0);
        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);
      }
      uVar21 = uVar21 | uVar6;
      uVar24 = uVar24 + 8;
    } while (uVar24 < uVar17);
  }
  uVar4 = *(ushort *)(pbVar16 + 4);
  uVar24 = uVar24 - uVar17;
  uVar11 = uVar21 >> (uVar17 & 0x1f);
  uVar5 = *(ushort *)(iVar10 + uVar17 * 2);
  if (uVar24 < param_4) {
    puVar20 = *(uint **)(in_t9 + 0x1e29c);
    do {
      while( true ) {
        uVar17 = *puVar18;
        if (uVar17 < *puVar20) break;
        *puVar15 = uVar22;
        uVar6 = fill_inbuf(0);
        uVar17 = uVar24 & 0x1f;
        uVar24 = uVar24 + 8;
        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;
        if (param_4 <= uVar24) goto LAB_0001839c;
      }
      bVar1 = *(byte *)(iVar19 + uVar17);
      *puVar18 = uVar17 + 1;
      uVar17 = uVar24 & 0x1f;
      uVar24 = uVar24 + 8;
      uVar11 = uVar11 | (uint)bVar1 << uVar17;
    } while (uVar24 < param_4);
  }
LAB_0001839c:
  local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8);
  uVar17 = (uint)*local_54;
  if (0x10 < uVar17) {
    puVar20 = *(uint **)(in_t9 + 0x1e29c);
    do {
      if (uVar17 == 99) {
        return 1;
      }
      uVar17 = uVar17 - 0x10;
      uVar24 = uVar24 - local_54[1];
      uVar11 = uVar11 >> (local_54[1] & 0x1f);
      if (uVar24 < uVar17) {
        do {
          while( true ) {
            uVar6 = uVar24;
            uVar24 = *puVar18;
            if (uVar24 < *puVar20) break;
            *puVar15 = uVar22;
            uVar24 = fill_inbuf(0);
            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);
            uVar24 = uVar6 + 8;
            if (uVar17 <= uVar6 + 8) goto LAB_00018454;
          }
          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);
          *puVar18 = uVar24 + 1;
          uVar24 = uVar6 + 8;
        } while (uVar6 + 8 < uVar17);
LAB_00018454:
        uVar24 = uVar6 + 8;
      }
      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);
      uVar17 = (uint)*local_54;
    } while (0x10 < uVar17);
  }
  uVar24 = uVar24 - local_54[1];
  uVar11 = uVar11 >> (local_54[1] & 0x1f);
  puVar20 = *(uint **)(in_t9 + 0x1e29c);
  if (uVar24 < uVar17) {
    uVar7 = *puVar18;
    uVar6 = uVar24;
    while( true ) {
      if (uVar7 < *puVar20) {
        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);
        *puVar18 = uVar7 + 1;
      }
      else {
        *puVar15 = uVar22;
        uVar24 = fill_inbuf(0);
        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);
      }
      uVar11 = uVar11 | uVar24;
      uVar24 = uVar6 + 8;
      if (uVar17 <= uVar24) break;
      uVar6 = uVar6 + 8;
      uVar7 = *puVar18;
    }
  }
  iVar14 = *(int *)(in_t9 + 0x1e37c);
  uVar24 = uVar24 - uVar17;
  uVar6 = uVar5 & uVar21;
  uVar21 = uVar11 >> (uVar17 & 0x1f);
  uVar6 = uVar6 + uVar4;
  uVar17 = (uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11);
  do {
    uVar17 = uVar17 & 0x7fff;
    if (uVar22 < uVar17) {
      uVar11 = 0x8000 - uVar17;
      if (uVar6 <= 0x8000 - uVar17) {
        uVar11 = uVar6;
      }
      uVar6 = uVar6 - uVar11;
      if (uVar17 < uVar22) goto LAB_000186a8;
LAB_00018724:
      pcVar23 = *(code **)(in_t9 + 0x1e578);
      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;
LAB_000186bc:
      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);
    }
    else {
      uVar11 = 0x8000 - uVar22;
      if (uVar6 <= 0x8000 - uVar22) {
        uVar11 = uVar6;
      }
      uVar6 = uVar6 - uVar11;
      if (uVar22 <= uVar17) goto LAB_00018724;
LAB_000186a8:
      if (uVar11 <= uVar22 - uVar17) {
        pcVar23 = *(code **)(in_t9 + 0x1e578);
        goto LAB_000186bc;
      }
LAB_00018738:
      puVar8 = (undefined1 *)(iVar14 + uVar17);
      do {
        puVar9 = puVar8 + 1;
        puVar8[uVar22 - uVar17] = *puVar8;
        puVar8 = puVar9;
      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);
    }
    uVar22 = uVar22 + uVar11;
    uVar17 = uVar11 + uVar17;
    if (uVar22 == 0x8000) {
      *puVar15 = 0x8000;
      uVar22 = 0;
      flush_window();
    }
  } while (uVar6 != 0);
  goto LAB_000181c8;
code_r0x0001823c:
  puVar20 = *(uint **)(in_t9 + 0x1e29c);
LAB_00018240:
  uVar17 = *puVar18;
  if (uVar17 < *puVar20) {
    uVar11 = (uint)*(byte *)(iVar19 + uVar17);
    *puVar18 = uVar17 + 1;
  }
  else {
    *puVar15 = uVar22;
    uVar11 = fill_inbuf(0);
    uVar11 = uVar11 & 0xff;
  }
  uVar17 = uVar24 & 0x1f;
  uVar24 = uVar24 + 8;
  uVar21 = uVar21 | uVar11 << uVar17;
  goto LAB_000181c8;
}


lui gp,0x2
addiu gp,gp,0x6240
addu gp,gp,t9
addiu sp,sp,-0x70
lw t0,-0x7fd8(gp)
sw a3,0x7c(sp)
sw s2,0x50(sp)
sw a2,0x78(sp)
sll a2,a2,0x1
lw s2,-0x7fc8(gp)
lw v0,0x7c(sp)
lw a3,-0x7fd8(gp)
addiu v1,s2,0x4e40
sw s0,0x48(sp)
sll v0,v0,0x1
sw s8,0x68(sp)
sw v1,0x20(sp)
addu a2,v1,a2
addu v0,v1,v0
sw s7,0x64(sp)
sw s6,0x60(sp)
sw s4,0x58(sp)
sw s3,0x54(sp)
lw s0,-0x7ed8(gp)
lhu v1,0x0(a2)
lhu v0,0x0(v0)
lw s3,-0x7fa8(gp)
lw s6,0x6d38(a3)
lw s8,0x6d34(t0)
lw s7,0x0(s0)
lw s4,-0x7fa0(gp)
sw gp,0x10(sp)
sw ra,0x6c(sp)
sw s5,0x5c(sp)
sw s1,0x4c(sp)
sw a3,0x40(sp)
sw t0,0x44(sp)
sw a0,0x70(sp)
sw a1,0x74(sp)
sw v1,0x30(sp)
sw v0,0x3c(sp)
lw v0,0x78(sp)
sltu v0,s8,v0
bne v0,zero,0x00018240
_lw s5,-0x7fa4(gp)
lw v0,0x30(sp)
and s1,s6,v0
lw v0,0x70(sp)
sll s1,s1,0x3
addu s1,v0,s1
lbu s2,0x0(s1)
sltiu v0,s2,0x11
beq v0,zero,0x000184e0
_li v0,0x63
lbu v0,0x1(s1)
li a0,0x10
srlv s6,s6,v0
bne s2,a0,0x00018274
_subu s8,s8,v0
lw t1,-0x7ec4(gp)
addiu v0,s7,0x1
lhu a1,0x4(s1)
ori a0,zero,0x8000
addu t1,t1,s7
beq v0,a0,0x0001878c
_sb a1,0x0(t1)
or s7,v0,zero
lw v0,0x78(sp)
sltu v0,s8,v0
beq v0,zero,0x000181d8
_lw v0,0x30(sp)
lw s5,-0x7fa4(gp)
lw v0,0x0(s3)
lw a0,0x0(s5)
sltu a0,v0,a0
beq a0,zero,0x000184c8
_lw t9,-0x7f9c(gp)
addu a0,s4,v0
addiu v0,v0,0x1
lbu a0,0x0(a0)
sw v0,0x0(s3)
sllv v0,a0,s8
addiu s8,s8,0x8
b 0x000181c4
_or s6,s6,v0
li v0,0xf
beq s2,v0,0x000187a4
_lw v1,0x40(sp)
sltu v0,s8,s2
beq v0,zero,0x000182f4
_nop
b 0x000182b0
_lw s5,-0x7fa4(gp)
lbu v0,0x0(t3)
sllv v0,v0,s8
addiu s8,s8,0x8
or s6,s6,v0
sltu v0,s8,s2
beq v0,zero,0x000182f4
_sw a1,0x0(s3)
lw v0,0x0(s3)
lw a0,0x0(s5)
addu t3,s4,v0
addiu a1,v0,0x1
sltu v0,v0,a0
bne v0,zero,0x00018294
_lw t9,-0x7f9c(gp)
or a0,zero,zero
bal 0x0001e6c8
_sw s7,0x0(s0)
andi v0,v0,0xff
sllv v0,v0,s8
addiu s8,s8,0x8
or s6,s6,v0
sltu v0,s8,s2
bne v0,zero,0x000182b0
_lw gp,0x10(sp)
lhu v1,0x4(s1)
sll v0,s2,0x1
subu s8,s8,s2
srlv s2,s6,s2
sw v1,0x34(sp)
lw v1,0x20(sp)
addu v0,v1,v0
lw v1,0x7c(sp)
lhu v0,0x0(v0)
sltu v1,s8,v1
beq v1,zero,0x00018398
_sw v0,0x38(sp)
b 0x00018350
_lw s5,-0x7fa4(gp)
lbu v0,0x0(t3)
sw a0,0x0(s3)
sllv v0,v0,s8
addiu s8,s8,0x8
or s2,s2,v0
lw v0,0x7c(sp)
sltu v0,s8,v0
beq v0,zero,0x0001839c
_lw v0,0x3c(sp)
lw v0,0x0(s3)
lw v1,0x0(s5)
addu t3,s4,v0
addiu a0,v0,0x1
sltu v0,v0,v1
bne v0,zero,0x0001832c
_lw t9,-0x7f9c(gp)
or a0,zero,zero
bal 0x0001e6c8
_sw s7,0x0(s0)
andi v0,v0,0xff
sllv v0,v0,s8
addiu s8,s8,0x8
or s2,s2,v0
lw v0,0x7c(sp)
sltu v0,s8,v0
bne v0,zero,0x00018350
_lw gp,0x10(sp)
lw v0,0x3c(sp)
and s1,v0,s2
lw v0,0x74(sp)
sll s1,s1,0x3
addu v0,v0,s1
sw v0,0x1c(sp)
lbu v1,0x0(v0)
sltiu v0,v1,0x11
bne v0,zero,0x000185b0
_lw v0,0x1c(sp)
li v0,0x63
beq v1,v0,0x00018494
_lw s5,-0x7fa4(gp)
lw v0,0x1c(sp)
addiu s1,v1,-0x10
lbu v0,0x1(v0)
subu s8,s8,v0
srlv s2,s2,v0
sltu v0,s8,s1
bne v0,zero,0x00018410
_lw v0,0x1c(sp)
b 0x0001845c
_sll v1,s1,0x1
lbu v0,0x0(t5)
sllv v0,v0,s8
addiu s8,s8,0x8
or s2,s2,v0
sltu v0,s8,s1
beq v0,zero,0x00018454
_sw t4,0x0(s3)
lw v0,0x0(s3)
lw a0,0x0(s5)
addu t5,s4,v0
addiu t4,v0,0x1
sltu v0,v0,a0
bne v0,zero,0x000183f4
_lw t9,-0x7f9c(gp)
or a0,zero,zero
bal 0x0001e6c8
_sw s7,0x0(s0)
andi v0,v0,0xff
sllv v0,v0,s8
addiu s8,s8,0x8
or s2,s2,v0
sltu v0,s8,s1
bne v0,zero,0x00018410
_lw gp,0x10(sp)
lw v0,0x1c(sp)
sll v1,s1,0x1
lw s1,0x4(v0)
lw v0,0x20(sp)
addu v1,v0,v1
lhu v0,0x0(v1)
and v0,v0,s2
sll v0,v0,0x3
addu v0,s1,v0
sw v0,0x1c(sp)
lbu v1,0x0(v0)
sltiu v0,v1,0x11
bne v0,zero,0x000185ac
_li v0,0x63
bne v1,v0,0x000183d0
_lw v0,0x1c(sp)
li v0,0x1
lw ra,0x6c(sp)
lw s8,0x68(sp)
lw s7,0x64(sp)
lw s6,0x60(sp)
lw s5,0x5c(sp)
lw s4,0x58(sp)
lw s3,0x54(sp)
lw s2,0x50(sp)
lw s1,0x4c(sp)
lw s0,0x48(sp)
jr ra
_addiu sp,sp,0x70
or a0,zero,zero
bal 0x0001e6c8
_sw s7,0x0(s0)
lw gp,0x10(sp)
b 0x00018264
_andi a0,v0,0xff
beq s2,v0,0x00018494
_lw s5,-0x7fa4(gp)
lbu v0,0x1(s1)
addiu s2,s2,-0x10
subu s8,s8,v0
srlv s6,s6,v0
sltu v0,s8,s2
bne v0,zero,0x00018528
_lw v0,0x20(sp)
b 0x00018574
_sll a2,s2,0x1
lbu v0,0x0(t4)
sllv v0,v0,s8
addiu s8,s8,0x8
or s6,s6,v0
sltu v0,s8,s2
beq v0,zero,0x0001856c
_sw t3,0x0(s3)
lw v0,0x0(s3)
lw a0,0x0(s5)
addu t4,s4,v0
addiu t3,v0,0x1
sltu v0,v0,a0
bne v0,zero,0x0001850c
_lw t9,-0x7f9c(gp)
or a0,zero,zero
bal 0x0001e6c8
_sw s7,0x0(s0)
andi v0,v0,0xff
sllv v0,v0,s8
addiu s8,s8,0x8
or s6,s6,v0
sltu v0,s8,s2
bne v0,zero,0x00018528
_lw gp,0x10(sp)
lw v0,0x20(sp)
sll a2,s2,0x1
lw s1,0x4(s1)
addu a2,v0,a2
lhu v0,0x0(a2)
and v0,v0,s6
sll v0,v0,0x3
addu s1,s1,v0
lbu s2,0x0(s1)
sltiu v0,s2,0x11
bne v0,zero,0x000181f8
_li v0,0x63
bne s2,v0,0x000184e8
_li v0,0x1
b 0x0001849c
_lw ra,0x6c(sp)
lw v0,0x1c(sp)
lbu v0,0x1(v0)
subu a1,s8,v0
srlv a2,s2,v0
sltu v0,a1,v1
beq v0,zero,0x00018648
_lw s5,-0x7fa4(gp)
b 0x000185f0
_lw v0,0x0(s3)
lbu v0,0x0(t4)
sllv v0,v0,a1
addiu a1,a1,0x8
or a2,a2,v0
sltu v0,a1,v1
beq v0,zero,0x00018648
_sw t3,0x0(s3)
lw v0,0x0(s3)
lw a0,0x0(s5)
addu t4,s4,v0
addiu t3,v0,0x1
sltu v0,v0,a0
bne v0,zero,0x000185d0
_lw t9,-0x7f9c(gp)
or a0,zero,zero
sw a1,0x2c(sp)
sw a2,0x28(sp)
sw v1,0x24(sp)
bal 0x0001e6c8
_sw s7,0x0(s0)
lw a1,0x2c(sp)
andi v0,v0,0xff
lw a2,0x28(sp)
lw v1,0x24(sp)
sllv v0,v0,a1
addiu a1,a1,0x8
or a2,a2,v0
sltu v0,a1,v1
bne v0,zero,0x000185ec
_lw gp,0x10(sp)
lw a0,0x1c(sp)
sll v0,v1,0x1
lw t1,-0x7ec4(gp)
subu s8,a1,v1
ori t5,zero,0x8000
lhu s1,0x4(a0)
lw a0,0x38(sp)
subu s1,s7,s1
and t0,a0,s6
lw a0,0x20(sp)
srlv s6,a2,v1
addu v0,a0,v0
lw a0,0x34(sp)
lhu v0,0x0(v0)
addu t0,t0,a0
and a2,v0,a2
b 0x000186f8
_subu s1,s1,a2
sltu s5,v0,t0
movz v0,t0,s5
or s5,v0,zero
sltu v0,s1,s7
beq v0,zero,0x00018724
_subu t0,t0,s5
subu v0,s7,s1
sltu v0,v0,s5
bne v0,zero,0x00018738
_addu v0,t1,s1
lw t9,-0x7cc8(gp)
addu a0,t1,s7
addu a1,t1,s1
sw t0,0x24(sp)
sw t1,0x1c(sp)
jalr t9
_or a2,s5,zero
addu s7,s7,s5
ori t5,zero,0x8000
lw gp,0x10(sp)
addu s1,s5,s1
lw t1,0x1c(sp)
beq s7,t5,0x00018760
_lw t0,0x24(sp)
beq t0,zero,0x000181c8
_lw v0,0x78(sp)
andi s1,s1,0x7fff
sltu v0,s7,s1
bne v0,zero,0x00018690
_subu v0,t5,s1
subu v0,t5,s7
sltu s5,v0,t0
movz v0,t0,s5
or s5,v0,zero
sltu v0,s1,s7
bne v0,zero,0x000186a8
_subu t0,t0,s5
subu v0,s1,s7
sltu v0,v0,s5
beq v0,zero,0x000186bc
_lw t9,-0x7cc8(gp)
addu v0,t1,s1
addu a2,v0,s5
subu a0,v0,s1
lbu a1,0x0(v0)
addiu v0,v0,0x1
addu a0,a0,s7
bne a2,v0,0x0001873c
_sb a1,0x0(a0)
addu s7,s7,s5
bne s7,t5,0x000186f0
_addu s1,s5,s1
lw t9,-0x7ea0(gp)
sw t1,0x24(sp)
sw t0,0x1c(sp)
sw s7,0x0(s0)
bal 0x0001e5fc
_or s7,zero,zero
ori t5,zero,0x8000
lw gp,0x10(sp)
lw t1,0x24(sp)
b 0x000186f0
_lw t0,0x1c(sp)
lw t9,-0x7ea0(gp)
or s7,zero,zero
bal 0x0001e5fc
_sw v0,0x0(s0)
b 0x000181c4
_lw gp,0x10(sp)
or v0,zero,zero
sw s7,0x0(s0)
sw s6,0x6d38(v1)
lw v1,0x44(sp)
b 0x00018498
_sw s8,0x6d34(v1)
(translation_unit "undefined4 FUN_00018120(int param_1,int param_2,uint param_3,uint param_4)\n\n{\n  byte bVar1;\n  ushort uVar2;\n  ushort uVar3;\n  ushort uVar4;\n  ushort uVar5;\n  uint uVar6;\n  uint uVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int iVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint *puVar15;\n  byte *pbVar16;\n  uint uVar17;\n  uint *puVar18;\n  int iVar19;\n  uint *puVar20;\n  uint uVar21;\n  uint uVar22;\n  int in_t9;\n  code *pcVar23;\n  uint uVar24;\n  byte *local_54;\n  \n  iVar13 = *(int *)(in_t9 + 0x1e268);\n  iVar12 = *(int *)(in_t9 + 0x1e268);\n  iVar10 = *(int *)(in_t9 + 0x1e278) + 0x4e40;\n  puVar15 = *(uint **)(write_buf + in_t9);\n  uVar2 = *(ushort *)(iVar10 + param_3 * 2);\n  uVar3 = *(ushort *)(iVar10 + param_4 * 2);\n  puVar18 = *(uint **)(in_t9 + 0x1e298);\n  uVar21 = *(uint *)(iVar12 + 0x6d38);\n  uVar24 = *(uint *)(iVar13 + 0x6d34);\n  uVar22 = *puVar15;\n  iVar19 = *(int *)(in_t9 + 0x1e2a0);\nLAB_000181c8:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\n  if (param_3 <= uVar24) goto LAB_000181d8;\n  goto LAB_00018240;\nLAB_000181d8:\n  pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8);\n  uVar17 = (uint)*pbVar16;\n  if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    if (uVar17 == 99) {\n      return 1;\n    }\n    do {\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    } while( true );\n  }\n  uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n  uVar24 = uVar24 - pbVar16[1];\n  if (uVar17 == 0x10) {\n    uVar17 = uVar22 + 1;\n    *(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);\n    if (uVar17 == 0x8000) {\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }\n    uVar22 = uVar17;\n    if (uVar24 < param_3) goto code_r0x0001823c;\n    goto LAB_000181d8;\n  }\n  if (uVar17 == 0xf) {\n    *puVar15 = uVar22;\n    *(uint *)(iVar12 + 0x6d38) = uVar21;\n    *(uint *)(iVar13 + 0x6d34) = uVar24;\n    return 0;\n  }\n  if (uVar24 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    } while (uVar24 < uVar17);\n  }\n  uVar4 = *(ushort *)(pbVar16 + 4);\n  uVar24 = uVar24 - uVar17;\n  uVar11 = uVar21 >> (uVar17 & 0x1f);\n  uVar5 = *(ushort *)(iVar10 + uVar17 * 2);\n  if (uVar24 < param_4) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    } while (uVar24 < param_4);\n  }\nLAB_0001839c:\n  local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8);\n  uVar17 = (uint)*local_54;\n  if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    } while (0x10 < uVar17);\n  }\n  uVar24 = uVar24 - local_54[1];\n  uVar11 = uVar11 >> (local_54[1] & 0x1f);\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\n  if (uVar24 < uVar17) {\n    uVar7 = *puVar18;\n    uVar6 = uVar24;\n    while( true ) {\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }\n  }\n  iVar14 = *(int *)(in_t9 + 0x1e37c);\n  uVar24 = uVar24 - uVar17;\n  uVar6 = uVar5 & uVar21;\n  uVar21 = uVar11 >> (uVar17 & 0x1f);\n  uVar6 = uVar6 + uVar4;\n  uVar17 = (uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11);\n  do {\n    uVar17 = uVar17 & 0x7fff;\n    if (uVar22 < uVar17) {\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }\n    else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }\n    uVar22 = uVar22 + uVar11;\n    uVar17 = uVar11 + uVar17;\n    if (uVar22 == 0x8000) {\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }\n  } while (uVar6 != 0);\n  goto LAB_000181c8;\ncode_r0x0001823c:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\nLAB_00018240:\n  uVar17 = *puVar18;\n  if (uVar17 < *puVar20) {\n    uVar11 = (uint)*(byte *)(iVar19 + uVar17);\n    *puVar18 = uVar17 + 1;\n  }\n  else {\n    *puVar15 = uVar22;\n    uVar11 = fill_inbuf(0);\n    uVar11 = uVar11 & 0xff;\n  }\n  uVar17 = uVar24 & 0x1f;\n  uVar24 = uVar24 + 8;\n  uVar21 = uVar21 | uVar11 << uVar17;\n  goto LAB_000181c8;\n}\n\n" (function_definition "undefined4 FUN_00018120(int param_1,int param_2,uint param_3,uint param_4)\n\n{\n  byte bVar1;\n  ushort uVar2;\n  ushort uVar3;\n  ushort uVar4;\n  ushort uVar5;\n  uint uVar6;\n  uint uVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int iVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint *puVar15;\n  byte *pbVar16;\n  uint uVar17;\n  uint *puVar18;\n  int iVar19;\n  uint *puVar20;\n  uint uVar21;\n  uint uVar22;\n  int in_t9;\n  code *pcVar23;\n  uint uVar24;\n  byte *local_54;\n  \n  iVar13 = *(int *)(in_t9 + 0x1e268);\n  iVar12 = *(int *)(in_t9 + 0x1e268);\n  iVar10 = *(int *)(in_t9 + 0x1e278) + 0x4e40;\n  puVar15 = *(uint **)(write_buf + in_t9);\n  uVar2 = *(ushort *)(iVar10 + param_3 * 2);\n  uVar3 = *(ushort *)(iVar10 + param_4 * 2);\n  puVar18 = *(uint **)(in_t9 + 0x1e298);\n  uVar21 = *(uint *)(iVar12 + 0x6d38);\n  uVar24 = *(uint *)(iVar13 + 0x6d34);\n  uVar22 = *puVar15;\n  iVar19 = *(int *)(in_t9 + 0x1e2a0);\nLAB_000181c8:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\n  if (param_3 <= uVar24) goto LAB_000181d8;\n  goto LAB_00018240;\nLAB_000181d8:\n  pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8);\n  uVar17 = (uint)*pbVar16;\n  if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    if (uVar17 == 99) {\n      return 1;\n    }\n    do {\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    } while( true );\n  }\n  uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n  uVar24 = uVar24 - pbVar16[1];\n  if (uVar17 == 0x10) {\n    uVar17 = uVar22 + 1;\n    *(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);\n    if (uVar17 == 0x8000) {\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }\n    uVar22 = uVar17;\n    if (uVar24 < param_3) goto code_r0x0001823c;\n    goto LAB_000181d8;\n  }\n  if (uVar17 == 0xf) {\n    *puVar15 = uVar22;\n    *(uint *)(iVar12 + 0x6d38) = uVar21;\n    *(uint *)(iVar13 + 0x6d34) = uVar24;\n    return 0;\n  }\n  if (uVar24 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    } while (uVar24 < uVar17);\n  }\n  uVar4 = *(ushort *)(pbVar16 + 4);\n  uVar24 = uVar24 - uVar17;\n  uVar11 = uVar21 >> (uVar17 & 0x1f);\n  uVar5 = *(ushort *)(iVar10 + uVar17 * 2);\n  if (uVar24 < param_4) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    } while (uVar24 < param_4);\n  }\nLAB_0001839c:\n  local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8);\n  uVar17 = (uint)*local_54;\n  if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    } while (0x10 < uVar17);\n  }\n  uVar24 = uVar24 - local_54[1];\n  uVar11 = uVar11 >> (local_54[1] & 0x1f);\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\n  if (uVar24 < uVar17) {\n    uVar7 = *puVar18;\n    uVar6 = uVar24;\n    while( true ) {\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }\n  }\n  iVar14 = *(int *)(in_t9 + 0x1e37c);\n  uVar24 = uVar24 - uVar17;\n  uVar6 = uVar5 & uVar21;\n  uVar21 = uVar11 >> (uVar17 & 0x1f);\n  uVar6 = uVar6 + uVar4;\n  uVar17 = (uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11);\n  do {\n    uVar17 = uVar17 & 0x7fff;\n    if (uVar22 < uVar17) {\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }\n    else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }\n    uVar22 = uVar22 + uVar11;\n    uVar17 = uVar11 + uVar17;\n    if (uVar22 == 0x8000) {\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }\n  } while (uVar6 != 0);\n  goto LAB_000181c8;\ncode_r0x0001823c:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\nLAB_00018240:\n  uVar17 = *puVar18;\n  if (uVar17 < *puVar20) {\n    uVar11 = (uint)*(byte *)(iVar19 + uVar17);\n    *puVar18 = uVar17 + 1;\n  }\n  else {\n    *puVar15 = uVar22;\n    uVar11 = fill_inbuf(0);\n    uVar11 = uVar11 & 0xff;\n  }\n  uVar17 = uVar24 & 0x1f;\n  uVar24 = uVar24 + 8;\n  uVar21 = uVar21 | uVar11 << uVar17;\n  goto LAB_000181c8;\n}" type_identifier (function_declarator "FUN_00018120(int param_1,int param_2,uint param_3,uint param_4)" identifier (parameter_list "(int param_1,int param_2,uint param_3,uint param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  ushort uVar2;\n  ushort uVar3;\n  ushort uVar4;\n  ushort uVar5;\n  uint uVar6;\n  uint uVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int iVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint *puVar15;\n  byte *pbVar16;\n  uint uVar17;\n  uint *puVar18;\n  int iVar19;\n  uint *puVar20;\n  uint uVar21;\n  uint uVar22;\n  int in_t9;\n  code *pcVar23;\n  uint uVar24;\n  byte *local_54;\n  \n  iVar13 = *(int *)(in_t9 + 0x1e268);\n  iVar12 = *(int *)(in_t9 + 0x1e268);\n  iVar10 = *(int *)(in_t9 + 0x1e278) + 0x4e40;\n  puVar15 = *(uint **)(write_buf + in_t9);\n  uVar2 = *(ushort *)(iVar10 + param_3 * 2);\n  uVar3 = *(ushort *)(iVar10 + param_4 * 2);\n  puVar18 = *(uint **)(in_t9 + 0x1e298);\n  uVar21 = *(uint *)(iVar12 + 0x6d38);\n  uVar24 = *(uint *)(iVar13 + 0x6d34);\n  uVar22 = *puVar15;\n  iVar19 = *(int *)(in_t9 + 0x1e2a0);\nLAB_000181c8:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\n  if (param_3 <= uVar24) goto LAB_000181d8;\n  goto LAB_00018240;\nLAB_000181d8:\n  pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8);\n  uVar17 = (uint)*pbVar16;\n  if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    if (uVar17 == 99) {\n      return 1;\n    }\n    do {\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    } while( true );\n  }\n  uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n  uVar24 = uVar24 - pbVar16[1];\n  if (uVar17 == 0x10) {\n    uVar17 = uVar22 + 1;\n    *(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);\n    if (uVar17 == 0x8000) {\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }\n    uVar22 = uVar17;\n    if (uVar24 < param_3) goto code_r0x0001823c;\n    goto LAB_000181d8;\n  }\n  if (uVar17 == 0xf) {\n    *puVar15 = uVar22;\n    *(uint *)(iVar12 + 0x6d38) = uVar21;\n    *(uint *)(iVar13 + 0x6d34) = uVar24;\n    return 0;\n  }\n  if (uVar24 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    } while (uVar24 < uVar17);\n  }\n  uVar4 = *(ushort *)(pbVar16 + 4);\n  uVar24 = uVar24 - uVar17;\n  uVar11 = uVar21 >> (uVar17 & 0x1f);\n  uVar5 = *(ushort *)(iVar10 + uVar17 * 2);\n  if (uVar24 < param_4) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    } while (uVar24 < param_4);\n  }\nLAB_0001839c:\n  local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8);\n  uVar17 = (uint)*local_54;\n  if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    } while (0x10 < uVar17);\n  }\n  uVar24 = uVar24 - local_54[1];\n  uVar11 = uVar11 >> (local_54[1] & 0x1f);\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\n  if (uVar24 < uVar17) {\n    uVar7 = *puVar18;\n    uVar6 = uVar24;\n    while( true ) {\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }\n  }\n  iVar14 = *(int *)(in_t9 + 0x1e37c);\n  uVar24 = uVar24 - uVar17;\n  uVar6 = uVar5 & uVar21;\n  uVar21 = uVar11 >> (uVar17 & 0x1f);\n  uVar6 = uVar6 + uVar4;\n  uVar17 = (uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11);\n  do {\n    uVar17 = uVar17 & 0x7fff;\n    if (uVar22 < uVar17) {\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }\n    else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }\n    uVar22 = uVar22 + uVar11;\n    uVar17 = uVar11 + uVar17;\n    if (uVar22 == 0x8000) {\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }\n  } while (uVar6 != 0);\n  goto LAB_000181c8;\ncode_r0x0001823c:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\nLAB_00018240:\n  uVar17 = *puVar18;\n  if (uVar17 < *puVar20) {\n    uVar11 = (uint)*(byte *)(iVar19 + uVar17);\n    *puVar18 = uVar17 + 1;\n  }\n  else {\n    *puVar15 = uVar22;\n    uVar11 = fill_inbuf(0);\n    uVar11 = uVar11 & 0xff;\n  }\n  uVar17 = uVar24 & 0x1f;\n  uVar24 = uVar24 + 8;\n  uVar21 = uVar21 | uVar11 << uVar17;\n  goto LAB_000181c8;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "ushort uVar3;" type_identifier identifier ;) (declaration "ushort uVar4;" type_identifier identifier ;) (declaration "ushort uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "uint *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "byte *pbVar16;" type_identifier (pointer_declarator "*pbVar16" * identifier) ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "uint *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "uint *puVar20;" type_identifier (pointer_declarator "*puVar20" * identifier) ;) (declaration "uint uVar21;" type_identifier identifier ;) (declaration "uint uVar22;" type_identifier identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar23;" type_identifier (pointer_declarator "*pcVar23" * identifier) ;) (declaration "uint uVar24;" type_identifier identifier ;) (declaration "byte *local_54;" type_identifier (pointer_declarator "*local_54" * identifier) ;) (expression_statement "iVar13 = *(int *)(in_t9 + 0x1e268);" (assignment_expression "iVar13 = *(int *)(in_t9 + 0x1e268)" identifier = (pointer_expression "*(int *)(in_t9 + 0x1e268)" * (cast_expression "(int *)(in_t9 + 0x1e268)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x1e268)" ( (binary_expression "in_t9 + 0x1e268" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = *(int *)(in_t9 + 0x1e268);" (assignment_expression "iVar12 = *(int *)(in_t9 + 0x1e268)" identifier = (pointer_expression "*(int *)(in_t9 + 0x1e268)" * (cast_expression "(int *)(in_t9 + 0x1e268)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x1e268)" ( (binary_expression "in_t9 + 0x1e268" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(in_t9 + 0x1e278) + 0x4e40;" (assignment_expression "iVar10 = *(int *)(in_t9 + 0x1e278) + 0x4e40" identifier = (binary_expression "*(int *)(in_t9 + 0x1e278) + 0x4e40" (pointer_expression "*(int *)(in_t9 + 0x1e278)" * (cast_expression "(int *)(in_t9 + 0x1e278)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x1e278)" ( (binary_expression "in_t9 + 0x1e278" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "puVar15 = *(uint **)(write_buf + in_t9);" (assignment_expression "puVar15 = *(uint **)(write_buf + in_t9)" identifier = (pointer_expression "*(uint **)(write_buf + in_t9)" * (cast_expression "(uint **)(write_buf + in_t9)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(write_buf + in_t9)" ( (binary_expression "write_buf + in_t9" identifier + identifier) ))))) ;) (expression_statement "uVar2 = *(ushort *)(iVar10 + param_3 * 2);" (assignment_expression "uVar2 = *(ushort *)(iVar10 + param_3 * 2)" identifier = (pointer_expression "*(ushort *)(iVar10 + param_3 * 2)" * (cast_expression "(ushort *)(iVar10 + param_3 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + param_3 * 2)" ( (binary_expression "iVar10 + param_3 * 2" identifier + (binary_expression "param_3 * 2" identifier * number_literal)) ))))) ;) (expression_statement "uVar3 = *(ushort *)(iVar10 + param_4 * 2);" (assignment_expression "uVar3 = *(ushort *)(iVar10 + param_4 * 2)" identifier = (pointer_expression "*(ushort *)(iVar10 + param_4 * 2)" * (cast_expression "(ushort *)(iVar10 + param_4 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + param_4 * 2)" ( (binary_expression "iVar10 + param_4 * 2" identifier + (binary_expression "param_4 * 2" identifier * number_literal)) ))))) ;) (expression_statement "puVar18 = *(uint **)(in_t9 + 0x1e298);" (assignment_expression "puVar18 = *(uint **)(in_t9 + 0x1e298)" identifier = (pointer_expression "*(uint **)(in_t9 + 0x1e298)" * (cast_expression "(uint **)(in_t9 + 0x1e298)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e298)" ( (binary_expression "in_t9 + 0x1e298" identifier + number_literal) ))))) ;) (expression_statement "uVar21 = *(uint *)(iVar12 + 0x6d38);" (assignment_expression "uVar21 = *(uint *)(iVar12 + 0x6d38)" identifier = (pointer_expression "*(uint *)(iVar12 + 0x6d38)" * (cast_expression "(uint *)(iVar12 + 0x6d38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x6d38)" ( (binary_expression "iVar12 + 0x6d38" identifier + number_literal) ))))) ;) (expression_statement "uVar24 = *(uint *)(iVar13 + 0x6d34);" (assignment_expression "uVar24 = *(uint *)(iVar13 + 0x6d34)" identifier = (pointer_expression "*(uint *)(iVar13 + 0x6d34)" * (cast_expression "(uint *)(iVar13 + 0x6d34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x6d34)" ( (binary_expression "iVar13 + 0x6d34" identifier + number_literal) ))))) ;) (expression_statement "uVar22 = *puVar15;" (assignment_expression "uVar22 = *puVar15" identifier = (pointer_expression "*puVar15" * identifier)) ;) (expression_statement "iVar19 = *(int *)(in_t9 + 0x1e2a0);" (assignment_expression "iVar19 = *(int *)(in_t9 + 0x1e2a0)" identifier = (pointer_expression "*(int *)(in_t9 + 0x1e2a0)" * (cast_expression "(int *)(in_t9 + 0x1e2a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x1e2a0)" ( (binary_expression "in_t9 + 0x1e2a0" identifier + number_literal) ))))) ;) (labeled_statement "LAB_000181c8:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);" statement_identifier : (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" identifier = (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" * (cast_expression "(uint **)(in_t9 + 0x1e29c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e29c)" ( (binary_expression "in_t9 + 0x1e29c" identifier + number_literal) ))))) ;)) (if_statement "if (param_3 <= uVar24) goto LAB_000181d8;" if (parenthesized_expression "(param_3 <= uVar24)" ( (binary_expression "param_3 <= uVar24" identifier <= identifier) )) (goto_statement "goto LAB_000181d8;" goto statement_identifier ;)) (goto_statement "goto LAB_00018240;" goto statement_identifier ;) (labeled_statement "LAB_000181d8:\n  pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8);" statement_identifier : (expression_statement "pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8);" (assignment_expression "pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8)" identifier = (cast_expression "(byte *)(param_1 + (uVar21 & uVar2) * 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (uVar21 & uVar2) * 8)" ( (binary_expression "param_1 + (uVar21 & uVar2) * 8" identifier + (binary_expression "(uVar21 & uVar2) * 8" (parenthesized_expression "(uVar21 & uVar2)" ( (binary_expression "uVar21 & uVar2" identifier & identifier) )) * number_literal)) )))) ;)) (expression_statement "uVar17 = (uint)*pbVar16;" (assignment_expression "uVar17 = (uint)*pbVar16" identifier = (binary_expression "(uint)*pbVar16" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    if (uVar17 == 99) {\n      return 1;\n    }\n    do {\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    } while( true );\n  }" if (parenthesized_expression "(0x10 < uVar17)" ( (binary_expression "0x10 < uVar17" number_literal < identifier) )) (compound_statement "{\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    if (uVar17 == 99) {\n      return 1;\n    }\n    do {\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    } while( true );\n  }" { (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" identifier = (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" * (cast_expression "(uint **)(in_t9 + 0x1e29c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e29c)" ( (binary_expression "in_t9 + 0x1e29c" identifier + number_literal) ))))) ;) (if_statement "if (uVar17 == 99) {\n      return 1;\n    }" if (parenthesized_expression "(uVar17 == 99)" ( (binary_expression "uVar17 == 99" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (do_statement "do {\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    } while( true );" do (compound_statement "{\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    }" { (expression_statement "uVar17 = uVar17 - 0x10;" (assignment_expression "uVar17 = uVar17 - 0x10" identifier = (binary_expression "uVar17 - 0x10" identifier - number_literal)) ;) (expression_statement "uVar24 = uVar24 - pbVar16[1];" (assignment_expression "uVar24 = uVar24 - pbVar16[1]" identifier = (binary_expression "uVar24 - pbVar16[1]" identifier - (subscript_expression "pbVar16[1]" identifier [ number_literal ]))) ;) (expression_statement "uVar21 = uVar21 >> (pbVar16[1] & 0x1f);" (assignment_expression "uVar21 = uVar21 >> (pbVar16[1] & 0x1f)" identifier = (binary_expression "uVar21 >> (pbVar16[1] & 0x1f)" identifier >> (parenthesized_expression "(pbVar16[1] & 0x1f)" ( (binary_expression "pbVar16[1] & 0x1f" (subscript_expression "pbVar16[1]" identifier [ number_literal ]) & number_literal) )))) ;) (if_statement "if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }" if (parenthesized_expression "(uVar24 < uVar17)" ( (binary_expression "uVar24 < uVar17" identifier < identifier) )) (compound_statement "{\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }" { (do_statement "do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);" do (compound_statement "{\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        }" { (while_statement "while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }" { (expression_statement "uVar11 = uVar24;" (assignment_expression "uVar11 = uVar24" identifier = identifier) ;) (expression_statement "uVar24 = *puVar18;" (assignment_expression "uVar24 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;) (if_statement "if (uVar24 < *puVar20) break;" if (parenthesized_expression "(uVar24 < *puVar20)" ( (binary_expression "uVar24 < *puVar20" identifier < (pointer_expression "*puVar20" * identifier)) )) (break_statement "break;" break ;)) (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "uVar24 = fill_inbuf(0);" (assignment_expression "uVar24 = fill_inbuf(0)" identifier = (call_expression "fill_inbuf(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);" (assignment_expression "uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f)" identifier = (binary_expression "uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f)" identifier | (binary_expression "(uVar24 & 0xff) << (uVar11 & 0x1f)" (parenthesized_expression "(uVar24 & 0xff)" ( (binary_expression "uVar24 & 0xff" identifier & number_literal) )) << (parenthesized_expression "(uVar11 & 0x1f)" ( (binary_expression "uVar11 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "uVar24 = uVar11 + 8;" (assignment_expression "uVar24 = uVar11 + 8" identifier = (binary_expression "uVar11 + 8" identifier + number_literal)) ;) (if_statement "if (uVar17 <= uVar11 + 8) goto LAB_0001856c;" if (parenthesized_expression "(uVar17 <= uVar11 + 8)" ( (binary_expression "uVar17 <= uVar11 + 8" identifier <= (binary_expression "uVar11 + 8" identifier + number_literal)) )) (goto_statement "goto LAB_0001856c;" goto statement_identifier ;)) })) (expression_statement "uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);" (assignment_expression "uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f)" identifier = (binary_expression "uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f)" identifier | (binary_expression "(uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f)" (binary_expression "(uint)*(byte *)(iVar19 + uVar24)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar19 + uVar24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + uVar24)" ( (binary_expression "iVar19 + uVar24" identifier + identifier) )))) << (parenthesized_expression "(uVar11 & 0x1f)" ( (binary_expression "uVar11 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "*puVar18 = uVar24 + 1;" (assignment_expression "*puVar18 = uVar24 + 1" (pointer_expression "*puVar18" * identifier) = (binary_expression "uVar24 + 1" identifier + number_literal)) ;) (expression_statement "uVar24 = uVar11 + 8;" (assignment_expression "uVar24 = uVar11 + 8" identifier = (binary_expression "uVar11 + 8" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 + 8 < uVar17)" ( (binary_expression "uVar11 + 8 < uVar17" (binary_expression "uVar11 + 8" identifier + number_literal) < identifier) )) ;) (labeled_statement "LAB_0001856c:\n        uVar24 = uVar11 + 8;" statement_identifier : (expression_statement "uVar24 = uVar11 + 8;" (assignment_expression "uVar24 = uVar11 + 8" identifier = (binary_expression "uVar11 + 8" identifier + number_literal)) ;)) })) (expression_statement "pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);" (assignment_expression "pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8)" identifier = (cast_expression "(byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8)" ( (binary_expression "*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8" (pointer_expression "*(int *)(pbVar16 + 4)" * (cast_expression "(int *)(pbVar16 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar16 + 4)" ( (binary_expression "pbVar16 + 4" identifier + number_literal) )))) + (binary_expression "(*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8" (parenthesized_expression "(*(ushort *)(iVar10 + uVar17 * 2) & uVar21)" ( (binary_expression "*(ushort *)(iVar10 + uVar17 * 2) & uVar21" (pointer_expression "*(ushort *)(iVar10 + uVar17 * 2)" * (cast_expression "(ushort *)(iVar10 + uVar17 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + uVar17 * 2)" ( (binary_expression "iVar10 + uVar17 * 2" identifier + (binary_expression "uVar17 * 2" identifier * number_literal)) )))) & identifier) )) * number_literal)) )))) ;) (expression_statement "uVar17 = (uint)*pbVar16;" (assignment_expression "uVar17 = (uint)*pbVar16" identifier = (binary_expression "(uint)*pbVar16" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar17 < 0x11) break;" if (parenthesized_expression "(uVar17 < 0x11)" ( (binary_expression "uVar17 < 0x11" identifier < number_literal) )) (break_statement "break;" break ;)) (if_statement "if (uVar17 == 99) {\n        return 1;\n      }" if (parenthesized_expression "(uVar17 == 99)" ( (binary_expression "uVar17 == 99" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "uVar21 = uVar21 >> (pbVar16[1] & 0x1f);" (assignment_expression "uVar21 = uVar21 >> (pbVar16[1] & 0x1f)" identifier = (binary_expression "uVar21 >> (pbVar16[1] & 0x1f)" identifier >> (parenthesized_expression "(pbVar16[1] & 0x1f)" ( (binary_expression "pbVar16[1] & 0x1f" (subscript_expression "pbVar16[1]" identifier [ number_literal ]) & number_literal) )))) ;) (expression_statement "uVar24 = uVar24 - pbVar16[1];" (assignment_expression "uVar24 = uVar24 - pbVar16[1]" identifier = (binary_expression "uVar24 - pbVar16[1]" identifier - (subscript_expression "pbVar16[1]" identifier [ number_literal ]))) ;) (if_statement "if (uVar17 == 0x10) {\n    uVar17 = uVar22 + 1;\n    *(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);\n    if (uVar17 == 0x8000) {\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }\n    uVar22 = uVar17;\n    if (uVar24 < param_3) goto code_r0x0001823c;\n    goto LAB_000181d8;\n  }" if (parenthesized_expression "(uVar17 == 0x10)" ( (binary_expression "uVar17 == 0x10" identifier == number_literal) )) (compound_statement "{\n    uVar17 = uVar22 + 1;\n    *(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);\n    if (uVar17 == 0x8000) {\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }\n    uVar22 = uVar17;\n    if (uVar24 < param_3) goto code_r0x0001823c;\n    goto LAB_000181d8;\n  }" { (expression_statement "uVar17 = uVar22 + 1;" (assignment_expression "uVar17 = uVar22 + 1" identifier = (binary_expression "uVar22 + 1" identifier + number_literal)) ;) (expression_statement "*(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);" (assignment_expression "*(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4)" (pointer_expression "*(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22)" * (cast_expression "(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_t9 + 0x1e37c) + uVar22)" ( (binary_expression "*(int *)(in_t9 + 0x1e37c) + uVar22" (pointer_expression "*(int *)(in_t9 + 0x1e37c)" * (cast_expression "(int *)(in_t9 + 0x1e37c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x1e37c)" ( (binary_expression "in_t9 + 0x1e37c" identifier + number_literal) )))) + identifier) )))) = (cast_expression "(char)*(undefined2 *)(pbVar16 + 4)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined2 *)(pbVar16 + 4)" * (cast_expression "(undefined2 *)(pbVar16 + 4)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar16 + 4)" ( (binary_expression "pbVar16 + 4" identifier + number_literal) )))))) ;) (if_statement "if (uVar17 == 0x8000) {\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }" if (parenthesized_expression "(uVar17 == 0x8000)" ( (binary_expression "uVar17 == 0x8000" identifier == number_literal) )) (compound_statement "{\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }" { (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" identifier = number_literal) ;) (expression_statement "*puVar15 = 0x8000;" (assignment_expression "*puVar15 = 0x8000" (pointer_expression "*puVar15" * identifier) = number_literal) ;) (expression_statement "flush_window();" (call_expression "flush_window()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_000181c8;" goto statement_identifier ;) })) (expression_statement "uVar22 = uVar17;" (assignment_expression "uVar22 = uVar17" identifier = identifier) ;) (if_statement "if (uVar24 < param_3) goto code_r0x0001823c;" if (parenthesized_expression "(uVar24 < param_3)" ( (binary_expression "uVar24 < param_3" identifier < identifier) )) (goto_statement "goto code_r0x0001823c;" goto statement_identifier ;)) (goto_statement "goto LAB_000181d8;" goto statement_identifier ;) })) (if_statement "if (uVar17 == 0xf) {\n    *puVar15 = uVar22;\n    *(uint *)(iVar12 + 0x6d38) = uVar21;\n    *(uint *)(iVar13 + 0x6d34) = uVar24;\n    return 0;\n  }" if (parenthesized_expression "(uVar17 == 0xf)" ( (binary_expression "uVar17 == 0xf" identifier == number_literal) )) (compound_statement "{\n    *puVar15 = uVar22;\n    *(uint *)(iVar12 + 0x6d38) = uVar21;\n    *(uint *)(iVar13 + 0x6d34) = uVar24;\n    return 0;\n  }" { (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "*(uint *)(iVar12 + 0x6d38) = uVar21;" (assignment_expression "*(uint *)(iVar12 + 0x6d38) = uVar21" (pointer_expression "*(uint *)(iVar12 + 0x6d38)" * (cast_expression "(uint *)(iVar12 + 0x6d38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x6d38)" ( (binary_expression "iVar12 + 0x6d38" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar13 + 0x6d34) = uVar24;" (assignment_expression "*(uint *)(iVar13 + 0x6d34) = uVar24" (pointer_expression "*(uint *)(iVar13 + 0x6d34)" * (cast_expression "(uint *)(iVar13 + 0x6d34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x6d34)" ( (binary_expression "iVar13 + 0x6d34" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (uVar24 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    } while (uVar24 < uVar17);\n  }" if (parenthesized_expression "(uVar24 < uVar17)" ( (binary_expression "uVar24 < uVar17" identifier < identifier) )) (compound_statement "{\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    } while (uVar24 < uVar17);\n  }" { (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" identifier = (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" * (cast_expression "(uint **)(in_t9 + 0x1e29c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e29c)" ( (binary_expression "in_t9 + 0x1e29c" identifier + number_literal) ))))) ;) (do_statement "do {\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    } while (uVar24 < uVar17);" do (compound_statement "{\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    }" { (expression_statement "uVar11 = *puVar18;" (assignment_expression "uVar11 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;) (if_statement "if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }" if (parenthesized_expression "(uVar11 < *puVar20)" ( (binary_expression "uVar11 < *puVar20" identifier < (pointer_expression "*puVar20" * identifier)) )) (compound_statement "{\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }" { (expression_statement "uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);" (assignment_expression "uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f)" identifier = (binary_expression "(uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f)" (binary_expression "(uint)*(byte *)(iVar19 + uVar11)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar19 + uVar11)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + uVar11)" ( (binary_expression "iVar19 + uVar11" identifier + identifier) )))) << (parenthesized_expression "(uVar24 & 0x1f)" ( (binary_expression "uVar24 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "*puVar18 = uVar11 + 1;" (assignment_expression "*puVar18 = uVar11 + 1" (pointer_expression "*puVar18" * identifier) = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }" else (compound_statement "{\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }" { (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "uVar11 = fill_inbuf(0);" (assignment_expression "uVar11 = fill_inbuf(0)" identifier = (call_expression "fill_inbuf(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);" (assignment_expression "uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f)" identifier = (binary_expression "(uVar11 & 0xff) << (uVar24 & 0x1f)" (parenthesized_expression "(uVar11 & 0xff)" ( (binary_expression "uVar11 & 0xff" identifier & number_literal) )) << (parenthesized_expression "(uVar24 & 0x1f)" ( (binary_expression "uVar24 & 0x1f" identifier & number_literal) )))) ;) }))) (expression_statement "uVar21 = uVar21 | uVar6;" (assignment_expression "uVar21 = uVar21 | uVar6" identifier = (binary_expression "uVar21 | uVar6" identifier | identifier)) ;) (expression_statement "uVar24 = uVar24 + 8;" (assignment_expression "uVar24 = uVar24 + 8" identifier = (binary_expression "uVar24 + 8" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar24 < uVar17)" ( (binary_expression "uVar24 < uVar17" identifier < identifier) )) ;) })) (expression_statement "uVar4 = *(ushort *)(pbVar16 + 4);" (assignment_expression "uVar4 = *(ushort *)(pbVar16 + 4)" identifier = (pointer_expression "*(ushort *)(pbVar16 + 4)" * (cast_expression "(ushort *)(pbVar16 + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar16 + 4)" ( (binary_expression "pbVar16 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar24 = uVar24 - uVar17;" (assignment_expression "uVar24 = uVar24 - uVar17" identifier = (binary_expression "uVar24 - uVar17" identifier - identifier)) ;) (expression_statement "uVar11 = uVar21 >> (uVar17 & 0x1f);" (assignment_expression "uVar11 = uVar21 >> (uVar17 & 0x1f)" identifier = (binary_expression "uVar21 >> (uVar17 & 0x1f)" identifier >> (parenthesized_expression "(uVar17 & 0x1f)" ( (binary_expression "uVar17 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar5 = *(ushort *)(iVar10 + uVar17 * 2);" (assignment_expression "uVar5 = *(ushort *)(iVar10 + uVar17 * 2)" identifier = (pointer_expression "*(ushort *)(iVar10 + uVar17 * 2)" * (cast_expression "(ushort *)(iVar10 + uVar17 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + uVar17 * 2)" ( (binary_expression "iVar10 + uVar17 * 2" identifier + (binary_expression "uVar17 * 2" identifier * number_literal)) ))))) ;) (if_statement "if (uVar24 < param_4) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    } while (uVar24 < param_4);\n  }" if (parenthesized_expression "(uVar24 < param_4)" ( (binary_expression "uVar24 < param_4" identifier < identifier) )) (compound_statement "{\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    } while (uVar24 < param_4);\n  }" { (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" identifier = (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" * (cast_expression "(uint **)(in_t9 + 0x1e29c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e29c)" ( (binary_expression "in_t9 + 0x1e29c" identifier + number_literal) ))))) ;) (do_statement "do {\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    } while (uVar24 < param_4);" do (compound_statement "{\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    }" { (while_statement "while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }" { (expression_statement "uVar17 = *puVar18;" (assignment_expression "uVar17 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;) (if_statement "if (uVar17 < *puVar20) break;" if (parenthesized_expression "(uVar17 < *puVar20)" ( (binary_expression "uVar17 < *puVar20" identifier < (pointer_expression "*puVar20" * identifier)) )) (break_statement "break;" break ;)) (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "uVar6 = fill_inbuf(0);" (assignment_expression "uVar6 = fill_inbuf(0)" identifier = (call_expression "fill_inbuf(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar17 = uVar24 & 0x1f;" (assignment_expression "uVar17 = uVar24 & 0x1f" identifier = (binary_expression "uVar24 & 0x1f" identifier & number_literal)) ;) (expression_statement "uVar24 = uVar24 + 8;" (assignment_expression "uVar24 = uVar24 + 8" identifier = (binary_expression "uVar24 + 8" identifier + number_literal)) ;) (expression_statement "uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;" (assignment_expression "uVar11 = uVar11 | (uVar6 & 0xff) << uVar17" identifier = (binary_expression "uVar11 | (uVar6 & 0xff) << uVar17" identifier | (binary_expression "(uVar6 & 0xff) << uVar17" (parenthesized_expression "(uVar6 & 0xff)" ( (binary_expression "uVar6 & 0xff" identifier & number_literal) )) << identifier))) ;) (if_statement "if (param_4 <= uVar24) goto LAB_0001839c;" if (parenthesized_expression "(param_4 <= uVar24)" ( (binary_expression "param_4 <= uVar24" identifier <= identifier) )) (goto_statement "goto LAB_0001839c;" goto statement_identifier ;)) })) (expression_statement "bVar1 = *(byte *)(iVar19 + uVar17);" (assignment_expression "bVar1 = *(byte *)(iVar19 + uVar17)" identifier = (pointer_expression "*(byte *)(iVar19 + uVar17)" * (cast_expression "(byte *)(iVar19 + uVar17)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + uVar17)" ( (binary_expression "iVar19 + uVar17" identifier + identifier) ))))) ;) (expression_statement "*puVar18 = uVar17 + 1;" (assignment_expression "*puVar18 = uVar17 + 1" (pointer_expression "*puVar18" * identifier) = (binary_expression "uVar17 + 1" identifier + number_literal)) ;) (expression_statement "uVar17 = uVar24 & 0x1f;" (assignment_expression "uVar17 = uVar24 & 0x1f" identifier = (binary_expression "uVar24 & 0x1f" identifier & number_literal)) ;) (expression_statement "uVar24 = uVar24 + 8;" (assignment_expression "uVar24 = uVar24 + 8" identifier = (binary_expression "uVar24 + 8" identifier + number_literal)) ;) (expression_statement "uVar11 = uVar11 | (uint)bVar1 << uVar17;" (assignment_expression "uVar11 = uVar11 | (uint)bVar1 << uVar17" identifier = (binary_expression "uVar11 | (uint)bVar1 << uVar17" identifier | (binary_expression "(uint)bVar1 << uVar17" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) << identifier))) ;) }) while (parenthesized_expression "(uVar24 < param_4)" ( (binary_expression "uVar24 < param_4" identifier < identifier) )) ;) })) (labeled_statement "LAB_0001839c:\n  local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8);" statement_identifier : (expression_statement "local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8);" (assignment_expression "local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8)" identifier = (cast_expression "(byte *)(param_2 + (uVar3 & uVar11) * 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + (uVar3 & uVar11) * 8)" ( (binary_expression "param_2 + (uVar3 & uVar11) * 8" identifier + (binary_expression "(uVar3 & uVar11) * 8" (parenthesized_expression "(uVar3 & uVar11)" ( (binary_expression "uVar3 & uVar11" identifier & identifier) )) * number_literal)) )))) ;)) (expression_statement "uVar17 = (uint)*local_54;" (assignment_expression "uVar17 = (uint)*local_54" identifier = (binary_expression "(uint)*local_54" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    } while (0x10 < uVar17);\n  }" if (parenthesized_expression "(0x10 < uVar17)" ( (binary_expression "0x10 < uVar17" number_literal < identifier) )) (compound_statement "{\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    } while (0x10 < uVar17);\n  }" { (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" identifier = (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" * (cast_expression "(uint **)(in_t9 + 0x1e29c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e29c)" ( (binary_expression "in_t9 + 0x1e29c" identifier + number_literal) ))))) ;) (do_statement "do {\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    } while (0x10 < uVar17);" do (compound_statement "{\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    }" { (if_statement "if (uVar17 == 99) {\n        return 1;\n      }" if (parenthesized_expression "(uVar17 == 99)" ( (binary_expression "uVar17 == 99" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar17 = uVar17 - 0x10;" (assignment_expression "uVar17 = uVar17 - 0x10" identifier = (binary_expression "uVar17 - 0x10" identifier - number_literal)) ;) (expression_statement "uVar24 = uVar24 - local_54[1];" (assignment_expression "uVar24 = uVar24 - local_54[1]" identifier = (binary_expression "uVar24 - local_54[1]" identifier - (subscript_expression "local_54[1]" identifier [ number_literal ]))) ;) (expression_statement "uVar11 = uVar11 >> (local_54[1] & 0x1f);" (assignment_expression "uVar11 = uVar11 >> (local_54[1] & 0x1f)" identifier = (binary_expression "uVar11 >> (local_54[1] & 0x1f)" identifier >> (parenthesized_expression "(local_54[1] & 0x1f)" ( (binary_expression "local_54[1] & 0x1f" (subscript_expression "local_54[1]" identifier [ number_literal ]) & number_literal) )))) ;) (if_statement "if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }" if (parenthesized_expression "(uVar24 < uVar17)" ( (binary_expression "uVar24 < uVar17" identifier < identifier) )) (compound_statement "{\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }" { (do_statement "do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);" do (compound_statement "{\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        }" { (while_statement "while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }" { (expression_statement "uVar6 = uVar24;" (assignment_expression "uVar6 = uVar24" identifier = identifier) ;) (expression_statement "uVar24 = *puVar18;" (assignment_expression "uVar24 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;) (if_statement "if (uVar24 < *puVar20) break;" if (parenthesized_expression "(uVar24 < *puVar20)" ( (binary_expression "uVar24 < *puVar20" identifier < (pointer_expression "*puVar20" * identifier)) )) (break_statement "break;" break ;)) (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "uVar24 = fill_inbuf(0);" (assignment_expression "uVar24 = fill_inbuf(0)" identifier = (call_expression "fill_inbuf(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);" (assignment_expression "uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f)" identifier = (binary_expression "uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f)" identifier | (binary_expression "(uVar24 & 0xff) << (uVar6 & 0x1f)" (parenthesized_expression "(uVar24 & 0xff)" ( (binary_expression "uVar24 & 0xff" identifier & number_literal) )) << (parenthesized_expression "(uVar6 & 0x1f)" ( (binary_expression "uVar6 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "uVar24 = uVar6 + 8;" (assignment_expression "uVar24 = uVar6 + 8" identifier = (binary_expression "uVar6 + 8" identifier + number_literal)) ;) (if_statement "if (uVar17 <= uVar6 + 8) goto LAB_00018454;" if (parenthesized_expression "(uVar17 <= uVar6 + 8)" ( (binary_expression "uVar17 <= uVar6 + 8" identifier <= (binary_expression "uVar6 + 8" identifier + number_literal)) )) (goto_statement "goto LAB_00018454;" goto statement_identifier ;)) })) (expression_statement "uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);" (assignment_expression "uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f)" identifier = (binary_expression "uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f)" identifier | (binary_expression "(uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f)" (binary_expression "(uint)*(byte *)(iVar19 + uVar24)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar19 + uVar24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + uVar24)" ( (binary_expression "iVar19 + uVar24" identifier + identifier) )))) << (parenthesized_expression "(uVar6 & 0x1f)" ( (binary_expression "uVar6 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "*puVar18 = uVar24 + 1;" (assignment_expression "*puVar18 = uVar24 + 1" (pointer_expression "*puVar18" * identifier) = (binary_expression "uVar24 + 1" identifier + number_literal)) ;) (expression_statement "uVar24 = uVar6 + 8;" (assignment_expression "uVar24 = uVar6 + 8" identifier = (binary_expression "uVar6 + 8" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar6 + 8 < uVar17)" ( (binary_expression "uVar6 + 8 < uVar17" (binary_expression "uVar6 + 8" identifier + number_literal) < identifier) )) ;) (labeled_statement "LAB_00018454:\n        uVar24 = uVar6 + 8;" statement_identifier : (expression_statement "uVar24 = uVar6 + 8;" (assignment_expression "uVar24 = uVar6 + 8" identifier = (binary_expression "uVar6 + 8" identifier + number_literal)) ;)) })) (expression_statement "local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);" (assignment_expression "local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8)" identifier = (cast_expression "(byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8)" ( (binary_expression "*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8" (pointer_expression "*(int *)(local_54 + 4)" * (cast_expression "(int *)(local_54 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_54 + 4)" ( (binary_expression "local_54 + 4" identifier + number_literal) )))) + (binary_expression "(*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8" (parenthesized_expression "(*(ushort *)(iVar10 + uVar17 * 2) & uVar11)" ( (binary_expression "*(ushort *)(iVar10 + uVar17 * 2) & uVar11" (pointer_expression "*(ushort *)(iVar10 + uVar17 * 2)" * (cast_expression "(ushort *)(iVar10 + uVar17 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + uVar17 * 2)" ( (binary_expression "iVar10 + uVar17 * 2" identifier + (binary_expression "uVar17 * 2" identifier * number_literal)) )))) & identifier) )) * number_literal)) )))) ;) (expression_statement "uVar17 = (uint)*local_54;" (assignment_expression "uVar17 = (uint)*local_54" identifier = (binary_expression "(uint)*local_54" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) }) while (parenthesized_expression "(0x10 < uVar17)" ( (binary_expression "0x10 < uVar17" number_literal < identifier) )) ;) })) (expression_statement "uVar24 = uVar24 - local_54[1];" (assignment_expression "uVar24 = uVar24 - local_54[1]" identifier = (binary_expression "uVar24 - local_54[1]" identifier - (subscript_expression "local_54[1]" identifier [ number_literal ]))) ;) (expression_statement "uVar11 = uVar11 >> (local_54[1] & 0x1f);" (assignment_expression "uVar11 = uVar11 >> (local_54[1] & 0x1f)" identifier = (binary_expression "uVar11 >> (local_54[1] & 0x1f)" identifier >> (parenthesized_expression "(local_54[1] & 0x1f)" ( (binary_expression "local_54[1] & 0x1f" (subscript_expression "local_54[1]" identifier [ number_literal ]) & number_literal) )))) ;) (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" identifier = (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" * (cast_expression "(uint **)(in_t9 + 0x1e29c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e29c)" ( (binary_expression "in_t9 + 0x1e29c" identifier + number_literal) ))))) ;) (if_statement "if (uVar24 < uVar17) {\n    uVar7 = *puVar18;\n    uVar6 = uVar24;\n    while( true ) {\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }\n  }" if (parenthesized_expression "(uVar24 < uVar17)" ( (binary_expression "uVar24 < uVar17" identifier < identifier) )) (compound_statement "{\n    uVar7 = *puVar18;\n    uVar6 = uVar24;\n    while( true ) {\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }\n  }" { (expression_statement "uVar7 = *puVar18;" (assignment_expression "uVar7 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;) (expression_statement "uVar6 = uVar24;" (assignment_expression "uVar6 = uVar24" identifier = identifier) ;) (while_statement "while( true ) {\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }" { (if_statement "if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }" if (parenthesized_expression "(uVar7 < *puVar20)" ( (binary_expression "uVar7 < *puVar20" identifier < (pointer_expression "*puVar20" * identifier)) )) (compound_statement "{\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }" { (expression_statement "uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);" (assignment_expression "uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f)" identifier = (binary_expression "(uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f)" (binary_expression "(uint)*(byte *)(iVar19 + uVar7)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar19 + uVar7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + uVar7)" ( (binary_expression "iVar19 + uVar7" identifier + identifier) )))) << (parenthesized_expression "(uVar6 & 0x1f)" ( (binary_expression "uVar6 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "*puVar18 = uVar7 + 1;" (assignment_expression "*puVar18 = uVar7 + 1" (pointer_expression "*puVar18" * identifier) = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }" else (compound_statement "{\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }" { (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "uVar24 = fill_inbuf(0);" (assignment_expression "uVar24 = fill_inbuf(0)" identifier = (call_expression "fill_inbuf(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);" (assignment_expression "uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f)" identifier = (binary_expression "(uVar24 & 0xff) << (uVar6 & 0x1f)" (parenthesized_expression "(uVar24 & 0xff)" ( (binary_expression "uVar24 & 0xff" identifier & number_literal) )) << (parenthesized_expression "(uVar6 & 0x1f)" ( (binary_expression "uVar6 & 0x1f" identifier & number_literal) )))) ;) }))) (expression_statement "uVar11 = uVar11 | uVar24;" (assignment_expression "uVar11 = uVar11 | uVar24" identifier = (binary_expression "uVar11 | uVar24" identifier | identifier)) ;) (expression_statement "uVar24 = uVar6 + 8;" (assignment_expression "uVar24 = uVar6 + 8" identifier = (binary_expression "uVar6 + 8" identifier + number_literal)) ;) (if_statement "if (uVar17 <= uVar24) break;" if (parenthesized_expression "(uVar17 <= uVar24)" ( (binary_expression "uVar17 <= uVar24" identifier <= identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar6 = uVar6 + 8;" (assignment_expression "uVar6 = uVar6 + 8" identifier = (binary_expression "uVar6 + 8" identifier + number_literal)) ;) (expression_statement "uVar7 = *puVar18;" (assignment_expression "uVar7 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;) })) })) (expression_statement "iVar14 = *(int *)(in_t9 + 0x1e37c);" (assignment_expression "iVar14 = *(int *)(in_t9 + 0x1e37c)" identifier = (pointer_expression "*(int *)(in_t9 + 0x1e37c)" * (cast_expression "(int *)(in_t9 + 0x1e37c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x1e37c)" ( (binary_expression "in_t9 + 0x1e37c" identifier + number_literal) ))))) ;) (expression_statement "uVar24 = uVar24 - uVar17;" (assignment_expression "uVar24 = uVar24 - uVar17" identifier = (binary_expression "uVar24 - uVar17" identifier - identifier)) ;) (expression_statement "uVar6 = uVar5 & uVar21;" (assignment_expression "uVar6 = uVar5 & uVar21" identifier = (binary_expression "uVar5 & uVar21" identifier & identifier)) ;) (expression_statement "uVar21 = uVar11 >> (uVar17 & 0x1f);" (assignment_expression "uVar21 = uVar11 >> (uVar17 & 0x1f)" identifier = (binary_expression "uVar11 >> (uVar17 & 0x1f)" identifier >> (parenthesized_expression "(uVar17 & 0x1f)" ( (binary_expression "uVar17 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar6 = uVar6 + uVar4;" (assignment_expression "uVar6 = uVar6 + uVar4" identifier = (binary_expression "uVar6 + uVar4" identifier + identifier)) ;) (expression_statement "uVar17 = (uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11);" (assignment_expression "uVar17 = (uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11)" identifier = (binary_expression "(uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11)" (parenthesized_expression "(uVar22 - *(ushort *)(local_54 + 4))" ( (binary_expression "uVar22 - *(ushort *)(local_54 + 4)" identifier - (pointer_expression "*(ushort *)(local_54 + 4)" * (cast_expression "(ushort *)(local_54 + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_54 + 4)" ( (binary_expression "local_54 + 4" identifier + number_literal) ))))) )) - (parenthesized_expression "(*(ushort *)(iVar10 + uVar17 * 2) & uVar11)" ( (binary_expression "*(ushort *)(iVar10 + uVar17 * 2) & uVar11" (pointer_expression "*(ushort *)(iVar10 + uVar17 * 2)" * (cast_expression "(ushort *)(iVar10 + uVar17 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + uVar17 * 2)" ( (binary_expression "iVar10 + uVar17 * 2" identifier + (binary_expression "uVar17 * 2" identifier * number_literal)) )))) & identifier) )))) ;) (do_statement "do {\n    uVar17 = uVar17 & 0x7fff;\n    if (uVar22 < uVar17) {\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }\n    else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }\n    uVar22 = uVar22 + uVar11;\n    uVar17 = uVar11 + uVar17;\n    if (uVar22 == 0x8000) {\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }\n  } while (uVar6 != 0);" do (compound_statement "{\n    uVar17 = uVar17 & 0x7fff;\n    if (uVar22 < uVar17) {\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }\n    else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }\n    uVar22 = uVar22 + uVar11;\n    uVar17 = uVar11 + uVar17;\n    if (uVar22 == 0x8000) {\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }\n  }" { (expression_statement "uVar17 = uVar17 & 0x7fff;" (assignment_expression "uVar17 = uVar17 & 0x7fff" identifier = (binary_expression "uVar17 & 0x7fff" identifier & number_literal)) ;) (if_statement "if (uVar22 < uVar17) {\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }\n    else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }" if (parenthesized_expression "(uVar22 < uVar17)" ( (binary_expression "uVar22 < uVar17" identifier < identifier) )) (compound_statement "{\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }" { (expression_statement "uVar11 = 0x8000 - uVar17;" (assignment_expression "uVar11 = 0x8000 - uVar17" identifier = (binary_expression "0x8000 - uVar17" number_literal - identifier)) ;) (if_statement "if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }" if (parenthesized_expression "(uVar6 <= 0x8000 - uVar17)" ( (binary_expression "uVar6 <= 0x8000 - uVar17" identifier <= (binary_expression "0x8000 - uVar17" number_literal - identifier)) )) (compound_statement "{\n        uVar11 = uVar6;\n      }" { (expression_statement "uVar11 = uVar6;" (assignment_expression "uVar11 = uVar6" identifier = identifier) ;) })) (expression_statement "uVar6 = uVar6 - uVar11;" (assignment_expression "uVar6 = uVar6 - uVar11" identifier = (binary_expression "uVar6 - uVar11" identifier - identifier)) ;) (if_statement "if (uVar17 < uVar22) goto LAB_000186a8;" if (parenthesized_expression "(uVar17 < uVar22)" ( (binary_expression "uVar17 < uVar22" identifier < identifier) )) (goto_statement "goto LAB_000186a8;" goto statement_identifier ;)) (labeled_statement "LAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);" statement_identifier : (expression_statement "pcVar23 = *(code **)(in_t9 + 0x1e578);" (assignment_expression "pcVar23 = *(code **)(in_t9 + 0x1e578)" identifier = (pointer_expression "*(code **)(in_t9 + 0x1e578)" * (cast_expression "(code **)(in_t9 + 0x1e578)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e578)" ( (binary_expression "in_t9 + 0x1e578" identifier + number_literal) ))))) ;)) (if_statement "if (uVar17 - uVar22 < uVar11) goto LAB_00018738;" if (parenthesized_expression "(uVar17 - uVar22 < uVar11)" ( (binary_expression "uVar17 - uVar22 < uVar11" (binary_expression "uVar17 - uVar22" identifier - identifier) < identifier) )) (goto_statement "goto LAB_00018738;" goto statement_identifier ;)) (labeled_statement "LAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);" statement_identifier : (expression_statement "(*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);" (call_expression "(*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11)" (parenthesized_expression "(*pcVar23)" ( (pointer_expression "*pcVar23" * identifier) )) (argument_list "(iVar14 + uVar22,iVar14 + uVar17,uVar11)" ( (binary_expression "iVar14 + uVar22" identifier + identifier) , (binary_expression "iVar14 + uVar17" identifier + identifier) , identifier ))) ;)) }) (else_clause "else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }" else (compound_statement "{\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }" { (expression_statement "uVar11 = 0x8000 - uVar22;" (assignment_expression "uVar11 = 0x8000 - uVar22" identifier = (binary_expression "0x8000 - uVar22" number_literal - identifier)) ;) (if_statement "if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }" if (parenthesized_expression "(uVar6 <= 0x8000 - uVar22)" ( (binary_expression "uVar6 <= 0x8000 - uVar22" identifier <= (binary_expression "0x8000 - uVar22" number_literal - identifier)) )) (compound_statement "{\n        uVar11 = uVar6;\n      }" { (expression_statement "uVar11 = uVar6;" (assignment_expression "uVar11 = uVar6" identifier = identifier) ;) })) (expression_statement "uVar6 = uVar6 - uVar11;" (assignment_expression "uVar6 = uVar6 - uVar11" identifier = (binary_expression "uVar6 - uVar11" identifier - identifier)) ;) (if_statement "if (uVar22 <= uVar17) goto LAB_00018724;" if (parenthesized_expression "(uVar22 <= uVar17)" ( (binary_expression "uVar22 <= uVar17" identifier <= identifier) )) (goto_statement "goto LAB_00018724;" goto statement_identifier ;)) (labeled_statement "LAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }" statement_identifier : (if_statement "if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }" if (parenthesized_expression "(uVar11 <= uVar22 - uVar17)" ( (binary_expression "uVar11 <= uVar22 - uVar17" identifier <= (binary_expression "uVar22 - uVar17" identifier - identifier)) )) (compound_statement "{\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }" { (expression_statement "pcVar23 = *(code **)(in_t9 + 0x1e578);" (assignment_expression "pcVar23 = *(code **)(in_t9 + 0x1e578)" identifier = (pointer_expression "*(code **)(in_t9 + 0x1e578)" * (cast_expression "(code **)(in_t9 + 0x1e578)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e578)" ( (binary_expression "in_t9 + 0x1e578" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_000186bc;" goto statement_identifier ;) }))) (labeled_statement "LAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);" statement_identifier : (expression_statement "puVar8 = (undefined1 *)(iVar14 + uVar17);" (assignment_expression "puVar8 = (undefined1 *)(iVar14 + uVar17)" identifier = (cast_expression "(undefined1 *)(iVar14 + uVar17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + uVar17)" ( (binary_expression "iVar14 + uVar17" identifier + identifier) )))) ;)) (do_statement "do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);" do (compound_statement "{\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      }" { (expression_statement "puVar9 = puVar8 + 1;" (assignment_expression "puVar9 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "puVar8[uVar22 - uVar17] = *puVar8;" (assignment_expression "puVar8[uVar22 - uVar17] = *puVar8" (subscript_expression "puVar8[uVar22 - uVar17]" identifier [ (binary_expression "uVar22 - uVar17" identifier - identifier) ]) = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" identifier = identifier) ;) }) while (parenthesized_expression "((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9)" ( (binary_expression "(undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9" (binary_expression "(undefined1 *)(iVar14 + uVar17) + uVar11" (cast_expression "(undefined1 *)(iVar14 + uVar17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + uVar17)" ( (binary_expression "iVar14 + uVar17" identifier + identifier) ))) + identifier) != identifier) )) ;) }))) (expression_statement "uVar22 = uVar22 + uVar11;" (assignment_expression "uVar22 = uVar22 + uVar11" identifier = (binary_expression "uVar22 + uVar11" identifier + identifier)) ;) (expression_statement "uVar17 = uVar11 + uVar17;" (assignment_expression "uVar17 = uVar11 + uVar17" identifier = (binary_expression "uVar11 + uVar17" identifier + identifier)) ;) (if_statement "if (uVar22 == 0x8000) {\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }" if (parenthesized_expression "(uVar22 == 0x8000)" ( (binary_expression "uVar22 == 0x8000" identifier == number_literal) )) (compound_statement "{\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }" { (expression_statement "*puVar15 = 0x8000;" (assignment_expression "*puVar15 = 0x8000" (pointer_expression "*puVar15" * identifier) = number_literal) ;) (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" identifier = number_literal) ;) (expression_statement "flush_window();" (call_expression "flush_window()" identifier (argument_list "()" ( ))) ;) })) }) while (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) ;) (goto_statement "goto LAB_000181c8;" goto statement_identifier ;) (labeled_statement "code_r0x0001823c:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);" statement_identifier : (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" identifier = (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" * (cast_expression "(uint **)(in_t9 + 0x1e29c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e29c)" ( (binary_expression "in_t9 + 0x1e29c" identifier + number_literal) ))))) ;)) (labeled_statement "LAB_00018240:\n  uVar17 = *puVar18;" statement_identifier : (expression_statement "uVar17 = *puVar18;" (assignment_expression "uVar17 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;)) (if_statement "if (uVar17 < *puVar20) {\n    uVar11 = (uint)*(byte *)(iVar19 + uVar17);\n    *puVar18 = uVar17 + 1;\n  }\n  else {\n    *puVar15 = uVar22;\n    uVar11 = fill_inbuf(0);\n    uVar11 = uVar11 & 0xff;\n  }" if (parenthesized_expression "(uVar17 < *puVar20)" ( (binary_expression "uVar17 < *puVar20" identifier < (pointer_expression "*puVar20" * identifier)) )) (compound_statement "{\n    uVar11 = (uint)*(byte *)(iVar19 + uVar17);\n    *puVar18 = uVar17 + 1;\n  }" { (expression_statement "uVar11 = (uint)*(byte *)(iVar19 + uVar17);" (assignment_expression "uVar11 = (uint)*(byte *)(iVar19 + uVar17)" identifier = (binary_expression "(uint)*(byte *)(iVar19 + uVar17)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar19 + uVar17)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + uVar17)" ( (binary_expression "iVar19 + uVar17" identifier + identifier) ))))) ;) (expression_statement "*puVar18 = uVar17 + 1;" (assignment_expression "*puVar18 = uVar17 + 1" (pointer_expression "*puVar18" * identifier) = (binary_expression "uVar17 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n    *puVar15 = uVar22;\n    uVar11 = fill_inbuf(0);\n    uVar11 = uVar11 & 0xff;\n  }" else (compound_statement "{\n    *puVar15 = uVar22;\n    uVar11 = fill_inbuf(0);\n    uVar11 = uVar11 & 0xff;\n  }" { (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "uVar11 = fill_inbuf(0);" (assignment_expression "uVar11 = fill_inbuf(0)" identifier = (call_expression "fill_inbuf(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar11 = uVar11 & 0xff;" (assignment_expression "uVar11 = uVar11 & 0xff" identifier = (binary_expression "uVar11 & 0xff" identifier & number_literal)) ;) }))) (expression_statement "uVar17 = uVar24 & 0x1f;" (assignment_expression "uVar17 = uVar24 & 0x1f" identifier = (binary_expression "uVar24 & 0x1f" identifier & number_literal)) ;) (expression_statement "uVar24 = uVar24 + 8;" (assignment_expression "uVar24 = uVar24 + 8" identifier = (binary_expression "uVar24 + 8" identifier + number_literal)) ;) (expression_statement "uVar21 = uVar21 | uVar11 << uVar17;" (assignment_expression "uVar21 = uVar21 | uVar11 << uVar17" identifier = (binary_expression "uVar21 | uVar11 << uVar17" identifier | (binary_expression "uVar11 << uVar17" identifier << identifier))) ;) (goto_statement "goto LAB_000181c8;" goto statement_identifier ;) })))
(translation_unit "/* WARNING: Type propagation algorithm not settling */\n\nint inflate_codes(huft *tl,huft *td,int bl,int bd)\n\n{\n  byte bVar1;\n  ushort uVar2;\n  ushort uVar3;\n  ushort uVar4;\n  ushort uVar5;\n  uint *puVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  undefined *puVar11;\n  undefined *puVar12;\n  uint uVar13;\n  uint uVar14;\n  undefined1 *puVar15;\n  undefined1 *puVar16;\n  uint uVar17;\n  huft *phVar18;\n  uint uVar19;\n  uint uVar20;\n  uint uVar21;\n  uint uVar22;\n  \n  puVar12 = PTR_outcnt_00036488;\n  puVar11 = PTR_inbuf_000363c0;\n  puVar9 = PTR_inptr_000363b8;\n  puVar8 = PTR_LAB_00036398;\n  puVar7 = PTR_DAT_00036388;\n  uVar2 = *(ushort *)(PTR_LAB_00036398 + bl * 2 + 0x4e40);\n  uVar3 = *(ushort *)(PTR_LAB_00036398 + bd * 2 + 0x4e40);\n  uVar20 = *(uint *)(PTR_DAT_00036388 + 0x6d38);\n  uVar22 = *(uint *)(PTR_DAT_00036388 + 0x6d34);\n  uVar21 = *(uint *)PTR_outcnt_00036488;\n  puVar6 = (uint *)PTR_insize_000363bc;\njoined_r0x000181cc:\n  do {\n    for (; PTR_insize_000363bc = (undefined *)puVar6, uVar22 < (uint)bl; uVar22 = uVar22 + 8) {\n      uVar19 = *(uint *)puVar9;\n      if (uVar19 < *puVar6) {\n        uVar17 = (uint)(byte)puVar11[uVar19];\n        *(uint *)puVar9 = uVar19 + 1;\n      }\n      else {\n        *(uint *)puVar12 = uVar21;\n        uVar17 = fill_inbuf(0);\n        uVar17 = uVar17 & 0xff;\n      }\n      uVar20 = uVar20 | uVar17 << (uVar22 & 0x1f);\n      puVar6 = (uint *)PTR_insize_000363bc;\n    }\n    phVar18 = tl + (uVar20 & uVar2);\n    uVar19 = (uint)phVar18->e;\n    if (0x10 < uVar19) {\n      if (uVar19 == 99) {\n        return 1;\n      }\n      do {\n        uVar19 = uVar19 - 0x10;\n        uVar22 = uVar22 - phVar18->b;\n        uVar20 = uVar20 >> (phVar18->b & 0x1f);\n        if (uVar22 < uVar19) {\n          do {\n            while( true ) {\n              uVar17 = uVar22;\n              uVar22 = *(uint *)puVar9;\n              if (uVar22 < *puVar6) break;\n              *(uint *)puVar12 = uVar21;\n              uVar22 = fill_inbuf(0);\n              uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f);\n              uVar22 = uVar17 + 8;\n              if (uVar19 <= uVar17 + 8) goto LAB_0001856c;\n            }\n            uVar20 = uVar20 | (uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f);\n            *(uint *)puVar9 = uVar22 + 1;\n            uVar22 = uVar17 + 8;\n          } while (uVar17 + 8 < uVar19);\nLAB_0001856c:\n          uVar22 = uVar17 + 8;\n        }\n        phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar20);\n        uVar19 = (uint)phVar18->e;\n        if (uVar19 < 0x11) break;\n        if (uVar19 == 99) {\n          return 1;\n        }\n      } while( true );\n    }\n    puVar10 = PTR_insize_000363bc;\n    uVar20 = uVar20 >> (phVar18->b & 0x1f);\n    uVar22 = uVar22 - phVar18->b;\n    if (uVar19 == 0x10) {\n      uVar19 = uVar21 + 1;\n      PTR_window_0003649c[uVar21] = (char)(phVar18->v).n;\n      uVar21 = uVar19;\n      puVar6 = (uint *)PTR_insize_000363bc;\n      if (uVar19 == 0x8000) {\n        *(undefined4 *)puVar12 = 0x8000;\n        flush_window();\n        uVar21 = 0;\n        puVar6 = (uint *)PTR_insize_000363bc;\n      }\n      goto joined_r0x000181cc;\n    }\n    if (uVar19 == 0xf) {\n      *(uint *)puVar12 = uVar21;\n      *(uint *)(puVar7 + 0x6d38) = uVar20;\n      *(uint *)(puVar7 + 0x6d34) = uVar22;\n      return 0;\n    }\n    for (; uVar22 < uVar19; uVar22 = uVar22 + 8) {\n      while( true ) {\n        uVar17 = *(uint *)puVar9;\n        if (*(uint *)puVar10 <= uVar17) break;\n        uVar13 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar20 = uVar20 | (uint)(byte)puVar11[uVar17] << uVar13;\n        *(uint *)puVar9 = uVar17 + 1;\n        if (uVar19 <= uVar22) goto LAB_000182f4;\n      }\n      *(uint *)puVar12 = uVar21;\n      uVar17 = fill_inbuf(0);\n      uVar20 = uVar20 | (uVar17 & 0xff) << (uVar22 & 0x1f);\n    }\nLAB_000182f4:\n    puVar10 = PTR_insize_000363bc;\n    uVar4 = (phVar18->v).n;\n    uVar17 = uVar20 >> (uVar19 & 0x1f);\n    uVar5 = *(ushort *)(puVar8 + uVar19 * 2 + 0x4e40);\n    for (uVar22 = uVar22 - uVar19; uVar22 < (uint)bd; uVar22 = uVar22 + 8) {\n      while( true ) {\n        uVar19 = *(uint *)puVar9;\n        if (uVar19 < *(uint *)puVar10) break;\n        *(uint *)puVar12 = uVar21;\n        uVar13 = fill_inbuf(0);\n        uVar19 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar17 = uVar17 | (uVar13 & 0xff) << uVar19;\n        if ((uint)bd <= uVar22) goto LAB_0001839c;\n      }\n      bVar1 = puVar11[uVar19];\n      *(uint *)puVar9 = uVar19 + 1;\n      uVar17 = uVar17 | (uint)bVar1 << (uVar22 & 0x1f);\n    }\nLAB_0001839c:\n    puVar10 = PTR_insize_000363bc;\n    phVar18 = td + (uVar3 & uVar17);\n    bVar1 = phVar18->e;\n    puVar6 = (uint *)PTR_insize_000363bc;\n    while (uVar19 = (uint)bVar1, PTR_insize_000363bc = (undefined *)puVar6, 0x10 < uVar19) {\n      if (uVar19 == 99) {\n        return 1;\n      }\n      uVar19 = uVar19 - 0x10;\n      uVar22 = uVar22 - phVar18->b;\n      uVar17 = uVar17 >> (phVar18->b & 0x1f);\n      if (uVar22 < uVar19) {\n        do {\n          while( true ) {\n            uVar13 = uVar22;\n            uVar22 = *(uint *)puVar9;\n            if (uVar22 < *(uint *)puVar10) break;\n            *(uint *)puVar12 = uVar21;\n            uVar22 = fill_inbuf(0);\n            uVar17 = uVar17 | (uVar22 & 0xff) << (uVar13 & 0x1f);\n            uVar22 = uVar13 + 8;\n            if (uVar19 <= uVar13 + 8) goto LAB_00018454;\n          }\n          uVar17 = uVar17 | (uint)(byte)puVar11[uVar22] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar22 + 1;\n          uVar22 = uVar13 + 8;\n        } while (uVar13 + 8 < uVar19);\nLAB_00018454:\n        uVar22 = uVar13 + 8;\n      }\n      phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17);\n      puVar6 = (uint *)PTR_insize_000363bc;\n      bVar1 = phVar18->e;\n    }\n    uVar22 = uVar22 - phVar18->b;\n    uVar17 = uVar17 >> (phVar18->b & 0x1f);\n    if (uVar22 < uVar19) {\n      uVar14 = *(uint *)puVar9;\n      uVar13 = uVar22;\n      while( true ) {\n        if (uVar14 < *puVar6) {\n          uVar22 = (uint)(byte)puVar11[uVar14] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar14 + 1;\n        }\n        else {\n          *(uint *)puVar12 = uVar21;\n          uVar22 = fill_inbuf(0);\n          uVar22 = (uVar22 & 0xff) << (uVar13 & 0x1f);\n        }\n        uVar17 = uVar17 | uVar22;\n        uVar22 = uVar13 + 8;\n        if (uVar19 <= uVar22) break;\n        uVar13 = uVar13 + 8;\n        uVar14 = *(uint *)puVar9;\n      }\n    }\n    puVar10 = PTR_window_0003649c;\n    uVar22 = uVar22 - uVar19;\n    uVar13 = uVar5 & uVar20;\n    uVar20 = uVar17 >> (uVar19 & 0x1f);\n    uVar13 = uVar13 + uVar4;\n    uVar19 = (uVar21 - (phVar18->v).n) - (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17);\n    do {\n      uVar19 = uVar19 & 0x7fff;\n      if (uVar21 < uVar19) {\n        uVar17 = 0x8000 - uVar19;\n        if (uVar13 <= 0x8000 - uVar19) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar21 <= uVar19) goto LAB_00018724;\nLAB_000186a8:\n        if (uVar21 - uVar19 < uVar17) goto LAB_00018738;\nLAB_000186bc:\n        (*(code *)PTR_memcpy_00036698)(puVar10 + uVar21,puVar10 + uVar19,uVar17);\n      }\n      else {\n        uVar17 = 0x8000 - uVar21;\n        if (uVar13 <= 0x8000 - uVar21) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar19 < uVar21) goto LAB_000186a8;\nLAB_00018724:\n        if (uVar17 <= uVar19 - uVar21) goto LAB_000186bc;\nLAB_00018738:\n        puVar15 = puVar10 + uVar19;\n        do {\n          puVar16 = puVar15 + 1;\n          puVar15[uVar21 - uVar19] = *puVar15;\n          puVar15 = puVar16;\n        } while (puVar10 + uVar19 + uVar17 != puVar16);\n      }\n      uVar21 = uVar21 + uVar17;\n      uVar19 = uVar17 + uVar19;\n      if (uVar21 == 0x8000) {\n        *(undefined4 *)puVar12 = 0x8000;\n        uVar21 = 0;\n        flush_window();\n      }\n      puVar6 = (uint *)PTR_insize_000363bc;\n    } while (uVar13 != 0);\n  } while( true );\n}\n\n" comment (function_definition "int inflate_codes(huft *tl,huft *td,int bl,int bd)\n\n{\n  byte bVar1;\n  ushort uVar2;\n  ushort uVar3;\n  ushort uVar4;\n  ushort uVar5;\n  uint *puVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  undefined *puVar11;\n  undefined *puVar12;\n  uint uVar13;\n  uint uVar14;\n  undefined1 *puVar15;\n  undefined1 *puVar16;\n  uint uVar17;\n  huft *phVar18;\n  uint uVar19;\n  uint uVar20;\n  uint uVar21;\n  uint uVar22;\n  \n  puVar12 = PTR_outcnt_00036488;\n  puVar11 = PTR_inbuf_000363c0;\n  puVar9 = PTR_inptr_000363b8;\n  puVar8 = PTR_LAB_00036398;\n  puVar7 = PTR_DAT_00036388;\n  uVar2 = *(ushort *)(PTR_LAB_00036398 + bl * 2 + 0x4e40);\n  uVar3 = *(ushort *)(PTR_LAB_00036398 + bd * 2 + 0x4e40);\n  uVar20 = *(uint *)(PTR_DAT_00036388 + 0x6d38);\n  uVar22 = *(uint *)(PTR_DAT_00036388 + 0x6d34);\n  uVar21 = *(uint *)PTR_outcnt_00036488;\n  puVar6 = (uint *)PTR_insize_000363bc;\njoined_r0x000181cc:\n  do {\n    for (; PTR_insize_000363bc = (undefined *)puVar6, uVar22 < (uint)bl; uVar22 = uVar22 + 8) {\n      uVar19 = *(uint *)puVar9;\n      if (uVar19 < *puVar6) {\n        uVar17 = (uint)(byte)puVar11[uVar19];\n        *(uint *)puVar9 = uVar19 + 1;\n      }\n      else {\n        *(uint *)puVar12 = uVar21;\n        uVar17 = fill_inbuf(0);\n        uVar17 = uVar17 & 0xff;\n      }\n      uVar20 = uVar20 | uVar17 << (uVar22 & 0x1f);\n      puVar6 = (uint *)PTR_insize_000363bc;\n    }\n    phVar18 = tl + (uVar20 & uVar2);\n    uVar19 = (uint)phVar18->e;\n    if (0x10 < uVar19) {\n      if (uVar19 == 99) {\n        return 1;\n      }\n      do {\n        uVar19 = uVar19 - 0x10;\n        uVar22 = uVar22 - phVar18->b;\n        uVar20 = uVar20 >> (phVar18->b & 0x1f);\n        if (uVar22 < uVar19) {\n          do {\n            while( true ) {\n              uVar17 = uVar22;\n              uVar22 = *(uint *)puVar9;\n              if (uVar22 < *puVar6) break;\n              *(uint *)puVar12 = uVar21;\n              uVar22 = fill_inbuf(0);\n              uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f);\n              uVar22 = uVar17 + 8;\n              if (uVar19 <= uVar17 + 8) goto LAB_0001856c;\n            }\n            uVar20 = uVar20 | (uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f);\n            *(uint *)puVar9 = uVar22 + 1;\n            uVar22 = uVar17 + 8;\n          } while (uVar17 + 8 < uVar19);\nLAB_0001856c:\n          uVar22 = uVar17 + 8;\n        }\n        phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar20);\n        uVar19 = (uint)phVar18->e;\n        if (uVar19 < 0x11) break;\n        if (uVar19 == 99) {\n          return 1;\n        }\n      } while( true );\n    }\n    puVar10 = PTR_insize_000363bc;\n    uVar20 = uVar20 >> (phVar18->b & 0x1f);\n    uVar22 = uVar22 - phVar18->b;\n    if (uVar19 == 0x10) {\n      uVar19 = uVar21 + 1;\n      PTR_window_0003649c[uVar21] = (char)(phVar18->v).n;\n      uVar21 = uVar19;\n      puVar6 = (uint *)PTR_insize_000363bc;\n      if (uVar19 == 0x8000) {\n        *(undefined4 *)puVar12 = 0x8000;\n        flush_window();\n        uVar21 = 0;\n        puVar6 = (uint *)PTR_insize_000363bc;\n      }\n      goto joined_r0x000181cc;\n    }\n    if (uVar19 == 0xf) {\n      *(uint *)puVar12 = uVar21;\n      *(uint *)(puVar7 + 0x6d38) = uVar20;\n      *(uint *)(puVar7 + 0x6d34) = uVar22;\n      return 0;\n    }\n    for (; uVar22 < uVar19; uVar22 = uVar22 + 8) {\n      while( true ) {\n        uVar17 = *(uint *)puVar9;\n        if (*(uint *)puVar10 <= uVar17) break;\n        uVar13 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar20 = uVar20 | (uint)(byte)puVar11[uVar17] << uVar13;\n        *(uint *)puVar9 = uVar17 + 1;\n        if (uVar19 <= uVar22) goto LAB_000182f4;\n      }\n      *(uint *)puVar12 = uVar21;\n      uVar17 = fill_inbuf(0);\n      uVar20 = uVar20 | (uVar17 & 0xff) << (uVar22 & 0x1f);\n    }\nLAB_000182f4:\n    puVar10 = PTR_insize_000363bc;\n    uVar4 = (phVar18->v).n;\n    uVar17 = uVar20 >> (uVar19 & 0x1f);\n    uVar5 = *(ushort *)(puVar8 + uVar19 * 2 + 0x4e40);\n    for (uVar22 = uVar22 - uVar19; uVar22 < (uint)bd; uVar22 = uVar22 + 8) {\n      while( true ) {\n        uVar19 = *(uint *)puVar9;\n        if (uVar19 < *(uint *)puVar10) break;\n        *(uint *)puVar12 = uVar21;\n        uVar13 = fill_inbuf(0);\n        uVar19 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar17 = uVar17 | (uVar13 & 0xff) << uVar19;\n        if ((uint)bd <= uVar22) goto LAB_0001839c;\n      }\n      bVar1 = puVar11[uVar19];\n      *(uint *)puVar9 = uVar19 + 1;\n      uVar17 = uVar17 | (uint)bVar1 << (uVar22 & 0x1f);\n    }\nLAB_0001839c:\n    puVar10 = PTR_insize_000363bc;\n    phVar18 = td + (uVar3 & uVar17);\n    bVar1 = phVar18->e;\n    puVar6 = (uint *)PTR_insize_000363bc;\n    while (uVar19 = (uint)bVar1, PTR_insize_000363bc = (undefined *)puVar6, 0x10 < uVar19) {\n      if (uVar19 == 99) {\n        return 1;\n      }\n      uVar19 = uVar19 - 0x10;\n      uVar22 = uVar22 - phVar18->b;\n      uVar17 = uVar17 >> (phVar18->b & 0x1f);\n      if (uVar22 < uVar19) {\n        do {\n          while( true ) {\n            uVar13 = uVar22;\n            uVar22 = *(uint *)puVar9;\n            if (uVar22 < *(uint *)puVar10) break;\n            *(uint *)puVar12 = uVar21;\n            uVar22 = fill_inbuf(0);\n            uVar17 = uVar17 | (uVar22 & 0xff) << (uVar13 & 0x1f);\n            uVar22 = uVar13 + 8;\n            if (uVar19 <= uVar13 + 8) goto LAB_00018454;\n          }\n          uVar17 = uVar17 | (uint)(byte)puVar11[uVar22] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar22 + 1;\n          uVar22 = uVar13 + 8;\n        } while (uVar13 + 8 < uVar19);\nLAB_00018454:\n        uVar22 = uVar13 + 8;\n      }\n      phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17);\n      puVar6 = (uint *)PTR_insize_000363bc;\n      bVar1 = phVar18->e;\n    }\n    uVar22 = uVar22 - phVar18->b;\n    uVar17 = uVar17 >> (phVar18->b & 0x1f);\n    if (uVar22 < uVar19) {\n      uVar14 = *(uint *)puVar9;\n      uVar13 = uVar22;\n      while( true ) {\n        if (uVar14 < *puVar6) {\n          uVar22 = (uint)(byte)puVar11[uVar14] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar14 + 1;\n        }\n        else {\n          *(uint *)puVar12 = uVar21;\n          uVar22 = fill_inbuf(0);\n          uVar22 = (uVar22 & 0xff) << (uVar13 & 0x1f);\n        }\n        uVar17 = uVar17 | uVar22;\n        uVar22 = uVar13 + 8;\n        if (uVar19 <= uVar22) break;\n        uVar13 = uVar13 + 8;\n        uVar14 = *(uint *)puVar9;\n      }\n    }\n    puVar10 = PTR_window_0003649c;\n    uVar22 = uVar22 - uVar19;\n    uVar13 = uVar5 & uVar20;\n    uVar20 = uVar17 >> (uVar19 & 0x1f);\n    uVar13 = uVar13 + uVar4;\n    uVar19 = (uVar21 - (phVar18->v).n) - (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17);\n    do {\n      uVar19 = uVar19 & 0x7fff;\n      if (uVar21 < uVar19) {\n        uVar17 = 0x8000 - uVar19;\n        if (uVar13 <= 0x8000 - uVar19) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar21 <= uVar19) goto LAB_00018724;\nLAB_000186a8:\n        if (uVar21 - uVar19 < uVar17) goto LAB_00018738;\nLAB_000186bc:\n        (*(code *)PTR_memcpy_00036698)(puVar10 + uVar21,puVar10 + uVar19,uVar17);\n      }\n      else {\n        uVar17 = 0x8000 - uVar21;\n        if (uVar13 <= 0x8000 - uVar21) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar19 < uVar21) goto LAB_000186a8;\nLAB_00018724:\n        if (uVar17 <= uVar19 - uVar21) goto LAB_000186bc;\nLAB_00018738:\n        puVar15 = puVar10 + uVar19;\n        do {\n          puVar16 = puVar15 + 1;\n          puVar15[uVar21 - uVar19] = *puVar15;\n          puVar15 = puVar16;\n        } while (puVar10 + uVar19 + uVar17 != puVar16);\n      }\n      uVar21 = uVar21 + uVar17;\n      uVar19 = uVar17 + uVar19;\n      if (uVar21 == 0x8000) {\n        *(undefined4 *)puVar12 = 0x8000;\n        uVar21 = 0;\n        flush_window();\n      }\n      puVar6 = (uint *)PTR_insize_000363bc;\n    } while (uVar13 != 0);\n  } while( true );\n}" primitive_type (function_declarator "inflate_codes(huft *tl,huft *td,int bl,int bd)" identifier (parameter_list "(huft *tl,huft *td,int bl,int bd)" ( (parameter_declaration "huft *tl" type_identifier (pointer_declarator "*tl" * identifier)) , (parameter_declaration "huft *td" type_identifier (pointer_declarator "*td" * identifier)) , (parameter_declaration "int bl" primitive_type identifier) , (parameter_declaration "int bd" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  ushort uVar2;\n  ushort uVar3;\n  ushort uVar4;\n  ushort uVar5;\n  uint *puVar6;\n  undefined *puVar7;\n  undefined *puVar8;\n  undefined *puVar9;\n  undefined *puVar10;\n  undefined *puVar11;\n  undefined *puVar12;\n  uint uVar13;\n  uint uVar14;\n  undefined1 *puVar15;\n  undefined1 *puVar16;\n  uint uVar17;\n  huft *phVar18;\n  uint uVar19;\n  uint uVar20;\n  uint uVar21;\n  uint uVar22;\n  \n  puVar12 = PTR_outcnt_00036488;\n  puVar11 = PTR_inbuf_000363c0;\n  puVar9 = PTR_inptr_000363b8;\n  puVar8 = PTR_LAB_00036398;\n  puVar7 = PTR_DAT_00036388;\n  uVar2 = *(ushort *)(PTR_LAB_00036398 + bl * 2 + 0x4e40);\n  uVar3 = *(ushort *)(PTR_LAB_00036398 + bd * 2 + 0x4e40);\n  uVar20 = *(uint *)(PTR_DAT_00036388 + 0x6d38);\n  uVar22 = *(uint *)(PTR_DAT_00036388 + 0x6d34);\n  uVar21 = *(uint *)PTR_outcnt_00036488;\n  puVar6 = (uint *)PTR_insize_000363bc;\njoined_r0x000181cc:\n  do {\n    for (; PTR_insize_000363bc = (undefined *)puVar6, uVar22 < (uint)bl; uVar22 = uVar22 + 8) {\n      uVar19 = *(uint *)puVar9;\n      if (uVar19 < *puVar6) {\n        uVar17 = (uint)(byte)puVar11[uVar19];\n        *(uint *)puVar9 = uVar19 + 1;\n      }\n      else {\n        *(uint *)puVar12 = uVar21;\n        uVar17 = fill_inbuf(0);\n        uVar17 = uVar17 & 0xff;\n      }\n      uVar20 = uVar20 | uVar17 << (uVar22 & 0x1f);\n      puVar6 = (uint *)PTR_insize_000363bc;\n    }\n    phVar18 = tl + (uVar20 & uVar2);\n    uVar19 = (uint)phVar18->e;\n    if (0x10 < uVar19) {\n      if (uVar19 == 99) {\n        return 1;\n      }\n      do {\n        uVar19 = uVar19 - 0x10;\n        uVar22 = uVar22 - phVar18->b;\n        uVar20 = uVar20 >> (phVar18->b & 0x1f);\n        if (uVar22 < uVar19) {\n          do {\n            while( true ) {\n              uVar17 = uVar22;\n              uVar22 = *(uint *)puVar9;\n              if (uVar22 < *puVar6) break;\n              *(uint *)puVar12 = uVar21;\n              uVar22 = fill_inbuf(0);\n              uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f);\n              uVar22 = uVar17 + 8;\n              if (uVar19 <= uVar17 + 8) goto LAB_0001856c;\n            }\n            uVar20 = uVar20 | (uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f);\n            *(uint *)puVar9 = uVar22 + 1;\n            uVar22 = uVar17 + 8;\n          } while (uVar17 + 8 < uVar19);\nLAB_0001856c:\n          uVar22 = uVar17 + 8;\n        }\n        phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar20);\n        uVar19 = (uint)phVar18->e;\n        if (uVar19 < 0x11) break;\n        if (uVar19 == 99) {\n          return 1;\n        }\n      } while( true );\n    }\n    puVar10 = PTR_insize_000363bc;\n    uVar20 = uVar20 >> (phVar18->b & 0x1f);\n    uVar22 = uVar22 - phVar18->b;\n    if (uVar19 == 0x10) {\n      uVar19 = uVar21 + 1;\n      PTR_window_0003649c[uVar21] = (char)(phVar18->v).n;\n      uVar21 = uVar19;\n      puVar6 = (uint *)PTR_insize_000363bc;\n      if (uVar19 == 0x8000) {\n        *(undefined4 *)puVar12 = 0x8000;\n        flush_window();\n        uVar21 = 0;\n        puVar6 = (uint *)PTR_insize_000363bc;\n      }\n      goto joined_r0x000181cc;\n    }\n    if (uVar19 == 0xf) {\n      *(uint *)puVar12 = uVar21;\n      *(uint *)(puVar7 + 0x6d38) = uVar20;\n      *(uint *)(puVar7 + 0x6d34) = uVar22;\n      return 0;\n    }\n    for (; uVar22 < uVar19; uVar22 = uVar22 + 8) {\n      while( true ) {\n        uVar17 = *(uint *)puVar9;\n        if (*(uint *)puVar10 <= uVar17) break;\n        uVar13 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar20 = uVar20 | (uint)(byte)puVar11[uVar17] << uVar13;\n        *(uint *)puVar9 = uVar17 + 1;\n        if (uVar19 <= uVar22) goto LAB_000182f4;\n      }\n      *(uint *)puVar12 = uVar21;\n      uVar17 = fill_inbuf(0);\n      uVar20 = uVar20 | (uVar17 & 0xff) << (uVar22 & 0x1f);\n    }\nLAB_000182f4:\n    puVar10 = PTR_insize_000363bc;\n    uVar4 = (phVar18->v).n;\n    uVar17 = uVar20 >> (uVar19 & 0x1f);\n    uVar5 = *(ushort *)(puVar8 + uVar19 * 2 + 0x4e40);\n    for (uVar22 = uVar22 - uVar19; uVar22 < (uint)bd; uVar22 = uVar22 + 8) {\n      while( true ) {\n        uVar19 = *(uint *)puVar9;\n        if (uVar19 < *(uint *)puVar10) break;\n        *(uint *)puVar12 = uVar21;\n        uVar13 = fill_inbuf(0);\n        uVar19 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar17 = uVar17 | (uVar13 & 0xff) << uVar19;\n        if ((uint)bd <= uVar22) goto LAB_0001839c;\n      }\n      bVar1 = puVar11[uVar19];\n      *(uint *)puVar9 = uVar19 + 1;\n      uVar17 = uVar17 | (uint)bVar1 << (uVar22 & 0x1f);\n    }\nLAB_0001839c:\n    puVar10 = PTR_insize_000363bc;\n    phVar18 = td + (uVar3 & uVar17);\n    bVar1 = phVar18->e;\n    puVar6 = (uint *)PTR_insize_000363bc;\n    while (uVar19 = (uint)bVar1, PTR_insize_000363bc = (undefined *)puVar6, 0x10 < uVar19) {\n      if (uVar19 == 99) {\n        return 1;\n      }\n      uVar19 = uVar19 - 0x10;\n      uVar22 = uVar22 - phVar18->b;\n      uVar17 = uVar17 >> (phVar18->b & 0x1f);\n      if (uVar22 < uVar19) {\n        do {\n          while( true ) {\n            uVar13 = uVar22;\n            uVar22 = *(uint *)puVar9;\n            if (uVar22 < *(uint *)puVar10) break;\n            *(uint *)puVar12 = uVar21;\n            uVar22 = fill_inbuf(0);\n            uVar17 = uVar17 | (uVar22 & 0xff) << (uVar13 & 0x1f);\n            uVar22 = uVar13 + 8;\n            if (uVar19 <= uVar13 + 8) goto LAB_00018454;\n          }\n          uVar17 = uVar17 | (uint)(byte)puVar11[uVar22] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar22 + 1;\n          uVar22 = uVar13 + 8;\n        } while (uVar13 + 8 < uVar19);\nLAB_00018454:\n        uVar22 = uVar13 + 8;\n      }\n      phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17);\n      puVar6 = (uint *)PTR_insize_000363bc;\n      bVar1 = phVar18->e;\n    }\n    uVar22 = uVar22 - phVar18->b;\n    uVar17 = uVar17 >> (phVar18->b & 0x1f);\n    if (uVar22 < uVar19) {\n      uVar14 = *(uint *)puVar9;\n      uVar13 = uVar22;\n      while( true ) {\n        if (uVar14 < *puVar6) {\n          uVar22 = (uint)(byte)puVar11[uVar14] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar14 + 1;\n        }\n        else {\n          *(uint *)puVar12 = uVar21;\n          uVar22 = fill_inbuf(0);\n          uVar22 = (uVar22 & 0xff) << (uVar13 & 0x1f);\n        }\n        uVar17 = uVar17 | uVar22;\n        uVar22 = uVar13 + 8;\n        if (uVar19 <= uVar22) break;\n        uVar13 = uVar13 + 8;\n        uVar14 = *(uint *)puVar9;\n      }\n    }\n    puVar10 = PTR_window_0003649c;\n    uVar22 = uVar22 - uVar19;\n    uVar13 = uVar5 & uVar20;\n    uVar20 = uVar17 >> (uVar19 & 0x1f);\n    uVar13 = uVar13 + uVar4;\n    uVar19 = (uVar21 - (phVar18->v).n) - (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17);\n    do {\n      uVar19 = uVar19 & 0x7fff;\n      if (uVar21 < uVar19) {\n        uVar17 = 0x8000 - uVar19;\n        if (uVar13 <= 0x8000 - uVar19) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar21 <= uVar19) goto LAB_00018724;\nLAB_000186a8:\n        if (uVar21 - uVar19 < uVar17) goto LAB_00018738;\nLAB_000186bc:\n        (*(code *)PTR_memcpy_00036698)(puVar10 + uVar21,puVar10 + uVar19,uVar17);\n      }\n      else {\n        uVar17 = 0x8000 - uVar21;\n        if (uVar13 <= 0x8000 - uVar21) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar19 < uVar21) goto LAB_000186a8;\nLAB_00018724:\n        if (uVar17 <= uVar19 - uVar21) goto LAB_000186bc;\nLAB_00018738:\n        puVar15 = puVar10 + uVar19;\n        do {\n          puVar16 = puVar15 + 1;\n          puVar15[uVar21 - uVar19] = *puVar15;\n          puVar15 = puVar16;\n        } while (puVar10 + uVar19 + uVar17 != puVar16);\n      }\n      uVar21 = uVar21 + uVar17;\n      uVar19 = uVar17 + uVar19;\n      if (uVar21 == 0x8000) {\n        *(undefined4 *)puVar12 = 0x8000;\n        uVar21 = 0;\n        flush_window();\n      }\n      puVar6 = (uint *)PTR_insize_000363bc;\n    } while (uVar13 != 0);\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "ushort uVar3;" type_identifier identifier ;) (declaration "ushort uVar4;" type_identifier identifier ;) (declaration "ushort uVar5;" type_identifier identifier ;) (declaration "uint *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 "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "undefined1 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "undefined1 *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "huft *phVar18;" type_identifier (pointer_declarator "*phVar18" * identifier) ;) (declaration "uint uVar19;" type_identifier identifier ;) (declaration "uint uVar20;" type_identifier identifier ;) (declaration "uint uVar21;" type_identifier identifier ;) (declaration "uint uVar22;" type_identifier identifier ;) (expression_statement "puVar12 = PTR_outcnt_00036488;" (assignment_expression "puVar12 = PTR_outcnt_00036488" identifier = identifier) ;) (expression_statement "puVar11 = PTR_inbuf_000363c0;" (assignment_expression "puVar11 = PTR_inbuf_000363c0" identifier = identifier) ;) (expression_statement "puVar9 = PTR_inptr_000363b8;" (assignment_expression "puVar9 = PTR_inptr_000363b8" identifier = identifier) ;) (expression_statement "puVar8 = PTR_LAB_00036398;" (assignment_expression "puVar8 = PTR_LAB_00036398" identifier = identifier) ;) (expression_statement "puVar7 = PTR_DAT_00036388;" (assignment_expression "puVar7 = PTR_DAT_00036388" identifier = identifier) ;) (expression_statement "uVar2 = *(ushort *)(PTR_LAB_00036398 + bl * 2 + 0x4e40);" (assignment_expression "uVar2 = *(ushort *)(PTR_LAB_00036398 + bl * 2 + 0x4e40)" identifier = (pointer_expression "*(ushort *)(PTR_LAB_00036398 + bl * 2 + 0x4e40)" * (cast_expression "(ushort *)(PTR_LAB_00036398 + bl * 2 + 0x4e40)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00036398 + bl * 2 + 0x4e40)" ( (binary_expression "PTR_LAB_00036398 + bl * 2 + 0x4e40" (binary_expression "PTR_LAB_00036398 + bl * 2" identifier + (binary_expression "bl * 2" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "uVar3 = *(ushort *)(PTR_LAB_00036398 + bd * 2 + 0x4e40);" (assignment_expression "uVar3 = *(ushort *)(PTR_LAB_00036398 + bd * 2 + 0x4e40)" identifier = (pointer_expression "*(ushort *)(PTR_LAB_00036398 + bd * 2 + 0x4e40)" * (cast_expression "(ushort *)(PTR_LAB_00036398 + bd * 2 + 0x4e40)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00036398 + bd * 2 + 0x4e40)" ( (binary_expression "PTR_LAB_00036398 + bd * 2 + 0x4e40" (binary_expression "PTR_LAB_00036398 + bd * 2" identifier + (binary_expression "bd * 2" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "uVar20 = *(uint *)(PTR_DAT_00036388 + 0x6d38);" (assignment_expression "uVar20 = *(uint *)(PTR_DAT_00036388 + 0x6d38)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00036388 + 0x6d38)" * (cast_expression "(uint *)(PTR_DAT_00036388 + 0x6d38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00036388 + 0x6d38)" ( (binary_expression "PTR_DAT_00036388 + 0x6d38" identifier + number_literal) ))))) ;) (expression_statement "uVar22 = *(uint *)(PTR_DAT_00036388 + 0x6d34);" (assignment_expression "uVar22 = *(uint *)(PTR_DAT_00036388 + 0x6d34)" identifier = (pointer_expression "*(uint *)(PTR_DAT_00036388 + 0x6d34)" * (cast_expression "(uint *)(PTR_DAT_00036388 + 0x6d34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00036388 + 0x6d34)" ( (binary_expression "PTR_DAT_00036388 + 0x6d34" identifier + number_literal) ))))) ;) (expression_statement "uVar21 = *(uint *)PTR_outcnt_00036488;" (assignment_expression "uVar21 = *(uint *)PTR_outcnt_00036488" identifier = (pointer_expression "*(uint *)PTR_outcnt_00036488" * (cast_expression "(uint *)PTR_outcnt_00036488" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar6 = (uint *)PTR_insize_000363bc;" (assignment_expression "puVar6 = (uint *)PTR_insize_000363bc" identifier = (cast_expression "(uint *)PTR_insize_000363bc" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (labeled_statement "joined_r0x000181cc:\n  do {\n    for (; PTR_insize_000363bc = (undefined *)puVar6, uVar22 < (uint)bl; uVar22 = uVar22 + 8) {\n      uVar19 = *(uint *)puVar9;\n      if (uVar19 < *puVar6) {\n        uVar17 = (uint)(byte)puVar11[uVar19];\n        *(uint *)puVar9 = uVar19 + 1;\n      }\n      else {\n        *(uint *)puVar12 = uVar21;\n        uVar17 = fill_inbuf(0);\n        uVar17 = uVar17 & 0xff;\n      }\n      uVar20 = uVar20 | uVar17 << (uVar22 & 0x1f);\n      puVar6 = (uint *)PTR_insize_000363bc;\n    }\n    phVar18 = tl + (uVar20 & uVar2);\n    uVar19 = (uint)phVar18->e;\n    if (0x10 < uVar19) {\n      if (uVar19 == 99) {\n        return 1;\n      }\n      do {\n        uVar19 = uVar19 - 0x10;\n        uVar22 = uVar22 - phVar18->b;\n        uVar20 = uVar20 >> (phVar18->b & 0x1f);\n        if (uVar22 < uVar19) {\n          do {\n            while( true ) {\n              uVar17 = uVar22;\n              uVar22 = *(uint *)puVar9;\n              if (uVar22 < *puVar6) break;\n              *(uint *)puVar12 = uVar21;\n              uVar22 = fill_inbuf(0);\n              uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f);\n              uVar22 = uVar17 + 8;\n              if (uVar19 <= uVar17 + 8) goto LAB_0001856c;\n            }\n            uVar20 = uVar20 | (uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f);\n            *(uint *)puVar9 = uVar22 + 1;\n            uVar22 = uVar17 + 8;\n          } while (uVar17 + 8 < uVar19);\nLAB_0001856c:\n          uVar22 = uVar17 + 8;\n        }\n        phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar20);\n        uVar19 = (uint)phVar18->e;\n        if (uVar19 < 0x11) break;\n        if (uVar19 == 99) {\n          return 1;\n        }\n      } while( true );\n    }\n    puVar10 = PTR_insize_000363bc;\n    uVar20 = uVar20 >> (phVar18->b & 0x1f);\n    uVar22 = uVar22 - phVar18->b;\n    if (uVar19 == 0x10) {\n      uVar19 = uVar21 + 1;\n      PTR_window_0003649c[uVar21] = (char)(phVar18->v).n;\n      uVar21 = uVar19;\n      puVar6 = (uint *)PTR_insize_000363bc;\n      if (uVar19 == 0x8000) {\n        *(undefined4 *)puVar12 = 0x8000;\n        flush_window();\n        uVar21 = 0;\n        puVar6 = (uint *)PTR_insize_000363bc;\n      }\n      goto joined_r0x000181cc;\n    }\n    if (uVar19 == 0xf) {\n      *(uint *)puVar12 = uVar21;\n      *(uint *)(puVar7 + 0x6d38) = uVar20;\n      *(uint *)(puVar7 + 0x6d34) = uVar22;\n      return 0;\n    }\n    for (; uVar22 < uVar19; uVar22 = uVar22 + 8) {\n      while( true ) {\n        uVar17 = *(uint *)puVar9;\n        if (*(uint *)puVar10 <= uVar17) break;\n        uVar13 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar20 = uVar20 | (uint)(byte)puVar11[uVar17] << uVar13;\n        *(uint *)puVar9 = uVar17 + 1;\n        if (uVar19 <= uVar22) goto LAB_000182f4;\n      }\n      *(uint *)puVar12 = uVar21;\n      uVar17 = fill_inbuf(0);\n      uVar20 = uVar20 | (uVar17 & 0xff) << (uVar22 & 0x1f);\n    }\nLAB_000182f4:\n    puVar10 = PTR_insize_000363bc;\n    uVar4 = (phVar18->v).n;\n    uVar17 = uVar20 >> (uVar19 & 0x1f);\n    uVar5 = *(ushort *)(puVar8 + uVar19 * 2 + 0x4e40);\n    for (uVar22 = uVar22 - uVar19; uVar22 < (uint)bd; uVar22 = uVar22 + 8) {\n      while( true ) {\n        uVar19 = *(uint *)puVar9;\n        if (uVar19 < *(uint *)puVar10) break;\n        *(uint *)puVar12 = uVar21;\n        uVar13 = fill_inbuf(0);\n        uVar19 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar17 = uVar17 | (uVar13 & 0xff) << uVar19;\n        if ((uint)bd <= uVar22) goto LAB_0001839c;\n      }\n      bVar1 = puVar11[uVar19];\n      *(uint *)puVar9 = uVar19 + 1;\n      uVar17 = uVar17 | (uint)bVar1 << (uVar22 & 0x1f);\n    }\nLAB_0001839c:\n    puVar10 = PTR_insize_000363bc;\n    phVar18 = td + (uVar3 & uVar17);\n    bVar1 = phVar18->e;\n    puVar6 = (uint *)PTR_insize_000363bc;\n    while (uVar19 = (uint)bVar1, PTR_insize_000363bc = (undefined *)puVar6, 0x10 < uVar19) {\n      if (uVar19 == 99) {\n        return 1;\n      }\n      uVar19 = uVar19 - 0x10;\n      uVar22 = uVar22 - phVar18->b;\n      uVar17 = uVar17 >> (phVar18->b & 0x1f);\n      if (uVar22 < uVar19) {\n        do {\n          while( true ) {\n            uVar13 = uVar22;\n            uVar22 = *(uint *)puVar9;\n            if (uVar22 < *(uint *)puVar10) break;\n            *(uint *)puVar12 = uVar21;\n            uVar22 = fill_inbuf(0);\n            uVar17 = uVar17 | (uVar22 & 0xff) << (uVar13 & 0x1f);\n            uVar22 = uVar13 + 8;\n            if (uVar19 <= uVar13 + 8) goto LAB_00018454;\n          }\n          uVar17 = uVar17 | (uint)(byte)puVar11[uVar22] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar22 + 1;\n          uVar22 = uVar13 + 8;\n        } while (uVar13 + 8 < uVar19);\nLAB_00018454:\n        uVar22 = uVar13 + 8;\n      }\n      phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17);\n      puVar6 = (uint *)PTR_insize_000363bc;\n      bVar1 = phVar18->e;\n    }\n    uVar22 = uVar22 - phVar18->b;\n    uVar17 = uVar17 >> (phVar18->b & 0x1f);\n    if (uVar22 < uVar19) {\n      uVar14 = *(uint *)puVar9;\n      uVar13 = uVar22;\n      while( true ) {\n        if (uVar14 < *puVar6) {\n          uVar22 = (uint)(byte)puVar11[uVar14] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar14 + 1;\n        }\n        else {\n          *(uint *)puVar12 = uVar21;\n          uVar22 = fill_inbuf(0);\n          uVar22 = (uVar22 & 0xff) << (uVar13 & 0x1f);\n        }\n        uVar17 = uVar17 | uVar22;\n        uVar22 = uVar13 + 8;\n        if (uVar19 <= uVar22) break;\n        uVar13 = uVar13 + 8;\n        uVar14 = *(uint *)puVar9;\n      }\n    }\n    puVar10 = PTR_window_0003649c;\n    uVar22 = uVar22 - uVar19;\n    uVar13 = uVar5 & uVar20;\n    uVar20 = uVar17 >> (uVar19 & 0x1f);\n    uVar13 = uVar13 + uVar4;\n    uVar19 = (uVar21 - (phVar18->v).n) - (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17);\n    do {\n      uVar19 = uVar19 & 0x7fff;\n      if (uVar21 < uVar19) {\n        uVar17 = 0x8000 - uVar19;\n        if (uVar13 <= 0x8000 - uVar19) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar21 <= uVar19) goto LAB_00018724;\nLAB_000186a8:\n        if (uVar21 - uVar19 < uVar17) goto LAB_00018738;\nLAB_000186bc:\n        (*(code *)PTR_memcpy_00036698)(puVar10 + uVar21,puVar10 + uVar19,uVar17);\n      }\n      else {\n        uVar17 = 0x8000 - uVar21;\n        if (uVar13 <= 0x8000 - uVar21) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar19 < uVar21) goto LAB_000186a8;\nLAB_00018724:\n        if (uVar17 <= uVar19 - uVar21) goto LAB_000186bc;\nLAB_00018738:\n        puVar15 = puVar10 + uVar19;\n        do {\n          puVar16 = puVar15 + 1;\n          puVar15[uVar21 - uVar19] = *puVar15;\n          puVar15 = puVar16;\n        } while (puVar10 + uVar19 + uVar17 != puVar16);\n      }\n      uVar21 = uVar21 + uVar17;\n      uVar19 = uVar17 + uVar19;\n      if (uVar21 == 0x8000) {\n        *(undefined4 *)puVar12 = 0x8000;\n        uVar21 = 0;\n        flush_window();\n      }\n      puVar6 = (uint *)PTR_insize_000363bc;\n    } while (uVar13 != 0);\n  } while( true );" statement_identifier : (do_statement "do {\n    for (; PTR_insize_000363bc = (undefined *)puVar6, uVar22 < (uint)bl; uVar22 = uVar22 + 8) {\n      uVar19 = *(uint *)puVar9;\n      if (uVar19 < *puVar6) {\n        uVar17 = (uint)(byte)puVar11[uVar19];\n        *(uint *)puVar9 = uVar19 + 1;\n      }\n      else {\n        *(uint *)puVar12 = uVar21;\n        uVar17 = fill_inbuf(0);\n        uVar17 = uVar17 & 0xff;\n      }\n      uVar20 = uVar20 | uVar17 << (uVar22 & 0x1f);\n      puVar6 = (uint *)PTR_insize_000363bc;\n    }\n    phVar18 = tl + (uVar20 & uVar2);\n    uVar19 = (uint)phVar18->e;\n    if (0x10 < uVar19) {\n      if (uVar19 == 99) {\n        return 1;\n      }\n      do {\n        uVar19 = uVar19 - 0x10;\n        uVar22 = uVar22 - phVar18->b;\n        uVar20 = uVar20 >> (phVar18->b & 0x1f);\n        if (uVar22 < uVar19) {\n          do {\n            while( true ) {\n              uVar17 = uVar22;\n              uVar22 = *(uint *)puVar9;\n              if (uVar22 < *puVar6) break;\n              *(uint *)puVar12 = uVar21;\n              uVar22 = fill_inbuf(0);\n              uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f);\n              uVar22 = uVar17 + 8;\n              if (uVar19 <= uVar17 + 8) goto LAB_0001856c;\n            }\n            uVar20 = uVar20 | (uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f);\n            *(uint *)puVar9 = uVar22 + 1;\n            uVar22 = uVar17 + 8;\n          } while (uVar17 + 8 < uVar19);\nLAB_0001856c:\n          uVar22 = uVar17 + 8;\n        }\n        phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar20);\n        uVar19 = (uint)phVar18->e;\n        if (uVar19 < 0x11) break;\n        if (uVar19 == 99) {\n          return 1;\n        }\n      } while( true );\n    }\n    puVar10 = PTR_insize_000363bc;\n    uVar20 = uVar20 >> (phVar18->b & 0x1f);\n    uVar22 = uVar22 - phVar18->b;\n    if (uVar19 == 0x10) {\n      uVar19 = uVar21 + 1;\n      PTR_window_0003649c[uVar21] = (char)(phVar18->v).n;\n      uVar21 = uVar19;\n      puVar6 = (uint *)PTR_insize_000363bc;\n      if (uVar19 == 0x8000) {\n        *(undefined4 *)puVar12 = 0x8000;\n        flush_window();\n        uVar21 = 0;\n        puVar6 = (uint *)PTR_insize_000363bc;\n      }\n      goto joined_r0x000181cc;\n    }\n    if (uVar19 == 0xf) {\n      *(uint *)puVar12 = uVar21;\n      *(uint *)(puVar7 + 0x6d38) = uVar20;\n      *(uint *)(puVar7 + 0x6d34) = uVar22;\n      return 0;\n    }\n    for (; uVar22 < uVar19; uVar22 = uVar22 + 8) {\n      while( true ) {\n        uVar17 = *(uint *)puVar9;\n        if (*(uint *)puVar10 <= uVar17) break;\n        uVar13 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar20 = uVar20 | (uint)(byte)puVar11[uVar17] << uVar13;\n        *(uint *)puVar9 = uVar17 + 1;\n        if (uVar19 <= uVar22) goto LAB_000182f4;\n      }\n      *(uint *)puVar12 = uVar21;\n      uVar17 = fill_inbuf(0);\n      uVar20 = uVar20 | (uVar17 & 0xff) << (uVar22 & 0x1f);\n    }\nLAB_000182f4:\n    puVar10 = PTR_insize_000363bc;\n    uVar4 = (phVar18->v).n;\n    uVar17 = uVar20 >> (uVar19 & 0x1f);\n    uVar5 = *(ushort *)(puVar8 + uVar19 * 2 + 0x4e40);\n    for (uVar22 = uVar22 - uVar19; uVar22 < (uint)bd; uVar22 = uVar22 + 8) {\n      while( true ) {\n        uVar19 = *(uint *)puVar9;\n        if (uVar19 < *(uint *)puVar10) break;\n        *(uint *)puVar12 = uVar21;\n        uVar13 = fill_inbuf(0);\n        uVar19 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar17 = uVar17 | (uVar13 & 0xff) << uVar19;\n        if ((uint)bd <= uVar22) goto LAB_0001839c;\n      }\n      bVar1 = puVar11[uVar19];\n      *(uint *)puVar9 = uVar19 + 1;\n      uVar17 = uVar17 | (uint)bVar1 << (uVar22 & 0x1f);\n    }\nLAB_0001839c:\n    puVar10 = PTR_insize_000363bc;\n    phVar18 = td + (uVar3 & uVar17);\n    bVar1 = phVar18->e;\n    puVar6 = (uint *)PTR_insize_000363bc;\n    while (uVar19 = (uint)bVar1, PTR_insize_000363bc = (undefined *)puVar6, 0x10 < uVar19) {\n      if (uVar19 == 99) {\n        return 1;\n      }\n      uVar19 = uVar19 - 0x10;\n      uVar22 = uVar22 - phVar18->b;\n      uVar17 = uVar17 >> (phVar18->b & 0x1f);\n      if (uVar22 < uVar19) {\n        do {\n          while( true ) {\n            uVar13 = uVar22;\n            uVar22 = *(uint *)puVar9;\n            if (uVar22 < *(uint *)puVar10) break;\n            *(uint *)puVar12 = uVar21;\n            uVar22 = fill_inbuf(0);\n            uVar17 = uVar17 | (uVar22 & 0xff) << (uVar13 & 0x1f);\n            uVar22 = uVar13 + 8;\n            if (uVar19 <= uVar13 + 8) goto LAB_00018454;\n          }\n          uVar17 = uVar17 | (uint)(byte)puVar11[uVar22] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar22 + 1;\n          uVar22 = uVar13 + 8;\n        } while (uVar13 + 8 < uVar19);\nLAB_00018454:\n        uVar22 = uVar13 + 8;\n      }\n      phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17);\n      puVar6 = (uint *)PTR_insize_000363bc;\n      bVar1 = phVar18->e;\n    }\n    uVar22 = uVar22 - phVar18->b;\n    uVar17 = uVar17 >> (phVar18->b & 0x1f);\n    if (uVar22 < uVar19) {\n      uVar14 = *(uint *)puVar9;\n      uVar13 = uVar22;\n      while( true ) {\n        if (uVar14 < *puVar6) {\n          uVar22 = (uint)(byte)puVar11[uVar14] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar14 + 1;\n        }\n        else {\n          *(uint *)puVar12 = uVar21;\n          uVar22 = fill_inbuf(0);\n          uVar22 = (uVar22 & 0xff) << (uVar13 & 0x1f);\n        }\n        uVar17 = uVar17 | uVar22;\n        uVar22 = uVar13 + 8;\n        if (uVar19 <= uVar22) break;\n        uVar13 = uVar13 + 8;\n        uVar14 = *(uint *)puVar9;\n      }\n    }\n    puVar10 = PTR_window_0003649c;\n    uVar22 = uVar22 - uVar19;\n    uVar13 = uVar5 & uVar20;\n    uVar20 = uVar17 >> (uVar19 & 0x1f);\n    uVar13 = uVar13 + uVar4;\n    uVar19 = (uVar21 - (phVar18->v).n) - (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17);\n    do {\n      uVar19 = uVar19 & 0x7fff;\n      if (uVar21 < uVar19) {\n        uVar17 = 0x8000 - uVar19;\n        if (uVar13 <= 0x8000 - uVar19) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar21 <= uVar19) goto LAB_00018724;\nLAB_000186a8:\n        if (uVar21 - uVar19 < uVar17) goto LAB_00018738;\nLAB_000186bc:\n        (*(code *)PTR_memcpy_00036698)(puVar10 + uVar21,puVar10 + uVar19,uVar17);\n      }\n      else {\n        uVar17 = 0x8000 - uVar21;\n        if (uVar13 <= 0x8000 - uVar21) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar19 < uVar21) goto LAB_000186a8;\nLAB_00018724:\n        if (uVar17 <= uVar19 - uVar21) goto LAB_000186bc;\nLAB_00018738:\n        puVar15 = puVar10 + uVar19;\n        do {\n          puVar16 = puVar15 + 1;\n          puVar15[uVar21 - uVar19] = *puVar15;\n          puVar15 = puVar16;\n        } while (puVar10 + uVar19 + uVar17 != puVar16);\n      }\n      uVar21 = uVar21 + uVar17;\n      uVar19 = uVar17 + uVar19;\n      if (uVar21 == 0x8000) {\n        *(undefined4 *)puVar12 = 0x8000;\n        uVar21 = 0;\n        flush_window();\n      }\n      puVar6 = (uint *)PTR_insize_000363bc;\n    } while (uVar13 != 0);\n  } while( true );" do (compound_statement "{\n    for (; PTR_insize_000363bc = (undefined *)puVar6, uVar22 < (uint)bl; uVar22 = uVar22 + 8) {\n      uVar19 = *(uint *)puVar9;\n      if (uVar19 < *puVar6) {\n        uVar17 = (uint)(byte)puVar11[uVar19];\n        *(uint *)puVar9 = uVar19 + 1;\n      }\n      else {\n        *(uint *)puVar12 = uVar21;\n        uVar17 = fill_inbuf(0);\n        uVar17 = uVar17 & 0xff;\n      }\n      uVar20 = uVar20 | uVar17 << (uVar22 & 0x1f);\n      puVar6 = (uint *)PTR_insize_000363bc;\n    }\n    phVar18 = tl + (uVar20 & uVar2);\n    uVar19 = (uint)phVar18->e;\n    if (0x10 < uVar19) {\n      if (uVar19 == 99) {\n        return 1;\n      }\n      do {\n        uVar19 = uVar19 - 0x10;\n        uVar22 = uVar22 - phVar18->b;\n        uVar20 = uVar20 >> (phVar18->b & 0x1f);\n        if (uVar22 < uVar19) {\n          do {\n            while( true ) {\n              uVar17 = uVar22;\n              uVar22 = *(uint *)puVar9;\n              if (uVar22 < *puVar6) break;\n              *(uint *)puVar12 = uVar21;\n              uVar22 = fill_inbuf(0);\n              uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f);\n              uVar22 = uVar17 + 8;\n              if (uVar19 <= uVar17 + 8) goto LAB_0001856c;\n            }\n            uVar20 = uVar20 | (uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f);\n            *(uint *)puVar9 = uVar22 + 1;\n            uVar22 = uVar17 + 8;\n          } while (uVar17 + 8 < uVar19);\nLAB_0001856c:\n          uVar22 = uVar17 + 8;\n        }\n        phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar20);\n        uVar19 = (uint)phVar18->e;\n        if (uVar19 < 0x11) break;\n        if (uVar19 == 99) {\n          return 1;\n        }\n      } while( true );\n    }\n    puVar10 = PTR_insize_000363bc;\n    uVar20 = uVar20 >> (phVar18->b & 0x1f);\n    uVar22 = uVar22 - phVar18->b;\n    if (uVar19 == 0x10) {\n      uVar19 = uVar21 + 1;\n      PTR_window_0003649c[uVar21] = (char)(phVar18->v).n;\n      uVar21 = uVar19;\n      puVar6 = (uint *)PTR_insize_000363bc;\n      if (uVar19 == 0x8000) {\n        *(undefined4 *)puVar12 = 0x8000;\n        flush_window();\n        uVar21 = 0;\n        puVar6 = (uint *)PTR_insize_000363bc;\n      }\n      goto joined_r0x000181cc;\n    }\n    if (uVar19 == 0xf) {\n      *(uint *)puVar12 = uVar21;\n      *(uint *)(puVar7 + 0x6d38) = uVar20;\n      *(uint *)(puVar7 + 0x6d34) = uVar22;\n      return 0;\n    }\n    for (; uVar22 < uVar19; uVar22 = uVar22 + 8) {\n      while( true ) {\n        uVar17 = *(uint *)puVar9;\n        if (*(uint *)puVar10 <= uVar17) break;\n        uVar13 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar20 = uVar20 | (uint)(byte)puVar11[uVar17] << uVar13;\n        *(uint *)puVar9 = uVar17 + 1;\n        if (uVar19 <= uVar22) goto LAB_000182f4;\n      }\n      *(uint *)puVar12 = uVar21;\n      uVar17 = fill_inbuf(0);\n      uVar20 = uVar20 | (uVar17 & 0xff) << (uVar22 & 0x1f);\n    }\nLAB_000182f4:\n    puVar10 = PTR_insize_000363bc;\n    uVar4 = (phVar18->v).n;\n    uVar17 = uVar20 >> (uVar19 & 0x1f);\n    uVar5 = *(ushort *)(puVar8 + uVar19 * 2 + 0x4e40);\n    for (uVar22 = uVar22 - uVar19; uVar22 < (uint)bd; uVar22 = uVar22 + 8) {\n      while( true ) {\n        uVar19 = *(uint *)puVar9;\n        if (uVar19 < *(uint *)puVar10) break;\n        *(uint *)puVar12 = uVar21;\n        uVar13 = fill_inbuf(0);\n        uVar19 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar17 = uVar17 | (uVar13 & 0xff) << uVar19;\n        if ((uint)bd <= uVar22) goto LAB_0001839c;\n      }\n      bVar1 = puVar11[uVar19];\n      *(uint *)puVar9 = uVar19 + 1;\n      uVar17 = uVar17 | (uint)bVar1 << (uVar22 & 0x1f);\n    }\nLAB_0001839c:\n    puVar10 = PTR_insize_000363bc;\n    phVar18 = td + (uVar3 & uVar17);\n    bVar1 = phVar18->e;\n    puVar6 = (uint *)PTR_insize_000363bc;\n    while (uVar19 = (uint)bVar1, PTR_insize_000363bc = (undefined *)puVar6, 0x10 < uVar19) {\n      if (uVar19 == 99) {\n        return 1;\n      }\n      uVar19 = uVar19 - 0x10;\n      uVar22 = uVar22 - phVar18->b;\n      uVar17 = uVar17 >> (phVar18->b & 0x1f);\n      if (uVar22 < uVar19) {\n        do {\n          while( true ) {\n            uVar13 = uVar22;\n            uVar22 = *(uint *)puVar9;\n            if (uVar22 < *(uint *)puVar10) break;\n            *(uint *)puVar12 = uVar21;\n            uVar22 = fill_inbuf(0);\n            uVar17 = uVar17 | (uVar22 & 0xff) << (uVar13 & 0x1f);\n            uVar22 = uVar13 + 8;\n            if (uVar19 <= uVar13 + 8) goto LAB_00018454;\n          }\n          uVar17 = uVar17 | (uint)(byte)puVar11[uVar22] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar22 + 1;\n          uVar22 = uVar13 + 8;\n        } while (uVar13 + 8 < uVar19);\nLAB_00018454:\n        uVar22 = uVar13 + 8;\n      }\n      phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17);\n      puVar6 = (uint *)PTR_insize_000363bc;\n      bVar1 = phVar18->e;\n    }\n    uVar22 = uVar22 - phVar18->b;\n    uVar17 = uVar17 >> (phVar18->b & 0x1f);\n    if (uVar22 < uVar19) {\n      uVar14 = *(uint *)puVar9;\n      uVar13 = uVar22;\n      while( true ) {\n        if (uVar14 < *puVar6) {\n          uVar22 = (uint)(byte)puVar11[uVar14] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar14 + 1;\n        }\n        else {\n          *(uint *)puVar12 = uVar21;\n          uVar22 = fill_inbuf(0);\n          uVar22 = (uVar22 & 0xff) << (uVar13 & 0x1f);\n        }\n        uVar17 = uVar17 | uVar22;\n        uVar22 = uVar13 + 8;\n        if (uVar19 <= uVar22) break;\n        uVar13 = uVar13 + 8;\n        uVar14 = *(uint *)puVar9;\n      }\n    }\n    puVar10 = PTR_window_0003649c;\n    uVar22 = uVar22 - uVar19;\n    uVar13 = uVar5 & uVar20;\n    uVar20 = uVar17 >> (uVar19 & 0x1f);\n    uVar13 = uVar13 + uVar4;\n    uVar19 = (uVar21 - (phVar18->v).n) - (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17);\n    do {\n      uVar19 = uVar19 & 0x7fff;\n      if (uVar21 < uVar19) {\n        uVar17 = 0x8000 - uVar19;\n        if (uVar13 <= 0x8000 - uVar19) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar21 <= uVar19) goto LAB_00018724;\nLAB_000186a8:\n        if (uVar21 - uVar19 < uVar17) goto LAB_00018738;\nLAB_000186bc:\n        (*(code *)PTR_memcpy_00036698)(puVar10 + uVar21,puVar10 + uVar19,uVar17);\n      }\n      else {\n        uVar17 = 0x8000 - uVar21;\n        if (uVar13 <= 0x8000 - uVar21) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar19 < uVar21) goto LAB_000186a8;\nLAB_00018724:\n        if (uVar17 <= uVar19 - uVar21) goto LAB_000186bc;\nLAB_00018738:\n        puVar15 = puVar10 + uVar19;\n        do {\n          puVar16 = puVar15 + 1;\n          puVar15[uVar21 - uVar19] = *puVar15;\n          puVar15 = puVar16;\n        } while (puVar10 + uVar19 + uVar17 != puVar16);\n      }\n      uVar21 = uVar21 + uVar17;\n      uVar19 = uVar17 + uVar19;\n      if (uVar21 == 0x8000) {\n        *(undefined4 *)puVar12 = 0x8000;\n        uVar21 = 0;\n        flush_window();\n      }\n      puVar6 = (uint *)PTR_insize_000363bc;\n    } while (uVar13 != 0);\n  }" { (for_statement "for (; PTR_insize_000363bc = (undefined *)puVar6, uVar22 < (uint)bl; uVar22 = uVar22 + 8) {\n      uVar19 = *(uint *)puVar9;\n      if (uVar19 < *puVar6) {\n        uVar17 = (uint)(byte)puVar11[uVar19];\n        *(uint *)puVar9 = uVar19 + 1;\n      }\n      else {\n        *(uint *)puVar12 = uVar21;\n        uVar17 = fill_inbuf(0);\n        uVar17 = uVar17 & 0xff;\n      }\n      uVar20 = uVar20 | uVar17 << (uVar22 & 0x1f);\n      puVar6 = (uint *)PTR_insize_000363bc;\n    }" for ( ; (comma_expression "PTR_insize_000363bc = (undefined *)puVar6, uVar22 < (uint)bl" (assignment_expression "PTR_insize_000363bc = (undefined *)puVar6" identifier = (cast_expression "(undefined *)puVar6" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "uVar22 < (uint)bl" identifier < (cast_expression "(uint)bl" ( (type_descriptor "uint" type_identifier) ) identifier))) ; (assignment_expression "uVar22 = uVar22 + 8" identifier = (binary_expression "uVar22 + 8" identifier + number_literal)) ) (compound_statement "{\n      uVar19 = *(uint *)puVar9;\n      if (uVar19 < *puVar6) {\n        uVar17 = (uint)(byte)puVar11[uVar19];\n        *(uint *)puVar9 = uVar19 + 1;\n      }\n      else {\n        *(uint *)puVar12 = uVar21;\n        uVar17 = fill_inbuf(0);\n        uVar17 = uVar17 & 0xff;\n      }\n      uVar20 = uVar20 | uVar17 << (uVar22 & 0x1f);\n      puVar6 = (uint *)PTR_insize_000363bc;\n    }" { (expression_statement "uVar19 = *(uint *)puVar9;" (assignment_expression "uVar19 = *(uint *)puVar9" identifier = (pointer_expression "*(uint *)puVar9" * (cast_expression "(uint *)puVar9" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (uVar19 < *puVar6) {\n        uVar17 = (uint)(byte)puVar11[uVar19];\n        *(uint *)puVar9 = uVar19 + 1;\n      }\n      else {\n        *(uint *)puVar12 = uVar21;\n        uVar17 = fill_inbuf(0);\n        uVar17 = uVar17 & 0xff;\n      }" if (parenthesized_expression "(uVar19 < *puVar6)" ( (binary_expression "uVar19 < *puVar6" identifier < (pointer_expression "*puVar6" * identifier)) )) (compound_statement "{\n        uVar17 = (uint)(byte)puVar11[uVar19];\n        *(uint *)puVar9 = uVar19 + 1;\n      }" { (expression_statement "uVar17 = (uint)(byte)puVar11[uVar19];" (assignment_expression "uVar17 = (uint)(byte)puVar11[uVar19]" identifier = (cast_expression "(uint)(byte)puVar11[uVar19]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)puVar11[uVar19]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar11[uVar19]" identifier [ identifier ])))) ;) (expression_statement "*(uint *)puVar9 = uVar19 + 1;" (assignment_expression "*(uint *)puVar9 = uVar19 + 1" (pointer_expression "*(uint *)puVar9" * (cast_expression "(uint *)puVar9" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "uVar19 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        *(uint *)puVar12 = uVar21;\n        uVar17 = fill_inbuf(0);\n        uVar17 = uVar17 & 0xff;\n      }" else (compound_statement "{\n        *(uint *)puVar12 = uVar21;\n        uVar17 = fill_inbuf(0);\n        uVar17 = uVar17 & 0xff;\n      }" { (expression_statement "*(uint *)puVar12 = uVar21;" (assignment_expression "*(uint *)puVar12 = uVar21" (pointer_expression "*(uint *)puVar12" * (cast_expression "(uint *)puVar12" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "uVar17 = fill_inbuf(0);" (assignment_expression "uVar17 = fill_inbuf(0)" identifier = (call_expression "fill_inbuf(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar17 = uVar17 & 0xff;" (assignment_expression "uVar17 = uVar17 & 0xff" identifier = (binary_expression "uVar17 & 0xff" identifier & number_literal)) ;) }))) (expression_statement "uVar20 = uVar20 | uVar17 << (uVar22 & 0x1f);" (assignment_expression "uVar20 = uVar20 | uVar17 << (uVar22 & 0x1f)" identifier = (binary_expression "uVar20 | uVar17 << (uVar22 & 0x1f)" identifier | (binary_expression "uVar17 << (uVar22 & 0x1f)" identifier << (parenthesized_expression "(uVar22 & 0x1f)" ( (binary_expression "uVar22 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "puVar6 = (uint *)PTR_insize_000363bc;" (assignment_expression "puVar6 = (uint *)PTR_insize_000363bc" identifier = (cast_expression "(uint *)PTR_insize_000363bc" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "phVar18 = tl + (uVar20 & uVar2);" (assignment_expression "phVar18 = tl + (uVar20 & uVar2)" identifier = (binary_expression "tl + (uVar20 & uVar2)" identifier + (parenthesized_expression "(uVar20 & uVar2)" ( (binary_expression "uVar20 & uVar2" identifier & identifier) )))) ;) (expression_statement "uVar19 = (uint)phVar18->e;" (assignment_expression "uVar19 = (uint)phVar18->e" identifier = (cast_expression "(uint)phVar18->e" ( (type_descriptor "uint" type_identifier) ) (field_expression "phVar18->e" identifier -> field_identifier))) ;) (if_statement "if (0x10 < uVar19) {\n      if (uVar19 == 99) {\n        return 1;\n      }\n      do {\n        uVar19 = uVar19 - 0x10;\n        uVar22 = uVar22 - phVar18->b;\n        uVar20 = uVar20 >> (phVar18->b & 0x1f);\n        if (uVar22 < uVar19) {\n          do {\n            while( true ) {\n              uVar17 = uVar22;\n              uVar22 = *(uint *)puVar9;\n              if (uVar22 < *puVar6) break;\n              *(uint *)puVar12 = uVar21;\n              uVar22 = fill_inbuf(0);\n              uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f);\n              uVar22 = uVar17 + 8;\n              if (uVar19 <= uVar17 + 8) goto LAB_0001856c;\n            }\n            uVar20 = uVar20 | (uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f);\n            *(uint *)puVar9 = uVar22 + 1;\n            uVar22 = uVar17 + 8;\n          } while (uVar17 + 8 < uVar19);\nLAB_0001856c:\n          uVar22 = uVar17 + 8;\n        }\n        phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar20);\n        uVar19 = (uint)phVar18->e;\n        if (uVar19 < 0x11) break;\n        if (uVar19 == 99) {\n          return 1;\n        }\n      } while( true );\n    }" if (parenthesized_expression "(0x10 < uVar19)" ( (binary_expression "0x10 < uVar19" number_literal < identifier) )) (compound_statement "{\n      if (uVar19 == 99) {\n        return 1;\n      }\n      do {\n        uVar19 = uVar19 - 0x10;\n        uVar22 = uVar22 - phVar18->b;\n        uVar20 = uVar20 >> (phVar18->b & 0x1f);\n        if (uVar22 < uVar19) {\n          do {\n            while( true ) {\n              uVar17 = uVar22;\n              uVar22 = *(uint *)puVar9;\n              if (uVar22 < *puVar6) break;\n              *(uint *)puVar12 = uVar21;\n              uVar22 = fill_inbuf(0);\n              uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f);\n              uVar22 = uVar17 + 8;\n              if (uVar19 <= uVar17 + 8) goto LAB_0001856c;\n            }\n            uVar20 = uVar20 | (uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f);\n            *(uint *)puVar9 = uVar22 + 1;\n            uVar22 = uVar17 + 8;\n          } while (uVar17 + 8 < uVar19);\nLAB_0001856c:\n          uVar22 = uVar17 + 8;\n        }\n        phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar20);\n        uVar19 = (uint)phVar18->e;\n        if (uVar19 < 0x11) break;\n        if (uVar19 == 99) {\n          return 1;\n        }\n      } while( true );\n    }" { (if_statement "if (uVar19 == 99) {\n        return 1;\n      }" if (parenthesized_expression "(uVar19 == 99)" ( (binary_expression "uVar19 == 99" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (do_statement "do {\n        uVar19 = uVar19 - 0x10;\n        uVar22 = uVar22 - phVar18->b;\n        uVar20 = uVar20 >> (phVar18->b & 0x1f);\n        if (uVar22 < uVar19) {\n          do {\n            while( true ) {\n              uVar17 = uVar22;\n              uVar22 = *(uint *)puVar9;\n              if (uVar22 < *puVar6) break;\n              *(uint *)puVar12 = uVar21;\n              uVar22 = fill_inbuf(0);\n              uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f);\n              uVar22 = uVar17 + 8;\n              if (uVar19 <= uVar17 + 8) goto LAB_0001856c;\n            }\n            uVar20 = uVar20 | (uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f);\n            *(uint *)puVar9 = uVar22 + 1;\n            uVar22 = uVar17 + 8;\n          } while (uVar17 + 8 < uVar19);\nLAB_0001856c:\n          uVar22 = uVar17 + 8;\n        }\n        phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar20);\n        uVar19 = (uint)phVar18->e;\n        if (uVar19 < 0x11) break;\n        if (uVar19 == 99) {\n          return 1;\n        }\n      } while( true );" do (compound_statement "{\n        uVar19 = uVar19 - 0x10;\n        uVar22 = uVar22 - phVar18->b;\n        uVar20 = uVar20 >> (phVar18->b & 0x1f);\n        if (uVar22 < uVar19) {\n          do {\n            while( true ) {\n              uVar17 = uVar22;\n              uVar22 = *(uint *)puVar9;\n              if (uVar22 < *puVar6) break;\n              *(uint *)puVar12 = uVar21;\n              uVar22 = fill_inbuf(0);\n              uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f);\n              uVar22 = uVar17 + 8;\n              if (uVar19 <= uVar17 + 8) goto LAB_0001856c;\n            }\n            uVar20 = uVar20 | (uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f);\n            *(uint *)puVar9 = uVar22 + 1;\n            uVar22 = uVar17 + 8;\n          } while (uVar17 + 8 < uVar19);\nLAB_0001856c:\n          uVar22 = uVar17 + 8;\n        }\n        phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar20);\n        uVar19 = (uint)phVar18->e;\n        if (uVar19 < 0x11) break;\n        if (uVar19 == 99) {\n          return 1;\n        }\n      }" { (expression_statement "uVar19 = uVar19 - 0x10;" (assignment_expression "uVar19 = uVar19 - 0x10" identifier = (binary_expression "uVar19 - 0x10" identifier - number_literal)) ;) (expression_statement "uVar22 = uVar22 - phVar18->b;" (assignment_expression "uVar22 = uVar22 - phVar18->b" identifier = (binary_expression "uVar22 - phVar18->b" identifier - (field_expression "phVar18->b" identifier -> field_identifier))) ;) (expression_statement "uVar20 = uVar20 >> (phVar18->b & 0x1f);" (assignment_expression "uVar20 = uVar20 >> (phVar18->b & 0x1f)" identifier = (binary_expression "uVar20 >> (phVar18->b & 0x1f)" identifier >> (parenthesized_expression "(phVar18->b & 0x1f)" ( (binary_expression "phVar18->b & 0x1f" (field_expression "phVar18->b" identifier -> field_identifier) & number_literal) )))) ;) (if_statement "if (uVar22 < uVar19) {\n          do {\n            while( true ) {\n              uVar17 = uVar22;\n              uVar22 = *(uint *)puVar9;\n              if (uVar22 < *puVar6) break;\n              *(uint *)puVar12 = uVar21;\n              uVar22 = fill_inbuf(0);\n              uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f);\n              uVar22 = uVar17 + 8;\n              if (uVar19 <= uVar17 + 8) goto LAB_0001856c;\n            }\n            uVar20 = uVar20 | (uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f);\n            *(uint *)puVar9 = uVar22 + 1;\n            uVar22 = uVar17 + 8;\n          } while (uVar17 + 8 < uVar19);\nLAB_0001856c:\n          uVar22 = uVar17 + 8;\n        }" if (parenthesized_expression "(uVar22 < uVar19)" ( (binary_expression "uVar22 < uVar19" identifier < identifier) )) (compound_statement "{\n          do {\n            while( true ) {\n              uVar17 = uVar22;\n              uVar22 = *(uint *)puVar9;\n              if (uVar22 < *puVar6) break;\n              *(uint *)puVar12 = uVar21;\n              uVar22 = fill_inbuf(0);\n              uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f);\n              uVar22 = uVar17 + 8;\n              if (uVar19 <= uVar17 + 8) goto LAB_0001856c;\n            }\n            uVar20 = uVar20 | (uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f);\n            *(uint *)puVar9 = uVar22 + 1;\n            uVar22 = uVar17 + 8;\n          } while (uVar17 + 8 < uVar19);\nLAB_0001856c:\n          uVar22 = uVar17 + 8;\n        }" { (do_statement "do {\n            while( true ) {\n              uVar17 = uVar22;\n              uVar22 = *(uint *)puVar9;\n              if (uVar22 < *puVar6) break;\n              *(uint *)puVar12 = uVar21;\n              uVar22 = fill_inbuf(0);\n              uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f);\n              uVar22 = uVar17 + 8;\n              if (uVar19 <= uVar17 + 8) goto LAB_0001856c;\n            }\n            uVar20 = uVar20 | (uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f);\n            *(uint *)puVar9 = uVar22 + 1;\n            uVar22 = uVar17 + 8;\n          } while (uVar17 + 8 < uVar19);" do (compound_statement "{\n            while( true ) {\n              uVar17 = uVar22;\n              uVar22 = *(uint *)puVar9;\n              if (uVar22 < *puVar6) break;\n              *(uint *)puVar12 = uVar21;\n              uVar22 = fill_inbuf(0);\n              uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f);\n              uVar22 = uVar17 + 8;\n              if (uVar19 <= uVar17 + 8) goto LAB_0001856c;\n            }\n            uVar20 = uVar20 | (uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f);\n            *(uint *)puVar9 = uVar22 + 1;\n            uVar22 = uVar17 + 8;\n          }" { (while_statement "while( true ) {\n              uVar17 = uVar22;\n              uVar22 = *(uint *)puVar9;\n              if (uVar22 < *puVar6) break;\n              *(uint *)puVar12 = uVar21;\n              uVar22 = fill_inbuf(0);\n              uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f);\n              uVar22 = uVar17 + 8;\n              if (uVar19 <= uVar17 + 8) goto LAB_0001856c;\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              uVar17 = uVar22;\n              uVar22 = *(uint *)puVar9;\n              if (uVar22 < *puVar6) break;\n              *(uint *)puVar12 = uVar21;\n              uVar22 = fill_inbuf(0);\n              uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f);\n              uVar22 = uVar17 + 8;\n              if (uVar19 <= uVar17 + 8) goto LAB_0001856c;\n            }" { (expression_statement "uVar17 = uVar22;" (assignment_expression "uVar17 = uVar22" identifier = identifier) ;) (expression_statement "uVar22 = *(uint *)puVar9;" (assignment_expression "uVar22 = *(uint *)puVar9" identifier = (pointer_expression "*(uint *)puVar9" * (cast_expression "(uint *)puVar9" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (uVar22 < *puVar6) break;" if (parenthesized_expression "(uVar22 < *puVar6)" ( (binary_expression "uVar22 < *puVar6" identifier < (pointer_expression "*puVar6" * identifier)) )) (break_statement "break;" break ;)) (expression_statement "*(uint *)puVar12 = uVar21;" (assignment_expression "*(uint *)puVar12 = uVar21" (pointer_expression "*(uint *)puVar12" * (cast_expression "(uint *)puVar12" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "uVar22 = fill_inbuf(0);" (assignment_expression "uVar22 = fill_inbuf(0)" identifier = (call_expression "fill_inbuf(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f);" (assignment_expression "uVar20 = uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f)" identifier = (binary_expression "uVar20 | (uVar22 & 0xff) << (uVar17 & 0x1f)" identifier | (binary_expression "(uVar22 & 0xff) << (uVar17 & 0x1f)" (parenthesized_expression "(uVar22 & 0xff)" ( (binary_expression "uVar22 & 0xff" identifier & number_literal) )) << (parenthesized_expression "(uVar17 & 0x1f)" ( (binary_expression "uVar17 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "uVar22 = uVar17 + 8;" (assignment_expression "uVar22 = uVar17 + 8" identifier = (binary_expression "uVar17 + 8" identifier + number_literal)) ;) (if_statement "if (uVar19 <= uVar17 + 8) goto LAB_0001856c;" if (parenthesized_expression "(uVar19 <= uVar17 + 8)" ( (binary_expression "uVar19 <= uVar17 + 8" identifier <= (binary_expression "uVar17 + 8" identifier + number_literal)) )) (goto_statement "goto LAB_0001856c;" goto statement_identifier ;)) })) (expression_statement "uVar20 = uVar20 | (uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f);" (assignment_expression "uVar20 = uVar20 | (uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f)" identifier = (binary_expression "uVar20 | (uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f)" identifier | (binary_expression "(uint)(byte)puVar11[uVar22] << (uVar17 & 0x1f)" (cast_expression "(uint)(byte)puVar11[uVar22]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)puVar11[uVar22]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar11[uVar22]" identifier [ identifier ]))) << (parenthesized_expression "(uVar17 & 0x1f)" ( (binary_expression "uVar17 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "*(uint *)puVar9 = uVar22 + 1;" (assignment_expression "*(uint *)puVar9 = uVar22 + 1" (pointer_expression "*(uint *)puVar9" * (cast_expression "(uint *)puVar9" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "uVar22 + 1" identifier + number_literal)) ;) (expression_statement "uVar22 = uVar17 + 8;" (assignment_expression "uVar22 = uVar17 + 8" identifier = (binary_expression "uVar17 + 8" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar17 + 8 < uVar19)" ( (binary_expression "uVar17 + 8 < uVar19" (binary_expression "uVar17 + 8" identifier + number_literal) < identifier) )) ;) (labeled_statement "LAB_0001856c:\n          uVar22 = uVar17 + 8;" statement_identifier : (expression_statement "uVar22 = uVar17 + 8;" (assignment_expression "uVar22 = uVar17 + 8" identifier = (binary_expression "uVar17 + 8" identifier + number_literal)) ;)) })) (expression_statement "phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar20);" (assignment_expression "phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar20)" identifier = (binary_expression "(phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar20)" (field_expression "(phVar18->v).t" (parenthesized_expression "(phVar18->v)" ( (field_expression "phVar18->v" identifier -> field_identifier) )) . field_identifier) + (parenthesized_expression "(*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar20)" ( (binary_expression "*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar20" (pointer_expression "*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40)" * (cast_expression "(ushort *)(puVar8 + uVar19 * 2 + 0x4e40)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + uVar19 * 2 + 0x4e40)" ( (binary_expression "puVar8 + uVar19 * 2 + 0x4e40" (binary_expression "puVar8 + uVar19 * 2" identifier + (binary_expression "uVar19 * 2" identifier * number_literal)) + number_literal) )))) & identifier) )))) ;) (expression_statement "uVar19 = (uint)phVar18->e;" (assignment_expression "uVar19 = (uint)phVar18->e" identifier = (cast_expression "(uint)phVar18->e" ( (type_descriptor "uint" type_identifier) ) (field_expression "phVar18->e" identifier -> field_identifier))) ;) (if_statement "if (uVar19 < 0x11) break;" if (parenthesized_expression "(uVar19 < 0x11)" ( (binary_expression "uVar19 < 0x11" identifier < number_literal) )) (break_statement "break;" break ;)) (if_statement "if (uVar19 == 99) {\n          return 1;\n        }" if (parenthesized_expression "(uVar19 == 99)" ( (binary_expression "uVar19 == 99" identifier == number_literal) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "puVar10 = PTR_insize_000363bc;" (assignment_expression "puVar10 = PTR_insize_000363bc" identifier = identifier) ;) (expression_statement "uVar20 = uVar20 >> (phVar18->b & 0x1f);" (assignment_expression "uVar20 = uVar20 >> (phVar18->b & 0x1f)" identifier = (binary_expression "uVar20 >> (phVar18->b & 0x1f)" identifier >> (parenthesized_expression "(phVar18->b & 0x1f)" ( (binary_expression "phVar18->b & 0x1f" (field_expression "phVar18->b" identifier -> field_identifier) & number_literal) )))) ;) (expression_statement "uVar22 = uVar22 - phVar18->b;" (assignment_expression "uVar22 = uVar22 - phVar18->b" identifier = (binary_expression "uVar22 - phVar18->b" identifier - (field_expression "phVar18->b" identifier -> field_identifier))) ;) (if_statement "if (uVar19 == 0x10) {\n      uVar19 = uVar21 + 1;\n      PTR_window_0003649c[uVar21] = (char)(phVar18->v).n;\n      uVar21 = uVar19;\n      puVar6 = (uint *)PTR_insize_000363bc;\n      if (uVar19 == 0x8000) {\n        *(undefined4 *)puVar12 = 0x8000;\n        flush_window();\n        uVar21 = 0;\n        puVar6 = (uint *)PTR_insize_000363bc;\n      }\n      goto joined_r0x000181cc;\n    }" if (parenthesized_expression "(uVar19 == 0x10)" ( (binary_expression "uVar19 == 0x10" identifier == number_literal) )) (compound_statement "{\n      uVar19 = uVar21 + 1;\n      PTR_window_0003649c[uVar21] = (char)(phVar18->v).n;\n      uVar21 = uVar19;\n      puVar6 = (uint *)PTR_insize_000363bc;\n      if (uVar19 == 0x8000) {\n        *(undefined4 *)puVar12 = 0x8000;\n        flush_window();\n        uVar21 = 0;\n        puVar6 = (uint *)PTR_insize_000363bc;\n      }\n      goto joined_r0x000181cc;\n    }" { (expression_statement "uVar19 = uVar21 + 1;" (assignment_expression "uVar19 = uVar21 + 1" identifier = (binary_expression "uVar21 + 1" identifier + number_literal)) ;) (expression_statement "PTR_window_0003649c[uVar21] = (char)(phVar18->v).n;" (assignment_expression "PTR_window_0003649c[uVar21] = (char)(phVar18->v).n" (subscript_expression "PTR_window_0003649c[uVar21]" identifier [ identifier ]) = (cast_expression "(char)(phVar18->v).n" ( (type_descriptor "char" primitive_type) ) (field_expression "(phVar18->v).n" (parenthesized_expression "(phVar18->v)" ( (field_expression "phVar18->v" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "uVar21 = uVar19;" (assignment_expression "uVar21 = uVar19" identifier = identifier) ;) (expression_statement "puVar6 = (uint *)PTR_insize_000363bc;" (assignment_expression "puVar6 = (uint *)PTR_insize_000363bc" identifier = (cast_expression "(uint *)PTR_insize_000363bc" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (uVar19 == 0x8000) {\n        *(undefined4 *)puVar12 = 0x8000;\n        flush_window();\n        uVar21 = 0;\n        puVar6 = (uint *)PTR_insize_000363bc;\n      }" if (parenthesized_expression "(uVar19 == 0x8000)" ( (binary_expression "uVar19 == 0x8000" identifier == number_literal) )) (compound_statement "{\n        *(undefined4 *)puVar12 = 0x8000;\n        flush_window();\n        uVar21 = 0;\n        puVar6 = (uint *)PTR_insize_000363bc;\n      }" { (expression_statement "*(undefined4 *)puVar12 = 0x8000;" (assignment_expression "*(undefined4 *)puVar12 = 0x8000" (pointer_expression "*(undefined4 *)puVar12" * (cast_expression "(undefined4 *)puVar12" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "flush_window();" (call_expression "flush_window()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar21 = 0;" (assignment_expression "uVar21 = 0" identifier = number_literal) ;) (expression_statement "puVar6 = (uint *)PTR_insize_000363bc;" (assignment_expression "puVar6 = (uint *)PTR_insize_000363bc" identifier = (cast_expression "(uint *)PTR_insize_000363bc" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (goto_statement "goto joined_r0x000181cc;" goto statement_identifier ;) })) (if_statement "if (uVar19 == 0xf) {\n      *(uint *)puVar12 = uVar21;\n      *(uint *)(puVar7 + 0x6d38) = uVar20;\n      *(uint *)(puVar7 + 0x6d34) = uVar22;\n      return 0;\n    }" if (parenthesized_expression "(uVar19 == 0xf)" ( (binary_expression "uVar19 == 0xf" identifier == number_literal) )) (compound_statement "{\n      *(uint *)puVar12 = uVar21;\n      *(uint *)(puVar7 + 0x6d38) = uVar20;\n      *(uint *)(puVar7 + 0x6d34) = uVar22;\n      return 0;\n    }" { (expression_statement "*(uint *)puVar12 = uVar21;" (assignment_expression "*(uint *)puVar12 = uVar21" (pointer_expression "*(uint *)puVar12" * (cast_expression "(uint *)puVar12" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(uint *)(puVar7 + 0x6d38) = uVar20;" (assignment_expression "*(uint *)(puVar7 + 0x6d38) = uVar20" (pointer_expression "*(uint *)(puVar7 + 0x6d38)" * (cast_expression "(uint *)(puVar7 + 0x6d38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x6d38)" ( (binary_expression "puVar7 + 0x6d38" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(puVar7 + 0x6d34) = uVar22;" (assignment_expression "*(uint *)(puVar7 + 0x6d34) = uVar22" (pointer_expression "*(uint *)(puVar7 + 0x6d34)" * (cast_expression "(uint *)(puVar7 + 0x6d34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x6d34)" ( (binary_expression "puVar7 + 0x6d34" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (for_statement "for (; uVar22 < uVar19; uVar22 = uVar22 + 8) {\n      while( true ) {\n        uVar17 = *(uint *)puVar9;\n        if (*(uint *)puVar10 <= uVar17) break;\n        uVar13 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar20 = uVar20 | (uint)(byte)puVar11[uVar17] << uVar13;\n        *(uint *)puVar9 = uVar17 + 1;\n        if (uVar19 <= uVar22) goto LAB_000182f4;\n      }\n      *(uint *)puVar12 = uVar21;\n      uVar17 = fill_inbuf(0);\n      uVar20 = uVar20 | (uVar17 & 0xff) << (uVar22 & 0x1f);\n    }" for ( ; (binary_expression "uVar22 < uVar19" identifier < identifier) ; (assignment_expression "uVar22 = uVar22 + 8" identifier = (binary_expression "uVar22 + 8" identifier + number_literal)) ) (compound_statement "{\n      while( true ) {\n        uVar17 = *(uint *)puVar9;\n        if (*(uint *)puVar10 <= uVar17) break;\n        uVar13 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar20 = uVar20 | (uint)(byte)puVar11[uVar17] << uVar13;\n        *(uint *)puVar9 = uVar17 + 1;\n        if (uVar19 <= uVar22) goto LAB_000182f4;\n      }\n      *(uint *)puVar12 = uVar21;\n      uVar17 = fill_inbuf(0);\n      uVar20 = uVar20 | (uVar17 & 0xff) << (uVar22 & 0x1f);\n    }" { (while_statement "while( true ) {\n        uVar17 = *(uint *)puVar9;\n        if (*(uint *)puVar10 <= uVar17) break;\n        uVar13 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar20 = uVar20 | (uint)(byte)puVar11[uVar17] << uVar13;\n        *(uint *)puVar9 = uVar17 + 1;\n        if (uVar19 <= uVar22) goto LAB_000182f4;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        uVar17 = *(uint *)puVar9;\n        if (*(uint *)puVar10 <= uVar17) break;\n        uVar13 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar20 = uVar20 | (uint)(byte)puVar11[uVar17] << uVar13;\n        *(uint *)puVar9 = uVar17 + 1;\n        if (uVar19 <= uVar22) goto LAB_000182f4;\n      }" { (expression_statement "uVar17 = *(uint *)puVar9;" (assignment_expression "uVar17 = *(uint *)puVar9" identifier = (pointer_expression "*(uint *)puVar9" * (cast_expression "(uint *)puVar9" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (*(uint *)puVar10 <= uVar17) break;" if (parenthesized_expression "(*(uint *)puVar10 <= uVar17)" ( (binary_expression "*(uint *)puVar10 <= uVar17" (pointer_expression "*(uint *)puVar10" * (cast_expression "(uint *)puVar10" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) <= identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar13 = uVar22 & 0x1f;" (assignment_expression "uVar13 = uVar22 & 0x1f" identifier = (binary_expression "uVar22 & 0x1f" identifier & number_literal)) ;) (expression_statement "uVar22 = uVar22 + 8;" (assignment_expression "uVar22 = uVar22 + 8" identifier = (binary_expression "uVar22 + 8" identifier + number_literal)) ;) (expression_statement "uVar20 = uVar20 | (uint)(byte)puVar11[uVar17] << uVar13;" (assignment_expression "uVar20 = uVar20 | (uint)(byte)puVar11[uVar17] << uVar13" identifier = (binary_expression "uVar20 | (uint)(byte)puVar11[uVar17] << uVar13" identifier | (binary_expression "(uint)(byte)puVar11[uVar17] << uVar13" (cast_expression "(uint)(byte)puVar11[uVar17]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)puVar11[uVar17]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar11[uVar17]" identifier [ identifier ]))) << identifier))) ;) (expression_statement "*(uint *)puVar9 = uVar17 + 1;" (assignment_expression "*(uint *)puVar9 = uVar17 + 1" (pointer_expression "*(uint *)puVar9" * (cast_expression "(uint *)puVar9" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "uVar17 + 1" identifier + number_literal)) ;) (if_statement "if (uVar19 <= uVar22) goto LAB_000182f4;" if (parenthesized_expression "(uVar19 <= uVar22)" ( (binary_expression "uVar19 <= uVar22" identifier <= identifier) )) (goto_statement "goto LAB_000182f4;" goto statement_identifier ;)) })) (expression_statement "*(uint *)puVar12 = uVar21;" (assignment_expression "*(uint *)puVar12 = uVar21" (pointer_expression "*(uint *)puVar12" * (cast_expression "(uint *)puVar12" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "uVar17 = fill_inbuf(0);" (assignment_expression "uVar17 = fill_inbuf(0)" identifier = (call_expression "fill_inbuf(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar20 = uVar20 | (uVar17 & 0xff) << (uVar22 & 0x1f);" (assignment_expression "uVar20 = uVar20 | (uVar17 & 0xff) << (uVar22 & 0x1f)" identifier = (binary_expression "uVar20 | (uVar17 & 0xff) << (uVar22 & 0x1f)" identifier | (binary_expression "(uVar17 & 0xff) << (uVar22 & 0x1f)" (parenthesized_expression "(uVar17 & 0xff)" ( (binary_expression "uVar17 & 0xff" identifier & number_literal) )) << (parenthesized_expression "(uVar22 & 0x1f)" ( (binary_expression "uVar22 & 0x1f" identifier & number_literal) ))))) ;) })) (labeled_statement "LAB_000182f4:\n    puVar10 = PTR_insize_000363bc;" statement_identifier : (expression_statement "puVar10 = PTR_insize_000363bc;" (assignment_expression "puVar10 = PTR_insize_000363bc" identifier = identifier) ;)) (expression_statement "uVar4 = (phVar18->v).n;" (assignment_expression "uVar4 = (phVar18->v).n" identifier = (field_expression "(phVar18->v).n" (parenthesized_expression "(phVar18->v)" ( (field_expression "phVar18->v" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "uVar17 = uVar20 >> (uVar19 & 0x1f);" (assignment_expression "uVar17 = uVar20 >> (uVar19 & 0x1f)" identifier = (binary_expression "uVar20 >> (uVar19 & 0x1f)" identifier >> (parenthesized_expression "(uVar19 & 0x1f)" ( (binary_expression "uVar19 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar5 = *(ushort *)(puVar8 + uVar19 * 2 + 0x4e40);" (assignment_expression "uVar5 = *(ushort *)(puVar8 + uVar19 * 2 + 0x4e40)" identifier = (pointer_expression "*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40)" * (cast_expression "(ushort *)(puVar8 + uVar19 * 2 + 0x4e40)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + uVar19 * 2 + 0x4e40)" ( (binary_expression "puVar8 + uVar19 * 2 + 0x4e40" (binary_expression "puVar8 + uVar19 * 2" identifier + (binary_expression "uVar19 * 2" identifier * number_literal)) + number_literal) ))))) ;) (for_statement "for (uVar22 = uVar22 - uVar19; uVar22 < (uint)bd; uVar22 = uVar22 + 8) {\n      while( true ) {\n        uVar19 = *(uint *)puVar9;\n        if (uVar19 < *(uint *)puVar10) break;\n        *(uint *)puVar12 = uVar21;\n        uVar13 = fill_inbuf(0);\n        uVar19 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar17 = uVar17 | (uVar13 & 0xff) << uVar19;\n        if ((uint)bd <= uVar22) goto LAB_0001839c;\n      }\n      bVar1 = puVar11[uVar19];\n      *(uint *)puVar9 = uVar19 + 1;\n      uVar17 = uVar17 | (uint)bVar1 << (uVar22 & 0x1f);\n    }" for ( (assignment_expression "uVar22 = uVar22 - uVar19" identifier = (binary_expression "uVar22 - uVar19" identifier - identifier)) ; (binary_expression "uVar22 < (uint)bd" identifier < (cast_expression "(uint)bd" ( (type_descriptor "uint" type_identifier) ) identifier)) ; (assignment_expression "uVar22 = uVar22 + 8" identifier = (binary_expression "uVar22 + 8" identifier + number_literal)) ) (compound_statement "{\n      while( true ) {\n        uVar19 = *(uint *)puVar9;\n        if (uVar19 < *(uint *)puVar10) break;\n        *(uint *)puVar12 = uVar21;\n        uVar13 = fill_inbuf(0);\n        uVar19 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar17 = uVar17 | (uVar13 & 0xff) << uVar19;\n        if ((uint)bd <= uVar22) goto LAB_0001839c;\n      }\n      bVar1 = puVar11[uVar19];\n      *(uint *)puVar9 = uVar19 + 1;\n      uVar17 = uVar17 | (uint)bVar1 << (uVar22 & 0x1f);\n    }" { (while_statement "while( true ) {\n        uVar19 = *(uint *)puVar9;\n        if (uVar19 < *(uint *)puVar10) break;\n        *(uint *)puVar12 = uVar21;\n        uVar13 = fill_inbuf(0);\n        uVar19 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar17 = uVar17 | (uVar13 & 0xff) << uVar19;\n        if ((uint)bd <= uVar22) goto LAB_0001839c;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        uVar19 = *(uint *)puVar9;\n        if (uVar19 < *(uint *)puVar10) break;\n        *(uint *)puVar12 = uVar21;\n        uVar13 = fill_inbuf(0);\n        uVar19 = uVar22 & 0x1f;\n        uVar22 = uVar22 + 8;\n        uVar17 = uVar17 | (uVar13 & 0xff) << uVar19;\n        if ((uint)bd <= uVar22) goto LAB_0001839c;\n      }" { (expression_statement "uVar19 = *(uint *)puVar9;" (assignment_expression "uVar19 = *(uint *)puVar9" identifier = (pointer_expression "*(uint *)puVar9" * (cast_expression "(uint *)puVar9" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (uVar19 < *(uint *)puVar10) break;" if (parenthesized_expression "(uVar19 < *(uint *)puVar10)" ( (binary_expression "uVar19 < *(uint *)puVar10" identifier < (pointer_expression "*(uint *)puVar10" * (cast_expression "(uint *)puVar10" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) )) (break_statement "break;" break ;)) (expression_statement "*(uint *)puVar12 = uVar21;" (assignment_expression "*(uint *)puVar12 = uVar21" (pointer_expression "*(uint *)puVar12" * (cast_expression "(uint *)puVar12" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "uVar13 = fill_inbuf(0);" (assignment_expression "uVar13 = fill_inbuf(0)" identifier = (call_expression "fill_inbuf(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar19 = uVar22 & 0x1f;" (assignment_expression "uVar19 = uVar22 & 0x1f" identifier = (binary_expression "uVar22 & 0x1f" identifier & number_literal)) ;) (expression_statement "uVar22 = uVar22 + 8;" (assignment_expression "uVar22 = uVar22 + 8" identifier = (binary_expression "uVar22 + 8" identifier + number_literal)) ;) (expression_statement "uVar17 = uVar17 | (uVar13 & 0xff) << uVar19;" (assignment_expression "uVar17 = uVar17 | (uVar13 & 0xff) << uVar19" identifier = (binary_expression "uVar17 | (uVar13 & 0xff) << uVar19" identifier | (binary_expression "(uVar13 & 0xff) << uVar19" (parenthesized_expression "(uVar13 & 0xff)" ( (binary_expression "uVar13 & 0xff" identifier & number_literal) )) << identifier))) ;) (if_statement "if ((uint)bd <= uVar22) goto LAB_0001839c;" if (parenthesized_expression "((uint)bd <= uVar22)" ( (binary_expression "(uint)bd <= uVar22" (cast_expression "(uint)bd" ( (type_descriptor "uint" type_identifier) ) identifier) <= identifier) )) (goto_statement "goto LAB_0001839c;" goto statement_identifier ;)) })) (expression_statement "bVar1 = puVar11[uVar19];" (assignment_expression "bVar1 = puVar11[uVar19]" identifier = (subscript_expression "puVar11[uVar19]" identifier [ identifier ])) ;) (expression_statement "*(uint *)puVar9 = uVar19 + 1;" (assignment_expression "*(uint *)puVar9 = uVar19 + 1" (pointer_expression "*(uint *)puVar9" * (cast_expression "(uint *)puVar9" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "uVar19 + 1" identifier + number_literal)) ;) (expression_statement "uVar17 = uVar17 | (uint)bVar1 << (uVar22 & 0x1f);" (assignment_expression "uVar17 = uVar17 | (uint)bVar1 << (uVar22 & 0x1f)" identifier = (binary_expression "uVar17 | (uint)bVar1 << (uVar22 & 0x1f)" identifier | (binary_expression "(uint)bVar1 << (uVar22 & 0x1f)" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) << (parenthesized_expression "(uVar22 & 0x1f)" ( (binary_expression "uVar22 & 0x1f" identifier & number_literal) ))))) ;) })) (labeled_statement "LAB_0001839c:\n    puVar10 = PTR_insize_000363bc;" statement_identifier : (expression_statement "puVar10 = PTR_insize_000363bc;" (assignment_expression "puVar10 = PTR_insize_000363bc" identifier = identifier) ;)) (expression_statement "phVar18 = td + (uVar3 & uVar17);" (assignment_expression "phVar18 = td + (uVar3 & uVar17)" identifier = (binary_expression "td + (uVar3 & uVar17)" identifier + (parenthesized_expression "(uVar3 & uVar17)" ( (binary_expression "uVar3 & uVar17" identifier & identifier) )))) ;) (expression_statement "bVar1 = phVar18->e;" (assignment_expression "bVar1 = phVar18->e" identifier = (field_expression "phVar18->e" identifier -> field_identifier)) ;) (expression_statement "puVar6 = (uint *)PTR_insize_000363bc;" (assignment_expression "puVar6 = (uint *)PTR_insize_000363bc" identifier = (cast_expression "(uint *)PTR_insize_000363bc" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (while_statement "while (uVar19 = (uint)bVar1, PTR_insize_000363bc = (undefined *)puVar6, 0x10 < uVar19) {\n      if (uVar19 == 99) {\n        return 1;\n      }\n      uVar19 = uVar19 - 0x10;\n      uVar22 = uVar22 - phVar18->b;\n      uVar17 = uVar17 >> (phVar18->b & 0x1f);\n      if (uVar22 < uVar19) {\n        do {\n          while( true ) {\n            uVar13 = uVar22;\n            uVar22 = *(uint *)puVar9;\n            if (uVar22 < *(uint *)puVar10) break;\n            *(uint *)puVar12 = uVar21;\n            uVar22 = fill_inbuf(0);\n            uVar17 = uVar17 | (uVar22 & 0xff) << (uVar13 & 0x1f);\n            uVar22 = uVar13 + 8;\n            if (uVar19 <= uVar13 + 8) goto LAB_00018454;\n          }\n          uVar17 = uVar17 | (uint)(byte)puVar11[uVar22] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar22 + 1;\n          uVar22 = uVar13 + 8;\n        } while (uVar13 + 8 < uVar19);\nLAB_00018454:\n        uVar22 = uVar13 + 8;\n      }\n      phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17);\n      puVar6 = (uint *)PTR_insize_000363bc;\n      bVar1 = phVar18->e;\n    }" while (parenthesized_expression "(uVar19 = (uint)bVar1, PTR_insize_000363bc = (undefined *)puVar6, 0x10 < uVar19)" ( (comma_expression "uVar19 = (uint)bVar1, PTR_insize_000363bc = (undefined *)puVar6, 0x10 < uVar19" (assignment_expression "uVar19 = (uint)bVar1" identifier = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) , (comma_expression "PTR_insize_000363bc = (undefined *)puVar6, 0x10 < uVar19" (assignment_expression "PTR_insize_000363bc = (undefined *)puVar6" identifier = (cast_expression "(undefined *)puVar6" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "0x10 < uVar19" number_literal < identifier))) )) (compound_statement "{\n      if (uVar19 == 99) {\n        return 1;\n      }\n      uVar19 = uVar19 - 0x10;\n      uVar22 = uVar22 - phVar18->b;\n      uVar17 = uVar17 >> (phVar18->b & 0x1f);\n      if (uVar22 < uVar19) {\n        do {\n          while( true ) {\n            uVar13 = uVar22;\n            uVar22 = *(uint *)puVar9;\n            if (uVar22 < *(uint *)puVar10) break;\n            *(uint *)puVar12 = uVar21;\n            uVar22 = fill_inbuf(0);\n            uVar17 = uVar17 | (uVar22 & 0xff) << (uVar13 & 0x1f);\n            uVar22 = uVar13 + 8;\n            if (uVar19 <= uVar13 + 8) goto LAB_00018454;\n          }\n          uVar17 = uVar17 | (uint)(byte)puVar11[uVar22] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar22 + 1;\n          uVar22 = uVar13 + 8;\n        } while (uVar13 + 8 < uVar19);\nLAB_00018454:\n        uVar22 = uVar13 + 8;\n      }\n      phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17);\n      puVar6 = (uint *)PTR_insize_000363bc;\n      bVar1 = phVar18->e;\n    }" { (if_statement "if (uVar19 == 99) {\n        return 1;\n      }" if (parenthesized_expression "(uVar19 == 99)" ( (binary_expression "uVar19 == 99" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar19 = uVar19 - 0x10;" (assignment_expression "uVar19 = uVar19 - 0x10" identifier = (binary_expression "uVar19 - 0x10" identifier - number_literal)) ;) (expression_statement "uVar22 = uVar22 - phVar18->b;" (assignment_expression "uVar22 = uVar22 - phVar18->b" identifier = (binary_expression "uVar22 - phVar18->b" identifier - (field_expression "phVar18->b" identifier -> field_identifier))) ;) (expression_statement "uVar17 = uVar17 >> (phVar18->b & 0x1f);" (assignment_expression "uVar17 = uVar17 >> (phVar18->b & 0x1f)" identifier = (binary_expression "uVar17 >> (phVar18->b & 0x1f)" identifier >> (parenthesized_expression "(phVar18->b & 0x1f)" ( (binary_expression "phVar18->b & 0x1f" (field_expression "phVar18->b" identifier -> field_identifier) & number_literal) )))) ;) (if_statement "if (uVar22 < uVar19) {\n        do {\n          while( true ) {\n            uVar13 = uVar22;\n            uVar22 = *(uint *)puVar9;\n            if (uVar22 < *(uint *)puVar10) break;\n            *(uint *)puVar12 = uVar21;\n            uVar22 = fill_inbuf(0);\n            uVar17 = uVar17 | (uVar22 & 0xff) << (uVar13 & 0x1f);\n            uVar22 = uVar13 + 8;\n            if (uVar19 <= uVar13 + 8) goto LAB_00018454;\n          }\n          uVar17 = uVar17 | (uint)(byte)puVar11[uVar22] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar22 + 1;\n          uVar22 = uVar13 + 8;\n        } while (uVar13 + 8 < uVar19);\nLAB_00018454:\n        uVar22 = uVar13 + 8;\n      }" if (parenthesized_expression "(uVar22 < uVar19)" ( (binary_expression "uVar22 < uVar19" identifier < identifier) )) (compound_statement "{\n        do {\n          while( true ) {\n            uVar13 = uVar22;\n            uVar22 = *(uint *)puVar9;\n            if (uVar22 < *(uint *)puVar10) break;\n            *(uint *)puVar12 = uVar21;\n            uVar22 = fill_inbuf(0);\n            uVar17 = uVar17 | (uVar22 & 0xff) << (uVar13 & 0x1f);\n            uVar22 = uVar13 + 8;\n            if (uVar19 <= uVar13 + 8) goto LAB_00018454;\n          }\n          uVar17 = uVar17 | (uint)(byte)puVar11[uVar22] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar22 + 1;\n          uVar22 = uVar13 + 8;\n        } while (uVar13 + 8 < uVar19);\nLAB_00018454:\n        uVar22 = uVar13 + 8;\n      }" { (do_statement "do {\n          while( true ) {\n            uVar13 = uVar22;\n            uVar22 = *(uint *)puVar9;\n            if (uVar22 < *(uint *)puVar10) break;\n            *(uint *)puVar12 = uVar21;\n            uVar22 = fill_inbuf(0);\n            uVar17 = uVar17 | (uVar22 & 0xff) << (uVar13 & 0x1f);\n            uVar22 = uVar13 + 8;\n            if (uVar19 <= uVar13 + 8) goto LAB_00018454;\n          }\n          uVar17 = uVar17 | (uint)(byte)puVar11[uVar22] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar22 + 1;\n          uVar22 = uVar13 + 8;\n        } while (uVar13 + 8 < uVar19);" do (compound_statement "{\n          while( true ) {\n            uVar13 = uVar22;\n            uVar22 = *(uint *)puVar9;\n            if (uVar22 < *(uint *)puVar10) break;\n            *(uint *)puVar12 = uVar21;\n            uVar22 = fill_inbuf(0);\n            uVar17 = uVar17 | (uVar22 & 0xff) << (uVar13 & 0x1f);\n            uVar22 = uVar13 + 8;\n            if (uVar19 <= uVar13 + 8) goto LAB_00018454;\n          }\n          uVar17 = uVar17 | (uint)(byte)puVar11[uVar22] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar22 + 1;\n          uVar22 = uVar13 + 8;\n        }" { (while_statement "while( true ) {\n            uVar13 = uVar22;\n            uVar22 = *(uint *)puVar9;\n            if (uVar22 < *(uint *)puVar10) break;\n            *(uint *)puVar12 = uVar21;\n            uVar22 = fill_inbuf(0);\n            uVar17 = uVar17 | (uVar22 & 0xff) << (uVar13 & 0x1f);\n            uVar22 = uVar13 + 8;\n            if (uVar19 <= uVar13 + 8) goto LAB_00018454;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            uVar13 = uVar22;\n            uVar22 = *(uint *)puVar9;\n            if (uVar22 < *(uint *)puVar10) break;\n            *(uint *)puVar12 = uVar21;\n            uVar22 = fill_inbuf(0);\n            uVar17 = uVar17 | (uVar22 & 0xff) << (uVar13 & 0x1f);\n            uVar22 = uVar13 + 8;\n            if (uVar19 <= uVar13 + 8) goto LAB_00018454;\n          }" { (expression_statement "uVar13 = uVar22;" (assignment_expression "uVar13 = uVar22" identifier = identifier) ;) (expression_statement "uVar22 = *(uint *)puVar9;" (assignment_expression "uVar22 = *(uint *)puVar9" identifier = (pointer_expression "*(uint *)puVar9" * (cast_expression "(uint *)puVar9" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (uVar22 < *(uint *)puVar10) break;" if (parenthesized_expression "(uVar22 < *(uint *)puVar10)" ( (binary_expression "uVar22 < *(uint *)puVar10" identifier < (pointer_expression "*(uint *)puVar10" * (cast_expression "(uint *)puVar10" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) )) (break_statement "break;" break ;)) (expression_statement "*(uint *)puVar12 = uVar21;" (assignment_expression "*(uint *)puVar12 = uVar21" (pointer_expression "*(uint *)puVar12" * (cast_expression "(uint *)puVar12" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "uVar22 = fill_inbuf(0);" (assignment_expression "uVar22 = fill_inbuf(0)" identifier = (call_expression "fill_inbuf(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar17 = uVar17 | (uVar22 & 0xff) << (uVar13 & 0x1f);" (assignment_expression "uVar17 = uVar17 | (uVar22 & 0xff) << (uVar13 & 0x1f)" identifier = (binary_expression "uVar17 | (uVar22 & 0xff) << (uVar13 & 0x1f)" identifier | (binary_expression "(uVar22 & 0xff) << (uVar13 & 0x1f)" (parenthesized_expression "(uVar22 & 0xff)" ( (binary_expression "uVar22 & 0xff" identifier & number_literal) )) << (parenthesized_expression "(uVar13 & 0x1f)" ( (binary_expression "uVar13 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "uVar22 = uVar13 + 8;" (assignment_expression "uVar22 = uVar13 + 8" identifier = (binary_expression "uVar13 + 8" identifier + number_literal)) ;) (if_statement "if (uVar19 <= uVar13 + 8) goto LAB_00018454;" if (parenthesized_expression "(uVar19 <= uVar13 + 8)" ( (binary_expression "uVar19 <= uVar13 + 8" identifier <= (binary_expression "uVar13 + 8" identifier + number_literal)) )) (goto_statement "goto LAB_00018454;" goto statement_identifier ;)) })) (expression_statement "uVar17 = uVar17 | (uint)(byte)puVar11[uVar22] << (uVar13 & 0x1f);" (assignment_expression "uVar17 = uVar17 | (uint)(byte)puVar11[uVar22] << (uVar13 & 0x1f)" identifier = (binary_expression "uVar17 | (uint)(byte)puVar11[uVar22] << (uVar13 & 0x1f)" identifier | (binary_expression "(uint)(byte)puVar11[uVar22] << (uVar13 & 0x1f)" (cast_expression "(uint)(byte)puVar11[uVar22]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)puVar11[uVar22]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar11[uVar22]" identifier [ identifier ]))) << (parenthesized_expression "(uVar13 & 0x1f)" ( (binary_expression "uVar13 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "*(uint *)puVar9 = uVar22 + 1;" (assignment_expression "*(uint *)puVar9 = uVar22 + 1" (pointer_expression "*(uint *)puVar9" * (cast_expression "(uint *)puVar9" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "uVar22 + 1" identifier + number_literal)) ;) (expression_statement "uVar22 = uVar13 + 8;" (assignment_expression "uVar22 = uVar13 + 8" identifier = (binary_expression "uVar13 + 8" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar13 + 8 < uVar19)" ( (binary_expression "uVar13 + 8 < uVar19" (binary_expression "uVar13 + 8" identifier + number_literal) < identifier) )) ;) (labeled_statement "LAB_00018454:\n        uVar22 = uVar13 + 8;" statement_identifier : (expression_statement "uVar22 = uVar13 + 8;" (assignment_expression "uVar22 = uVar13 + 8" identifier = (binary_expression "uVar13 + 8" identifier + number_literal)) ;)) })) (expression_statement "phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17);" (assignment_expression "phVar18 = (phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17)" identifier = (binary_expression "(phVar18->v).t + (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17)" (field_expression "(phVar18->v).t" (parenthesized_expression "(phVar18->v)" ( (field_expression "phVar18->v" identifier -> field_identifier) )) . field_identifier) + (parenthesized_expression "(*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17)" ( (binary_expression "*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17" (pointer_expression "*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40)" * (cast_expression "(ushort *)(puVar8 + uVar19 * 2 + 0x4e40)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + uVar19 * 2 + 0x4e40)" ( (binary_expression "puVar8 + uVar19 * 2 + 0x4e40" (binary_expression "puVar8 + uVar19 * 2" identifier + (binary_expression "uVar19 * 2" identifier * number_literal)) + number_literal) )))) & identifier) )))) ;) (expression_statement "puVar6 = (uint *)PTR_insize_000363bc;" (assignment_expression "puVar6 = (uint *)PTR_insize_000363bc" identifier = (cast_expression "(uint *)PTR_insize_000363bc" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "bVar1 = phVar18->e;" (assignment_expression "bVar1 = phVar18->e" identifier = (field_expression "phVar18->e" identifier -> field_identifier)) ;) })) (expression_statement "uVar22 = uVar22 - phVar18->b;" (assignment_expression "uVar22 = uVar22 - phVar18->b" identifier = (binary_expression "uVar22 - phVar18->b" identifier - (field_expression "phVar18->b" identifier -> field_identifier))) ;) (expression_statement "uVar17 = uVar17 >> (phVar18->b & 0x1f);" (assignment_expression "uVar17 = uVar17 >> (phVar18->b & 0x1f)" identifier = (binary_expression "uVar17 >> (phVar18->b & 0x1f)" identifier >> (parenthesized_expression "(phVar18->b & 0x1f)" ( (binary_expression "phVar18->b & 0x1f" (field_expression "phVar18->b" identifier -> field_identifier) & number_literal) )))) ;) (if_statement "if (uVar22 < uVar19) {\n      uVar14 = *(uint *)puVar9;\n      uVar13 = uVar22;\n      while( true ) {\n        if (uVar14 < *puVar6) {\n          uVar22 = (uint)(byte)puVar11[uVar14] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar14 + 1;\n        }\n        else {\n          *(uint *)puVar12 = uVar21;\n          uVar22 = fill_inbuf(0);\n          uVar22 = (uVar22 & 0xff) << (uVar13 & 0x1f);\n        }\n        uVar17 = uVar17 | uVar22;\n        uVar22 = uVar13 + 8;\n        if (uVar19 <= uVar22) break;\n        uVar13 = uVar13 + 8;\n        uVar14 = *(uint *)puVar9;\n      }\n    }" if (parenthesized_expression "(uVar22 < uVar19)" ( (binary_expression "uVar22 < uVar19" identifier < identifier) )) (compound_statement "{\n      uVar14 = *(uint *)puVar9;\n      uVar13 = uVar22;\n      while( true ) {\n        if (uVar14 < *puVar6) {\n          uVar22 = (uint)(byte)puVar11[uVar14] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar14 + 1;\n        }\n        else {\n          *(uint *)puVar12 = uVar21;\n          uVar22 = fill_inbuf(0);\n          uVar22 = (uVar22 & 0xff) << (uVar13 & 0x1f);\n        }\n        uVar17 = uVar17 | uVar22;\n        uVar22 = uVar13 + 8;\n        if (uVar19 <= uVar22) break;\n        uVar13 = uVar13 + 8;\n        uVar14 = *(uint *)puVar9;\n      }\n    }" { (expression_statement "uVar14 = *(uint *)puVar9;" (assignment_expression "uVar14 = *(uint *)puVar9" identifier = (pointer_expression "*(uint *)puVar9" * (cast_expression "(uint *)puVar9" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar13 = uVar22;" (assignment_expression "uVar13 = uVar22" identifier = identifier) ;) (while_statement "while( true ) {\n        if (uVar14 < *puVar6) {\n          uVar22 = (uint)(byte)puVar11[uVar14] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar14 + 1;\n        }\n        else {\n          *(uint *)puVar12 = uVar21;\n          uVar22 = fill_inbuf(0);\n          uVar22 = (uVar22 & 0xff) << (uVar13 & 0x1f);\n        }\n        uVar17 = uVar17 | uVar22;\n        uVar22 = uVar13 + 8;\n        if (uVar19 <= uVar22) break;\n        uVar13 = uVar13 + 8;\n        uVar14 = *(uint *)puVar9;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (uVar14 < *puVar6) {\n          uVar22 = (uint)(byte)puVar11[uVar14] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar14 + 1;\n        }\n        else {\n          *(uint *)puVar12 = uVar21;\n          uVar22 = fill_inbuf(0);\n          uVar22 = (uVar22 & 0xff) << (uVar13 & 0x1f);\n        }\n        uVar17 = uVar17 | uVar22;\n        uVar22 = uVar13 + 8;\n        if (uVar19 <= uVar22) break;\n        uVar13 = uVar13 + 8;\n        uVar14 = *(uint *)puVar9;\n      }" { (if_statement "if (uVar14 < *puVar6) {\n          uVar22 = (uint)(byte)puVar11[uVar14] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar14 + 1;\n        }\n        else {\n          *(uint *)puVar12 = uVar21;\n          uVar22 = fill_inbuf(0);\n          uVar22 = (uVar22 & 0xff) << (uVar13 & 0x1f);\n        }" if (parenthesized_expression "(uVar14 < *puVar6)" ( (binary_expression "uVar14 < *puVar6" identifier < (pointer_expression "*puVar6" * identifier)) )) (compound_statement "{\n          uVar22 = (uint)(byte)puVar11[uVar14] << (uVar13 & 0x1f);\n          *(uint *)puVar9 = uVar14 + 1;\n        }" { (expression_statement "uVar22 = (uint)(byte)puVar11[uVar14] << (uVar13 & 0x1f);" (assignment_expression "uVar22 = (uint)(byte)puVar11[uVar14] << (uVar13 & 0x1f)" identifier = (binary_expression "(uint)(byte)puVar11[uVar14] << (uVar13 & 0x1f)" (cast_expression "(uint)(byte)puVar11[uVar14]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)puVar11[uVar14]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar11[uVar14]" identifier [ identifier ]))) << (parenthesized_expression "(uVar13 & 0x1f)" ( (binary_expression "uVar13 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "*(uint *)puVar9 = uVar14 + 1;" (assignment_expression "*(uint *)puVar9 = uVar14 + 1" (pointer_expression "*(uint *)puVar9" * (cast_expression "(uint *)puVar9" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "uVar14 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n          *(uint *)puVar12 = uVar21;\n          uVar22 = fill_inbuf(0);\n          uVar22 = (uVar22 & 0xff) << (uVar13 & 0x1f);\n        }" else (compound_statement "{\n          *(uint *)puVar12 = uVar21;\n          uVar22 = fill_inbuf(0);\n          uVar22 = (uVar22 & 0xff) << (uVar13 & 0x1f);\n        }" { (expression_statement "*(uint *)puVar12 = uVar21;" (assignment_expression "*(uint *)puVar12 = uVar21" (pointer_expression "*(uint *)puVar12" * (cast_expression "(uint *)puVar12" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "uVar22 = fill_inbuf(0);" (assignment_expression "uVar22 = fill_inbuf(0)" identifier = (call_expression "fill_inbuf(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar22 = (uVar22 & 0xff) << (uVar13 & 0x1f);" (assignment_expression "uVar22 = (uVar22 & 0xff) << (uVar13 & 0x1f)" identifier = (binary_expression "(uVar22 & 0xff) << (uVar13 & 0x1f)" (parenthesized_expression "(uVar22 & 0xff)" ( (binary_expression "uVar22 & 0xff" identifier & number_literal) )) << (parenthesized_expression "(uVar13 & 0x1f)" ( (binary_expression "uVar13 & 0x1f" identifier & number_literal) )))) ;) }))) (expression_statement "uVar17 = uVar17 | uVar22;" (assignment_expression "uVar17 = uVar17 | uVar22" identifier = (binary_expression "uVar17 | uVar22" identifier | identifier)) ;) (expression_statement "uVar22 = uVar13 + 8;" (assignment_expression "uVar22 = uVar13 + 8" identifier = (binary_expression "uVar13 + 8" identifier + number_literal)) ;) (if_statement "if (uVar19 <= uVar22) break;" if (parenthesized_expression "(uVar19 <= uVar22)" ( (binary_expression "uVar19 <= uVar22" identifier <= identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar13 = uVar13 + 8;" (assignment_expression "uVar13 = uVar13 + 8" identifier = (binary_expression "uVar13 + 8" identifier + number_literal)) ;) (expression_statement "uVar14 = *(uint *)puVar9;" (assignment_expression "uVar14 = *(uint *)puVar9" identifier = (pointer_expression "*(uint *)puVar9" * (cast_expression "(uint *)puVar9" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) })) })) (expression_statement "puVar10 = PTR_window_0003649c;" (assignment_expression "puVar10 = PTR_window_0003649c" identifier = identifier) ;) (expression_statement "uVar22 = uVar22 - uVar19;" (assignment_expression "uVar22 = uVar22 - uVar19" identifier = (binary_expression "uVar22 - uVar19" identifier - identifier)) ;) (expression_statement "uVar13 = uVar5 & uVar20;" (assignment_expression "uVar13 = uVar5 & uVar20" identifier = (binary_expression "uVar5 & uVar20" identifier & identifier)) ;) (expression_statement "uVar20 = uVar17 >> (uVar19 & 0x1f);" (assignment_expression "uVar20 = uVar17 >> (uVar19 & 0x1f)" identifier = (binary_expression "uVar17 >> (uVar19 & 0x1f)" identifier >> (parenthesized_expression "(uVar19 & 0x1f)" ( (binary_expression "uVar19 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar13 = uVar13 + uVar4;" (assignment_expression "uVar13 = uVar13 + uVar4" identifier = (binary_expression "uVar13 + uVar4" identifier + identifier)) ;) (expression_statement "uVar19 = (uVar21 - (phVar18->v).n) - (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17);" (assignment_expression "uVar19 = (uVar21 - (phVar18->v).n) - (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17)" identifier = (binary_expression "(uVar21 - (phVar18->v).n) - (*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17)" (parenthesized_expression "(uVar21 - (phVar18->v).n)" ( (binary_expression "uVar21 - (phVar18->v).n" identifier - (field_expression "(phVar18->v).n" (parenthesized_expression "(phVar18->v)" ( (field_expression "phVar18->v" identifier -> field_identifier) )) . field_identifier)) )) - (parenthesized_expression "(*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17)" ( (binary_expression "*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40) & uVar17" (pointer_expression "*(ushort *)(puVar8 + uVar19 * 2 + 0x4e40)" * (cast_expression "(ushort *)(puVar8 + uVar19 * 2 + 0x4e40)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + uVar19 * 2 + 0x4e40)" ( (binary_expression "puVar8 + uVar19 * 2 + 0x4e40" (binary_expression "puVar8 + uVar19 * 2" identifier + (binary_expression "uVar19 * 2" identifier * number_literal)) + number_literal) )))) & identifier) )))) ;) (do_statement "do {\n      uVar19 = uVar19 & 0x7fff;\n      if (uVar21 < uVar19) {\n        uVar17 = 0x8000 - uVar19;\n        if (uVar13 <= 0x8000 - uVar19) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar21 <= uVar19) goto LAB_00018724;\nLAB_000186a8:\n        if (uVar21 - uVar19 < uVar17) goto LAB_00018738;\nLAB_000186bc:\n        (*(code *)PTR_memcpy_00036698)(puVar10 + uVar21,puVar10 + uVar19,uVar17);\n      }\n      else {\n        uVar17 = 0x8000 - uVar21;\n        if (uVar13 <= 0x8000 - uVar21) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar19 < uVar21) goto LAB_000186a8;\nLAB_00018724:\n        if (uVar17 <= uVar19 - uVar21) goto LAB_000186bc;\nLAB_00018738:\n        puVar15 = puVar10 + uVar19;\n        do {\n          puVar16 = puVar15 + 1;\n          puVar15[uVar21 - uVar19] = *puVar15;\n          puVar15 = puVar16;\n        } while (puVar10 + uVar19 + uVar17 != puVar16);\n      }\n      uVar21 = uVar21 + uVar17;\n      uVar19 = uVar17 + uVar19;\n      if (uVar21 == 0x8000) {\n        *(undefined4 *)puVar12 = 0x8000;\n        uVar21 = 0;\n        flush_window();\n      }\n      puVar6 = (uint *)PTR_insize_000363bc;\n    } while (uVar13 != 0);" do (compound_statement "{\n      uVar19 = uVar19 & 0x7fff;\n      if (uVar21 < uVar19) {\n        uVar17 = 0x8000 - uVar19;\n        if (uVar13 <= 0x8000 - uVar19) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar21 <= uVar19) goto LAB_00018724;\nLAB_000186a8:\n        if (uVar21 - uVar19 < uVar17) goto LAB_00018738;\nLAB_000186bc:\n        (*(code *)PTR_memcpy_00036698)(puVar10 + uVar21,puVar10 + uVar19,uVar17);\n      }\n      else {\n        uVar17 = 0x8000 - uVar21;\n        if (uVar13 <= 0x8000 - uVar21) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar19 < uVar21) goto LAB_000186a8;\nLAB_00018724:\n        if (uVar17 <= uVar19 - uVar21) goto LAB_000186bc;\nLAB_00018738:\n        puVar15 = puVar10 + uVar19;\n        do {\n          puVar16 = puVar15 + 1;\n          puVar15[uVar21 - uVar19] = *puVar15;\n          puVar15 = puVar16;\n        } while (puVar10 + uVar19 + uVar17 != puVar16);\n      }\n      uVar21 = uVar21 + uVar17;\n      uVar19 = uVar17 + uVar19;\n      if (uVar21 == 0x8000) {\n        *(undefined4 *)puVar12 = 0x8000;\n        uVar21 = 0;\n        flush_window();\n      }\n      puVar6 = (uint *)PTR_insize_000363bc;\n    }" { (expression_statement "uVar19 = uVar19 & 0x7fff;" (assignment_expression "uVar19 = uVar19 & 0x7fff" identifier = (binary_expression "uVar19 & 0x7fff" identifier & number_literal)) ;) (if_statement "if (uVar21 < uVar19) {\n        uVar17 = 0x8000 - uVar19;\n        if (uVar13 <= 0x8000 - uVar19) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar21 <= uVar19) goto LAB_00018724;\nLAB_000186a8:\n        if (uVar21 - uVar19 < uVar17) goto LAB_00018738;\nLAB_000186bc:\n        (*(code *)PTR_memcpy_00036698)(puVar10 + uVar21,puVar10 + uVar19,uVar17);\n      }\n      else {\n        uVar17 = 0x8000 - uVar21;\n        if (uVar13 <= 0x8000 - uVar21) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar19 < uVar21) goto LAB_000186a8;\nLAB_00018724:\n        if (uVar17 <= uVar19 - uVar21) goto LAB_000186bc;\nLAB_00018738:\n        puVar15 = puVar10 + uVar19;\n        do {\n          puVar16 = puVar15 + 1;\n          puVar15[uVar21 - uVar19] = *puVar15;\n          puVar15 = puVar16;\n        } while (puVar10 + uVar19 + uVar17 != puVar16);\n      }" if (parenthesized_expression "(uVar21 < uVar19)" ( (binary_expression "uVar21 < uVar19" identifier < identifier) )) (compound_statement "{\n        uVar17 = 0x8000 - uVar19;\n        if (uVar13 <= 0x8000 - uVar19) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar21 <= uVar19) goto LAB_00018724;\nLAB_000186a8:\n        if (uVar21 - uVar19 < uVar17) goto LAB_00018738;\nLAB_000186bc:\n        (*(code *)PTR_memcpy_00036698)(puVar10 + uVar21,puVar10 + uVar19,uVar17);\n      }" { (expression_statement "uVar17 = 0x8000 - uVar19;" (assignment_expression "uVar17 = 0x8000 - uVar19" identifier = (binary_expression "0x8000 - uVar19" number_literal - identifier)) ;) (if_statement "if (uVar13 <= 0x8000 - uVar19) {\n          uVar17 = uVar13;\n        }" if (parenthesized_expression "(uVar13 <= 0x8000 - uVar19)" ( (binary_expression "uVar13 <= 0x8000 - uVar19" identifier <= (binary_expression "0x8000 - uVar19" number_literal - identifier)) )) (compound_statement "{\n          uVar17 = uVar13;\n        }" { (expression_statement "uVar17 = uVar13;" (assignment_expression "uVar17 = uVar13" identifier = identifier) ;) })) (expression_statement "uVar13 = uVar13 - uVar17;" (assignment_expression "uVar13 = uVar13 - uVar17" identifier = (binary_expression "uVar13 - uVar17" identifier - identifier)) ;) (if_statement "if (uVar21 <= uVar19) goto LAB_00018724;" if (parenthesized_expression "(uVar21 <= uVar19)" ( (binary_expression "uVar21 <= uVar19" identifier <= identifier) )) (goto_statement "goto LAB_00018724;" goto statement_identifier ;)) (labeled_statement "LAB_000186a8:\n        if (uVar21 - uVar19 < uVar17) goto LAB_00018738;" statement_identifier : (if_statement "if (uVar21 - uVar19 < uVar17) goto LAB_00018738;" if (parenthesized_expression "(uVar21 - uVar19 < uVar17)" ( (binary_expression "uVar21 - uVar19 < uVar17" (binary_expression "uVar21 - uVar19" identifier - identifier) < identifier) )) (goto_statement "goto LAB_00018738;" goto statement_identifier ;))) (labeled_statement "LAB_000186bc:\n        (*(code *)PTR_memcpy_00036698)(puVar10 + uVar21,puVar10 + uVar19,uVar17);" statement_identifier : (expression_statement "(*(code *)PTR_memcpy_00036698)(puVar10 + uVar21,puVar10 + uVar19,uVar17);" (call_expression "(*(code *)PTR_memcpy_00036698)(puVar10 + uVar21,puVar10 + uVar19,uVar17)" (parenthesized_expression "(*(code *)PTR_memcpy_00036698)" ( (pointer_expression "*(code *)PTR_memcpy_00036698" * (cast_expression "(code *)PTR_memcpy_00036698" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar10 + uVar21,puVar10 + uVar19,uVar17)" ( (binary_expression "puVar10 + uVar21" identifier + identifier) , (binary_expression "puVar10 + uVar19" identifier + identifier) , identifier ))) ;)) }) (else_clause "else {\n        uVar17 = 0x8000 - uVar21;\n        if (uVar13 <= 0x8000 - uVar21) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar19 < uVar21) goto LAB_000186a8;\nLAB_00018724:\n        if (uVar17 <= uVar19 - uVar21) goto LAB_000186bc;\nLAB_00018738:\n        puVar15 = puVar10 + uVar19;\n        do {\n          puVar16 = puVar15 + 1;\n          puVar15[uVar21 - uVar19] = *puVar15;\n          puVar15 = puVar16;\n        } while (puVar10 + uVar19 + uVar17 != puVar16);\n      }" else (compound_statement "{\n        uVar17 = 0x8000 - uVar21;\n        if (uVar13 <= 0x8000 - uVar21) {\n          uVar17 = uVar13;\n        }\n        uVar13 = uVar13 - uVar17;\n        if (uVar19 < uVar21) goto LAB_000186a8;\nLAB_00018724:\n        if (uVar17 <= uVar19 - uVar21) goto LAB_000186bc;\nLAB_00018738:\n        puVar15 = puVar10 + uVar19;\n        do {\n          puVar16 = puVar15 + 1;\n          puVar15[uVar21 - uVar19] = *puVar15;\n          puVar15 = puVar16;\n        } while (puVar10 + uVar19 + uVar17 != puVar16);\n      }" { (expression_statement "uVar17 = 0x8000 - uVar21;" (assignment_expression "uVar17 = 0x8000 - uVar21" identifier = (binary_expression "0x8000 - uVar21" number_literal - identifier)) ;) (if_statement "if (uVar13 <= 0x8000 - uVar21) {\n          uVar17 = uVar13;\n        }" if (parenthesized_expression "(uVar13 <= 0x8000 - uVar21)" ( (binary_expression "uVar13 <= 0x8000 - uVar21" identifier <= (binary_expression "0x8000 - uVar21" number_literal - identifier)) )) (compound_statement "{\n          uVar17 = uVar13;\n        }" { (expression_statement "uVar17 = uVar13;" (assignment_expression "uVar17 = uVar13" identifier = identifier) ;) })) (expression_statement "uVar13 = uVar13 - uVar17;" (assignment_expression "uVar13 = uVar13 - uVar17" identifier = (binary_expression "uVar13 - uVar17" identifier - identifier)) ;) (if_statement "if (uVar19 < uVar21) goto LAB_000186a8;" if (parenthesized_expression "(uVar19 < uVar21)" ( (binary_expression "uVar19 < uVar21" identifier < identifier) )) (goto_statement "goto LAB_000186a8;" goto statement_identifier ;)) (labeled_statement "LAB_00018724:\n        if (uVar17 <= uVar19 - uVar21) goto LAB_000186bc;" statement_identifier : (if_statement "if (uVar17 <= uVar19 - uVar21) goto LAB_000186bc;" if (parenthesized_expression "(uVar17 <= uVar19 - uVar21)" ( (binary_expression "uVar17 <= uVar19 - uVar21" identifier <= (binary_expression "uVar19 - uVar21" identifier - identifier)) )) (goto_statement "goto LAB_000186bc;" goto statement_identifier ;))) (labeled_statement "LAB_00018738:\n        puVar15 = puVar10 + uVar19;" statement_identifier : (expression_statement "puVar15 = puVar10 + uVar19;" (assignment_expression "puVar15 = puVar10 + uVar19" identifier = (binary_expression "puVar10 + uVar19" identifier + identifier)) ;)) (do_statement "do {\n          puVar16 = puVar15 + 1;\n          puVar15[uVar21 - uVar19] = *puVar15;\n          puVar15 = puVar16;\n        } while (puVar10 + uVar19 + uVar17 != puVar16);" do (compound_statement "{\n          puVar16 = puVar15 + 1;\n          puVar15[uVar21 - uVar19] = *puVar15;\n          puVar15 = puVar16;\n        }" { (expression_statement "puVar16 = puVar15 + 1;" (assignment_expression "puVar16 = puVar15 + 1" identifier = (binary_expression "puVar15 + 1" identifier + number_literal)) ;) (expression_statement "puVar15[uVar21 - uVar19] = *puVar15;" (assignment_expression "puVar15[uVar21 - uVar19] = *puVar15" (subscript_expression "puVar15[uVar21 - uVar19]" identifier [ (binary_expression "uVar21 - uVar19" identifier - identifier) ]) = (pointer_expression "*puVar15" * identifier)) ;) (expression_statement "puVar15 = puVar16;" (assignment_expression "puVar15 = puVar16" identifier = identifier) ;) }) while (parenthesized_expression "(puVar10 + uVar19 + uVar17 != puVar16)" ( (binary_expression "puVar10 + uVar19 + uVar17 != puVar16" (binary_expression "puVar10 + uVar19 + uVar17" (binary_expression "puVar10 + uVar19" identifier + identifier) + identifier) != identifier) )) ;) }))) (expression_statement "uVar21 = uVar21 + uVar17;" (assignment_expression "uVar21 = uVar21 + uVar17" identifier = (binary_expression "uVar21 + uVar17" identifier + identifier)) ;) (expression_statement "uVar19 = uVar17 + uVar19;" (assignment_expression "uVar19 = uVar17 + uVar19" identifier = (binary_expression "uVar17 + uVar19" identifier + identifier)) ;) (if_statement "if (uVar21 == 0x8000) {\n        *(undefined4 *)puVar12 = 0x8000;\n        uVar21 = 0;\n        flush_window();\n      }" if (parenthesized_expression "(uVar21 == 0x8000)" ( (binary_expression "uVar21 == 0x8000" identifier == number_literal) )) (compound_statement "{\n        *(undefined4 *)puVar12 = 0x8000;\n        uVar21 = 0;\n        flush_window();\n      }" { (expression_statement "*(undefined4 *)puVar12 = 0x8000;" (assignment_expression "*(undefined4 *)puVar12 = 0x8000" (pointer_expression "*(undefined4 *)puVar12" * (cast_expression "(undefined4 *)puVar12" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "uVar21 = 0;" (assignment_expression "uVar21 = 0" identifier = number_literal) ;) (expression_statement "flush_window();" (call_expression "flush_window()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puVar6 = (uint *)PTR_insize_000363bc;" (assignment_expression "puVar6 = (uint *)PTR_insize_000363bc" identifier = (cast_expression "(uint *)PTR_insize_000363bc" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) while (parenthesized_expression "(uVar13 != 0)" ( (binary_expression "uVar13 != 0" identifier != number_literal) )) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit "undefined4 FUN_00018120(int param_1,int param_2,uint param_3,uint param_4)\n\n{\n  byte bVar1;\n  ushort uVar2;\n  ushort uVar3;\n  ushort uVar4;\n  ushort uVar5;\n  uint uVar6;\n  uint uVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int iVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint *puVar15;\n  byte *pbVar16;\n  uint uVar17;\n  uint *puVar18;\n  int iVar19;\n  uint *puVar20;\n  uint uVar21;\n  uint uVar22;\n  int in_t9;\n  code *pcVar23;\n  uint uVar24;\n  byte *local_54;\n  \n  iVar13 = *(int *)(in_t9 + 0x1e268);\n  iVar12 = *(int *)(in_t9 + 0x1e268);\n  iVar10 = *(int *)(in_t9 + 0x1e278) + 0x4e40;\n  puVar15 = *(uint **)(write_buf + in_t9);\n  uVar2 = *(ushort *)(iVar10 + param_3 * 2);\n  uVar3 = *(ushort *)(iVar10 + param_4 * 2);\n  puVar18 = *(uint **)(in_t9 + 0x1e298);\n  uVar21 = *(uint *)(iVar12 + 0x6d38);\n  uVar24 = *(uint *)(iVar13 + 0x6d34);\n  uVar22 = *puVar15;\n  iVar19 = *(int *)(in_t9 + 0x1e2a0);\nLAB_000181c8:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\n  if (param_3 <= uVar24) goto LAB_000181d8;\n  goto LAB_00018240;\nLAB_000181d8:\n  pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8);\n  uVar17 = (uint)*pbVar16;\n  if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    if (uVar17 == 99) {\n      return 1;\n    }\n    do {\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    } while( true );\n  }\n  uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n  uVar24 = uVar24 - pbVar16[1];\n  if (uVar17 == 0x10) {\n    uVar17 = uVar22 + 1;\n    *(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);\n    if (uVar17 == 0x8000) {\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }\n    uVar22 = uVar17;\n    if (uVar24 < param_3) goto code_r0x0001823c;\n    goto LAB_000181d8;\n  }\n  if (uVar17 == 0xf) {\n    *puVar15 = uVar22;\n    *(uint *)(iVar12 + 0x6d38) = uVar21;\n    *(uint *)(iVar13 + 0x6d34) = uVar24;\n    return 0;\n  }\n  if (uVar24 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    } while (uVar24 < uVar17);\n  }\n  uVar4 = *(ushort *)(pbVar16 + 4);\n  uVar24 = uVar24 - uVar17;\n  uVar11 = uVar21 >> (uVar17 & 0x1f);\n  uVar5 = *(ushort *)(iVar10 + uVar17 * 2);\n  if (uVar24 < param_4) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    } while (uVar24 < param_4);\n  }\nLAB_0001839c:\n  local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8);\n  uVar17 = (uint)*local_54;\n  if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    } while (0x10 < uVar17);\n  }\n  uVar24 = uVar24 - local_54[1];\n  uVar11 = uVar11 >> (local_54[1] & 0x1f);\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\n  if (uVar24 < uVar17) {\n    uVar7 = *puVar18;\n    uVar6 = uVar24;\n    while( true ) {\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }\n  }\n  iVar14 = *(int *)(in_t9 + 0x1e37c);\n  uVar24 = uVar24 - uVar17;\n  uVar6 = uVar5 & uVar21;\n  uVar21 = uVar11 >> (uVar17 & 0x1f);\n  uVar6 = uVar6 + uVar4;\n  uVar17 = (uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11);\n  do {\n    uVar17 = uVar17 & 0x7fff;\n    if (uVar22 < uVar17) {\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }\n    else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }\n    uVar22 = uVar22 + uVar11;\n    uVar17 = uVar11 + uVar17;\n    if (uVar22 == 0x8000) {\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }\n  } while (uVar6 != 0);\n  goto LAB_000181c8;\ncode_r0x0001823c:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\nLAB_00018240:\n  uVar17 = *puVar18;\n  if (uVar17 < *puVar20) {\n    uVar11 = (uint)*(byte *)(iVar19 + uVar17);\n    *puVar18 = uVar17 + 1;\n  }\n  else {\n    *puVar15 = uVar22;\n    uVar11 = fill_inbuf(0);\n    uVar11 = uVar11 & 0xff;\n  }\n  uVar17 = uVar24 & 0x1f;\n  uVar24 = uVar24 + 8;\n  uVar21 = uVar21 | uVar11 << uVar17;\n  goto LAB_000181c8;\n}\n\n" (function_definition "undefined4 FUN_00018120(int param_1,int param_2,uint param_3,uint param_4)\n\n{\n  byte bVar1;\n  ushort uVar2;\n  ushort uVar3;\n  ushort uVar4;\n  ushort uVar5;\n  uint uVar6;\n  uint uVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int iVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint *puVar15;\n  byte *pbVar16;\n  uint uVar17;\n  uint *puVar18;\n  int iVar19;\n  uint *puVar20;\n  uint uVar21;\n  uint uVar22;\n  int in_t9;\n  code *pcVar23;\n  uint uVar24;\n  byte *local_54;\n  \n  iVar13 = *(int *)(in_t9 + 0x1e268);\n  iVar12 = *(int *)(in_t9 + 0x1e268);\n  iVar10 = *(int *)(in_t9 + 0x1e278) + 0x4e40;\n  puVar15 = *(uint **)(write_buf + in_t9);\n  uVar2 = *(ushort *)(iVar10 + param_3 * 2);\n  uVar3 = *(ushort *)(iVar10 + param_4 * 2);\n  puVar18 = *(uint **)(in_t9 + 0x1e298);\n  uVar21 = *(uint *)(iVar12 + 0x6d38);\n  uVar24 = *(uint *)(iVar13 + 0x6d34);\n  uVar22 = *puVar15;\n  iVar19 = *(int *)(in_t9 + 0x1e2a0);\nLAB_000181c8:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\n  if (param_3 <= uVar24) goto LAB_000181d8;\n  goto LAB_00018240;\nLAB_000181d8:\n  pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8);\n  uVar17 = (uint)*pbVar16;\n  if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    if (uVar17 == 99) {\n      return 1;\n    }\n    do {\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    } while( true );\n  }\n  uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n  uVar24 = uVar24 - pbVar16[1];\n  if (uVar17 == 0x10) {\n    uVar17 = uVar22 + 1;\n    *(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);\n    if (uVar17 == 0x8000) {\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }\n    uVar22 = uVar17;\n    if (uVar24 < param_3) goto code_r0x0001823c;\n    goto LAB_000181d8;\n  }\n  if (uVar17 == 0xf) {\n    *puVar15 = uVar22;\n    *(uint *)(iVar12 + 0x6d38) = uVar21;\n    *(uint *)(iVar13 + 0x6d34) = uVar24;\n    return 0;\n  }\n  if (uVar24 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    } while (uVar24 < uVar17);\n  }\n  uVar4 = *(ushort *)(pbVar16 + 4);\n  uVar24 = uVar24 - uVar17;\n  uVar11 = uVar21 >> (uVar17 & 0x1f);\n  uVar5 = *(ushort *)(iVar10 + uVar17 * 2);\n  if (uVar24 < param_4) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    } while (uVar24 < param_4);\n  }\nLAB_0001839c:\n  local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8);\n  uVar17 = (uint)*local_54;\n  if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    } while (0x10 < uVar17);\n  }\n  uVar24 = uVar24 - local_54[1];\n  uVar11 = uVar11 >> (local_54[1] & 0x1f);\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\n  if (uVar24 < uVar17) {\n    uVar7 = *puVar18;\n    uVar6 = uVar24;\n    while( true ) {\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }\n  }\n  iVar14 = *(int *)(in_t9 + 0x1e37c);\n  uVar24 = uVar24 - uVar17;\n  uVar6 = uVar5 & uVar21;\n  uVar21 = uVar11 >> (uVar17 & 0x1f);\n  uVar6 = uVar6 + uVar4;\n  uVar17 = (uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11);\n  do {\n    uVar17 = uVar17 & 0x7fff;\n    if (uVar22 < uVar17) {\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }\n    else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }\n    uVar22 = uVar22 + uVar11;\n    uVar17 = uVar11 + uVar17;\n    if (uVar22 == 0x8000) {\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }\n  } while (uVar6 != 0);\n  goto LAB_000181c8;\ncode_r0x0001823c:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\nLAB_00018240:\n  uVar17 = *puVar18;\n  if (uVar17 < *puVar20) {\n    uVar11 = (uint)*(byte *)(iVar19 + uVar17);\n    *puVar18 = uVar17 + 1;\n  }\n  else {\n    *puVar15 = uVar22;\n    uVar11 = fill_inbuf(0);\n    uVar11 = uVar11 & 0xff;\n  }\n  uVar17 = uVar24 & 0x1f;\n  uVar24 = uVar24 + 8;\n  uVar21 = uVar21 | uVar11 << uVar17;\n  goto LAB_000181c8;\n}" type_identifier (function_declarator "FUN_00018120(int param_1,int param_2,uint param_3,uint param_4)" identifier (parameter_list "(int param_1,int param_2,uint param_3,uint param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  ushort uVar2;\n  ushort uVar3;\n  ushort uVar4;\n  ushort uVar5;\n  uint uVar6;\n  uint uVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int iVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint *puVar15;\n  byte *pbVar16;\n  uint uVar17;\n  uint *puVar18;\n  int iVar19;\n  uint *puVar20;\n  uint uVar21;\n  uint uVar22;\n  int in_t9;\n  code *pcVar23;\n  uint uVar24;\n  byte *local_54;\n  \n  iVar13 = *(int *)(in_t9 + 0x1e268);\n  iVar12 = *(int *)(in_t9 + 0x1e268);\n  iVar10 = *(int *)(in_t9 + 0x1e278) + 0x4e40;\n  puVar15 = *(uint **)(write_buf + in_t9);\n  uVar2 = *(ushort *)(iVar10 + param_3 * 2);\n  uVar3 = *(ushort *)(iVar10 + param_4 * 2);\n  puVar18 = *(uint **)(in_t9 + 0x1e298);\n  uVar21 = *(uint *)(iVar12 + 0x6d38);\n  uVar24 = *(uint *)(iVar13 + 0x6d34);\n  uVar22 = *puVar15;\n  iVar19 = *(int *)(in_t9 + 0x1e2a0);\nLAB_000181c8:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\n  if (param_3 <= uVar24) goto LAB_000181d8;\n  goto LAB_00018240;\nLAB_000181d8:\n  pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8);\n  uVar17 = (uint)*pbVar16;\n  if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    if (uVar17 == 99) {\n      return 1;\n    }\n    do {\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    } while( true );\n  }\n  uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n  uVar24 = uVar24 - pbVar16[1];\n  if (uVar17 == 0x10) {\n    uVar17 = uVar22 + 1;\n    *(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);\n    if (uVar17 == 0x8000) {\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }\n    uVar22 = uVar17;\n    if (uVar24 < param_3) goto code_r0x0001823c;\n    goto LAB_000181d8;\n  }\n  if (uVar17 == 0xf) {\n    *puVar15 = uVar22;\n    *(uint *)(iVar12 + 0x6d38) = uVar21;\n    *(uint *)(iVar13 + 0x6d34) = uVar24;\n    return 0;\n  }\n  if (uVar24 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    } while (uVar24 < uVar17);\n  }\n  uVar4 = *(ushort *)(pbVar16 + 4);\n  uVar24 = uVar24 - uVar17;\n  uVar11 = uVar21 >> (uVar17 & 0x1f);\n  uVar5 = *(ushort *)(iVar10 + uVar17 * 2);\n  if (uVar24 < param_4) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    } while (uVar24 < param_4);\n  }\nLAB_0001839c:\n  local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8);\n  uVar17 = (uint)*local_54;\n  if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    } while (0x10 < uVar17);\n  }\n  uVar24 = uVar24 - local_54[1];\n  uVar11 = uVar11 >> (local_54[1] & 0x1f);\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\n  if (uVar24 < uVar17) {\n    uVar7 = *puVar18;\n    uVar6 = uVar24;\n    while( true ) {\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }\n  }\n  iVar14 = *(int *)(in_t9 + 0x1e37c);\n  uVar24 = uVar24 - uVar17;\n  uVar6 = uVar5 & uVar21;\n  uVar21 = uVar11 >> (uVar17 & 0x1f);\n  uVar6 = uVar6 + uVar4;\n  uVar17 = (uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11);\n  do {\n    uVar17 = uVar17 & 0x7fff;\n    if (uVar22 < uVar17) {\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }\n    else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }\n    uVar22 = uVar22 + uVar11;\n    uVar17 = uVar11 + uVar17;\n    if (uVar22 == 0x8000) {\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }\n  } while (uVar6 != 0);\n  goto LAB_000181c8;\ncode_r0x0001823c:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\nLAB_00018240:\n  uVar17 = *puVar18;\n  if (uVar17 < *puVar20) {\n    uVar11 = (uint)*(byte *)(iVar19 + uVar17);\n    *puVar18 = uVar17 + 1;\n  }\n  else {\n    *puVar15 = uVar22;\n    uVar11 = fill_inbuf(0);\n    uVar11 = uVar11 & 0xff;\n  }\n  uVar17 = uVar24 & 0x1f;\n  uVar24 = uVar24 + 8;\n  uVar21 = uVar21 | uVar11 << uVar17;\n  goto LAB_000181c8;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "ushort uVar2;" type_identifier identifier ;) (declaration "ushort uVar3;" type_identifier identifier ;) (declaration "ushort uVar4;" type_identifier identifier ;) (declaration "ushort uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "uint *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "byte *pbVar16;" type_identifier (pointer_declarator "*pbVar16" * identifier) ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "uint *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "uint *puVar20;" type_identifier (pointer_declarator "*puVar20" * identifier) ;) (declaration "uint uVar21;" type_identifier identifier ;) (declaration "uint uVar22;" type_identifier identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar23;" type_identifier (pointer_declarator "*pcVar23" * identifier) ;) (declaration "uint uVar24;" type_identifier identifier ;) (declaration "byte *local_54;" type_identifier (pointer_declarator "*local_54" * identifier) ;) (expression_statement "iVar13 = *(int *)(in_t9 + 0x1e268);" (assignment_expression "iVar13 = *(int *)(in_t9 + 0x1e268)" identifier = (pointer_expression "*(int *)(in_t9 + 0x1e268)" * (cast_expression "(int *)(in_t9 + 0x1e268)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x1e268)" ( (binary_expression "in_t9 + 0x1e268" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = *(int *)(in_t9 + 0x1e268);" (assignment_expression "iVar12 = *(int *)(in_t9 + 0x1e268)" identifier = (pointer_expression "*(int *)(in_t9 + 0x1e268)" * (cast_expression "(int *)(in_t9 + 0x1e268)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x1e268)" ( (binary_expression "in_t9 + 0x1e268" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(in_t9 + 0x1e278) + 0x4e40;" (assignment_expression "iVar10 = *(int *)(in_t9 + 0x1e278) + 0x4e40" identifier = (binary_expression "*(int *)(in_t9 + 0x1e278) + 0x4e40" (pointer_expression "*(int *)(in_t9 + 0x1e278)" * (cast_expression "(int *)(in_t9 + 0x1e278)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x1e278)" ( (binary_expression "in_t9 + 0x1e278" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "puVar15 = *(uint **)(write_buf + in_t9);" (assignment_expression "puVar15 = *(uint **)(write_buf + in_t9)" identifier = (pointer_expression "*(uint **)(write_buf + in_t9)" * (cast_expression "(uint **)(write_buf + in_t9)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(write_buf + in_t9)" ( (binary_expression "write_buf + in_t9" identifier + identifier) ))))) ;) (expression_statement "uVar2 = *(ushort *)(iVar10 + param_3 * 2);" (assignment_expression "uVar2 = *(ushort *)(iVar10 + param_3 * 2)" identifier = (pointer_expression "*(ushort *)(iVar10 + param_3 * 2)" * (cast_expression "(ushort *)(iVar10 + param_3 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + param_3 * 2)" ( (binary_expression "iVar10 + param_3 * 2" identifier + (binary_expression "param_3 * 2" identifier * number_literal)) ))))) ;) (expression_statement "uVar3 = *(ushort *)(iVar10 + param_4 * 2);" (assignment_expression "uVar3 = *(ushort *)(iVar10 + param_4 * 2)" identifier = (pointer_expression "*(ushort *)(iVar10 + param_4 * 2)" * (cast_expression "(ushort *)(iVar10 + param_4 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + param_4 * 2)" ( (binary_expression "iVar10 + param_4 * 2" identifier + (binary_expression "param_4 * 2" identifier * number_literal)) ))))) ;) (expression_statement "puVar18 = *(uint **)(in_t9 + 0x1e298);" (assignment_expression "puVar18 = *(uint **)(in_t9 + 0x1e298)" identifier = (pointer_expression "*(uint **)(in_t9 + 0x1e298)" * (cast_expression "(uint **)(in_t9 + 0x1e298)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e298)" ( (binary_expression "in_t9 + 0x1e298" identifier + number_literal) ))))) ;) (expression_statement "uVar21 = *(uint *)(iVar12 + 0x6d38);" (assignment_expression "uVar21 = *(uint *)(iVar12 + 0x6d38)" identifier = (pointer_expression "*(uint *)(iVar12 + 0x6d38)" * (cast_expression "(uint *)(iVar12 + 0x6d38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x6d38)" ( (binary_expression "iVar12 + 0x6d38" identifier + number_literal) ))))) ;) (expression_statement "uVar24 = *(uint *)(iVar13 + 0x6d34);" (assignment_expression "uVar24 = *(uint *)(iVar13 + 0x6d34)" identifier = (pointer_expression "*(uint *)(iVar13 + 0x6d34)" * (cast_expression "(uint *)(iVar13 + 0x6d34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x6d34)" ( (binary_expression "iVar13 + 0x6d34" identifier + number_literal) ))))) ;) (expression_statement "uVar22 = *puVar15;" (assignment_expression "uVar22 = *puVar15" identifier = (pointer_expression "*puVar15" * identifier)) ;) (expression_statement "iVar19 = *(int *)(in_t9 + 0x1e2a0);" (assignment_expression "iVar19 = *(int *)(in_t9 + 0x1e2a0)" identifier = (pointer_expression "*(int *)(in_t9 + 0x1e2a0)" * (cast_expression "(int *)(in_t9 + 0x1e2a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x1e2a0)" ( (binary_expression "in_t9 + 0x1e2a0" identifier + number_literal) ))))) ;) (labeled_statement "LAB_000181c8:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);" statement_identifier : (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" identifier = (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" * (cast_expression "(uint **)(in_t9 + 0x1e29c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e29c)" ( (binary_expression "in_t9 + 0x1e29c" identifier + number_literal) ))))) ;)) (if_statement "if (param_3 <= uVar24) goto LAB_000181d8;" if (parenthesized_expression "(param_3 <= uVar24)" ( (binary_expression "param_3 <= uVar24" identifier <= identifier) )) (goto_statement "goto LAB_000181d8;" goto statement_identifier ;)) (goto_statement "goto LAB_00018240;" goto statement_identifier ;) (labeled_statement "LAB_000181d8:\n  pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8);" statement_identifier : (expression_statement "pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8);" (assignment_expression "pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8)" identifier = (cast_expression "(byte *)(param_1 + (uVar21 & uVar2) * 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (uVar21 & uVar2) * 8)" ( (binary_expression "param_1 + (uVar21 & uVar2) * 8" identifier + (binary_expression "(uVar21 & uVar2) * 8" (parenthesized_expression "(uVar21 & uVar2)" ( (binary_expression "uVar21 & uVar2" identifier & identifier) )) * number_literal)) )))) ;)) (expression_statement "uVar17 = (uint)*pbVar16;" (assignment_expression "uVar17 = (uint)*pbVar16" identifier = (binary_expression "(uint)*pbVar16" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    if (uVar17 == 99) {\n      return 1;\n    }\n    do {\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    } while( true );\n  }" if (parenthesized_expression "(0x10 < uVar17)" ( (binary_expression "0x10 < uVar17" number_literal < identifier) )) (compound_statement "{\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    if (uVar17 == 99) {\n      return 1;\n    }\n    do {\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    } while( true );\n  }" { (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" identifier = (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" * (cast_expression "(uint **)(in_t9 + 0x1e29c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e29c)" ( (binary_expression "in_t9 + 0x1e29c" identifier + number_literal) ))))) ;) (if_statement "if (uVar17 == 99) {\n      return 1;\n    }" if (parenthesized_expression "(uVar17 == 99)" ( (binary_expression "uVar17 == 99" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (do_statement "do {\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    } while( true );" do (compound_statement "{\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    }" { (expression_statement "uVar17 = uVar17 - 0x10;" (assignment_expression "uVar17 = uVar17 - 0x10" identifier = (binary_expression "uVar17 - 0x10" identifier - number_literal)) ;) (expression_statement "uVar24 = uVar24 - pbVar16[1];" (assignment_expression "uVar24 = uVar24 - pbVar16[1]" identifier = (binary_expression "uVar24 - pbVar16[1]" identifier - (subscript_expression "pbVar16[1]" identifier [ number_literal ]))) ;) (expression_statement "uVar21 = uVar21 >> (pbVar16[1] & 0x1f);" (assignment_expression "uVar21 = uVar21 >> (pbVar16[1] & 0x1f)" identifier = (binary_expression "uVar21 >> (pbVar16[1] & 0x1f)" identifier >> (parenthesized_expression "(pbVar16[1] & 0x1f)" ( (binary_expression "pbVar16[1] & 0x1f" (subscript_expression "pbVar16[1]" identifier [ number_literal ]) & number_literal) )))) ;) (if_statement "if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }" if (parenthesized_expression "(uVar24 < uVar17)" ( (binary_expression "uVar24 < uVar17" identifier < identifier) )) (compound_statement "{\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }" { (do_statement "do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);" do (compound_statement "{\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        }" { (while_statement "while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }" { (expression_statement "uVar11 = uVar24;" (assignment_expression "uVar11 = uVar24" identifier = identifier) ;) (expression_statement "uVar24 = *puVar18;" (assignment_expression "uVar24 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;) (if_statement "if (uVar24 < *puVar20) break;" if (parenthesized_expression "(uVar24 < *puVar20)" ( (binary_expression "uVar24 < *puVar20" identifier < (pointer_expression "*puVar20" * identifier)) )) (break_statement "break;" break ;)) (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "uVar24 = fill_inbuf(0);" (assignment_expression "uVar24 = fill_inbuf(0)" identifier = (call_expression "fill_inbuf(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);" (assignment_expression "uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f)" identifier = (binary_expression "uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f)" identifier | (binary_expression "(uVar24 & 0xff) << (uVar11 & 0x1f)" (parenthesized_expression "(uVar24 & 0xff)" ( (binary_expression "uVar24 & 0xff" identifier & number_literal) )) << (parenthesized_expression "(uVar11 & 0x1f)" ( (binary_expression "uVar11 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "uVar24 = uVar11 + 8;" (assignment_expression "uVar24 = uVar11 + 8" identifier = (binary_expression "uVar11 + 8" identifier + number_literal)) ;) (if_statement "if (uVar17 <= uVar11 + 8) goto LAB_0001856c;" if (parenthesized_expression "(uVar17 <= uVar11 + 8)" ( (binary_expression "uVar17 <= uVar11 + 8" identifier <= (binary_expression "uVar11 + 8" identifier + number_literal)) )) (goto_statement "goto LAB_0001856c;" goto statement_identifier ;)) })) (expression_statement "uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);" (assignment_expression "uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f)" identifier = (binary_expression "uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f)" identifier | (binary_expression "(uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f)" (binary_expression "(uint)*(byte *)(iVar19 + uVar24)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar19 + uVar24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + uVar24)" ( (binary_expression "iVar19 + uVar24" identifier + identifier) )))) << (parenthesized_expression "(uVar11 & 0x1f)" ( (binary_expression "uVar11 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "*puVar18 = uVar24 + 1;" (assignment_expression "*puVar18 = uVar24 + 1" (pointer_expression "*puVar18" * identifier) = (binary_expression "uVar24 + 1" identifier + number_literal)) ;) (expression_statement "uVar24 = uVar11 + 8;" (assignment_expression "uVar24 = uVar11 + 8" identifier = (binary_expression "uVar11 + 8" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar11 + 8 < uVar17)" ( (binary_expression "uVar11 + 8 < uVar17" (binary_expression "uVar11 + 8" identifier + number_literal) < identifier) )) ;) (labeled_statement "LAB_0001856c:\n        uVar24 = uVar11 + 8;" statement_identifier : (expression_statement "uVar24 = uVar11 + 8;" (assignment_expression "uVar24 = uVar11 + 8" identifier = (binary_expression "uVar11 + 8" identifier + number_literal)) ;)) })) (expression_statement "pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);" (assignment_expression "pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8)" identifier = (cast_expression "(byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8)" ( (binary_expression "*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8" (pointer_expression "*(int *)(pbVar16 + 4)" * (cast_expression "(int *)(pbVar16 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar16 + 4)" ( (binary_expression "pbVar16 + 4" identifier + number_literal) )))) + (binary_expression "(*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8" (parenthesized_expression "(*(ushort *)(iVar10 + uVar17 * 2) & uVar21)" ( (binary_expression "*(ushort *)(iVar10 + uVar17 * 2) & uVar21" (pointer_expression "*(ushort *)(iVar10 + uVar17 * 2)" * (cast_expression "(ushort *)(iVar10 + uVar17 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + uVar17 * 2)" ( (binary_expression "iVar10 + uVar17 * 2" identifier + (binary_expression "uVar17 * 2" identifier * number_literal)) )))) & identifier) )) * number_literal)) )))) ;) (expression_statement "uVar17 = (uint)*pbVar16;" (assignment_expression "uVar17 = (uint)*pbVar16" identifier = (binary_expression "(uint)*pbVar16" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (uVar17 < 0x11) break;" if (parenthesized_expression "(uVar17 < 0x11)" ( (binary_expression "uVar17 < 0x11" identifier < number_literal) )) (break_statement "break;" break ;)) (if_statement "if (uVar17 == 99) {\n        return 1;\n      }" if (parenthesized_expression "(uVar17 == 99)" ( (binary_expression "uVar17 == 99" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "uVar21 = uVar21 >> (pbVar16[1] & 0x1f);" (assignment_expression "uVar21 = uVar21 >> (pbVar16[1] & 0x1f)" identifier = (binary_expression "uVar21 >> (pbVar16[1] & 0x1f)" identifier >> (parenthesized_expression "(pbVar16[1] & 0x1f)" ( (binary_expression "pbVar16[1] & 0x1f" (subscript_expression "pbVar16[1]" identifier [ number_literal ]) & number_literal) )))) ;) (expression_statement "uVar24 = uVar24 - pbVar16[1];" (assignment_expression "uVar24 = uVar24 - pbVar16[1]" identifier = (binary_expression "uVar24 - pbVar16[1]" identifier - (subscript_expression "pbVar16[1]" identifier [ number_literal ]))) ;) (if_statement "if (uVar17 == 0x10) {\n    uVar17 = uVar22 + 1;\n    *(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);\n    if (uVar17 == 0x8000) {\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }\n    uVar22 = uVar17;\n    if (uVar24 < param_3) goto code_r0x0001823c;\n    goto LAB_000181d8;\n  }" if (parenthesized_expression "(uVar17 == 0x10)" ( (binary_expression "uVar17 == 0x10" identifier == number_literal) )) (compound_statement "{\n    uVar17 = uVar22 + 1;\n    *(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);\n    if (uVar17 == 0x8000) {\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }\n    uVar22 = uVar17;\n    if (uVar24 < param_3) goto code_r0x0001823c;\n    goto LAB_000181d8;\n  }" { (expression_statement "uVar17 = uVar22 + 1;" (assignment_expression "uVar17 = uVar22 + 1" identifier = (binary_expression "uVar22 + 1" identifier + number_literal)) ;) (expression_statement "*(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);" (assignment_expression "*(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4)" (pointer_expression "*(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22)" * (cast_expression "(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(in_t9 + 0x1e37c) + uVar22)" ( (binary_expression "*(int *)(in_t9 + 0x1e37c) + uVar22" (pointer_expression "*(int *)(in_t9 + 0x1e37c)" * (cast_expression "(int *)(in_t9 + 0x1e37c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x1e37c)" ( (binary_expression "in_t9 + 0x1e37c" identifier + number_literal) )))) + identifier) )))) = (cast_expression "(char)*(undefined2 *)(pbVar16 + 4)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(undefined2 *)(pbVar16 + 4)" * (cast_expression "(undefined2 *)(pbVar16 + 4)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar16 + 4)" ( (binary_expression "pbVar16 + 4" identifier + number_literal) )))))) ;) (if_statement "if (uVar17 == 0x8000) {\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }" if (parenthesized_expression "(uVar17 == 0x8000)" ( (binary_expression "uVar17 == 0x8000" identifier == number_literal) )) (compound_statement "{\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }" { (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" identifier = number_literal) ;) (expression_statement "*puVar15 = 0x8000;" (assignment_expression "*puVar15 = 0x8000" (pointer_expression "*puVar15" * identifier) = number_literal) ;) (expression_statement "flush_window();" (call_expression "flush_window()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_000181c8;" goto statement_identifier ;) })) (expression_statement "uVar22 = uVar17;" (assignment_expression "uVar22 = uVar17" identifier = identifier) ;) (if_statement "if (uVar24 < param_3) goto code_r0x0001823c;" if (parenthesized_expression "(uVar24 < param_3)" ( (binary_expression "uVar24 < param_3" identifier < identifier) )) (goto_statement "goto code_r0x0001823c;" goto statement_identifier ;)) (goto_statement "goto LAB_000181d8;" goto statement_identifier ;) })) (if_statement "if (uVar17 == 0xf) {\n    *puVar15 = uVar22;\n    *(uint *)(iVar12 + 0x6d38) = uVar21;\n    *(uint *)(iVar13 + 0x6d34) = uVar24;\n    return 0;\n  }" if (parenthesized_expression "(uVar17 == 0xf)" ( (binary_expression "uVar17 == 0xf" identifier == number_literal) )) (compound_statement "{\n    *puVar15 = uVar22;\n    *(uint *)(iVar12 + 0x6d38) = uVar21;\n    *(uint *)(iVar13 + 0x6d34) = uVar24;\n    return 0;\n  }" { (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "*(uint *)(iVar12 + 0x6d38) = uVar21;" (assignment_expression "*(uint *)(iVar12 + 0x6d38) = uVar21" (pointer_expression "*(uint *)(iVar12 + 0x6d38)" * (cast_expression "(uint *)(iVar12 + 0x6d38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x6d38)" ( (binary_expression "iVar12 + 0x6d38" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar13 + 0x6d34) = uVar24;" (assignment_expression "*(uint *)(iVar13 + 0x6d34) = uVar24" (pointer_expression "*(uint *)(iVar13 + 0x6d34)" * (cast_expression "(uint *)(iVar13 + 0x6d34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x6d34)" ( (binary_expression "iVar13 + 0x6d34" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (uVar24 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    } while (uVar24 < uVar17);\n  }" if (parenthesized_expression "(uVar24 < uVar17)" ( (binary_expression "uVar24 < uVar17" identifier < identifier) )) (compound_statement "{\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    } while (uVar24 < uVar17);\n  }" { (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" identifier = (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" * (cast_expression "(uint **)(in_t9 + 0x1e29c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e29c)" ( (binary_expression "in_t9 + 0x1e29c" identifier + number_literal) ))))) ;) (do_statement "do {\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    } while (uVar24 < uVar17);" do (compound_statement "{\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    }" { (expression_statement "uVar11 = *puVar18;" (assignment_expression "uVar11 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;) (if_statement "if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }" if (parenthesized_expression "(uVar11 < *puVar20)" ( (binary_expression "uVar11 < *puVar20" identifier < (pointer_expression "*puVar20" * identifier)) )) (compound_statement "{\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }" { (expression_statement "uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);" (assignment_expression "uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f)" identifier = (binary_expression "(uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f)" (binary_expression "(uint)*(byte *)(iVar19 + uVar11)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar19 + uVar11)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + uVar11)" ( (binary_expression "iVar19 + uVar11" identifier + identifier) )))) << (parenthesized_expression "(uVar24 & 0x1f)" ( (binary_expression "uVar24 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "*puVar18 = uVar11 + 1;" (assignment_expression "*puVar18 = uVar11 + 1" (pointer_expression "*puVar18" * identifier) = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }" else (compound_statement "{\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }" { (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "uVar11 = fill_inbuf(0);" (assignment_expression "uVar11 = fill_inbuf(0)" identifier = (call_expression "fill_inbuf(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);" (assignment_expression "uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f)" identifier = (binary_expression "(uVar11 & 0xff) << (uVar24 & 0x1f)" (parenthesized_expression "(uVar11 & 0xff)" ( (binary_expression "uVar11 & 0xff" identifier & number_literal) )) << (parenthesized_expression "(uVar24 & 0x1f)" ( (binary_expression "uVar24 & 0x1f" identifier & number_literal) )))) ;) }))) (expression_statement "uVar21 = uVar21 | uVar6;" (assignment_expression "uVar21 = uVar21 | uVar6" identifier = (binary_expression "uVar21 | uVar6" identifier | identifier)) ;) (expression_statement "uVar24 = uVar24 + 8;" (assignment_expression "uVar24 = uVar24 + 8" identifier = (binary_expression "uVar24 + 8" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar24 < uVar17)" ( (binary_expression "uVar24 < uVar17" identifier < identifier) )) ;) })) (expression_statement "uVar4 = *(ushort *)(pbVar16 + 4);" (assignment_expression "uVar4 = *(ushort *)(pbVar16 + 4)" identifier = (pointer_expression "*(ushort *)(pbVar16 + 4)" * (cast_expression "(ushort *)(pbVar16 + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar16 + 4)" ( (binary_expression "pbVar16 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar24 = uVar24 - uVar17;" (assignment_expression "uVar24 = uVar24 - uVar17" identifier = (binary_expression "uVar24 - uVar17" identifier - identifier)) ;) (expression_statement "uVar11 = uVar21 >> (uVar17 & 0x1f);" (assignment_expression "uVar11 = uVar21 >> (uVar17 & 0x1f)" identifier = (binary_expression "uVar21 >> (uVar17 & 0x1f)" identifier >> (parenthesized_expression "(uVar17 & 0x1f)" ( (binary_expression "uVar17 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar5 = *(ushort *)(iVar10 + uVar17 * 2);" (assignment_expression "uVar5 = *(ushort *)(iVar10 + uVar17 * 2)" identifier = (pointer_expression "*(ushort *)(iVar10 + uVar17 * 2)" * (cast_expression "(ushort *)(iVar10 + uVar17 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + uVar17 * 2)" ( (binary_expression "iVar10 + uVar17 * 2" identifier + (binary_expression "uVar17 * 2" identifier * number_literal)) ))))) ;) (if_statement "if (uVar24 < param_4) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    } while (uVar24 < param_4);\n  }" if (parenthesized_expression "(uVar24 < param_4)" ( (binary_expression "uVar24 < param_4" identifier < identifier) )) (compound_statement "{\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    } while (uVar24 < param_4);\n  }" { (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" identifier = (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" * (cast_expression "(uint **)(in_t9 + 0x1e29c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e29c)" ( (binary_expression "in_t9 + 0x1e29c" identifier + number_literal) ))))) ;) (do_statement "do {\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    } while (uVar24 < param_4);" do (compound_statement "{\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    }" { (while_statement "while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }" { (expression_statement "uVar17 = *puVar18;" (assignment_expression "uVar17 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;) (if_statement "if (uVar17 < *puVar20) break;" if (parenthesized_expression "(uVar17 < *puVar20)" ( (binary_expression "uVar17 < *puVar20" identifier < (pointer_expression "*puVar20" * identifier)) )) (break_statement "break;" break ;)) (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "uVar6 = fill_inbuf(0);" (assignment_expression "uVar6 = fill_inbuf(0)" identifier = (call_expression "fill_inbuf(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar17 = uVar24 & 0x1f;" (assignment_expression "uVar17 = uVar24 & 0x1f" identifier = (binary_expression "uVar24 & 0x1f" identifier & number_literal)) ;) (expression_statement "uVar24 = uVar24 + 8;" (assignment_expression "uVar24 = uVar24 + 8" identifier = (binary_expression "uVar24 + 8" identifier + number_literal)) ;) (expression_statement "uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;" (assignment_expression "uVar11 = uVar11 | (uVar6 & 0xff) << uVar17" identifier = (binary_expression "uVar11 | (uVar6 & 0xff) << uVar17" identifier | (binary_expression "(uVar6 & 0xff) << uVar17" (parenthesized_expression "(uVar6 & 0xff)" ( (binary_expression "uVar6 & 0xff" identifier & number_literal) )) << identifier))) ;) (if_statement "if (param_4 <= uVar24) goto LAB_0001839c;" if (parenthesized_expression "(param_4 <= uVar24)" ( (binary_expression "param_4 <= uVar24" identifier <= identifier) )) (goto_statement "goto LAB_0001839c;" goto statement_identifier ;)) })) (expression_statement "bVar1 = *(byte *)(iVar19 + uVar17);" (assignment_expression "bVar1 = *(byte *)(iVar19 + uVar17)" identifier = (pointer_expression "*(byte *)(iVar19 + uVar17)" * (cast_expression "(byte *)(iVar19 + uVar17)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + uVar17)" ( (binary_expression "iVar19 + uVar17" identifier + identifier) ))))) ;) (expression_statement "*puVar18 = uVar17 + 1;" (assignment_expression "*puVar18 = uVar17 + 1" (pointer_expression "*puVar18" * identifier) = (binary_expression "uVar17 + 1" identifier + number_literal)) ;) (expression_statement "uVar17 = uVar24 & 0x1f;" (assignment_expression "uVar17 = uVar24 & 0x1f" identifier = (binary_expression "uVar24 & 0x1f" identifier & number_literal)) ;) (expression_statement "uVar24 = uVar24 + 8;" (assignment_expression "uVar24 = uVar24 + 8" identifier = (binary_expression "uVar24 + 8" identifier + number_literal)) ;) (expression_statement "uVar11 = uVar11 | (uint)bVar1 << uVar17;" (assignment_expression "uVar11 = uVar11 | (uint)bVar1 << uVar17" identifier = (binary_expression "uVar11 | (uint)bVar1 << uVar17" identifier | (binary_expression "(uint)bVar1 << uVar17" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) << identifier))) ;) }) while (parenthesized_expression "(uVar24 < param_4)" ( (binary_expression "uVar24 < param_4" identifier < identifier) )) ;) })) (labeled_statement "LAB_0001839c:\n  local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8);" statement_identifier : (expression_statement "local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8);" (assignment_expression "local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8)" identifier = (cast_expression "(byte *)(param_2 + (uVar3 & uVar11) * 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + (uVar3 & uVar11) * 8)" ( (binary_expression "param_2 + (uVar3 & uVar11) * 8" identifier + (binary_expression "(uVar3 & uVar11) * 8" (parenthesized_expression "(uVar3 & uVar11)" ( (binary_expression "uVar3 & uVar11" identifier & identifier) )) * number_literal)) )))) ;)) (expression_statement "uVar17 = (uint)*local_54;" (assignment_expression "uVar17 = (uint)*local_54" identifier = (binary_expression "(uint)*local_54" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    } while (0x10 < uVar17);\n  }" if (parenthesized_expression "(0x10 < uVar17)" ( (binary_expression "0x10 < uVar17" number_literal < identifier) )) (compound_statement "{\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    } while (0x10 < uVar17);\n  }" { (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" identifier = (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" * (cast_expression "(uint **)(in_t9 + 0x1e29c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e29c)" ( (binary_expression "in_t9 + 0x1e29c" identifier + number_literal) ))))) ;) (do_statement "do {\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    } while (0x10 < uVar17);" do (compound_statement "{\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    }" { (if_statement "if (uVar17 == 99) {\n        return 1;\n      }" if (parenthesized_expression "(uVar17 == 99)" ( (binary_expression "uVar17 == 99" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar17 = uVar17 - 0x10;" (assignment_expression "uVar17 = uVar17 - 0x10" identifier = (binary_expression "uVar17 - 0x10" identifier - number_literal)) ;) (expression_statement "uVar24 = uVar24 - local_54[1];" (assignment_expression "uVar24 = uVar24 - local_54[1]" identifier = (binary_expression "uVar24 - local_54[1]" identifier - (subscript_expression "local_54[1]" identifier [ number_literal ]))) ;) (expression_statement "uVar11 = uVar11 >> (local_54[1] & 0x1f);" (assignment_expression "uVar11 = uVar11 >> (local_54[1] & 0x1f)" identifier = (binary_expression "uVar11 >> (local_54[1] & 0x1f)" identifier >> (parenthesized_expression "(local_54[1] & 0x1f)" ( (binary_expression "local_54[1] & 0x1f" (subscript_expression "local_54[1]" identifier [ number_literal ]) & number_literal) )))) ;) (if_statement "if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }" if (parenthesized_expression "(uVar24 < uVar17)" ( (binary_expression "uVar24 < uVar17" identifier < identifier) )) (compound_statement "{\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }" { (do_statement "do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);" do (compound_statement "{\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        }" { (while_statement "while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }" { (expression_statement "uVar6 = uVar24;" (assignment_expression "uVar6 = uVar24" identifier = identifier) ;) (expression_statement "uVar24 = *puVar18;" (assignment_expression "uVar24 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;) (if_statement "if (uVar24 < *puVar20) break;" if (parenthesized_expression "(uVar24 < *puVar20)" ( (binary_expression "uVar24 < *puVar20" identifier < (pointer_expression "*puVar20" * identifier)) )) (break_statement "break;" break ;)) (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "uVar24 = fill_inbuf(0);" (assignment_expression "uVar24 = fill_inbuf(0)" identifier = (call_expression "fill_inbuf(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);" (assignment_expression "uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f)" identifier = (binary_expression "uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f)" identifier | (binary_expression "(uVar24 & 0xff) << (uVar6 & 0x1f)" (parenthesized_expression "(uVar24 & 0xff)" ( (binary_expression "uVar24 & 0xff" identifier & number_literal) )) << (parenthesized_expression "(uVar6 & 0x1f)" ( (binary_expression "uVar6 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "uVar24 = uVar6 + 8;" (assignment_expression "uVar24 = uVar6 + 8" identifier = (binary_expression "uVar6 + 8" identifier + number_literal)) ;) (if_statement "if (uVar17 <= uVar6 + 8) goto LAB_00018454;" if (parenthesized_expression "(uVar17 <= uVar6 + 8)" ( (binary_expression "uVar17 <= uVar6 + 8" identifier <= (binary_expression "uVar6 + 8" identifier + number_literal)) )) (goto_statement "goto LAB_00018454;" goto statement_identifier ;)) })) (expression_statement "uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);" (assignment_expression "uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f)" identifier = (binary_expression "uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f)" identifier | (binary_expression "(uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f)" (binary_expression "(uint)*(byte *)(iVar19 + uVar24)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar19 + uVar24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + uVar24)" ( (binary_expression "iVar19 + uVar24" identifier + identifier) )))) << (parenthesized_expression "(uVar6 & 0x1f)" ( (binary_expression "uVar6 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "*puVar18 = uVar24 + 1;" (assignment_expression "*puVar18 = uVar24 + 1" (pointer_expression "*puVar18" * identifier) = (binary_expression "uVar24 + 1" identifier + number_literal)) ;) (expression_statement "uVar24 = uVar6 + 8;" (assignment_expression "uVar24 = uVar6 + 8" identifier = (binary_expression "uVar6 + 8" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar6 + 8 < uVar17)" ( (binary_expression "uVar6 + 8 < uVar17" (binary_expression "uVar6 + 8" identifier + number_literal) < identifier) )) ;) (labeled_statement "LAB_00018454:\n        uVar24 = uVar6 + 8;" statement_identifier : (expression_statement "uVar24 = uVar6 + 8;" (assignment_expression "uVar24 = uVar6 + 8" identifier = (binary_expression "uVar6 + 8" identifier + number_literal)) ;)) })) (expression_statement "local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);" (assignment_expression "local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8)" identifier = (cast_expression "(byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8)" ( (binary_expression "*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8" (pointer_expression "*(int *)(local_54 + 4)" * (cast_expression "(int *)(local_54 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_54 + 4)" ( (binary_expression "local_54 + 4" identifier + number_literal) )))) + (binary_expression "(*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8" (parenthesized_expression "(*(ushort *)(iVar10 + uVar17 * 2) & uVar11)" ( (binary_expression "*(ushort *)(iVar10 + uVar17 * 2) & uVar11" (pointer_expression "*(ushort *)(iVar10 + uVar17 * 2)" * (cast_expression "(ushort *)(iVar10 + uVar17 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + uVar17 * 2)" ( (binary_expression "iVar10 + uVar17 * 2" identifier + (binary_expression "uVar17 * 2" identifier * number_literal)) )))) & identifier) )) * number_literal)) )))) ;) (expression_statement "uVar17 = (uint)*local_54;" (assignment_expression "uVar17 = (uint)*local_54" identifier = (binary_expression "(uint)*local_54" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) }) while (parenthesized_expression "(0x10 < uVar17)" ( (binary_expression "0x10 < uVar17" number_literal < identifier) )) ;) })) (expression_statement "uVar24 = uVar24 - local_54[1];" (assignment_expression "uVar24 = uVar24 - local_54[1]" identifier = (binary_expression "uVar24 - local_54[1]" identifier - (subscript_expression "local_54[1]" identifier [ number_literal ]))) ;) (expression_statement "uVar11 = uVar11 >> (local_54[1] & 0x1f);" (assignment_expression "uVar11 = uVar11 >> (local_54[1] & 0x1f)" identifier = (binary_expression "uVar11 >> (local_54[1] & 0x1f)" identifier >> (parenthesized_expression "(local_54[1] & 0x1f)" ( (binary_expression "local_54[1] & 0x1f" (subscript_expression "local_54[1]" identifier [ number_literal ]) & number_literal) )))) ;) (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" identifier = (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" * (cast_expression "(uint **)(in_t9 + 0x1e29c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e29c)" ( (binary_expression "in_t9 + 0x1e29c" identifier + number_literal) ))))) ;) (if_statement "if (uVar24 < uVar17) {\n    uVar7 = *puVar18;\n    uVar6 = uVar24;\n    while( true ) {\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }\n  }" if (parenthesized_expression "(uVar24 < uVar17)" ( (binary_expression "uVar24 < uVar17" identifier < identifier) )) (compound_statement "{\n    uVar7 = *puVar18;\n    uVar6 = uVar24;\n    while( true ) {\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }\n  }" { (expression_statement "uVar7 = *puVar18;" (assignment_expression "uVar7 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;) (expression_statement "uVar6 = uVar24;" (assignment_expression "uVar6 = uVar24" identifier = identifier) ;) (while_statement "while( true ) {\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }" { (if_statement "if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }" if (parenthesized_expression "(uVar7 < *puVar20)" ( (binary_expression "uVar7 < *puVar20" identifier < (pointer_expression "*puVar20" * identifier)) )) (compound_statement "{\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }" { (expression_statement "uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);" (assignment_expression "uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f)" identifier = (binary_expression "(uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f)" (binary_expression "(uint)*(byte *)(iVar19 + uVar7)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar19 + uVar7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + uVar7)" ( (binary_expression "iVar19 + uVar7" identifier + identifier) )))) << (parenthesized_expression "(uVar6 & 0x1f)" ( (binary_expression "uVar6 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "*puVar18 = uVar7 + 1;" (assignment_expression "*puVar18 = uVar7 + 1" (pointer_expression "*puVar18" * identifier) = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }" else (compound_statement "{\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }" { (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "uVar24 = fill_inbuf(0);" (assignment_expression "uVar24 = fill_inbuf(0)" identifier = (call_expression "fill_inbuf(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);" (assignment_expression "uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f)" identifier = (binary_expression "(uVar24 & 0xff) << (uVar6 & 0x1f)" (parenthesized_expression "(uVar24 & 0xff)" ( (binary_expression "uVar24 & 0xff" identifier & number_literal) )) << (parenthesized_expression "(uVar6 & 0x1f)" ( (binary_expression "uVar6 & 0x1f" identifier & number_literal) )))) ;) }))) (expression_statement "uVar11 = uVar11 | uVar24;" (assignment_expression "uVar11 = uVar11 | uVar24" identifier = (binary_expression "uVar11 | uVar24" identifier | identifier)) ;) (expression_statement "uVar24 = uVar6 + 8;" (assignment_expression "uVar24 = uVar6 + 8" identifier = (binary_expression "uVar6 + 8" identifier + number_literal)) ;) (if_statement "if (uVar17 <= uVar24) break;" if (parenthesized_expression "(uVar17 <= uVar24)" ( (binary_expression "uVar17 <= uVar24" identifier <= identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar6 = uVar6 + 8;" (assignment_expression "uVar6 = uVar6 + 8" identifier = (binary_expression "uVar6 + 8" identifier + number_literal)) ;) (expression_statement "uVar7 = *puVar18;" (assignment_expression "uVar7 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;) })) })) (expression_statement "iVar14 = *(int *)(in_t9 + 0x1e37c);" (assignment_expression "iVar14 = *(int *)(in_t9 + 0x1e37c)" identifier = (pointer_expression "*(int *)(in_t9 + 0x1e37c)" * (cast_expression "(int *)(in_t9 + 0x1e37c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x1e37c)" ( (binary_expression "in_t9 + 0x1e37c" identifier + number_literal) ))))) ;) (expression_statement "uVar24 = uVar24 - uVar17;" (assignment_expression "uVar24 = uVar24 - uVar17" identifier = (binary_expression "uVar24 - uVar17" identifier - identifier)) ;) (expression_statement "uVar6 = uVar5 & uVar21;" (assignment_expression "uVar6 = uVar5 & uVar21" identifier = (binary_expression "uVar5 & uVar21" identifier & identifier)) ;) (expression_statement "uVar21 = uVar11 >> (uVar17 & 0x1f);" (assignment_expression "uVar21 = uVar11 >> (uVar17 & 0x1f)" identifier = (binary_expression "uVar11 >> (uVar17 & 0x1f)" identifier >> (parenthesized_expression "(uVar17 & 0x1f)" ( (binary_expression "uVar17 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar6 = uVar6 + uVar4;" (assignment_expression "uVar6 = uVar6 + uVar4" identifier = (binary_expression "uVar6 + uVar4" identifier + identifier)) ;) (expression_statement "uVar17 = (uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11);" (assignment_expression "uVar17 = (uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11)" identifier = (binary_expression "(uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11)" (parenthesized_expression "(uVar22 - *(ushort *)(local_54 + 4))" ( (binary_expression "uVar22 - *(ushort *)(local_54 + 4)" identifier - (pointer_expression "*(ushort *)(local_54 + 4)" * (cast_expression "(ushort *)(local_54 + 4)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_54 + 4)" ( (binary_expression "local_54 + 4" identifier + number_literal) ))))) )) - (parenthesized_expression "(*(ushort *)(iVar10 + uVar17 * 2) & uVar11)" ( (binary_expression "*(ushort *)(iVar10 + uVar17 * 2) & uVar11" (pointer_expression "*(ushort *)(iVar10 + uVar17 * 2)" * (cast_expression "(ushort *)(iVar10 + uVar17 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + uVar17 * 2)" ( (binary_expression "iVar10 + uVar17 * 2" identifier + (binary_expression "uVar17 * 2" identifier * number_literal)) )))) & identifier) )))) ;) (do_statement "do {\n    uVar17 = uVar17 & 0x7fff;\n    if (uVar22 < uVar17) {\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }\n    else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }\n    uVar22 = uVar22 + uVar11;\n    uVar17 = uVar11 + uVar17;\n    if (uVar22 == 0x8000) {\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }\n  } while (uVar6 != 0);" do (compound_statement "{\n    uVar17 = uVar17 & 0x7fff;\n    if (uVar22 < uVar17) {\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }\n    else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }\n    uVar22 = uVar22 + uVar11;\n    uVar17 = uVar11 + uVar17;\n    if (uVar22 == 0x8000) {\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }\n  }" { (expression_statement "uVar17 = uVar17 & 0x7fff;" (assignment_expression "uVar17 = uVar17 & 0x7fff" identifier = (binary_expression "uVar17 & 0x7fff" identifier & number_literal)) ;) (if_statement "if (uVar22 < uVar17) {\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }\n    else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }" if (parenthesized_expression "(uVar22 < uVar17)" ( (binary_expression "uVar22 < uVar17" identifier < identifier) )) (compound_statement "{\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }" { (expression_statement "uVar11 = 0x8000 - uVar17;" (assignment_expression "uVar11 = 0x8000 - uVar17" identifier = (binary_expression "0x8000 - uVar17" number_literal - identifier)) ;) (if_statement "if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }" if (parenthesized_expression "(uVar6 <= 0x8000 - uVar17)" ( (binary_expression "uVar6 <= 0x8000 - uVar17" identifier <= (binary_expression "0x8000 - uVar17" number_literal - identifier)) )) (compound_statement "{\n        uVar11 = uVar6;\n      }" { (expression_statement "uVar11 = uVar6;" (assignment_expression "uVar11 = uVar6" identifier = identifier) ;) })) (expression_statement "uVar6 = uVar6 - uVar11;" (assignment_expression "uVar6 = uVar6 - uVar11" identifier = (binary_expression "uVar6 - uVar11" identifier - identifier)) ;) (if_statement "if (uVar17 < uVar22) goto LAB_000186a8;" if (parenthesized_expression "(uVar17 < uVar22)" ( (binary_expression "uVar17 < uVar22" identifier < identifier) )) (goto_statement "goto LAB_000186a8;" goto statement_identifier ;)) (labeled_statement "LAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);" statement_identifier : (expression_statement "pcVar23 = *(code **)(in_t9 + 0x1e578);" (assignment_expression "pcVar23 = *(code **)(in_t9 + 0x1e578)" identifier = (pointer_expression "*(code **)(in_t9 + 0x1e578)" * (cast_expression "(code **)(in_t9 + 0x1e578)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e578)" ( (binary_expression "in_t9 + 0x1e578" identifier + number_literal) ))))) ;)) (if_statement "if (uVar17 - uVar22 < uVar11) goto LAB_00018738;" if (parenthesized_expression "(uVar17 - uVar22 < uVar11)" ( (binary_expression "uVar17 - uVar22 < uVar11" (binary_expression "uVar17 - uVar22" identifier - identifier) < identifier) )) (goto_statement "goto LAB_00018738;" goto statement_identifier ;)) (labeled_statement "LAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);" statement_identifier : (expression_statement "(*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);" (call_expression "(*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11)" (parenthesized_expression "(*pcVar23)" ( (pointer_expression "*pcVar23" * identifier) )) (argument_list "(iVar14 + uVar22,iVar14 + uVar17,uVar11)" ( (binary_expression "iVar14 + uVar22" identifier + identifier) , (binary_expression "iVar14 + uVar17" identifier + identifier) , identifier ))) ;)) }) (else_clause "else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }" else (compound_statement "{\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }" { (expression_statement "uVar11 = 0x8000 - uVar22;" (assignment_expression "uVar11 = 0x8000 - uVar22" identifier = (binary_expression "0x8000 - uVar22" number_literal - identifier)) ;) (if_statement "if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }" if (parenthesized_expression "(uVar6 <= 0x8000 - uVar22)" ( (binary_expression "uVar6 <= 0x8000 - uVar22" identifier <= (binary_expression "0x8000 - uVar22" number_literal - identifier)) )) (compound_statement "{\n        uVar11 = uVar6;\n      }" { (expression_statement "uVar11 = uVar6;" (assignment_expression "uVar11 = uVar6" identifier = identifier) ;) })) (expression_statement "uVar6 = uVar6 - uVar11;" (assignment_expression "uVar6 = uVar6 - uVar11" identifier = (binary_expression "uVar6 - uVar11" identifier - identifier)) ;) (if_statement "if (uVar22 <= uVar17) goto LAB_00018724;" if (parenthesized_expression "(uVar22 <= uVar17)" ( (binary_expression "uVar22 <= uVar17" identifier <= identifier) )) (goto_statement "goto LAB_00018724;" goto statement_identifier ;)) (labeled_statement "LAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }" statement_identifier : (if_statement "if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }" if (parenthesized_expression "(uVar11 <= uVar22 - uVar17)" ( (binary_expression "uVar11 <= uVar22 - uVar17" identifier <= (binary_expression "uVar22 - uVar17" identifier - identifier)) )) (compound_statement "{\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }" { (expression_statement "pcVar23 = *(code **)(in_t9 + 0x1e578);" (assignment_expression "pcVar23 = *(code **)(in_t9 + 0x1e578)" identifier = (pointer_expression "*(code **)(in_t9 + 0x1e578)" * (cast_expression "(code **)(in_t9 + 0x1e578)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e578)" ( (binary_expression "in_t9 + 0x1e578" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_000186bc;" goto statement_identifier ;) }))) (labeled_statement "LAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);" statement_identifier : (expression_statement "puVar8 = (undefined1 *)(iVar14 + uVar17);" (assignment_expression "puVar8 = (undefined1 *)(iVar14 + uVar17)" identifier = (cast_expression "(undefined1 *)(iVar14 + uVar17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + uVar17)" ( (binary_expression "iVar14 + uVar17" identifier + identifier) )))) ;)) (do_statement "do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);" do (compound_statement "{\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      }" { (expression_statement "puVar9 = puVar8 + 1;" (assignment_expression "puVar9 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "puVar8[uVar22 - uVar17] = *puVar8;" (assignment_expression "puVar8[uVar22 - uVar17] = *puVar8" (subscript_expression "puVar8[uVar22 - uVar17]" identifier [ (binary_expression "uVar22 - uVar17" identifier - identifier) ]) = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" identifier = identifier) ;) }) while (parenthesized_expression "((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9)" ( (binary_expression "(undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9" (binary_expression "(undefined1 *)(iVar14 + uVar17) + uVar11" (cast_expression "(undefined1 *)(iVar14 + uVar17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + uVar17)" ( (binary_expression "iVar14 + uVar17" identifier + identifier) ))) + identifier) != identifier) )) ;) }))) (expression_statement "uVar22 = uVar22 + uVar11;" (assignment_expression "uVar22 = uVar22 + uVar11" identifier = (binary_expression "uVar22 + uVar11" identifier + identifier)) ;) (expression_statement "uVar17 = uVar11 + uVar17;" (assignment_expression "uVar17 = uVar11 + uVar17" identifier = (binary_expression "uVar11 + uVar17" identifier + identifier)) ;) (if_statement "if (uVar22 == 0x8000) {\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }" if (parenthesized_expression "(uVar22 == 0x8000)" ( (binary_expression "uVar22 == 0x8000" identifier == number_literal) )) (compound_statement "{\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }" { (expression_statement "*puVar15 = 0x8000;" (assignment_expression "*puVar15 = 0x8000" (pointer_expression "*puVar15" * identifier) = number_literal) ;) (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" identifier = number_literal) ;) (expression_statement "flush_window();" (call_expression "flush_window()" identifier (argument_list "()" ( ))) ;) })) }) while (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) ;) (goto_statement "goto LAB_000181c8;" goto statement_identifier ;) (labeled_statement "code_r0x0001823c:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);" statement_identifier : (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" identifier = (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" * (cast_expression "(uint **)(in_t9 + 0x1e29c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x1e29c)" ( (binary_expression "in_t9 + 0x1e29c" identifier + number_literal) ))))) ;)) (labeled_statement "LAB_00018240:\n  uVar17 = *puVar18;" statement_identifier : (expression_statement "uVar17 = *puVar18;" (assignment_expression "uVar17 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;)) (if_statement "if (uVar17 < *puVar20) {\n    uVar11 = (uint)*(byte *)(iVar19 + uVar17);\n    *puVar18 = uVar17 + 1;\n  }\n  else {\n    *puVar15 = uVar22;\n    uVar11 = fill_inbuf(0);\n    uVar11 = uVar11 & 0xff;\n  }" if (parenthesized_expression "(uVar17 < *puVar20)" ( (binary_expression "uVar17 < *puVar20" identifier < (pointer_expression "*puVar20" * identifier)) )) (compound_statement "{\n    uVar11 = (uint)*(byte *)(iVar19 + uVar17);\n    *puVar18 = uVar17 + 1;\n  }" { (expression_statement "uVar11 = (uint)*(byte *)(iVar19 + uVar17);" (assignment_expression "uVar11 = (uint)*(byte *)(iVar19 + uVar17)" identifier = (binary_expression "(uint)*(byte *)(iVar19 + uVar17)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar19 + uVar17)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + uVar17)" ( (binary_expression "iVar19 + uVar17" identifier + identifier) ))))) ;) (expression_statement "*puVar18 = uVar17 + 1;" (assignment_expression "*puVar18 = uVar17 + 1" (pointer_expression "*puVar18" * identifier) = (binary_expression "uVar17 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n    *puVar15 = uVar22;\n    uVar11 = fill_inbuf(0);\n    uVar11 = uVar11 & 0xff;\n  }" else (compound_statement "{\n    *puVar15 = uVar22;\n    uVar11 = fill_inbuf(0);\n    uVar11 = uVar11 & 0xff;\n  }" { (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "uVar11 = fill_inbuf(0);" (assignment_expression "uVar11 = fill_inbuf(0)" identifier = (call_expression "fill_inbuf(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "uVar11 = uVar11 & 0xff;" (assignment_expression "uVar11 = uVar11 & 0xff" identifier = (binary_expression "uVar11 & 0xff" identifier & number_literal)) ;) }))) (expression_statement "uVar17 = uVar24 & 0x1f;" (assignment_expression "uVar17 = uVar24 & 0x1f" identifier = (binary_expression "uVar24 & 0x1f" identifier & number_literal)) ;) (expression_statement "uVar24 = uVar24 + 8;" (assignment_expression "uVar24 = uVar24 + 8" identifier = (binary_expression "uVar24 + 8" identifier + number_literal)) ;) (expression_statement "uVar21 = uVar21 | uVar11 << uVar17;" (assignment_expression "uVar21 = uVar21 | uVar11 << uVar17" identifier = (binary_expression "uVar21 | uVar11 << uVar17" identifier | (binary_expression "uVar11 << uVar17" identifier << identifier))) ;) (goto_statement "goto LAB_000181c8;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 (pointer_declarator * 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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT & IDENT) )) * LIT)) )))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) (break_statement break ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << (parenthesized_expression ( (binary_expression IDENT & LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (binary_expression IDENT + LIT)) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) << (parenthesized_expression ( (binary_expression IDENT & LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < IDENT) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) & IDENT) )) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) }) while (parenthesized_expression ( BOOL )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) )))) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) (break_statement break ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (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 + IDENT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) << IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT & IDENT) )) * LIT)) )))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) (break_statement break ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << (parenthesized_expression ( (binary_expression IDENT & LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (binary_expression IDENT + LIT)) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) << (parenthesized_expression ( (binary_expression IDENT & LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < IDENT) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) & IDENT) )) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression LIT < IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) - (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) & IDENT) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (binary_expression LIT - IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - IDENT) < IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (binary_expression IDENT + IDENT) , (binary_expression IDENT + IDENT) , IDENT ))) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (binary_expression LIT - IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (binary_expression IDENT - IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (goto_statement goto statement_identifier ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;)) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT - IDENT) ]) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))) + IDENT) != IDENT) )) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression IDENT << IDENT))) ;) (goto_statement goto statement_identifier ;) })))
(function_definition "undefined4 FUN_00018120(int param_1,int param_2,uint param_3,uint param_4)\n\n{\n  byte bVar1;\n  ushort uVar2;\n  ushort uVar3;\n  ushort uVar4;\n  ushort uVar5;\n  uint uVar6;\n  uint uVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int iVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint *puVar15;\n  byte *pbVar16;\n  uint uVar17;\n  uint *puVar18;\n  int iVar19;\n  uint *puVar20;\n  uint uVar21;\n  uint uVar22;\n  int in_t9;\n  code *pcVar23;\n  uint uVar24;\n  byte *local_54;\n  \n  iVar13 = *(int *)(in_t9 + 0x1e268);\n  iVar12 = *(int *)(in_t9 + 0x1e268);\n  iVar10 = *(int *)(in_t9 + 0x1e278) + 0x4e40;\n  puVar15 = *(uint **)(write_buf + in_t9);\n  uVar2 = *(ushort *)(iVar10 + param_3 * 2);\n  uVar3 = *(ushort *)(iVar10 + param_4 * 2);\n  puVar18 = *(uint **)(in_t9 + 0x1e298);\n  uVar21 = *(uint *)(iVar12 + 0x6d38);\n  uVar24 = *(uint *)(iVar13 + 0x6d34);\n  uVar22 = *puVar15;\n  iVar19 = *(int *)(in_t9 + 0x1e2a0);\nLAB_000181c8:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\n  if (param_3 <= uVar24) goto LAB_000181d8;\n  goto LAB_00018240;\nLAB_000181d8:\n  pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8);\n  uVar17 = (uint)*pbVar16;\n  if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    if (uVar17 == 99) {\n      return 1;\n    }\n    do {\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    } while( true );\n  }\n  uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n  uVar24 = uVar24 - pbVar16[1];\n  if (uVar17 == 0x10) {\n    uVar17 = uVar22 + 1;\n    *(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);\n    if (uVar17 == 0x8000) {\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }\n    uVar22 = uVar17;\n    if (uVar24 < param_3) goto code_r0x0001823c;\n    goto LAB_000181d8;\n  }\n  if (uVar17 == 0xf) {\n    *puVar15 = uVar22;\n    *(uint *)(iVar12 + 0x6d38) = uVar21;\n    *(uint *)(iVar13 + 0x6d34) = uVar24;\n    return 0;\n  }\n  if (uVar24 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    } while (uVar24 < uVar17);\n  }\n  uVar4 = *(ushort *)(pbVar16 + 4);\n  uVar24 = uVar24 - uVar17;\n  uVar11 = uVar21 >> (uVar17 & 0x1f);\n  uVar5 = *(ushort *)(iVar10 + uVar17 * 2);\n  if (uVar24 < param_4) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    } while (uVar24 < param_4);\n  }\nLAB_0001839c:\n  local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8);\n  uVar17 = (uint)*local_54;\n  if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    } while (0x10 < uVar17);\n  }\n  uVar24 = uVar24 - local_54[1];\n  uVar11 = uVar11 >> (local_54[1] & 0x1f);\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\n  if (uVar24 < uVar17) {\n    uVar7 = *puVar18;\n    uVar6 = uVar24;\n    while( true ) {\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }\n  }\n  iVar14 = *(int *)(in_t9 + 0x1e37c);\n  uVar24 = uVar24 - uVar17;\n  uVar6 = uVar5 & uVar21;\n  uVar21 = uVar11 >> (uVar17 & 0x1f);\n  uVar6 = uVar6 + uVar4;\n  uVar17 = (uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11);\n  do {\n    uVar17 = uVar17 & 0x7fff;\n    if (uVar22 < uVar17) {\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }\n    else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }\n    uVar22 = uVar22 + uVar11;\n    uVar17 = uVar11 + uVar17;\n    if (uVar22 == 0x8000) {\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }\n  } while (uVar6 != 0);\n  goto LAB_000181c8;\ncode_r0x0001823c:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\nLAB_00018240:\n  uVar17 = *puVar18;\n  if (uVar17 < *puVar20) {\n    uVar11 = (uint)*(byte *)(iVar19 + uVar17);\n    *puVar18 = uVar17 + 1;\n  }\n  else {\n    *puVar15 = uVar22;\n    uVar11 = fill_inbuf(0);\n    uVar11 = uVar11 & 0xff;\n  }\n  uVar17 = uVar24 & 0x1f;\n  uVar24 = uVar24 + 8;\n  uVar21 = uVar21 | uVar11 << uVar17;\n  goto LAB_000181c8;\n}" (type_identifier "undefined4") (function_declarator "FUN_00018120(int param_1,int param_2,uint param_3,uint param_4)" (identifier "FUN_00018120") (parameter_list "(int param_1,int param_2,uint param_3,uint param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")"))) (compound_statement "{\n  byte bVar1;\n  ushort uVar2;\n  ushort uVar3;\n  ushort uVar4;\n  ushort uVar5;\n  uint uVar6;\n  uint uVar7;\n  undefined1 *puVar8;\n  undefined1 *puVar9;\n  int iVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  uint *puVar15;\n  byte *pbVar16;\n  uint uVar17;\n  uint *puVar18;\n  int iVar19;\n  uint *puVar20;\n  uint uVar21;\n  uint uVar22;\n  int in_t9;\n  code *pcVar23;\n  uint uVar24;\n  byte *local_54;\n  \n  iVar13 = *(int *)(in_t9 + 0x1e268);\n  iVar12 = *(int *)(in_t9 + 0x1e268);\n  iVar10 = *(int *)(in_t9 + 0x1e278) + 0x4e40;\n  puVar15 = *(uint **)(write_buf + in_t9);\n  uVar2 = *(ushort *)(iVar10 + param_3 * 2);\n  uVar3 = *(ushort *)(iVar10 + param_4 * 2);\n  puVar18 = *(uint **)(in_t9 + 0x1e298);\n  uVar21 = *(uint *)(iVar12 + 0x6d38);\n  uVar24 = *(uint *)(iVar13 + 0x6d34);\n  uVar22 = *puVar15;\n  iVar19 = *(int *)(in_t9 + 0x1e2a0);\nLAB_000181c8:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\n  if (param_3 <= uVar24) goto LAB_000181d8;\n  goto LAB_00018240;\nLAB_000181d8:\n  pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8);\n  uVar17 = (uint)*pbVar16;\n  if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    if (uVar17 == 99) {\n      return 1;\n    }\n    do {\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    } while( true );\n  }\n  uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n  uVar24 = uVar24 - pbVar16[1];\n  if (uVar17 == 0x10) {\n    uVar17 = uVar22 + 1;\n    *(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);\n    if (uVar17 == 0x8000) {\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }\n    uVar22 = uVar17;\n    if (uVar24 < param_3) goto code_r0x0001823c;\n    goto LAB_000181d8;\n  }\n  if (uVar17 == 0xf) {\n    *puVar15 = uVar22;\n    *(uint *)(iVar12 + 0x6d38) = uVar21;\n    *(uint *)(iVar13 + 0x6d34) = uVar24;\n    return 0;\n  }\n  if (uVar24 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    } while (uVar24 < uVar17);\n  }\n  uVar4 = *(ushort *)(pbVar16 + 4);\n  uVar24 = uVar24 - uVar17;\n  uVar11 = uVar21 >> (uVar17 & 0x1f);\n  uVar5 = *(ushort *)(iVar10 + uVar17 * 2);\n  if (uVar24 < param_4) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    } while (uVar24 < param_4);\n  }\nLAB_0001839c:\n  local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8);\n  uVar17 = (uint)*local_54;\n  if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    } while (0x10 < uVar17);\n  }\n  uVar24 = uVar24 - local_54[1];\n  uVar11 = uVar11 >> (local_54[1] & 0x1f);\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\n  if (uVar24 < uVar17) {\n    uVar7 = *puVar18;\n    uVar6 = uVar24;\n    while( true ) {\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }\n  }\n  iVar14 = *(int *)(in_t9 + 0x1e37c);\n  uVar24 = uVar24 - uVar17;\n  uVar6 = uVar5 & uVar21;\n  uVar21 = uVar11 >> (uVar17 & 0x1f);\n  uVar6 = uVar6 + uVar4;\n  uVar17 = (uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11);\n  do {\n    uVar17 = uVar17 & 0x7fff;\n    if (uVar22 < uVar17) {\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }\n    else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }\n    uVar22 = uVar22 + uVar11;\n    uVar17 = uVar11 + uVar17;\n    if (uVar22 == 0x8000) {\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }\n  } while (uVar6 != 0);\n  goto LAB_000181c8;\ncode_r0x0001823c:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);\nLAB_00018240:\n  uVar17 = *puVar18;\n  if (uVar17 < *puVar20) {\n    uVar11 = (uint)*(byte *)(iVar19 + uVar17);\n    *puVar18 = uVar17 + 1;\n  }\n  else {\n    *puVar15 = uVar22;\n    uVar11 = fill_inbuf(0);\n    uVar11 = uVar11 & 0xff;\n  }\n  uVar17 = uVar24 & 0x1f;\n  uVar24 = uVar24 + 8;\n  uVar21 = uVar21 | uVar11 << uVar17;\n  goto LAB_000181c8;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "ushort uVar2;" (type_identifier "ushort") (identifier "uVar2") (; ";")) (declaration "ushort uVar3;" (type_identifier "ushort") (identifier "uVar3") (; ";")) (declaration "ushort uVar4;" (type_identifier "ushort") (identifier "uVar4") (; ";")) (declaration "ushort uVar5;" (type_identifier "ushort") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined1 *puVar9;" (type_identifier "undefined1") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "uint *puVar15;" (type_identifier "uint") (pointer_declarator "*puVar15" (* "*") (identifier "puVar15")) (; ";")) (declaration "byte *pbVar16;" (type_identifier "byte") (pointer_declarator "*pbVar16" (* "*") (identifier "pbVar16")) (; ";")) (declaration "uint uVar17;" (type_identifier "uint") (identifier "uVar17") (; ";")) (declaration "uint *puVar18;" (type_identifier "uint") (pointer_declarator "*puVar18" (* "*") (identifier "puVar18")) (; ";")) (declaration "int iVar19;" (primitive_type "int") (identifier "iVar19") (; ";")) (declaration "uint *puVar20;" (type_identifier "uint") (pointer_declarator "*puVar20" (* "*") (identifier "puVar20")) (; ";")) (declaration "uint uVar21;" (type_identifier "uint") (identifier "uVar21") (; ";")) (declaration "uint uVar22;" (type_identifier "uint") (identifier "uVar22") (; ";")) (declaration "int in_t9;" (primitive_type "int") (identifier "in_t9") (; ";")) (declaration "code *pcVar23;" (type_identifier "code") (pointer_declarator "*pcVar23" (* "*") (identifier "pcVar23")) (; ";")) (declaration "uint uVar24;" (type_identifier "uint") (identifier "uVar24") (; ";")) (declaration "byte *local_54;" (type_identifier "byte") (pointer_declarator "*local_54" (* "*") (identifier "local_54")) (; ";")) (expression_statement "iVar13 = *(int *)(in_t9 + 0x1e268);" (assignment_expression "iVar13 = *(int *)(in_t9 + 0x1e268)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(in_t9 + 0x1e268)" (* "*") (cast_expression "(int *)(in_t9 + 0x1e268)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_t9 + 0x1e268)" (( "(") (binary_expression "in_t9 + 0x1e268" (identifier "in_t9") (+ "+") (number_literal "0x1e268")) () ")"))))) (; ";")) (expression_statement "iVar12 = *(int *)(in_t9 + 0x1e268);" (assignment_expression "iVar12 = *(int *)(in_t9 + 0x1e268)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(in_t9 + 0x1e268)" (* "*") (cast_expression "(int *)(in_t9 + 0x1e268)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_t9 + 0x1e268)" (( "(") (binary_expression "in_t9 + 0x1e268" (identifier "in_t9") (+ "+") (number_literal "0x1e268")) () ")"))))) (; ";")) (expression_statement "iVar10 = *(int *)(in_t9 + 0x1e278) + 0x4e40;" (assignment_expression "iVar10 = *(int *)(in_t9 + 0x1e278) + 0x4e40" (identifier "iVar10") (= "=") (binary_expression "*(int *)(in_t9 + 0x1e278) + 0x4e40" (pointer_expression "*(int *)(in_t9 + 0x1e278)" (* "*") (cast_expression "(int *)(in_t9 + 0x1e278)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_t9 + 0x1e278)" (( "(") (binary_expression "in_t9 + 0x1e278" (identifier "in_t9") (+ "+") (number_literal "0x1e278")) () ")")))) (+ "+") (number_literal "0x4e40"))) (; ";")) (expression_statement "puVar15 = *(uint **)(write_buf + in_t9);" (assignment_expression "puVar15 = *(uint **)(write_buf + in_t9)" (identifier "puVar15") (= "=") (pointer_expression "*(uint **)(write_buf + in_t9)" (* "*") (cast_expression "(uint **)(write_buf + in_t9)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(write_buf + in_t9)" (( "(") (binary_expression "write_buf + in_t9" (identifier "write_buf") (+ "+") (identifier "in_t9")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(ushort *)(iVar10 + param_3 * 2);" (assignment_expression "uVar2 = *(ushort *)(iVar10 + param_3 * 2)" (identifier "uVar2") (= "=") (pointer_expression "*(ushort *)(iVar10 + param_3 * 2)" (* "*") (cast_expression "(ushort *)(iVar10 + param_3 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + param_3 * 2)" (( "(") (binary_expression "iVar10 + param_3 * 2" (identifier "iVar10") (+ "+") (binary_expression "param_3 * 2" (identifier "param_3") (* "*") (number_literal "2"))) () ")"))))) (; ";")) (expression_statement "uVar3 = *(ushort *)(iVar10 + param_4 * 2);" (assignment_expression "uVar3 = *(ushort *)(iVar10 + param_4 * 2)" (identifier "uVar3") (= "=") (pointer_expression "*(ushort *)(iVar10 + param_4 * 2)" (* "*") (cast_expression "(ushort *)(iVar10 + param_4 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + param_4 * 2)" (( "(") (binary_expression "iVar10 + param_4 * 2" (identifier "iVar10") (+ "+") (binary_expression "param_4 * 2" (identifier "param_4") (* "*") (number_literal "2"))) () ")"))))) (; ";")) (expression_statement "puVar18 = *(uint **)(in_t9 + 0x1e298);" (assignment_expression "puVar18 = *(uint **)(in_t9 + 0x1e298)" (identifier "puVar18") (= "=") (pointer_expression "*(uint **)(in_t9 + 0x1e298)" (* "*") (cast_expression "(uint **)(in_t9 + 0x1e298)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x1e298)" (( "(") (binary_expression "in_t9 + 0x1e298" (identifier "in_t9") (+ "+") (number_literal "0x1e298")) () ")"))))) (; ";")) (expression_statement "uVar21 = *(uint *)(iVar12 + 0x6d38);" (assignment_expression "uVar21 = *(uint *)(iVar12 + 0x6d38)" (identifier "uVar21") (= "=") (pointer_expression "*(uint *)(iVar12 + 0x6d38)" (* "*") (cast_expression "(uint *)(iVar12 + 0x6d38)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x6d38)" (( "(") (binary_expression "iVar12 + 0x6d38" (identifier "iVar12") (+ "+") (number_literal "0x6d38")) () ")"))))) (; ";")) (expression_statement "uVar24 = *(uint *)(iVar13 + 0x6d34);" (assignment_expression "uVar24 = *(uint *)(iVar13 + 0x6d34)" (identifier "uVar24") (= "=") (pointer_expression "*(uint *)(iVar13 + 0x6d34)" (* "*") (cast_expression "(uint *)(iVar13 + 0x6d34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x6d34)" (( "(") (binary_expression "iVar13 + 0x6d34" (identifier "iVar13") (+ "+") (number_literal "0x6d34")) () ")"))))) (; ";")) (expression_statement "uVar22 = *puVar15;" (assignment_expression "uVar22 = *puVar15" (identifier "uVar22") (= "=") (pointer_expression "*puVar15" (* "*") (identifier "puVar15"))) (; ";")) (expression_statement "iVar19 = *(int *)(in_t9 + 0x1e2a0);" (assignment_expression "iVar19 = *(int *)(in_t9 + 0x1e2a0)" (identifier "iVar19") (= "=") (pointer_expression "*(int *)(in_t9 + 0x1e2a0)" (* "*") (cast_expression "(int *)(in_t9 + 0x1e2a0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_t9 + 0x1e2a0)" (( "(") (binary_expression "in_t9 + 0x1e2a0" (identifier "in_t9") (+ "+") (number_literal "0x1e2a0")) () ")"))))) (; ";")) (labeled_statement "LAB_000181c8:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);" (statement_identifier "LAB_000181c8") (: ":") (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" (identifier "puVar20") (= "=") (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" (* "*") (cast_expression "(uint **)(in_t9 + 0x1e29c)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x1e29c)" (( "(") (binary_expression "in_t9 + 0x1e29c" (identifier "in_t9") (+ "+") (number_literal "0x1e29c")) () ")"))))) (; ";"))) (if_statement "if (param_3 <= uVar24) goto LAB_000181d8;" (if "if") (parenthesized_expression "(param_3 <= uVar24)" (( "(") (binary_expression "param_3 <= uVar24" (identifier "param_3") (<= "<=") (identifier "uVar24")) () ")")) (goto_statement "goto LAB_000181d8;" (goto "goto") (statement_identifier "LAB_000181d8") (; ";"))) (goto_statement "goto LAB_00018240;" (goto "goto") (statement_identifier "LAB_00018240") (; ";")) (labeled_statement "LAB_000181d8:\n  pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8);" (statement_identifier "LAB_000181d8") (: ":") (expression_statement "pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8);" (assignment_expression "pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8)" (identifier "pbVar16") (= "=") (cast_expression "(byte *)(param_1 + (uVar21 & uVar2) * 8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + (uVar21 & uVar2) * 8)" (( "(") (binary_expression "param_1 + (uVar21 & uVar2) * 8" (identifier "param_1") (+ "+") (binary_expression "(uVar21 & uVar2) * 8" (parenthesized_expression "(uVar21 & uVar2)" (( "(") (binary_expression "uVar21 & uVar2" (identifier "uVar21") (& "&") (identifier "uVar2")) () ")")) (* "*") (number_literal "8"))) () ")")))) (; ";"))) (expression_statement "uVar17 = (uint)*pbVar16;" (assignment_expression "uVar17 = (uint)*pbVar16" (identifier "uVar17") (= "=") (binary_expression "(uint)*pbVar16" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar16"))) (; ";")) (if_statement "if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    if (uVar17 == 99) {\n      return 1;\n    }\n    do {\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    } while( true );\n  }" (if "if") (parenthesized_expression "(0x10 < uVar17)" (( "(") (binary_expression "0x10 < uVar17" (number_literal "0x10") (< "<") (identifier "uVar17")) () ")")) (compound_statement "{\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    if (uVar17 == 99) {\n      return 1;\n    }\n    do {\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    } while( true );\n  }" ({ "{") (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" (identifier "puVar20") (= "=") (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" (* "*") (cast_expression "(uint **)(in_t9 + 0x1e29c)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x1e29c)" (( "(") (binary_expression "in_t9 + 0x1e29c" (identifier "in_t9") (+ "+") (number_literal "0x1e29c")) () ")"))))) (; ";")) (if_statement "if (uVar17 == 99) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(uVar17 == 99)" (( "(") (binary_expression "uVar17 == 99" (identifier "uVar17") (== "==") (number_literal "99")) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (do_statement "do {\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    } while( true );" (do "do") (compound_statement "{\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - pbVar16[1];\n      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }\n      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);\n      uVar17 = (uint)*pbVar16;\n      if (uVar17 < 0x11) break;\n      if (uVar17 == 99) {\n        return 1;\n      }\n    }" ({ "{") (expression_statement "uVar17 = uVar17 - 0x10;" (assignment_expression "uVar17 = uVar17 - 0x10" (identifier "uVar17") (= "=") (binary_expression "uVar17 - 0x10" (identifier "uVar17") (- "-") (number_literal "0x10"))) (; ";")) (expression_statement "uVar24 = uVar24 - pbVar16[1];" (assignment_expression "uVar24 = uVar24 - pbVar16[1]" (identifier "uVar24") (= "=") (binary_expression "uVar24 - pbVar16[1]" (identifier "uVar24") (- "-") (subscript_expression "pbVar16[1]" (identifier "pbVar16") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "uVar21 = uVar21 >> (pbVar16[1] & 0x1f);" (assignment_expression "uVar21 = uVar21 >> (pbVar16[1] & 0x1f)" (identifier "uVar21") (= "=") (binary_expression "uVar21 >> (pbVar16[1] & 0x1f)" (identifier "uVar21") (>> ">>") (parenthesized_expression "(pbVar16[1] & 0x1f)" (( "(") (binary_expression "pbVar16[1] & 0x1f" (subscript_expression "pbVar16[1]" (identifier "pbVar16") ([ "[") (number_literal "1") (] "]")) (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (if_statement "if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }" (if "if") (parenthesized_expression "(uVar24 < uVar17)" (( "(") (binary_expression "uVar24 < uVar17" (identifier "uVar24") (< "<") (identifier "uVar17")) () ")")) (compound_statement "{\n        do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);\nLAB_0001856c:\n        uVar24 = uVar11 + 8;\n      }" ({ "{") (do_statement "do {\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        } while (uVar11 + 8 < uVar17);" (do "do") (compound_statement "{\n          while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }\n          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar11 + 8;\n        }" ({ "{") (while_statement "while( true ) {\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n            uVar11 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);\n            uVar24 = uVar11 + 8;\n            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;\n          }" ({ "{") (expression_statement "uVar11 = uVar24;" (assignment_expression "uVar11 = uVar24" (identifier "uVar11") (= "=") (identifier "uVar24")) (; ";")) (expression_statement "uVar24 = *puVar18;" (assignment_expression "uVar24 = *puVar18" (identifier "uVar24") (= "=") (pointer_expression "*puVar18" (* "*") (identifier "puVar18"))) (; ";")) (if_statement "if (uVar24 < *puVar20) break;" (if "if") (parenthesized_expression "(uVar24 < *puVar20)" (( "(") (binary_expression "uVar24 < *puVar20" (identifier "uVar24") (< "<") (pointer_expression "*puVar20" (* "*") (identifier "puVar20"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" (* "*") (identifier "puVar15")) (= "=") (identifier "uVar22")) (; ";")) (expression_statement "uVar24 = fill_inbuf(0);" (assignment_expression "uVar24 = fill_inbuf(0)" (identifier "uVar24") (= "=") (call_expression "fill_inbuf(0)" (identifier "fill_inbuf") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);" (assignment_expression "uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f)" (identifier "uVar21") (= "=") (binary_expression "uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f)" (identifier "uVar21") (| "|") (binary_expression "(uVar24 & 0xff) << (uVar11 & 0x1f)" (parenthesized_expression "(uVar24 & 0xff)" (( "(") (binary_expression "uVar24 & 0xff" (identifier "uVar24") (& "&") (number_literal "0xff")) () ")")) (<< "<<") (parenthesized_expression "(uVar11 & 0x1f)" (( "(") (binary_expression "uVar11 & 0x1f" (identifier "uVar11") (& "&") (number_literal "0x1f")) () ")"))))) (; ";")) (expression_statement "uVar24 = uVar11 + 8;" (assignment_expression "uVar24 = uVar11 + 8" (identifier "uVar24") (= "=") (binary_expression "uVar11 + 8" (identifier "uVar11") (+ "+") (number_literal "8"))) (; ";")) (if_statement "if (uVar17 <= uVar11 + 8) goto LAB_0001856c;" (if "if") (parenthesized_expression "(uVar17 <= uVar11 + 8)" (( "(") (binary_expression "uVar17 <= uVar11 + 8" (identifier "uVar17") (<= "<=") (binary_expression "uVar11 + 8" (identifier "uVar11") (+ "+") (number_literal "8"))) () ")")) (goto_statement "goto LAB_0001856c;" (goto "goto") (statement_identifier "LAB_0001856c") (; ";"))) (} "}"))) (expression_statement "uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);" (assignment_expression "uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f)" (identifier "uVar21") (= "=") (binary_expression "uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f)" (identifier "uVar21") (| "|") (binary_expression "(uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f)" (binary_expression "(uint)*(byte *)(iVar19 + uVar24)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(iVar19 + uVar24)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + uVar24)" (( "(") (binary_expression "iVar19 + uVar24" (identifier "iVar19") (+ "+") (identifier "uVar24")) () ")")))) (<< "<<") (parenthesized_expression "(uVar11 & 0x1f)" (( "(") (binary_expression "uVar11 & 0x1f" (identifier "uVar11") (& "&") (number_literal "0x1f")) () ")"))))) (; ";")) (expression_statement "*puVar18 = uVar24 + 1;" (assignment_expression "*puVar18 = uVar24 + 1" (pointer_expression "*puVar18" (* "*") (identifier "puVar18")) (= "=") (binary_expression "uVar24 + 1" (identifier "uVar24") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar24 = uVar11 + 8;" (assignment_expression "uVar24 = uVar11 + 8" (identifier "uVar24") (= "=") (binary_expression "uVar11 + 8" (identifier "uVar11") (+ "+") (number_literal "8"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar11 + 8 < uVar17)" (( "(") (binary_expression "uVar11 + 8 < uVar17" (binary_expression "uVar11 + 8" (identifier "uVar11") (+ "+") (number_literal "8")) (< "<") (identifier "uVar17")) () ")")) (; ";")) (labeled_statement "LAB_0001856c:\n        uVar24 = uVar11 + 8;" (statement_identifier "LAB_0001856c") (: ":") (expression_statement "uVar24 = uVar11 + 8;" (assignment_expression "uVar24 = uVar11 + 8" (identifier "uVar24") (= "=") (binary_expression "uVar11 + 8" (identifier "uVar11") (+ "+") (number_literal "8"))) (; ";"))) (} "}"))) (expression_statement "pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);" (assignment_expression "pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8)" (identifier "pbVar16") (= "=") (cast_expression "(byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8)" (( "(") (binary_expression "*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8" (pointer_expression "*(int *)(pbVar16 + 4)" (* "*") (cast_expression "(int *)(pbVar16 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar16 + 4)" (( "(") (binary_expression "pbVar16 + 4" (identifier "pbVar16") (+ "+") (number_literal "4")) () ")")))) (+ "+") (binary_expression "(*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8" (parenthesized_expression "(*(ushort *)(iVar10 + uVar17 * 2) & uVar21)" (( "(") (binary_expression "*(ushort *)(iVar10 + uVar17 * 2) & uVar21" (pointer_expression "*(ushort *)(iVar10 + uVar17 * 2)" (* "*") (cast_expression "(ushort *)(iVar10 + uVar17 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + uVar17 * 2)" (( "(") (binary_expression "iVar10 + uVar17 * 2" (identifier "iVar10") (+ "+") (binary_expression "uVar17 * 2" (identifier "uVar17") (* "*") (number_literal "2"))) () ")")))) (& "&") (identifier "uVar21")) () ")")) (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "uVar17 = (uint)*pbVar16;" (assignment_expression "uVar17 = (uint)*pbVar16" (identifier "uVar17") (= "=") (binary_expression "(uint)*pbVar16" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar16"))) (; ";")) (if_statement "if (uVar17 < 0x11) break;" (if "if") (parenthesized_expression "(uVar17 < 0x11)" (( "(") (binary_expression "uVar17 < 0x11" (identifier "uVar17") (< "<") (number_literal "0x11")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (uVar17 == 99) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(uVar17 == 99)" (( "(") (binary_expression "uVar17 == 99" (identifier "uVar17") (== "==") (number_literal "99")) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "uVar21 = uVar21 >> (pbVar16[1] & 0x1f);" (assignment_expression "uVar21 = uVar21 >> (pbVar16[1] & 0x1f)" (identifier "uVar21") (= "=") (binary_expression "uVar21 >> (pbVar16[1] & 0x1f)" (identifier "uVar21") (>> ">>") (parenthesized_expression "(pbVar16[1] & 0x1f)" (( "(") (binary_expression "pbVar16[1] & 0x1f" (subscript_expression "pbVar16[1]" (identifier "pbVar16") ([ "[") (number_literal "1") (] "]")) (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar24 = uVar24 - pbVar16[1];" (assignment_expression "uVar24 = uVar24 - pbVar16[1]" (identifier "uVar24") (= "=") (binary_expression "uVar24 - pbVar16[1]" (identifier "uVar24") (- "-") (subscript_expression "pbVar16[1]" (identifier "pbVar16") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (uVar17 == 0x10) {\n    uVar17 = uVar22 + 1;\n    *(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);\n    if (uVar17 == 0x8000) {\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }\n    uVar22 = uVar17;\n    if (uVar24 < param_3) goto code_r0x0001823c;\n    goto LAB_000181d8;\n  }" (if "if") (parenthesized_expression "(uVar17 == 0x10)" (( "(") (binary_expression "uVar17 == 0x10" (identifier "uVar17") (== "==") (number_literal "0x10")) () ")")) (compound_statement "{\n    uVar17 = uVar22 + 1;\n    *(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);\n    if (uVar17 == 0x8000) {\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }\n    uVar22 = uVar17;\n    if (uVar24 < param_3) goto code_r0x0001823c;\n    goto LAB_000181d8;\n  }" ({ "{") (expression_statement "uVar17 = uVar22 + 1;" (assignment_expression "uVar17 = uVar22 + 1" (identifier "uVar17") (= "=") (binary_expression "uVar22 + 1" (identifier "uVar22") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);" (assignment_expression "*(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4)" (pointer_expression "*(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22)" (* "*") (cast_expression "(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(in_t9 + 0x1e37c) + uVar22)" (( "(") (binary_expression "*(int *)(in_t9 + 0x1e37c) + uVar22" (pointer_expression "*(int *)(in_t9 + 0x1e37c)" (* "*") (cast_expression "(int *)(in_t9 + 0x1e37c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_t9 + 0x1e37c)" (( "(") (binary_expression "in_t9 + 0x1e37c" (identifier "in_t9") (+ "+") (number_literal "0x1e37c")) () ")")))) (+ "+") (identifier "uVar22")) () ")")))) (= "=") (cast_expression "(char)*(undefined2 *)(pbVar16 + 4)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*(undefined2 *)(pbVar16 + 4)" (* "*") (cast_expression "(undefined2 *)(pbVar16 + 4)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar16 + 4)" (( "(") (binary_expression "pbVar16 + 4" (identifier "pbVar16") (+ "+") (number_literal "4")) () ")")))))) (; ";")) (if_statement "if (uVar17 == 0x8000) {\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }" (if "if") (parenthesized_expression "(uVar17 == 0x8000)" (( "(") (binary_expression "uVar17 == 0x8000" (identifier "uVar17") (== "==") (number_literal "0x8000")) () ")")) (compound_statement "{\n      uVar22 = 0;\n      *puVar15 = 0x8000;\n      flush_window();\n      goto LAB_000181c8;\n    }" ({ "{") (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" (identifier "uVar22") (= "=") (number_literal "0")) (; ";")) (expression_statement "*puVar15 = 0x8000;" (assignment_expression "*puVar15 = 0x8000" (pointer_expression "*puVar15" (* "*") (identifier "puVar15")) (= "=") (number_literal "0x8000")) (; ";")) (expression_statement "flush_window();" (call_expression "flush_window()" (identifier "flush_window") (argument_list "()" (( "(") () ")"))) (; ";")) (goto_statement "goto LAB_000181c8;" (goto "goto") (statement_identifier "LAB_000181c8") (; ";")) (} "}"))) (expression_statement "uVar22 = uVar17;" (assignment_expression "uVar22 = uVar17" (identifier "uVar22") (= "=") (identifier "uVar17")) (; ";")) (if_statement "if (uVar24 < param_3) goto code_r0x0001823c;" (if "if") (parenthesized_expression "(uVar24 < param_3)" (( "(") (binary_expression "uVar24 < param_3" (identifier "uVar24") (< "<") (identifier "param_3")) () ")")) (goto_statement "goto code_r0x0001823c;" (goto "goto") (statement_identifier "code_r0x0001823c") (; ";"))) (goto_statement "goto LAB_000181d8;" (goto "goto") (statement_identifier "LAB_000181d8") (; ";")) (} "}"))) (if_statement "if (uVar17 == 0xf) {\n    *puVar15 = uVar22;\n    *(uint *)(iVar12 + 0x6d38) = uVar21;\n    *(uint *)(iVar13 + 0x6d34) = uVar24;\n    return 0;\n  }" (if "if") (parenthesized_expression "(uVar17 == 0xf)" (( "(") (binary_expression "uVar17 == 0xf" (identifier "uVar17") (== "==") (number_literal "0xf")) () ")")) (compound_statement "{\n    *puVar15 = uVar22;\n    *(uint *)(iVar12 + 0x6d38) = uVar21;\n    *(uint *)(iVar13 + 0x6d34) = uVar24;\n    return 0;\n  }" ({ "{") (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" (* "*") (identifier "puVar15")) (= "=") (identifier "uVar22")) (; ";")) (expression_statement "*(uint *)(iVar12 + 0x6d38) = uVar21;" (assignment_expression "*(uint *)(iVar12 + 0x6d38) = uVar21" (pointer_expression "*(uint *)(iVar12 + 0x6d38)" (* "*") (cast_expression "(uint *)(iVar12 + 0x6d38)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x6d38)" (( "(") (binary_expression "iVar12 + 0x6d38" (identifier "iVar12") (+ "+") (number_literal "0x6d38")) () ")")))) (= "=") (identifier "uVar21")) (; ";")) (expression_statement "*(uint *)(iVar13 + 0x6d34) = uVar24;" (assignment_expression "*(uint *)(iVar13 + 0x6d34) = uVar24" (pointer_expression "*(uint *)(iVar13 + 0x6d34)" (* "*") (cast_expression "(uint *)(iVar13 + 0x6d34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x6d34)" (( "(") (binary_expression "iVar13 + 0x6d34" (identifier "iVar13") (+ "+") (number_literal "0x6d34")) () ")")))) (= "=") (identifier "uVar24")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (uVar24 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    } while (uVar24 < uVar17);\n  }" (if "if") (parenthesized_expression "(uVar24 < uVar17)" (( "(") (binary_expression "uVar24 < uVar17" (identifier "uVar24") (< "<") (identifier "uVar17")) () ")")) (compound_statement "{\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    } while (uVar24 < uVar17);\n  }" ({ "{") (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" (identifier "puVar20") (= "=") (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" (* "*") (cast_expression "(uint **)(in_t9 + 0x1e29c)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x1e29c)" (( "(") (binary_expression "in_t9 + 0x1e29c" (identifier "in_t9") (+ "+") (number_literal "0x1e29c")) () ")"))))) (; ";")) (do_statement "do {\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    } while (uVar24 < uVar17);" (do "do") (compound_statement "{\n      uVar11 = *puVar18;\n      if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }\n      uVar21 = uVar21 | uVar6;\n      uVar24 = uVar24 + 8;\n    }" ({ "{") (expression_statement "uVar11 = *puVar18;" (assignment_expression "uVar11 = *puVar18" (identifier "uVar11") (= "=") (pointer_expression "*puVar18" (* "*") (identifier "puVar18"))) (; ";")) (if_statement "if (uVar11 < *puVar20) {\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }" (if "if") (parenthesized_expression "(uVar11 < *puVar20)" (( "(") (binary_expression "uVar11 < *puVar20" (identifier "uVar11") (< "<") (pointer_expression "*puVar20" (* "*") (identifier "puVar20"))) () ")")) (compound_statement "{\n        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);\n        *puVar18 = uVar11 + 1;\n      }" ({ "{") (expression_statement "uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);" (assignment_expression "uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f)" (identifier "uVar6") (= "=") (binary_expression "(uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f)" (binary_expression "(uint)*(byte *)(iVar19 + uVar11)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(iVar19 + uVar11)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + uVar11)" (( "(") (binary_expression "iVar19 + uVar11" (identifier "iVar19") (+ "+") (identifier "uVar11")) () ")")))) (<< "<<") (parenthesized_expression "(uVar24 & 0x1f)" (( "(") (binary_expression "uVar24 & 0x1f" (identifier "uVar24") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "*puVar18 = uVar11 + 1;" (assignment_expression "*puVar18 = uVar11 + 1" (pointer_expression "*puVar18" (* "*") (identifier "puVar18")) (= "=") (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }" (else "else") (compound_statement "{\n        *puVar15 = uVar22;\n        uVar11 = fill_inbuf(0);\n        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);\n      }" ({ "{") (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" (* "*") (identifier "puVar15")) (= "=") (identifier "uVar22")) (; ";")) (expression_statement "uVar11 = fill_inbuf(0);" (assignment_expression "uVar11 = fill_inbuf(0)" (identifier "uVar11") (= "=") (call_expression "fill_inbuf(0)" (identifier "fill_inbuf") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);" (assignment_expression "uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f)" (identifier "uVar6") (= "=") (binary_expression "(uVar11 & 0xff) << (uVar24 & 0x1f)" (parenthesized_expression "(uVar11 & 0xff)" (( "(") (binary_expression "uVar11 & 0xff" (identifier "uVar11") (& "&") (number_literal "0xff")) () ")")) (<< "<<") (parenthesized_expression "(uVar24 & 0x1f)" (( "(") (binary_expression "uVar24 & 0x1f" (identifier "uVar24") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (} "}")))) (expression_statement "uVar21 = uVar21 | uVar6;" (assignment_expression "uVar21 = uVar21 | uVar6" (identifier "uVar21") (= "=") (binary_expression "uVar21 | uVar6" (identifier "uVar21") (| "|") (identifier "uVar6"))) (; ";")) (expression_statement "uVar24 = uVar24 + 8;" (assignment_expression "uVar24 = uVar24 + 8" (identifier "uVar24") (= "=") (binary_expression "uVar24 + 8" (identifier "uVar24") (+ "+") (number_literal "8"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar24 < uVar17)" (( "(") (binary_expression "uVar24 < uVar17" (identifier "uVar24") (< "<") (identifier "uVar17")) () ")")) (; ";")) (} "}"))) (expression_statement "uVar4 = *(ushort *)(pbVar16 + 4);" (assignment_expression "uVar4 = *(ushort *)(pbVar16 + 4)" (identifier "uVar4") (= "=") (pointer_expression "*(ushort *)(pbVar16 + 4)" (* "*") (cast_expression "(ushort *)(pbVar16 + 4)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar16 + 4)" (( "(") (binary_expression "pbVar16 + 4" (identifier "pbVar16") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar24 = uVar24 - uVar17;" (assignment_expression "uVar24 = uVar24 - uVar17" (identifier "uVar24") (= "=") (binary_expression "uVar24 - uVar17" (identifier "uVar24") (- "-") (identifier "uVar17"))) (; ";")) (expression_statement "uVar11 = uVar21 >> (uVar17 & 0x1f);" (assignment_expression "uVar11 = uVar21 >> (uVar17 & 0x1f)" (identifier "uVar11") (= "=") (binary_expression "uVar21 >> (uVar17 & 0x1f)" (identifier "uVar21") (>> ">>") (parenthesized_expression "(uVar17 & 0x1f)" (( "(") (binary_expression "uVar17 & 0x1f" (identifier "uVar17") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar5 = *(ushort *)(iVar10 + uVar17 * 2);" (assignment_expression "uVar5 = *(ushort *)(iVar10 + uVar17 * 2)" (identifier "uVar5") (= "=") (pointer_expression "*(ushort *)(iVar10 + uVar17 * 2)" (* "*") (cast_expression "(ushort *)(iVar10 + uVar17 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + uVar17 * 2)" (( "(") (binary_expression "iVar10 + uVar17 * 2" (identifier "iVar10") (+ "+") (binary_expression "uVar17 * 2" (identifier "uVar17") (* "*") (number_literal "2"))) () ")"))))) (; ";")) (if_statement "if (uVar24 < param_4) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    } while (uVar24 < param_4);\n  }" (if "if") (parenthesized_expression "(uVar24 < param_4)" (( "(") (binary_expression "uVar24 < param_4" (identifier "uVar24") (< "<") (identifier "param_4")) () ")")) (compound_statement "{\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    } while (uVar24 < param_4);\n  }" ({ "{") (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" (identifier "puVar20") (= "=") (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" (* "*") (cast_expression "(uint **)(in_t9 + 0x1e29c)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x1e29c)" (( "(") (binary_expression "in_t9 + 0x1e29c" (identifier "in_t9") (+ "+") (number_literal "0x1e29c")) () ")"))))) (; ";")) (do_statement "do {\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    } while (uVar24 < param_4);" (do "do") (compound_statement "{\n      while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }\n      bVar1 = *(byte *)(iVar19 + uVar17);\n      *puVar18 = uVar17 + 1;\n      uVar17 = uVar24 & 0x1f;\n      uVar24 = uVar24 + 8;\n      uVar11 = uVar11 | (uint)bVar1 << uVar17;\n    }" ({ "{") (while_statement "while( true ) {\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        uVar17 = *puVar18;\n        if (uVar17 < *puVar20) break;\n        *puVar15 = uVar22;\n        uVar6 = fill_inbuf(0);\n        uVar17 = uVar24 & 0x1f;\n        uVar24 = uVar24 + 8;\n        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;\n        if (param_4 <= uVar24) goto LAB_0001839c;\n      }" ({ "{") (expression_statement "uVar17 = *puVar18;" (assignment_expression "uVar17 = *puVar18" (identifier "uVar17") (= "=") (pointer_expression "*puVar18" (* "*") (identifier "puVar18"))) (; ";")) (if_statement "if (uVar17 < *puVar20) break;" (if "if") (parenthesized_expression "(uVar17 < *puVar20)" (( "(") (binary_expression "uVar17 < *puVar20" (identifier "uVar17") (< "<") (pointer_expression "*puVar20" (* "*") (identifier "puVar20"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" (* "*") (identifier "puVar15")) (= "=") (identifier "uVar22")) (; ";")) (expression_statement "uVar6 = fill_inbuf(0);" (assignment_expression "uVar6 = fill_inbuf(0)" (identifier "uVar6") (= "=") (call_expression "fill_inbuf(0)" (identifier "fill_inbuf") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar17 = uVar24 & 0x1f;" (assignment_expression "uVar17 = uVar24 & 0x1f" (identifier "uVar17") (= "=") (binary_expression "uVar24 & 0x1f" (identifier "uVar24") (& "&") (number_literal "0x1f"))) (; ";")) (expression_statement "uVar24 = uVar24 + 8;" (assignment_expression "uVar24 = uVar24 + 8" (identifier "uVar24") (= "=") (binary_expression "uVar24 + 8" (identifier "uVar24") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;" (assignment_expression "uVar11 = uVar11 | (uVar6 & 0xff) << uVar17" (identifier "uVar11") (= "=") (binary_expression "uVar11 | (uVar6 & 0xff) << uVar17" (identifier "uVar11") (| "|") (binary_expression "(uVar6 & 0xff) << uVar17" (parenthesized_expression "(uVar6 & 0xff)" (( "(") (binary_expression "uVar6 & 0xff" (identifier "uVar6") (& "&") (number_literal "0xff")) () ")")) (<< "<<") (identifier "uVar17")))) (; ";")) (if_statement "if (param_4 <= uVar24) goto LAB_0001839c;" (if "if") (parenthesized_expression "(param_4 <= uVar24)" (( "(") (binary_expression "param_4 <= uVar24" (identifier "param_4") (<= "<=") (identifier "uVar24")) () ")")) (goto_statement "goto LAB_0001839c;" (goto "goto") (statement_identifier "LAB_0001839c") (; ";"))) (} "}"))) (expression_statement "bVar1 = *(byte *)(iVar19 + uVar17);" (assignment_expression "bVar1 = *(byte *)(iVar19 + uVar17)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(iVar19 + uVar17)" (* "*") (cast_expression "(byte *)(iVar19 + uVar17)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + uVar17)" (( "(") (binary_expression "iVar19 + uVar17" (identifier "iVar19") (+ "+") (identifier "uVar17")) () ")"))))) (; ";")) (expression_statement "*puVar18 = uVar17 + 1;" (assignment_expression "*puVar18 = uVar17 + 1" (pointer_expression "*puVar18" (* "*") (identifier "puVar18")) (= "=") (binary_expression "uVar17 + 1" (identifier "uVar17") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar17 = uVar24 & 0x1f;" (assignment_expression "uVar17 = uVar24 & 0x1f" (identifier "uVar17") (= "=") (binary_expression "uVar24 & 0x1f" (identifier "uVar24") (& "&") (number_literal "0x1f"))) (; ";")) (expression_statement "uVar24 = uVar24 + 8;" (assignment_expression "uVar24 = uVar24 + 8" (identifier "uVar24") (= "=") (binary_expression "uVar24 + 8" (identifier "uVar24") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "uVar11 = uVar11 | (uint)bVar1 << uVar17;" (assignment_expression "uVar11 = uVar11 | (uint)bVar1 << uVar17" (identifier "uVar11") (= "=") (binary_expression "uVar11 | (uint)bVar1 << uVar17" (identifier "uVar11") (| "|") (binary_expression "(uint)bVar1 << uVar17" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (<< "<<") (identifier "uVar17")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar24 < param_4)" (( "(") (binary_expression "uVar24 < param_4" (identifier "uVar24") (< "<") (identifier "param_4")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_0001839c:\n  local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8);" (statement_identifier "LAB_0001839c") (: ":") (expression_statement "local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8);" (assignment_expression "local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8)" (identifier "local_54") (= "=") (cast_expression "(byte *)(param_2 + (uVar3 & uVar11) * 8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + (uVar3 & uVar11) * 8)" (( "(") (binary_expression "param_2 + (uVar3 & uVar11) * 8" (identifier "param_2") (+ "+") (binary_expression "(uVar3 & uVar11) * 8" (parenthesized_expression "(uVar3 & uVar11)" (( "(") (binary_expression "uVar3 & uVar11" (identifier "uVar3") (& "&") (identifier "uVar11")) () ")")) (* "*") (number_literal "8"))) () ")")))) (; ";"))) (expression_statement "uVar17 = (uint)*local_54;" (assignment_expression "uVar17 = (uint)*local_54" (identifier "uVar17") (= "=") (binary_expression "(uint)*local_54" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "local_54"))) (; ";")) (if_statement "if (0x10 < uVar17) {\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    } while (0x10 < uVar17);\n  }" (if "if") (parenthesized_expression "(0x10 < uVar17)" (( "(") (binary_expression "0x10 < uVar17" (number_literal "0x10") (< "<") (identifier "uVar17")) () ")")) (compound_statement "{\n    puVar20 = *(uint **)(in_t9 + 0x1e29c);\n    do {\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    } while (0x10 < uVar17);\n  }" ({ "{") (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" (identifier "puVar20") (= "=") (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" (* "*") (cast_expression "(uint **)(in_t9 + 0x1e29c)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x1e29c)" (( "(") (binary_expression "in_t9 + 0x1e29c" (identifier "in_t9") (+ "+") (number_literal "0x1e29c")) () ")"))))) (; ";")) (do_statement "do {\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    } while (0x10 < uVar17);" (do "do") (compound_statement "{\n      if (uVar17 == 99) {\n        return 1;\n      }\n      uVar17 = uVar17 - 0x10;\n      uVar24 = uVar24 - local_54[1];\n      uVar11 = uVar11 >> (local_54[1] & 0x1f);\n      if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }\n      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);\n      uVar17 = (uint)*local_54;\n    }" ({ "{") (if_statement "if (uVar17 == 99) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(uVar17 == 99)" (( "(") (binary_expression "uVar17 == 99" (identifier "uVar17") (== "==") (number_literal "99")) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "uVar17 = uVar17 - 0x10;" (assignment_expression "uVar17 = uVar17 - 0x10" (identifier "uVar17") (= "=") (binary_expression "uVar17 - 0x10" (identifier "uVar17") (- "-") (number_literal "0x10"))) (; ";")) (expression_statement "uVar24 = uVar24 - local_54[1];" (assignment_expression "uVar24 = uVar24 - local_54[1]" (identifier "uVar24") (= "=") (binary_expression "uVar24 - local_54[1]" (identifier "uVar24") (- "-") (subscript_expression "local_54[1]" (identifier "local_54") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "uVar11 = uVar11 >> (local_54[1] & 0x1f);" (assignment_expression "uVar11 = uVar11 >> (local_54[1] & 0x1f)" (identifier "uVar11") (= "=") (binary_expression "uVar11 >> (local_54[1] & 0x1f)" (identifier "uVar11") (>> ">>") (parenthesized_expression "(local_54[1] & 0x1f)" (( "(") (binary_expression "local_54[1] & 0x1f" (subscript_expression "local_54[1]" (identifier "local_54") ([ "[") (number_literal "1") (] "]")) (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (if_statement "if (uVar24 < uVar17) {\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }" (if "if") (parenthesized_expression "(uVar24 < uVar17)" (( "(") (binary_expression "uVar24 < uVar17" (identifier "uVar24") (< "<") (identifier "uVar17")) () ")")) (compound_statement "{\n        do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);\nLAB_00018454:\n        uVar24 = uVar6 + 8;\n      }" ({ "{") (do_statement "do {\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        } while (uVar6 + 8 < uVar17);" (do "do") (compound_statement "{\n          while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }\n          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);\n          *puVar18 = uVar24 + 1;\n          uVar24 = uVar6 + 8;\n        }" ({ "{") (while_statement "while( true ) {\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n            uVar6 = uVar24;\n            uVar24 = *puVar18;\n            if (uVar24 < *puVar20) break;\n            *puVar15 = uVar22;\n            uVar24 = fill_inbuf(0);\n            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);\n            uVar24 = uVar6 + 8;\n            if (uVar17 <= uVar6 + 8) goto LAB_00018454;\n          }" ({ "{") (expression_statement "uVar6 = uVar24;" (assignment_expression "uVar6 = uVar24" (identifier "uVar6") (= "=") (identifier "uVar24")) (; ";")) (expression_statement "uVar24 = *puVar18;" (assignment_expression "uVar24 = *puVar18" (identifier "uVar24") (= "=") (pointer_expression "*puVar18" (* "*") (identifier "puVar18"))) (; ";")) (if_statement "if (uVar24 < *puVar20) break;" (if "if") (parenthesized_expression "(uVar24 < *puVar20)" (( "(") (binary_expression "uVar24 < *puVar20" (identifier "uVar24") (< "<") (pointer_expression "*puVar20" (* "*") (identifier "puVar20"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" (* "*") (identifier "puVar15")) (= "=") (identifier "uVar22")) (; ";")) (expression_statement "uVar24 = fill_inbuf(0);" (assignment_expression "uVar24 = fill_inbuf(0)" (identifier "uVar24") (= "=") (call_expression "fill_inbuf(0)" (identifier "fill_inbuf") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);" (assignment_expression "uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f)" (identifier "uVar11") (= "=") (binary_expression "uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f)" (identifier "uVar11") (| "|") (binary_expression "(uVar24 & 0xff) << (uVar6 & 0x1f)" (parenthesized_expression "(uVar24 & 0xff)" (( "(") (binary_expression "uVar24 & 0xff" (identifier "uVar24") (& "&") (number_literal "0xff")) () ")")) (<< "<<") (parenthesized_expression "(uVar6 & 0x1f)" (( "(") (binary_expression "uVar6 & 0x1f" (identifier "uVar6") (& "&") (number_literal "0x1f")) () ")"))))) (; ";")) (expression_statement "uVar24 = uVar6 + 8;" (assignment_expression "uVar24 = uVar6 + 8" (identifier "uVar24") (= "=") (binary_expression "uVar6 + 8" (identifier "uVar6") (+ "+") (number_literal "8"))) (; ";")) (if_statement "if (uVar17 <= uVar6 + 8) goto LAB_00018454;" (if "if") (parenthesized_expression "(uVar17 <= uVar6 + 8)" (( "(") (binary_expression "uVar17 <= uVar6 + 8" (identifier "uVar17") (<= "<=") (binary_expression "uVar6 + 8" (identifier "uVar6") (+ "+") (number_literal "8"))) () ")")) (goto_statement "goto LAB_00018454;" (goto "goto") (statement_identifier "LAB_00018454") (; ";"))) (} "}"))) (expression_statement "uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);" (assignment_expression "uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f)" (identifier "uVar11") (= "=") (binary_expression "uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f)" (identifier "uVar11") (| "|") (binary_expression "(uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f)" (binary_expression "(uint)*(byte *)(iVar19 + uVar24)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(iVar19 + uVar24)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + uVar24)" (( "(") (binary_expression "iVar19 + uVar24" (identifier "iVar19") (+ "+") (identifier "uVar24")) () ")")))) (<< "<<") (parenthesized_expression "(uVar6 & 0x1f)" (( "(") (binary_expression "uVar6 & 0x1f" (identifier "uVar6") (& "&") (number_literal "0x1f")) () ")"))))) (; ";")) (expression_statement "*puVar18 = uVar24 + 1;" (assignment_expression "*puVar18 = uVar24 + 1" (pointer_expression "*puVar18" (* "*") (identifier "puVar18")) (= "=") (binary_expression "uVar24 + 1" (identifier "uVar24") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar24 = uVar6 + 8;" (assignment_expression "uVar24 = uVar6 + 8" (identifier "uVar24") (= "=") (binary_expression "uVar6 + 8" (identifier "uVar6") (+ "+") (number_literal "8"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar6 + 8 < uVar17)" (( "(") (binary_expression "uVar6 + 8 < uVar17" (binary_expression "uVar6 + 8" (identifier "uVar6") (+ "+") (number_literal "8")) (< "<") (identifier "uVar17")) () ")")) (; ";")) (labeled_statement "LAB_00018454:\n        uVar24 = uVar6 + 8;" (statement_identifier "LAB_00018454") (: ":") (expression_statement "uVar24 = uVar6 + 8;" (assignment_expression "uVar24 = uVar6 + 8" (identifier "uVar24") (= "=") (binary_expression "uVar6 + 8" (identifier "uVar6") (+ "+") (number_literal "8"))) (; ";"))) (} "}"))) (expression_statement "local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);" (assignment_expression "local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8)" (identifier "local_54") (= "=") (cast_expression "(byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8)" (( "(") (binary_expression "*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8" (pointer_expression "*(int *)(local_54 + 4)" (* "*") (cast_expression "(int *)(local_54 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_54 + 4)" (( "(") (binary_expression "local_54 + 4" (identifier "local_54") (+ "+") (number_literal "4")) () ")")))) (+ "+") (binary_expression "(*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8" (parenthesized_expression "(*(ushort *)(iVar10 + uVar17 * 2) & uVar11)" (( "(") (binary_expression "*(ushort *)(iVar10 + uVar17 * 2) & uVar11" (pointer_expression "*(ushort *)(iVar10 + uVar17 * 2)" (* "*") (cast_expression "(ushort *)(iVar10 + uVar17 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + uVar17 * 2)" (( "(") (binary_expression "iVar10 + uVar17 * 2" (identifier "iVar10") (+ "+") (binary_expression "uVar17 * 2" (identifier "uVar17") (* "*") (number_literal "2"))) () ")")))) (& "&") (identifier "uVar11")) () ")")) (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "uVar17 = (uint)*local_54;" (assignment_expression "uVar17 = (uint)*local_54" (identifier "uVar17") (= "=") (binary_expression "(uint)*local_54" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "local_54"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(0x10 < uVar17)" (( "(") (binary_expression "0x10 < uVar17" (number_literal "0x10") (< "<") (identifier "uVar17")) () ")")) (; ";")) (} "}"))) (expression_statement "uVar24 = uVar24 - local_54[1];" (assignment_expression "uVar24 = uVar24 - local_54[1]" (identifier "uVar24") (= "=") (binary_expression "uVar24 - local_54[1]" (identifier "uVar24") (- "-") (subscript_expression "local_54[1]" (identifier "local_54") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "uVar11 = uVar11 >> (local_54[1] & 0x1f);" (assignment_expression "uVar11 = uVar11 >> (local_54[1] & 0x1f)" (identifier "uVar11") (= "=") (binary_expression "uVar11 >> (local_54[1] & 0x1f)" (identifier "uVar11") (>> ">>") (parenthesized_expression "(local_54[1] & 0x1f)" (( "(") (binary_expression "local_54[1] & 0x1f" (subscript_expression "local_54[1]" (identifier "local_54") ([ "[") (number_literal "1") (] "]")) (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" (identifier "puVar20") (= "=") (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" (* "*") (cast_expression "(uint **)(in_t9 + 0x1e29c)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x1e29c)" (( "(") (binary_expression "in_t9 + 0x1e29c" (identifier "in_t9") (+ "+") (number_literal "0x1e29c")) () ")"))))) (; ";")) (if_statement "if (uVar24 < uVar17) {\n    uVar7 = *puVar18;\n    uVar6 = uVar24;\n    while( true ) {\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }\n  }" (if "if") (parenthesized_expression "(uVar24 < uVar17)" (( "(") (binary_expression "uVar24 < uVar17" (identifier "uVar24") (< "<") (identifier "uVar17")) () ")")) (compound_statement "{\n    uVar7 = *puVar18;\n    uVar6 = uVar24;\n    while( true ) {\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }\n  }" ({ "{") (expression_statement "uVar7 = *puVar18;" (assignment_expression "uVar7 = *puVar18" (identifier "uVar7") (= "=") (pointer_expression "*puVar18" (* "*") (identifier "puVar18"))) (; ";")) (expression_statement "uVar6 = uVar24;" (assignment_expression "uVar6 = uVar24" (identifier "uVar6") (= "=") (identifier "uVar24")) (; ";")) (while_statement "while( true ) {\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }\n      uVar11 = uVar11 | uVar24;\n      uVar24 = uVar6 + 8;\n      if (uVar17 <= uVar24) break;\n      uVar6 = uVar6 + 8;\n      uVar7 = *puVar18;\n    }" ({ "{") (if_statement "if (uVar7 < *puVar20) {\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }\n      else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }" (if "if") (parenthesized_expression "(uVar7 < *puVar20)" (( "(") (binary_expression "uVar7 < *puVar20" (identifier "uVar7") (< "<") (pointer_expression "*puVar20" (* "*") (identifier "puVar20"))) () ")")) (compound_statement "{\n        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);\n        *puVar18 = uVar7 + 1;\n      }" ({ "{") (expression_statement "uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);" (assignment_expression "uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f)" (identifier "uVar24") (= "=") (binary_expression "(uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f)" (binary_expression "(uint)*(byte *)(iVar19 + uVar7)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(iVar19 + uVar7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + uVar7)" (( "(") (binary_expression "iVar19 + uVar7" (identifier "iVar19") (+ "+") (identifier "uVar7")) () ")")))) (<< "<<") (parenthesized_expression "(uVar6 & 0x1f)" (( "(") (binary_expression "uVar6 & 0x1f" (identifier "uVar6") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "*puVar18 = uVar7 + 1;" (assignment_expression "*puVar18 = uVar7 + 1" (pointer_expression "*puVar18" (* "*") (identifier "puVar18")) (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }" (else "else") (compound_statement "{\n        *puVar15 = uVar22;\n        uVar24 = fill_inbuf(0);\n        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);\n      }" ({ "{") (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" (* "*") (identifier "puVar15")) (= "=") (identifier "uVar22")) (; ";")) (expression_statement "uVar24 = fill_inbuf(0);" (assignment_expression "uVar24 = fill_inbuf(0)" (identifier "uVar24") (= "=") (call_expression "fill_inbuf(0)" (identifier "fill_inbuf") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);" (assignment_expression "uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f)" (identifier "uVar24") (= "=") (binary_expression "(uVar24 & 0xff) << (uVar6 & 0x1f)" (parenthesized_expression "(uVar24 & 0xff)" (( "(") (binary_expression "uVar24 & 0xff" (identifier "uVar24") (& "&") (number_literal "0xff")) () ")")) (<< "<<") (parenthesized_expression "(uVar6 & 0x1f)" (( "(") (binary_expression "uVar6 & 0x1f" (identifier "uVar6") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (} "}")))) (expression_statement "uVar11 = uVar11 | uVar24;" (assignment_expression "uVar11 = uVar11 | uVar24" (identifier "uVar11") (= "=") (binary_expression "uVar11 | uVar24" (identifier "uVar11") (| "|") (identifier "uVar24"))) (; ";")) (expression_statement "uVar24 = uVar6 + 8;" (assignment_expression "uVar24 = uVar6 + 8" (identifier "uVar24") (= "=") (binary_expression "uVar6 + 8" (identifier "uVar6") (+ "+") (number_literal "8"))) (; ";")) (if_statement "if (uVar17 <= uVar24) break;" (if "if") (parenthesized_expression "(uVar17 <= uVar24)" (( "(") (binary_expression "uVar17 <= uVar24" (identifier "uVar17") (<= "<=") (identifier "uVar24")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar6 = uVar6 + 8;" (assignment_expression "uVar6 = uVar6 + 8" (identifier "uVar6") (= "=") (binary_expression "uVar6 + 8" (identifier "uVar6") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "uVar7 = *puVar18;" (assignment_expression "uVar7 = *puVar18" (identifier "uVar7") (= "=") (pointer_expression "*puVar18" (* "*") (identifier "puVar18"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar14 = *(int *)(in_t9 + 0x1e37c);" (assignment_expression "iVar14 = *(int *)(in_t9 + 0x1e37c)" (identifier "iVar14") (= "=") (pointer_expression "*(int *)(in_t9 + 0x1e37c)" (* "*") (cast_expression "(int *)(in_t9 + 0x1e37c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_t9 + 0x1e37c)" (( "(") (binary_expression "in_t9 + 0x1e37c" (identifier "in_t9") (+ "+") (number_literal "0x1e37c")) () ")"))))) (; ";")) (expression_statement "uVar24 = uVar24 - uVar17;" (assignment_expression "uVar24 = uVar24 - uVar17" (identifier "uVar24") (= "=") (binary_expression "uVar24 - uVar17" (identifier "uVar24") (- "-") (identifier "uVar17"))) (; ";")) (expression_statement "uVar6 = uVar5 & uVar21;" (assignment_expression "uVar6 = uVar5 & uVar21" (identifier "uVar6") (= "=") (binary_expression "uVar5 & uVar21" (identifier "uVar5") (& "&") (identifier "uVar21"))) (; ";")) (expression_statement "uVar21 = uVar11 >> (uVar17 & 0x1f);" (assignment_expression "uVar21 = uVar11 >> (uVar17 & 0x1f)" (identifier "uVar21") (= "=") (binary_expression "uVar11 >> (uVar17 & 0x1f)" (identifier "uVar11") (>> ">>") (parenthesized_expression "(uVar17 & 0x1f)" (( "(") (binary_expression "uVar17 & 0x1f" (identifier "uVar17") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar6 = uVar6 + uVar4;" (assignment_expression "uVar6 = uVar6 + uVar4" (identifier "uVar6") (= "=") (binary_expression "uVar6 + uVar4" (identifier "uVar6") (+ "+") (identifier "uVar4"))) (; ";")) (expression_statement "uVar17 = (uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11);" (assignment_expression "uVar17 = (uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11)" (identifier "uVar17") (= "=") (binary_expression "(uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11)" (parenthesized_expression "(uVar22 - *(ushort *)(local_54 + 4))" (( "(") (binary_expression "uVar22 - *(ushort *)(local_54 + 4)" (identifier "uVar22") (- "-") (pointer_expression "*(ushort *)(local_54 + 4)" (* "*") (cast_expression "(ushort *)(local_54 + 4)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_54 + 4)" (( "(") (binary_expression "local_54 + 4" (identifier "local_54") (+ "+") (number_literal "4")) () ")"))))) () ")")) (- "-") (parenthesized_expression "(*(ushort *)(iVar10 + uVar17 * 2) & uVar11)" (( "(") (binary_expression "*(ushort *)(iVar10 + uVar17 * 2) & uVar11" (pointer_expression "*(ushort *)(iVar10 + uVar17 * 2)" (* "*") (cast_expression "(ushort *)(iVar10 + uVar17 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + uVar17 * 2)" (( "(") (binary_expression "iVar10 + uVar17 * 2" (identifier "iVar10") (+ "+") (binary_expression "uVar17 * 2" (identifier "uVar17") (* "*") (number_literal "2"))) () ")")))) (& "&") (identifier "uVar11")) () ")")))) (; ";")) (do_statement "do {\n    uVar17 = uVar17 & 0x7fff;\n    if (uVar22 < uVar17) {\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }\n    else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }\n    uVar22 = uVar22 + uVar11;\n    uVar17 = uVar11 + uVar17;\n    if (uVar22 == 0x8000) {\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }\n  } while (uVar6 != 0);" (do "do") (compound_statement "{\n    uVar17 = uVar17 & 0x7fff;\n    if (uVar22 < uVar17) {\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }\n    else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }\n    uVar22 = uVar22 + uVar11;\n    uVar17 = uVar11 + uVar17;\n    if (uVar22 == 0x8000) {\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }\n  }" ({ "{") (expression_statement "uVar17 = uVar17 & 0x7fff;" (assignment_expression "uVar17 = uVar17 & 0x7fff" (identifier "uVar17") (= "=") (binary_expression "uVar17 & 0x7fff" (identifier "uVar17") (& "&") (number_literal "0x7fff"))) (; ";")) (if_statement "if (uVar22 < uVar17) {\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }\n    else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }" (if "if") (parenthesized_expression "(uVar22 < uVar17)" (( "(") (binary_expression "uVar22 < uVar17" (identifier "uVar22") (< "<") (identifier "uVar17")) () ")")) (compound_statement "{\n      uVar11 = 0x8000 - uVar17;\n      if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar17 < uVar22) goto LAB_000186a8;\nLAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);\n      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;\nLAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);\n    }" ({ "{") (expression_statement "uVar11 = 0x8000 - uVar17;" (assignment_expression "uVar11 = 0x8000 - uVar17" (identifier "uVar11") (= "=") (binary_expression "0x8000 - uVar17" (number_literal "0x8000") (- "-") (identifier "uVar17"))) (; ";")) (if_statement "if (uVar6 <= 0x8000 - uVar17) {\n        uVar11 = uVar6;\n      }" (if "if") (parenthesized_expression "(uVar6 <= 0x8000 - uVar17)" (( "(") (binary_expression "uVar6 <= 0x8000 - uVar17" (identifier "uVar6") (<= "<=") (binary_expression "0x8000 - uVar17" (number_literal "0x8000") (- "-") (identifier "uVar17"))) () ")")) (compound_statement "{\n        uVar11 = uVar6;\n      }" ({ "{") (expression_statement "uVar11 = uVar6;" (assignment_expression "uVar11 = uVar6" (identifier "uVar11") (= "=") (identifier "uVar6")) (; ";")) (} "}"))) (expression_statement "uVar6 = uVar6 - uVar11;" (assignment_expression "uVar6 = uVar6 - uVar11" (identifier "uVar6") (= "=") (binary_expression "uVar6 - uVar11" (identifier "uVar6") (- "-") (identifier "uVar11"))) (; ";")) (if_statement "if (uVar17 < uVar22) goto LAB_000186a8;" (if "if") (parenthesized_expression "(uVar17 < uVar22)" (( "(") (binary_expression "uVar17 < uVar22" (identifier "uVar17") (< "<") (identifier "uVar22")) () ")")) (goto_statement "goto LAB_000186a8;" (goto "goto") (statement_identifier "LAB_000186a8") (; ";"))) (labeled_statement "LAB_00018724:\n      pcVar23 = *(code **)(in_t9 + 0x1e578);" (statement_identifier "LAB_00018724") (: ":") (expression_statement "pcVar23 = *(code **)(in_t9 + 0x1e578);" (assignment_expression "pcVar23 = *(code **)(in_t9 + 0x1e578)" (identifier "pcVar23") (= "=") (pointer_expression "*(code **)(in_t9 + 0x1e578)" (* "*") (cast_expression "(code **)(in_t9 + 0x1e578)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x1e578)" (( "(") (binary_expression "in_t9 + 0x1e578" (identifier "in_t9") (+ "+") (number_literal "0x1e578")) () ")"))))) (; ";"))) (if_statement "if (uVar17 - uVar22 < uVar11) goto LAB_00018738;" (if "if") (parenthesized_expression "(uVar17 - uVar22 < uVar11)" (( "(") (binary_expression "uVar17 - uVar22 < uVar11" (binary_expression "uVar17 - uVar22" (identifier "uVar17") (- "-") (identifier "uVar22")) (< "<") (identifier "uVar11")) () ")")) (goto_statement "goto LAB_00018738;" (goto "goto") (statement_identifier "LAB_00018738") (; ";"))) (labeled_statement "LAB_000186bc:\n      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);" (statement_identifier "LAB_000186bc") (: ":") (expression_statement "(*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);" (call_expression "(*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11)" (parenthesized_expression "(*pcVar23)" (( "(") (pointer_expression "*pcVar23" (* "*") (identifier "pcVar23")) () ")")) (argument_list "(iVar14 + uVar22,iVar14 + uVar17,uVar11)" (( "(") (binary_expression "iVar14 + uVar22" (identifier "iVar14") (+ "+") (identifier "uVar22")) (, ",") (binary_expression "iVar14 + uVar17" (identifier "iVar14") (+ "+") (identifier "uVar17")) (, ",") (identifier "uVar11") () ")"))) (; ";"))) (} "}")) (else_clause "else {\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }" (else "else") (compound_statement "{\n      uVar11 = 0x8000 - uVar22;\n      if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }\n      uVar6 = uVar6 - uVar11;\n      if (uVar22 <= uVar17) goto LAB_00018724;\nLAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }\nLAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);\n      do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);\n    }" ({ "{") (expression_statement "uVar11 = 0x8000 - uVar22;" (assignment_expression "uVar11 = 0x8000 - uVar22" (identifier "uVar11") (= "=") (binary_expression "0x8000 - uVar22" (number_literal "0x8000") (- "-") (identifier "uVar22"))) (; ";")) (if_statement "if (uVar6 <= 0x8000 - uVar22) {\n        uVar11 = uVar6;\n      }" (if "if") (parenthesized_expression "(uVar6 <= 0x8000 - uVar22)" (( "(") (binary_expression "uVar6 <= 0x8000 - uVar22" (identifier "uVar6") (<= "<=") (binary_expression "0x8000 - uVar22" (number_literal "0x8000") (- "-") (identifier "uVar22"))) () ")")) (compound_statement "{\n        uVar11 = uVar6;\n      }" ({ "{") (expression_statement "uVar11 = uVar6;" (assignment_expression "uVar11 = uVar6" (identifier "uVar11") (= "=") (identifier "uVar6")) (; ";")) (} "}"))) (expression_statement "uVar6 = uVar6 - uVar11;" (assignment_expression "uVar6 = uVar6 - uVar11" (identifier "uVar6") (= "=") (binary_expression "uVar6 - uVar11" (identifier "uVar6") (- "-") (identifier "uVar11"))) (; ";")) (if_statement "if (uVar22 <= uVar17) goto LAB_00018724;" (if "if") (parenthesized_expression "(uVar22 <= uVar17)" (( "(") (binary_expression "uVar22 <= uVar17" (identifier "uVar22") (<= "<=") (identifier "uVar17")) () ")")) (goto_statement "goto LAB_00018724;" (goto "goto") (statement_identifier "LAB_00018724") (; ";"))) (labeled_statement "LAB_000186a8:\n      if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }" (statement_identifier "LAB_000186a8") (: ":") (if_statement "if (uVar11 <= uVar22 - uVar17) {\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }" (if "if") (parenthesized_expression "(uVar11 <= uVar22 - uVar17)" (( "(") (binary_expression "uVar11 <= uVar22 - uVar17" (identifier "uVar11") (<= "<=") (binary_expression "uVar22 - uVar17" (identifier "uVar22") (- "-") (identifier "uVar17"))) () ")")) (compound_statement "{\n        pcVar23 = *(code **)(in_t9 + 0x1e578);\n        goto LAB_000186bc;\n      }" ({ "{") (expression_statement "pcVar23 = *(code **)(in_t9 + 0x1e578);" (assignment_expression "pcVar23 = *(code **)(in_t9 + 0x1e578)" (identifier "pcVar23") (= "=") (pointer_expression "*(code **)(in_t9 + 0x1e578)" (* "*") (cast_expression "(code **)(in_t9 + 0x1e578)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x1e578)" (( "(") (binary_expression "in_t9 + 0x1e578" (identifier "in_t9") (+ "+") (number_literal "0x1e578")) () ")"))))) (; ";")) (goto_statement "goto LAB_000186bc;" (goto "goto") (statement_identifier "LAB_000186bc") (; ";")) (} "}")))) (labeled_statement "LAB_00018738:\n      puVar8 = (undefined1 *)(iVar14 + uVar17);" (statement_identifier "LAB_00018738") (: ":") (expression_statement "puVar8 = (undefined1 *)(iVar14 + uVar17);" (assignment_expression "puVar8 = (undefined1 *)(iVar14 + uVar17)" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)(iVar14 + uVar17)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + uVar17)" (( "(") (binary_expression "iVar14 + uVar17" (identifier "iVar14") (+ "+") (identifier "uVar17")) () ")")))) (; ";"))) (do_statement "do {\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);" (do "do") (compound_statement "{\n        puVar9 = puVar8 + 1;\n        puVar8[uVar22 - uVar17] = *puVar8;\n        puVar8 = puVar9;\n      }" ({ "{") (expression_statement "puVar9 = puVar8 + 1;" (assignment_expression "puVar9 = puVar8 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar8[uVar22 - uVar17] = *puVar8;" (assignment_expression "puVar8[uVar22 - uVar17] = *puVar8" (subscript_expression "puVar8[uVar22 - uVar17]" (identifier "puVar8") ([ "[") (binary_expression "uVar22 - uVar17" (identifier "uVar22") (- "-") (identifier "uVar17")) (] "]")) (= "=") (pointer_expression "*puVar8" (* "*") (identifier "puVar8"))) (; ";")) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" (identifier "puVar8") (= "=") (identifier "puVar9")) (; ";")) (} "}")) (while "while") (parenthesized_expression "((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9)" (( "(") (binary_expression "(undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9" (binary_expression "(undefined1 *)(iVar14 + uVar17) + uVar11" (cast_expression "(undefined1 *)(iVar14 + uVar17)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + uVar17)" (( "(") (binary_expression "iVar14 + uVar17" (identifier "iVar14") (+ "+") (identifier "uVar17")) () ")"))) (+ "+") (identifier "uVar11")) (!= "!=") (identifier "puVar9")) () ")")) (; ";")) (} "}")))) (expression_statement "uVar22 = uVar22 + uVar11;" (assignment_expression "uVar22 = uVar22 + uVar11" (identifier "uVar22") (= "=") (binary_expression "uVar22 + uVar11" (identifier "uVar22") (+ "+") (identifier "uVar11"))) (; ";")) (expression_statement "uVar17 = uVar11 + uVar17;" (assignment_expression "uVar17 = uVar11 + uVar17" (identifier "uVar17") (= "=") (binary_expression "uVar11 + uVar17" (identifier "uVar11") (+ "+") (identifier "uVar17"))) (; ";")) (if_statement "if (uVar22 == 0x8000) {\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }" (if "if") (parenthesized_expression "(uVar22 == 0x8000)" (( "(") (binary_expression "uVar22 == 0x8000" (identifier "uVar22") (== "==") (number_literal "0x8000")) () ")")) (compound_statement "{\n      *puVar15 = 0x8000;\n      uVar22 = 0;\n      flush_window();\n    }" ({ "{") (expression_statement "*puVar15 = 0x8000;" (assignment_expression "*puVar15 = 0x8000" (pointer_expression "*puVar15" (* "*") (identifier "puVar15")) (= "=") (number_literal "0x8000")) (; ";")) (expression_statement "uVar22 = 0;" (assignment_expression "uVar22 = 0" (identifier "uVar22") (= "=") (number_literal "0")) (; ";")) (expression_statement "flush_window();" (call_expression "flush_window()" (identifier "flush_window") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(uVar6 != 0)" (( "(") (binary_expression "uVar6 != 0" (identifier "uVar6") (!= "!=") (number_literal "0")) () ")")) (; ";")) (goto_statement "goto LAB_000181c8;" (goto "goto") (statement_identifier "LAB_000181c8") (; ";")) (labeled_statement "code_r0x0001823c:\n  puVar20 = *(uint **)(in_t9 + 0x1e29c);" (statement_identifier "code_r0x0001823c") (: ":") (expression_statement "puVar20 = *(uint **)(in_t9 + 0x1e29c);" (assignment_expression "puVar20 = *(uint **)(in_t9 + 0x1e29c)" (identifier "puVar20") (= "=") (pointer_expression "*(uint **)(in_t9 + 0x1e29c)" (* "*") (cast_expression "(uint **)(in_t9 + 0x1e29c)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(in_t9 + 0x1e29c)" (( "(") (binary_expression "in_t9 + 0x1e29c" (identifier "in_t9") (+ "+") (number_literal "0x1e29c")) () ")"))))) (; ";"))) (labeled_statement "LAB_00018240:\n  uVar17 = *puVar18;" (statement_identifier "LAB_00018240") (: ":") (expression_statement "uVar17 = *puVar18;" (assignment_expression "uVar17 = *puVar18" (identifier "uVar17") (= "=") (pointer_expression "*puVar18" (* "*") (identifier "puVar18"))) (; ";"))) (if_statement "if (uVar17 < *puVar20) {\n    uVar11 = (uint)*(byte *)(iVar19 + uVar17);\n    *puVar18 = uVar17 + 1;\n  }\n  else {\n    *puVar15 = uVar22;\n    uVar11 = fill_inbuf(0);\n    uVar11 = uVar11 & 0xff;\n  }" (if "if") (parenthesized_expression "(uVar17 < *puVar20)" (( "(") (binary_expression "uVar17 < *puVar20" (identifier "uVar17") (< "<") (pointer_expression "*puVar20" (* "*") (identifier "puVar20"))) () ")")) (compound_statement "{\n    uVar11 = (uint)*(byte *)(iVar19 + uVar17);\n    *puVar18 = uVar17 + 1;\n  }" ({ "{") (expression_statement "uVar11 = (uint)*(byte *)(iVar19 + uVar17);" (assignment_expression "uVar11 = (uint)*(byte *)(iVar19 + uVar17)" (identifier "uVar11") (= "=") (binary_expression "(uint)*(byte *)(iVar19 + uVar17)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(iVar19 + uVar17)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + uVar17)" (( "(") (binary_expression "iVar19 + uVar17" (identifier "iVar19") (+ "+") (identifier "uVar17")) () ")"))))) (; ";")) (expression_statement "*puVar18 = uVar17 + 1;" (assignment_expression "*puVar18 = uVar17 + 1" (pointer_expression "*puVar18" (* "*") (identifier "puVar18")) (= "=") (binary_expression "uVar17 + 1" (identifier "uVar17") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n    *puVar15 = uVar22;\n    uVar11 = fill_inbuf(0);\n    uVar11 = uVar11 & 0xff;\n  }" (else "else") (compound_statement "{\n    *puVar15 = uVar22;\n    uVar11 = fill_inbuf(0);\n    uVar11 = uVar11 & 0xff;\n  }" ({ "{") (expression_statement "*puVar15 = uVar22;" (assignment_expression "*puVar15 = uVar22" (pointer_expression "*puVar15" (* "*") (identifier "puVar15")) (= "=") (identifier "uVar22")) (; ";")) (expression_statement "uVar11 = fill_inbuf(0);" (assignment_expression "uVar11 = fill_inbuf(0)" (identifier "uVar11") (= "=") (call_expression "fill_inbuf(0)" (identifier "fill_inbuf") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar11 = uVar11 & 0xff;" (assignment_expression "uVar11 = uVar11 & 0xff" (identifier "uVar11") (= "=") (binary_expression "uVar11 & 0xff" (identifier "uVar11") (& "&") (number_literal "0xff"))) (; ";")) (} "}")))) (expression_statement "uVar17 = uVar24 & 0x1f;" (assignment_expression "uVar17 = uVar24 & 0x1f" (identifier "uVar17") (= "=") (binary_expression "uVar24 & 0x1f" (identifier "uVar24") (& "&") (number_literal "0x1f"))) (; ";")) (expression_statement "uVar24 = uVar24 + 8;" (assignment_expression "uVar24 = uVar24 + 8" (identifier "uVar24") (= "=") (binary_expression "uVar24 + 8" (identifier "uVar24") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "uVar21 = uVar21 | uVar11 << uVar17;" (assignment_expression "uVar21 = uVar21 | uVar11 << uVar17" (identifier "uVar21") (= "=") (binary_expression "uVar21 | uVar11 << uVar17" (identifier "uVar21") (| "|") (binary_expression "uVar11 << uVar17" (identifier "uVar11") (<< "<<") (identifier "uVar17")))) (; ";")) (goto_statement "goto LAB_000181c8;" (goto "goto") (statement_identifier "LAB_000181c8") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (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: (primitive_type) 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: (type_identifier) declarator: (pointer_declarator 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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (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: (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: (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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (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: (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: (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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (goto_statement label: (statement_identifier)) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (break_statement)) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (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: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal))))) condition: (parenthesized_expression (true))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) 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: (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: (identifier))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (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 (expression_statement (assignment_expression left: (pointer_expression argument: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (break_statement)) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_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: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (break_statement)) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (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: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier))))) condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_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: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_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: (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: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier)))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (binary_expression left: (identifier) right: (identifier)) (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (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: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (goto_statement label: (statement_identifier))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (identifier))) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) right: (identifier)) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (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: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (goto_statement label: (statement_identifier)) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) (goto_statement label: (statement_identifier)))))

undefined4 MASKED(int param_1,int param_2,uint param_3,uint param_4)

{
  byte bVar1;
  ushort uVar2;
  ushort uVar3;
  ushort uVar4;
  ushort uVar5;
  uint uVar6;
  uint uVar7;
  undefined1 *puVar8;
  undefined1 *puVar9;
  int iVar10;
  uint uVar11;
  int iVar12;
  int iVar13;
  int iVar14;
  uint *puVar15;
  byte *pbVar16;
  uint uVar17;
  uint *puVar18;
  int iVar19;
  uint *puVar20;
  uint uVar21;
  uint uVar22;
  int in_t9;
  code *pcVar23;
  uint uVar24;
  byte *local_54;
  
  iVar13 = *(int *)(in_t9 + 0x1e268);
  iVar12 = *(int *)(in_t9 + 0x1e268);
  iVar10 = *(int *)(in_t9 + 0x1e278) + 0x4e40;
  puVar15 = *(uint **)(write_buf + in_t9);
  uVar2 = *(ushort *)(iVar10 + param_3 * 2);
  uVar3 = *(ushort *)(iVar10 + param_4 * 2);
  puVar18 = *(uint **)(in_t9 + 0x1e298);
  uVar21 = *(uint *)(iVar12 + 0x6d38);
  uVar24 = *(uint *)(iVar13 + 0x6d34);
  uVar22 = *puVar15;
  iVar19 = *(int *)(in_t9 + 0x1e2a0);
LAB_000181c8:
  puVar20 = *(uint **)(in_t9 + 0x1e29c);
  if (param_3 <= uVar24) goto LAB_000181d8;
  goto LAB_00018240;
LAB_000181d8:
  pbVar16 = (byte *)(param_1 + (uVar21 & uVar2) * 8);
  uVar17 = (uint)*pbVar16;
  if (0x10 < uVar17) {
    puVar20 = *(uint **)(in_t9 + 0x1e29c);
    if (uVar17 == 99) {
      return 1;
    }
    do {
      uVar17 = uVar17 - 0x10;
      uVar24 = uVar24 - pbVar16[1];
      uVar21 = uVar21 >> (pbVar16[1] & 0x1f);
      if (uVar24 < uVar17) {
        do {
          while( true ) {
            uVar11 = uVar24;
            uVar24 = *puVar18;
            if (uVar24 < *puVar20) break;
            *puVar15 = uVar22;
            uVar24 = fill_inbuf(0);
            uVar21 = uVar21 | (uVar24 & 0xff) << (uVar11 & 0x1f);
            uVar24 = uVar11 + 8;
            if (uVar17 <= uVar11 + 8) goto LAB_0001856c;
          }
          uVar21 = uVar21 | (uint)*(byte *)(iVar19 + uVar24) << (uVar11 & 0x1f);
          *puVar18 = uVar24 + 1;
          uVar24 = uVar11 + 8;
        } while (uVar11 + 8 < uVar17);
LAB_0001856c:
        uVar24 = uVar11 + 8;
      }
      pbVar16 = (byte *)(*(int *)(pbVar16 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar21) * 8);
      uVar17 = (uint)*pbVar16;
      if (uVar17 < 0x11) break;
      if (uVar17 == 99) {
        return 1;
      }
    } while( true );
  }
  uVar21 = uVar21 >> (pbVar16[1] & 0x1f);
  uVar24 = uVar24 - pbVar16[1];
  if (uVar17 == 0x10) {
    uVar17 = uVar22 + 1;
    *(char *)(*(int *)(in_t9 + 0x1e37c) + uVar22) = (char)*(undefined2 *)(pbVar16 + 4);
    if (uVar17 == 0x8000) {
      uVar22 = 0;
      *puVar15 = 0x8000;
      flush_window();
      goto LAB_000181c8;
    }
    uVar22 = uVar17;
    if (uVar24 < param_3) goto code_r0x0001823c;
    goto LAB_000181d8;
  }
  if (uVar17 == 0xf) {
    *puVar15 = uVar22;
    *(uint *)(iVar12 + 0x6d38) = uVar21;
    *(uint *)(iVar13 + 0x6d34) = uVar24;
    return 0;
  }
  if (uVar24 < uVar17) {
    puVar20 = *(uint **)(in_t9 + 0x1e29c);
    do {
      uVar11 = *puVar18;
      if (uVar11 < *puVar20) {
        uVar6 = (uint)*(byte *)(iVar19 + uVar11) << (uVar24 & 0x1f);
        *puVar18 = uVar11 + 1;
      }
      else {
        *puVar15 = uVar22;
        uVar11 = fill_inbuf(0);
        uVar6 = (uVar11 & 0xff) << (uVar24 & 0x1f);
      }
      uVar21 = uVar21 | uVar6;
      uVar24 = uVar24 + 8;
    } while (uVar24 < uVar17);
  }
  uVar4 = *(ushort *)(pbVar16 + 4);
  uVar24 = uVar24 - uVar17;
  uVar11 = uVar21 >> (uVar17 & 0x1f);
  uVar5 = *(ushort *)(iVar10 + uVar17 * 2);
  if (uVar24 < param_4) {
    puVar20 = *(uint **)(in_t9 + 0x1e29c);
    do {
      while( true ) {
        uVar17 = *puVar18;
        if (uVar17 < *puVar20) break;
        *puVar15 = uVar22;
        uVar6 = fill_inbuf(0);
        uVar17 = uVar24 & 0x1f;
        uVar24 = uVar24 + 8;
        uVar11 = uVar11 | (uVar6 & 0xff) << uVar17;
        if (param_4 <= uVar24) goto LAB_0001839c;
      }
      bVar1 = *(byte *)(iVar19 + uVar17);
      *puVar18 = uVar17 + 1;
      uVar17 = uVar24 & 0x1f;
      uVar24 = uVar24 + 8;
      uVar11 = uVar11 | (uint)bVar1 << uVar17;
    } while (uVar24 < param_4);
  }
LAB_0001839c:
  local_54 = (byte *)(param_2 + (uVar3 & uVar11) * 8);
  uVar17 = (uint)*local_54;
  if (0x10 < uVar17) {
    puVar20 = *(uint **)(in_t9 + 0x1e29c);
    do {
      if (uVar17 == 99) {
        return 1;
      }
      uVar17 = uVar17 - 0x10;
      uVar24 = uVar24 - local_54[1];
      uVar11 = uVar11 >> (local_54[1] & 0x1f);
      if (uVar24 < uVar17) {
        do {
          while( true ) {
            uVar6 = uVar24;
            uVar24 = *puVar18;
            if (uVar24 < *puVar20) break;
            *puVar15 = uVar22;
            uVar24 = fill_inbuf(0);
            uVar11 = uVar11 | (uVar24 & 0xff) << (uVar6 & 0x1f);
            uVar24 = uVar6 + 8;
            if (uVar17 <= uVar6 + 8) goto LAB_00018454;
          }
          uVar11 = uVar11 | (uint)*(byte *)(iVar19 + uVar24) << (uVar6 & 0x1f);
          *puVar18 = uVar24 + 1;
          uVar24 = uVar6 + 8;
        } while (uVar6 + 8 < uVar17);
LAB_00018454:
        uVar24 = uVar6 + 8;
      }
      local_54 = (byte *)(*(int *)(local_54 + 4) + (*(ushort *)(iVar10 + uVar17 * 2) & uVar11) * 8);
      uVar17 = (uint)*local_54;
    } while (0x10 < uVar17);
  }
  uVar24 = uVar24 - local_54[1];
  uVar11 = uVar11 >> (local_54[1] & 0x1f);
  puVar20 = *(uint **)(in_t9 + 0x1e29c);
  if (uVar24 < uVar17) {
    uVar7 = *puVar18;
    uVar6 = uVar24;
    while( true ) {
      if (uVar7 < *puVar20) {
        uVar24 = (uint)*(byte *)(iVar19 + uVar7) << (uVar6 & 0x1f);
        *puVar18 = uVar7 + 1;
      }
      else {
        *puVar15 = uVar22;
        uVar24 = fill_inbuf(0);
        uVar24 = (uVar24 & 0xff) << (uVar6 & 0x1f);
      }
      uVar11 = uVar11 | uVar24;
      uVar24 = uVar6 + 8;
      if (uVar17 <= uVar24) break;
      uVar6 = uVar6 + 8;
      uVar7 = *puVar18;
    }
  }
  iVar14 = *(int *)(in_t9 + 0x1e37c);
  uVar24 = uVar24 - uVar17;
  uVar6 = uVar5 & uVar21;
  uVar21 = uVar11 >> (uVar17 & 0x1f);
  uVar6 = uVar6 + uVar4;
  uVar17 = (uVar22 - *(ushort *)(local_54 + 4)) - (*(ushort *)(iVar10 + uVar17 * 2) & uVar11);
  do {
    uVar17 = uVar17 & 0x7fff;
    if (uVar22 < uVar17) {
      uVar11 = 0x8000 - uVar17;
      if (uVar6 <= 0x8000 - uVar17) {
        uVar11 = uVar6;
      }
      uVar6 = uVar6 - uVar11;
      if (uVar17 < uVar22) goto LAB_000186a8;
LAB_00018724:
      pcVar23 = *(code **)(in_t9 + 0x1e578);
      if (uVar17 - uVar22 < uVar11) goto LAB_00018738;
LAB_000186bc:
      (*pcVar23)(iVar14 + uVar22,iVar14 + uVar17,uVar11);
    }
    else {
      uVar11 = 0x8000 - uVar22;
      if (uVar6 <= 0x8000 - uVar22) {
        uVar11 = uVar6;
      }
      uVar6 = uVar6 - uVar11;
      if (uVar22 <= uVar17) goto LAB_00018724;
LAB_000186a8:
      if (uVar11 <= uVar22 - uVar17) {
        pcVar23 = *(code **)(in_t9 + 0x1e578);
        goto LAB_000186bc;
      }
LAB_00018738:
      puVar8 = (undefined1 *)(iVar14 + uVar17);
      do {
        puVar9 = puVar8 + 1;
        puVar8[uVar22 - uVar17] = *puVar8;
        puVar8 = puVar9;
      } while ((undefined1 *)(iVar14 + uVar17) + uVar11 != puVar9);
    }
    uVar22 = uVar22 + uVar11;
    uVar17 = uVar11 + uVar17;
    if (uVar22 == 0x8000) {
      *puVar15 = 0x8000;
      uVar22 = 0;
      flush_window();
    }
  } while (uVar6 != 0);
  goto LAB_000181c8;
code_r0x0001823c:
  puVar20 = *(uint **)(in_t9 + 0x1e29c);
LAB_00018240:
  uVar17 = *puVar18;
  if (uVar17 < *puVar20) {
    uVar11 = (uint)*(byte *)(iVar19 + uVar17);
    *puVar18 = uVar17 + 1;
  }
  else {
    *puVar15 = uVar22;
    uVar11 = fill_inbuf(0);
    uVar11 = uVar11 & 0xff;
  }
  uVar17 = uVar24 & 0x1f;
  uVar24 = uVar24 + 8;
  uVar21 = uVar21 | uVar11 << uVar17;
  goto LAB_000181c8;
}

