
uLong adler32_z(uLong adler,Bytef *buf,z_size_t len)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  byte *pbVar7;
  z_size_t zVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  uint uVar13;
  byte *pbVar14;
  uint uVar15;
  int iVar16;
  int iVar17;
  int iVar18;
  int iVar19;
  int iVar20;
  int iVar21;
  
  uVar13 = adler >> 0x10;
  uVar15 = adler & 0xffff;
  if (len == 1) {
    uVar15 = *buf + uVar15;
    if (0xfff0 < uVar15) {
      uVar15 = uVar15 - 0xfff1;
    }
    uVar13 = uVar15 + uVar13;
    if (0xfff0 < uVar13) {
      uVar13 = uVar13 - 0xfff1;
    }
    return uVar13 << 0x10 | uVar15;
  }
  if (buf == (Bytef *)0x0) {
    return 1;
  }
  if (len < 0x10) {
    if (len != 0) {
      pbVar7 = buf;
      do {
        pbVar14 = pbVar7 + 1;
        uVar15 = uVar15 + *pbVar7;
        uVar13 = uVar13 + uVar15;
        pbVar7 = pbVar14;
      } while (pbVar14 != buf + len);
    }
    if (0xfff0 < uVar15) {
      uVar15 = uVar15 - 0xfff1;
    }
    return (uVar13 % 0xfff1) * 0x10000 | uVar15;
  }
  if (len < 0x15b0) {
LAB_00011ce8:
    uVar6 = len - 0x10 >> 4;
    pbVar14 = buf + (uVar6 + 1) * 0x10;
    pbVar7 = buf;
    do {
      buf = pbVar7 + 0x10;
      iVar1 = *pbVar7 + uVar15;
      iVar11 = (uint)pbVar7[1] + iVar1;
      iVar9 = (uint)pbVar7[2] + iVar11;
      iVar4 = (uint)pbVar7[3] + iVar9;
      iVar2 = (uint)pbVar7[4] + iVar4;
      iVar19 = (uint)pbVar7[5] + iVar2;
      iVar21 = (uint)pbVar7[6] + iVar19;
      iVar20 = (uint)pbVar7[7] + iVar21;
      iVar18 = (uint)pbVar7[8] + iVar20;
      iVar17 = (uint)pbVar7[9] + iVar18;
      iVar16 = (uint)pbVar7[10] + iVar17;
      iVar12 = (uint)pbVar7[0xb] + iVar16;
      iVar10 = (uint)pbVar7[0xc] + iVar12;
      iVar5 = (uint)pbVar7[0xd] + iVar10;
      iVar3 = (uint)pbVar7[0xe] + iVar5;
      uVar15 = (uint)pbVar7[0xf] + iVar3;
      uVar13 = uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20 + iVar18 +
                        iVar17 + iVar16 + iVar12 + iVar10 + iVar5 + iVar3 + uVar15;
      pbVar7 = buf;
    } while (buf != pbVar14);
    iVar1 = (len - 0x11) + uVar6 * -0x10;
    if ((len & 0xf) != 0) goto LAB_00011dd8;
  }
  else {
    do {
      zVar8 = len;
      len = zVar8 - 0x15b0;
      pbVar14 = buf + 0x15b0;
      pbVar7 = buf;
      do {
        buf = pbVar7 + 0x10;
        iVar1 = *pbVar7 + uVar15;
        iVar17 = (uint)pbVar7[1] + iVar1;
        iVar9 = (uint)pbVar7[2] + iVar17;
        iVar16 = (uint)pbVar7[3] + iVar9;
        iVar2 = (uint)pbVar7[4] + iVar16;
        iVar20 = (uint)pbVar7[5] + iVar2;
        iVar4 = (uint)pbVar7[6] + iVar20;
        iVar19 = (uint)pbVar7[7] + iVar4;
        iVar10 = (uint)pbVar7[8] + iVar19;
        iVar21 = (uint)pbVar7[9] + iVar10;
        iVar11 = (uint)pbVar7[10] + iVar21;
        iVar3 = (uint)pbVar7[0xb] + iVar11;
        iVar18 = (uint)pbVar7[0xc] + iVar3;
        iVar12 = (uint)pbVar7[0xd] + iVar18;
        iVar5 = (uint)pbVar7[0xe] + iVar12;
        uVar15 = (uint)pbVar7[0xf] + iVar5;
        uVar13 = uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10
                          + iVar21 + iVar11 + iVar3 + iVar18 + iVar12 + iVar5 + uVar15;
        pbVar7 = buf;
      } while (buf != pbVar14);
      uVar15 = uVar15 % 0xfff1;
      uVar13 = uVar13 % 0xfff1;
    } while (0x15af < len);
    if (len == 0) goto LAB_00011e40;
    iVar1 = zVar8 - 0x15b1;
    if (0xf < len) goto LAB_00011ce8;
LAB_00011dd8:
    pbVar7 = buf;
    do {
      pbVar14 = pbVar7 + 1;
      uVar15 = uVar15 + *pbVar7;
      uVar13 = uVar13 + uVar15;
      pbVar7 = pbVar14;
    } while (pbVar14 != buf + iVar1 + 1);
  }
  uVar15 = uVar15 % 0xfff1;
  uVar13 = uVar13 % 0xfff1;
LAB_00011e40:
  return uVar13 * 0x10000 | uVar15;
}



uint adler32_z(uint param_1,byte *param_2,uint param_3)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  byte *pbVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  uint uVar12;
  byte *pbVar13;
  int iVar14;
  int iVar15;
  int iVar16;
  int iVar17;
  int iVar18;
  int iVar19;
  
  uVar12 = param_1 >> 0x10;
  param_1 = param_1 & 0xffff;
  if (param_3 == 1) {
    param_1 = *param_2 + param_1;
    if (0xfff0 < param_1) {
      param_1 = param_1 - 0xfff1;
    }
    uVar12 = param_1 + uVar12;
    if (0xfff0 < uVar12) {
      uVar12 = uVar12 - 0xfff1;
    }
    return uVar12 << 0x10 | param_1;
  }
  if (param_2 == (byte *)0x0) {
    return 1;
  }
  if (param_3 < 0x10) {
    if (param_3 != 0) {
      pbVar7 = param_2;
      do {
        pbVar13 = pbVar7 + 1;
        param_1 = param_1 + *pbVar7;
        uVar12 = uVar12 + param_1;
        pbVar7 = pbVar13;
      } while (pbVar13 != param_2 + param_3);
    }
    if (0xfff0 < param_1) {
      param_1 = param_1 - 0xfff1;
    }
    return (uVar12 % 0xfff1) * 0x10000 | param_1;
  }
  if (param_3 < 0x15b0) {
LAB_00011ce8:
    uVar6 = param_3 - 0x10 >> 4;
    pbVar13 = param_2 + (uVar6 + 1) * 0x10;
    pbVar7 = param_2;
    do {
      param_2 = pbVar7 + 0x10;
      iVar1 = *pbVar7 + param_1;
      iVar10 = (uint)pbVar7[1] + iVar1;
      iVar8 = (uint)pbVar7[2] + iVar10;
      iVar4 = (uint)pbVar7[3] + iVar8;
      iVar2 = (uint)pbVar7[4] + iVar4;
      iVar17 = (uint)pbVar7[5] + iVar2;
      iVar19 = (uint)pbVar7[6] + iVar17;
      iVar18 = (uint)pbVar7[7] + iVar19;
      iVar16 = (uint)pbVar7[8] + iVar18;
      iVar15 = (uint)pbVar7[9] + iVar16;
      iVar14 = (uint)pbVar7[10] + iVar15;
      iVar11 = (uint)pbVar7[0xb] + iVar14;
      iVar9 = (uint)pbVar7[0xc] + iVar11;
      iVar5 = (uint)pbVar7[0xd] + iVar9;
      iVar3 = (uint)pbVar7[0xe] + iVar5;
      param_1 = (uint)pbVar7[0xf] + iVar3;
      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +
                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;
      pbVar7 = param_2;
    } while (param_2 != pbVar13);
    iVar1 = (param_3 - 0x11) + uVar6 * -0x10;
    if ((param_3 & 0xf) != 0) goto LAB_00011dd8;
  }
  else {
    do {
      uVar6 = param_3;
      param_3 = uVar6 - 0x15b0;
      pbVar13 = param_2 + 0x15b0;
      pbVar7 = param_2;
      do {
        param_2 = pbVar7 + 0x10;
        iVar1 = *pbVar7 + param_1;
        iVar15 = (uint)pbVar7[1] + iVar1;
        iVar8 = (uint)pbVar7[2] + iVar15;
        iVar14 = (uint)pbVar7[3] + iVar8;
        iVar2 = (uint)pbVar7[4] + iVar14;
        iVar18 = (uint)pbVar7[5] + iVar2;
        iVar4 = (uint)pbVar7[6] + iVar18;
        iVar17 = (uint)pbVar7[7] + iVar4;
        iVar9 = (uint)pbVar7[8] + iVar17;
        iVar19 = (uint)pbVar7[9] + iVar9;
        iVar10 = (uint)pbVar7[10] + iVar19;
        iVar3 = (uint)pbVar7[0xb] + iVar10;
        iVar16 = (uint)pbVar7[0xc] + iVar3;
        iVar11 = (uint)pbVar7[0xd] + iVar16;
        iVar5 = (uint)pbVar7[0xe] + iVar11;
        param_1 = (uint)pbVar7[0xf] + iVar5;
        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9
                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;
        pbVar7 = param_2;
      } while (param_2 != pbVar13);
      param_1 = param_1 % 0xfff1;
      uVar12 = uVar12 % 0xfff1;
    } while (0x15af < param_3);
    if (param_3 == 0) goto LAB_00011e40;
    iVar1 = uVar6 - 0x15b1;
    if (0xf < param_3) goto LAB_00011ce8;
LAB_00011dd8:
    pbVar7 = param_2;
    do {
      pbVar13 = pbVar7 + 1;
      param_1 = param_1 + *pbVar7;
      uVar12 = uVar12 + param_1;
      pbVar7 = pbVar13;
    } while (pbVar13 != param_2 + iVar1 + 1);
  }
  param_1 = param_1 % 0xfff1;
  uVar12 = uVar12 % 0xfff1;
LAB_00011e40:
  return uVar12 * 0x10000 | param_1;
}


li v0,0x1
srl t0,a0,0x10
beq a2,v0,0x00011c30
_andi t4,a0,0xffff
beq a1,zero,0x00011e54
_nop
sltiu v0,a2,0x10
bne v0,zero,0x00011c6c
_sltiu v0,a2,0x15b0
addiu sp,sp,-0x8
sw s1,0x4(sp)
bne v0,zero,0x00011e64
_sw s0,0x0(sp)
lui t3,0x8007
ori t3,t3,0x8071
addiu t2,a2,-0x15b0
addiu t1,a1,0x15b0
lbu v0,0x0(a1)
addiu a1,a1,0x10
addu v0,v0,t4
lbu t5,-0xf(a1)
lbu a3,-0xe(a1)
lbu t4,-0xd(a1)
addu t5,t5,v0
lbu v1,-0xc(a1)
lbu s1,-0xb(a1)
addu a3,a3,t5
lbu a0,-0xa(a1)
addu v0,v0,t5
lbu s0,-0x9(a1)
addu t4,t4,a3
lbu t9,-0x8(a1)
addu a3,v0,a3
lbu t8,-0x7(a1)
addu v0,v1,t4
lbu t7,-0x6(a1)
addu a3,a3,t4
lbu v1,-0x5(a1)
addu s1,s1,v0
lbu t6,-0x4(a1)
addu a3,a3,v0
lbu t5,-0x3(a1)
addu a0,a0,s1
lbu t4,-0x2(a1)
addu a3,a3,s1
lbu v0,-0x1(a1)
addu s0,s0,a0
addu a0,a3,a0
addu a3,t9,s0
addu a0,a0,s0
addu t8,t8,a3
addu a0,a0,a3
addu a3,t7,t8
addu a0,a0,t8
addu v1,v1,a3
addu a0,a0,a3
addu t6,t6,v1
addu v1,a0,v1
addu a3,t5,t6
addu v1,v1,t6
addu a0,t4,a3
addu v1,v1,a3
addu t4,v0,a0
addu v1,v1,a0
addu v1,v1,t4
bne a1,t1,0x00011b18
_addu t0,t0,v1
multu t4,t3
sltiu t1,t2,0x15b0
mfhi v1
multu t0,t3
mfhi v0
srl a3,v1,0xf
sll v1,a3,0xc
subu v1,v1,a3
srl a0,v0,0xf
sll v1,v1,0x4
sll v0,a0,0xc
addu v1,v1,a3
subu v0,v0,a0
subu t4,t4,v1
sll v0,v0,0x4
addu v0,v0,a0
bne t1,zero,0x00011cd4
_subu t0,t0,v0
b 0x00011b10
_or a2,t2,zero
lbu v0,0x0(a1)
ori v1,zero,0xfff1
addu v0,v0,t4
sltu a0,v0,v1
beq a0,zero,0x00011e5c
_nop
addu t0,v0,t0
ori v1,zero,0xfff1
sltu a0,t0,v1
bne a0,zero,0x00011c60
_nop
subu t0,t0,v1
sll t0,t0,0x10
jr ra
_or v0,t0,v0
beq a2,zero,0x00011c90
_ori v0,zero,0xfff1
addu a2,a1,a2
addiu a1,a1,0x1
lbu v0,-0x1(a1)
addu t4,t4,v0
bne a1,a2,0x00011c78
_addu t0,t0,t4
ori v0,zero,0xfff1
sltu v1,t4,v0
bne v1,zero,0x00011ca0
_nop
subu t4,t4,v0
lui v0,0x8007
ori v0,v0,0x8071
multu t0,v0
mfhi v0
srl v1,v0,0xf
sll v0,v1,0xc
subu v0,v0,v1
sll v0,v0,0x4
addu v0,v0,v1
subu v0,t0,v0
sll v0,v0,0x10
jr ra
_or v0,v0,t4
beq t2,zero,0x00011e40
_sll v0,t0,0x10
sltiu v0,t2,0x10
bne v0,zero,0x00011dd8
_addiu a2,a2,-0x15b1
addiu a0,t2,-0x10
srl a0,a0,0x4
addiu a2,a0,0x1
sll a2,a2,0x4
addu a2,a1,a2
lbu v0,0x0(a1)
addiu a1,a1,0x10
addu v0,v0,t4
lbu t3,-0xf(a1)
lbu t1,-0xe(a1)
lbu a3,-0xd(a1)
addu t3,t3,v0
lbu v1,-0xc(a1)
lbu s0,-0xb(a1)
addu t1,t1,t3
lbu t9,-0xa(a1)
addu v0,v0,t3
lbu t8,-0x9(a1)
addu a3,a3,t1
lbu t7,-0x8(a1)
addu v0,v0,t1
lbu t6,-0x7(a1)
addu v1,v1,a3
lbu t5,-0x6(a1)
addu v0,v0,a3
lbu t3,-0x5(a1)
addu s0,s0,v1
lbu t1,-0x4(a1)
addu v0,v0,v1
lbu a3,-0x3(a1)
addu t9,t9,s0
lbu v1,-0x2(a1)
addu v0,v0,s0
lbu t4,-0x1(a1)
addu t8,t8,t9
addu v0,v0,t9
addu t7,t7,t8
addu v0,v0,t8
addu t6,t6,t7
addu v0,v0,t7
addu t5,t5,t6
addu v0,v0,t6
addu t3,t3,t5
addu v0,v0,t5
addu t1,t1,t3
addu v0,v0,t3
addu a3,a3,t1
addu v0,v0,t1
addu v1,v1,a3
addu v0,v0,a3
addu t4,t4,v1
addu v0,v0,v1
addu v0,v0,t4
bne a1,a2,0x00011cfc
_addu t0,t0,v0
addiu a2,t2,-0x11
sll a0,a0,0x4
andi t2,t2,0xf
beq t2,zero,0x00011df4
_subu a2,a2,a0
addiu a2,a2,0x1
addu v0,a1,a2
addiu a1,a1,0x1
lbu v1,-0x1(a1)
addu t4,t4,v1
bne a1,v0,0x00011de0
_addu t0,t0,t4
lui v0,0x8007
ori v0,v0,0x8071
multu t4,v0
mfhi a0
multu t0,v0
mfhi v0
srl a1,a0,0xf
sll a0,a1,0xc
subu a0,a0,a1
srl v0,v0,0xf
sll a0,a0,0x4
sll v1,v0,0xc
addu a0,a0,a1
subu v1,v1,v0
subu t4,t4,a0
sll v1,v1,0x4
addu v0,v1,v0
subu t0,t0,v0
sll v0,t0,0x10
lw s1,0x4(sp)
lw s0,0x0(sp)
addiu sp,sp,0x8
jr ra
_or v0,v0,t4
jr ra
_li v0,0x1
b 0x00011c48
_subu v0,v0,v1
b 0x00011ce8
_or t2,a2,zero
(translation_unit "uint adler32_z(uint param_1,byte *param_2,uint param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  uint uVar12;\n  byte *pbVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  \n  uVar12 = param_1 >> 0x10;\n  param_1 = param_1 & 0xffff;\n  if (param_3 == 1) {\n    param_1 = *param_2 + param_1;\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    uVar12 = param_1 + uVar12;\n    if (0xfff0 < uVar12) {\n      uVar12 = uVar12 - 0xfff1;\n    }\n    return uVar12 << 0x10 | param_1;\n  }\n  if (param_2 == (byte *)0x0) {\n    return 1;\n  }\n  if (param_3 < 0x10) {\n    if (param_3 != 0) {\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    return (uVar12 % 0xfff1) * 0x10000 | param_1;\n  }\n  if (param_3 < 0x15b0) {\nLAB_00011ce8:\n    uVar6 = param_3 - 0x10 >> 4;\n    pbVar13 = param_2 + (uVar6 + 1) * 0x10;\n    pbVar7 = param_2;\n    do {\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    } while (param_2 != pbVar13);\n    iVar1 = (param_3 - 0x11) + uVar6 * -0x10;\n    if ((param_3 & 0xf) != 0) goto LAB_00011dd8;\n  }\n  else {\n    do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);\n    if (param_3 == 0) goto LAB_00011e40;\n    iVar1 = uVar6 - 0x15b1;\n    if (0xf < param_3) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = param_2;\n    do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);\n  }\n  param_1 = param_1 % 0xfff1;\n  uVar12 = uVar12 % 0xfff1;\nLAB_00011e40:\n  return uVar12 * 0x10000 | param_1;\n}\n\n" (function_definition "uint adler32_z(uint param_1,byte *param_2,uint param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  uint uVar12;\n  byte *pbVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  \n  uVar12 = param_1 >> 0x10;\n  param_1 = param_1 & 0xffff;\n  if (param_3 == 1) {\n    param_1 = *param_2 + param_1;\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    uVar12 = param_1 + uVar12;\n    if (0xfff0 < uVar12) {\n      uVar12 = uVar12 - 0xfff1;\n    }\n    return uVar12 << 0x10 | param_1;\n  }\n  if (param_2 == (byte *)0x0) {\n    return 1;\n  }\n  if (param_3 < 0x10) {\n    if (param_3 != 0) {\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    return (uVar12 % 0xfff1) * 0x10000 | param_1;\n  }\n  if (param_3 < 0x15b0) {\nLAB_00011ce8:\n    uVar6 = param_3 - 0x10 >> 4;\n    pbVar13 = param_2 + (uVar6 + 1) * 0x10;\n    pbVar7 = param_2;\n    do {\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    } while (param_2 != pbVar13);\n    iVar1 = (param_3 - 0x11) + uVar6 * -0x10;\n    if ((param_3 & 0xf) != 0) goto LAB_00011dd8;\n  }\n  else {\n    do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);\n    if (param_3 == 0) goto LAB_00011e40;\n    iVar1 = uVar6 - 0x15b1;\n    if (0xf < param_3) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = param_2;\n    do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);\n  }\n  param_1 = param_1 % 0xfff1;\n  uVar12 = uVar12 % 0xfff1;\nLAB_00011e40:\n  return uVar12 * 0x10000 | param_1;\n}" type_identifier (function_declarator "adler32_z(uint param_1,byte *param_2,uint param_3)" identifier (parameter_list "(uint param_1,byte *param_2,uint param_3)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  uint uVar12;\n  byte *pbVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  \n  uVar12 = param_1 >> 0x10;\n  param_1 = param_1 & 0xffff;\n  if (param_3 == 1) {\n    param_1 = *param_2 + param_1;\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    uVar12 = param_1 + uVar12;\n    if (0xfff0 < uVar12) {\n      uVar12 = uVar12 - 0xfff1;\n    }\n    return uVar12 << 0x10 | param_1;\n  }\n  if (param_2 == (byte *)0x0) {\n    return 1;\n  }\n  if (param_3 < 0x10) {\n    if (param_3 != 0) {\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    return (uVar12 % 0xfff1) * 0x10000 | param_1;\n  }\n  if (param_3 < 0x15b0) {\nLAB_00011ce8:\n    uVar6 = param_3 - 0x10 >> 4;\n    pbVar13 = param_2 + (uVar6 + 1) * 0x10;\n    pbVar7 = param_2;\n    do {\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    } while (param_2 != pbVar13);\n    iVar1 = (param_3 - 0x11) + uVar6 * -0x10;\n    if ((param_3 & 0xf) != 0) goto LAB_00011dd8;\n  }\n  else {\n    do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);\n    if (param_3 == 0) goto LAB_00011e40;\n    iVar1 = uVar6 - 0x15b1;\n    if (0xf < param_3) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = param_2;\n    do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);\n  }\n  param_1 = param_1 % 0xfff1;\n  uVar12 = uVar12 % 0xfff1;\nLAB_00011e40:\n  return uVar12 * 0x10000 | param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "byte *pbVar13;" type_identifier (pointer_declarator "*pbVar13" * identifier) ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (expression_statement "uVar12 = param_1 >> 0x10;" (assignment_expression "uVar12 = param_1 >> 0x10" identifier = (binary_expression "param_1 >> 0x10" identifier >> number_literal)) ;) (expression_statement "param_1 = param_1 & 0xffff;" (assignment_expression "param_1 = param_1 & 0xffff" identifier = (binary_expression "param_1 & 0xffff" identifier & number_literal)) ;) (if_statement "if (param_3 == 1) {\n    param_1 = *param_2 + param_1;\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    uVar12 = param_1 + uVar12;\n    if (0xfff0 < uVar12) {\n      uVar12 = uVar12 - 0xfff1;\n    }\n    return uVar12 << 0x10 | param_1;\n  }" if (parenthesized_expression "(param_3 == 1)" ( (binary_expression "param_3 == 1" identifier == number_literal) )) (compound_statement "{\n    param_1 = *param_2 + param_1;\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    uVar12 = param_1 + uVar12;\n    if (0xfff0 < uVar12) {\n      uVar12 = uVar12 - 0xfff1;\n    }\n    return uVar12 << 0x10 | param_1;\n  }" { (expression_statement "param_1 = *param_2 + param_1;" (assignment_expression "param_1 = *param_2 + param_1" identifier = (binary_expression "*param_2 + param_1" (pointer_expression "*param_2" * identifier) + identifier)) ;) (if_statement "if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }" if (parenthesized_expression "(0xfff0 < param_1)" ( (binary_expression "0xfff0 < param_1" number_literal < identifier) )) (compound_statement "{\n      param_1 = param_1 - 0xfff1;\n    }" { (expression_statement "param_1 = param_1 - 0xfff1;" (assignment_expression "param_1 = param_1 - 0xfff1" identifier = (binary_expression "param_1 - 0xfff1" identifier - number_literal)) ;) })) (expression_statement "uVar12 = param_1 + uVar12;" (assignment_expression "uVar12 = param_1 + uVar12" identifier = (binary_expression "param_1 + uVar12" identifier + identifier)) ;) (if_statement "if (0xfff0 < uVar12) {\n      uVar12 = uVar12 - 0xfff1;\n    }" if (parenthesized_expression "(0xfff0 < uVar12)" ( (binary_expression "0xfff0 < uVar12" number_literal < identifier) )) (compound_statement "{\n      uVar12 = uVar12 - 0xfff1;\n    }" { (expression_statement "uVar12 = uVar12 - 0xfff1;" (assignment_expression "uVar12 = uVar12 - 0xfff1" identifier = (binary_expression "uVar12 - 0xfff1" identifier - number_literal)) ;) })) (return_statement "return uVar12 << 0x10 | param_1;" return (binary_expression "uVar12 << 0x10 | param_1" (binary_expression "uVar12 << 0x10" identifier << number_literal) | identifier) ;) })) (if_statement "if (param_2 == (byte *)0x0) {\n    return 1;\n  }" if (parenthesized_expression "(param_2 == (byte *)0x0)" ( (binary_expression "param_2 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (param_3 < 0x10) {\n    if (param_3 != 0) {\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    return (uVar12 % 0xfff1) * 0x10000 | param_1;\n  }" if (parenthesized_expression "(param_3 < 0x10)" ( (binary_expression "param_3 < 0x10" identifier < number_literal) )) (compound_statement "{\n    if (param_3 != 0) {\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    return (uVar12 % 0xfff1) * 0x10000 | param_1;\n  }" { (if_statement "if (param_3 != 0) {\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }" { (expression_statement "pbVar7 = param_2;" (assignment_expression "pbVar7 = param_2" identifier = identifier) ;) (do_statement "do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);" do (compound_statement "{\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      }" { (expression_statement "pbVar13 = pbVar7 + 1;" (assignment_expression "pbVar13 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "param_1 = param_1 + *pbVar7;" (assignment_expression "param_1 = param_1 + *pbVar7" identifier = (binary_expression "param_1 + *pbVar7" identifier + (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "uVar12 = uVar12 + param_1;" (assignment_expression "uVar12 = uVar12 + param_1" identifier = (binary_expression "uVar12 + param_1" identifier + identifier)) ;) (expression_statement "pbVar7 = pbVar13;" (assignment_expression "pbVar7 = pbVar13" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar13 != param_2 + param_3)" ( (binary_expression "pbVar13 != param_2 + param_3" identifier != (binary_expression "param_2 + param_3" identifier + identifier)) )) ;) })) (if_statement "if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }" if (parenthesized_expression "(0xfff0 < param_1)" ( (binary_expression "0xfff0 < param_1" number_literal < identifier) )) (compound_statement "{\n      param_1 = param_1 - 0xfff1;\n    }" { (expression_statement "param_1 = param_1 - 0xfff1;" (assignment_expression "param_1 = param_1 - 0xfff1" identifier = (binary_expression "param_1 - 0xfff1" identifier - number_literal)) ;) })) (return_statement "return (uVar12 % 0xfff1) * 0x10000 | param_1;" return (binary_expression "(uVar12 % 0xfff1) * 0x10000 | param_1" (binary_expression "(uVar12 % 0xfff1) * 0x10000" (parenthesized_expression "(uVar12 % 0xfff1)" ( (binary_expression "uVar12 % 0xfff1" identifier % number_literal) )) * number_literal) | identifier) ;) })) (if_statement "if (param_3 < 0x15b0) {\nLAB_00011ce8:\n    uVar6 = param_3 - 0x10 >> 4;\n    pbVar13 = param_2 + (uVar6 + 1) * 0x10;\n    pbVar7 = param_2;\n    do {\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    } while (param_2 != pbVar13);\n    iVar1 = (param_3 - 0x11) + uVar6 * -0x10;\n    if ((param_3 & 0xf) != 0) goto LAB_00011dd8;\n  }\n  else {\n    do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);\n    if (param_3 == 0) goto LAB_00011e40;\n    iVar1 = uVar6 - 0x15b1;\n    if (0xf < param_3) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = param_2;\n    do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);\n  }" if (parenthesized_expression "(param_3 < 0x15b0)" ( (binary_expression "param_3 < 0x15b0" identifier < number_literal) )) (compound_statement "{\nLAB_00011ce8:\n    uVar6 = param_3 - 0x10 >> 4;\n    pbVar13 = param_2 + (uVar6 + 1) * 0x10;\n    pbVar7 = param_2;\n    do {\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    } while (param_2 != pbVar13);\n    iVar1 = (param_3 - 0x11) + uVar6 * -0x10;\n    if ((param_3 & 0xf) != 0) goto LAB_00011dd8;\n  }" { (labeled_statement "LAB_00011ce8:\n    uVar6 = param_3 - 0x10 >> 4;" statement_identifier : (expression_statement "uVar6 = param_3 - 0x10 >> 4;" (assignment_expression "uVar6 = param_3 - 0x10 >> 4" identifier = (binary_expression "param_3 - 0x10 >> 4" (binary_expression "param_3 - 0x10" identifier - number_literal) >> number_literal)) ;)) (expression_statement "pbVar13 = param_2 + (uVar6 + 1) * 0x10;" (assignment_expression "pbVar13 = param_2 + (uVar6 + 1) * 0x10" identifier = (binary_expression "param_2 + (uVar6 + 1) * 0x10" identifier + (binary_expression "(uVar6 + 1) * 0x10" (parenthesized_expression "(uVar6 + 1)" ( (binary_expression "uVar6 + 1" identifier + number_literal) )) * number_literal))) ;) (expression_statement "pbVar7 = param_2;" (assignment_expression "pbVar7 = param_2" identifier = identifier) ;) (do_statement "do {\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    } while (param_2 != pbVar13);" do (compound_statement "{\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    }" { (expression_statement "param_2 = pbVar7 + 0x10;" (assignment_expression "param_2 = pbVar7 + 0x10" identifier = (binary_expression "pbVar7 + 0x10" identifier + number_literal)) ;) (expression_statement "iVar1 = *pbVar7 + param_1;" (assignment_expression "iVar1 = *pbVar7 + param_1" identifier = (binary_expression "*pbVar7 + param_1" (pointer_expression "*pbVar7" * identifier) + identifier)) ;) (expression_statement "iVar10 = (uint)pbVar7[1] + iVar1;" (assignment_expression "iVar10 = (uint)pbVar7[1] + iVar1" identifier = (binary_expression "(uint)pbVar7[1] + iVar1" (cast_expression "(uint)pbVar7[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[1]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar8 = (uint)pbVar7[2] + iVar10;" (assignment_expression "iVar8 = (uint)pbVar7[2] + iVar10" identifier = (binary_expression "(uint)pbVar7[2] + iVar10" (cast_expression "(uint)pbVar7[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[2]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar4 = (uint)pbVar7[3] + iVar8;" (assignment_expression "iVar4 = (uint)pbVar7[3] + iVar8" identifier = (binary_expression "(uint)pbVar7[3] + iVar8" (cast_expression "(uint)pbVar7[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[3]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar2 = (uint)pbVar7[4] + iVar4;" (assignment_expression "iVar2 = (uint)pbVar7[4] + iVar4" identifier = (binary_expression "(uint)pbVar7[4] + iVar4" (cast_expression "(uint)pbVar7[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[4]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar17 = (uint)pbVar7[5] + iVar2;" (assignment_expression "iVar17 = (uint)pbVar7[5] + iVar2" identifier = (binary_expression "(uint)pbVar7[5] + iVar2" (cast_expression "(uint)pbVar7[5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[5]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar19 = (uint)pbVar7[6] + iVar17;" (assignment_expression "iVar19 = (uint)pbVar7[6] + iVar17" identifier = (binary_expression "(uint)pbVar7[6] + iVar17" (cast_expression "(uint)pbVar7[6]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[6]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar18 = (uint)pbVar7[7] + iVar19;" (assignment_expression "iVar18 = (uint)pbVar7[7] + iVar19" identifier = (binary_expression "(uint)pbVar7[7] + iVar19" (cast_expression "(uint)pbVar7[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[7]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar16 = (uint)pbVar7[8] + iVar18;" (assignment_expression "iVar16 = (uint)pbVar7[8] + iVar18" identifier = (binary_expression "(uint)pbVar7[8] + iVar18" (cast_expression "(uint)pbVar7[8]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[8]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar15 = (uint)pbVar7[9] + iVar16;" (assignment_expression "iVar15 = (uint)pbVar7[9] + iVar16" identifier = (binary_expression "(uint)pbVar7[9] + iVar16" (cast_expression "(uint)pbVar7[9]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[9]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar14 = (uint)pbVar7[10] + iVar15;" (assignment_expression "iVar14 = (uint)pbVar7[10] + iVar15" identifier = (binary_expression "(uint)pbVar7[10] + iVar15" (cast_expression "(uint)pbVar7[10]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[10]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar11 = (uint)pbVar7[0xb] + iVar14;" (assignment_expression "iVar11 = (uint)pbVar7[0xb] + iVar14" identifier = (binary_expression "(uint)pbVar7[0xb] + iVar14" (cast_expression "(uint)pbVar7[0xb]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xb]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar9 = (uint)pbVar7[0xc] + iVar11;" (assignment_expression "iVar9 = (uint)pbVar7[0xc] + iVar11" identifier = (binary_expression "(uint)pbVar7[0xc] + iVar11" (cast_expression "(uint)pbVar7[0xc]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xc]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar5 = (uint)pbVar7[0xd] + iVar9;" (assignment_expression "iVar5 = (uint)pbVar7[0xd] + iVar9" identifier = (binary_expression "(uint)pbVar7[0xd] + iVar9" (cast_expression "(uint)pbVar7[0xd]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xd]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar3 = (uint)pbVar7[0xe] + iVar5;" (assignment_expression "iVar3 = (uint)pbVar7[0xe] + iVar5" identifier = (binary_expression "(uint)pbVar7[0xe] + iVar5" (cast_expression "(uint)pbVar7[0xe]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xe]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "param_1 = (uint)pbVar7[0xf] + iVar3;" (assignment_expression "param_1 = (uint)pbVar7[0xf] + iVar3" identifier = (binary_expression "(uint)pbVar7[0xf] + iVar3" (cast_expression "(uint)pbVar7[0xf]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xf]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;" (assignment_expression "uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1" identifier = (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8" (binary_expression "uVar12 + iVar1 + iVar10" (binary_expression "uVar12 + iVar1" identifier + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier)) ;) (expression_statement "pbVar7 = param_2;" (assignment_expression "pbVar7 = param_2" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 != pbVar13)" ( (binary_expression "param_2 != pbVar13" identifier != identifier) )) ;) (expression_statement "iVar1 = (param_3 - 0x11) + uVar6 * -0x10;" (assignment_expression "iVar1 = (param_3 - 0x11) + uVar6 * -0x10" identifier = (binary_expression "(param_3 - 0x11) + uVar6 * -0x10" (parenthesized_expression "(param_3 - 0x11)" ( (binary_expression "param_3 - 0x11" identifier - number_literal) )) + (binary_expression "uVar6 * -0x10" identifier * number_literal))) ;) (if_statement "if ((param_3 & 0xf) != 0) goto LAB_00011dd8;" if (parenthesized_expression "((param_3 & 0xf) != 0)" ( (binary_expression "(param_3 & 0xf) != 0" (parenthesized_expression "(param_3 & 0xf)" ( (binary_expression "param_3 & 0xf" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00011dd8;" goto statement_identifier ;)) }) (else_clause "else {\n    do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);\n    if (param_3 == 0) goto LAB_00011e40;\n    iVar1 = uVar6 - 0x15b1;\n    if (0xf < param_3) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = param_2;\n    do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);\n  }" else (compound_statement "{\n    do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);\n    if (param_3 == 0) goto LAB_00011e40;\n    iVar1 = uVar6 - 0x15b1;\n    if (0xf < param_3) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = param_2;\n    do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);\n  }" { (do_statement "do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);" do (compound_statement "{\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    }" { (expression_statement "uVar6 = param_3;" (assignment_expression "uVar6 = param_3" identifier = identifier) ;) (expression_statement "param_3 = uVar6 - 0x15b0;" (assignment_expression "param_3 = uVar6 - 0x15b0" identifier = (binary_expression "uVar6 - 0x15b0" identifier - number_literal)) ;) (expression_statement "pbVar13 = param_2 + 0x15b0;" (assignment_expression "pbVar13 = param_2 + 0x15b0" identifier = (binary_expression "param_2 + 0x15b0" identifier + number_literal)) ;) (expression_statement "pbVar7 = param_2;" (assignment_expression "pbVar7 = param_2" identifier = identifier) ;) (do_statement "do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);" do (compound_statement "{\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      }" { (expression_statement "param_2 = pbVar7 + 0x10;" (assignment_expression "param_2 = pbVar7 + 0x10" identifier = (binary_expression "pbVar7 + 0x10" identifier + number_literal)) ;) (expression_statement "iVar1 = *pbVar7 + param_1;" (assignment_expression "iVar1 = *pbVar7 + param_1" identifier = (binary_expression "*pbVar7 + param_1" (pointer_expression "*pbVar7" * identifier) + identifier)) ;) (expression_statement "iVar15 = (uint)pbVar7[1] + iVar1;" (assignment_expression "iVar15 = (uint)pbVar7[1] + iVar1" identifier = (binary_expression "(uint)pbVar7[1] + iVar1" (cast_expression "(uint)pbVar7[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[1]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar8 = (uint)pbVar7[2] + iVar15;" (assignment_expression "iVar8 = (uint)pbVar7[2] + iVar15" identifier = (binary_expression "(uint)pbVar7[2] + iVar15" (cast_expression "(uint)pbVar7[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[2]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar14 = (uint)pbVar7[3] + iVar8;" (assignment_expression "iVar14 = (uint)pbVar7[3] + iVar8" identifier = (binary_expression "(uint)pbVar7[3] + iVar8" (cast_expression "(uint)pbVar7[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[3]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar2 = (uint)pbVar7[4] + iVar14;" (assignment_expression "iVar2 = (uint)pbVar7[4] + iVar14" identifier = (binary_expression "(uint)pbVar7[4] + iVar14" (cast_expression "(uint)pbVar7[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[4]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar18 = (uint)pbVar7[5] + iVar2;" (assignment_expression "iVar18 = (uint)pbVar7[5] + iVar2" identifier = (binary_expression "(uint)pbVar7[5] + iVar2" (cast_expression "(uint)pbVar7[5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[5]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar4 = (uint)pbVar7[6] + iVar18;" (assignment_expression "iVar4 = (uint)pbVar7[6] + iVar18" identifier = (binary_expression "(uint)pbVar7[6] + iVar18" (cast_expression "(uint)pbVar7[6]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[6]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar17 = (uint)pbVar7[7] + iVar4;" (assignment_expression "iVar17 = (uint)pbVar7[7] + iVar4" identifier = (binary_expression "(uint)pbVar7[7] + iVar4" (cast_expression "(uint)pbVar7[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[7]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar9 = (uint)pbVar7[8] + iVar17;" (assignment_expression "iVar9 = (uint)pbVar7[8] + iVar17" identifier = (binary_expression "(uint)pbVar7[8] + iVar17" (cast_expression "(uint)pbVar7[8]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[8]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar19 = (uint)pbVar7[9] + iVar9;" (assignment_expression "iVar19 = (uint)pbVar7[9] + iVar9" identifier = (binary_expression "(uint)pbVar7[9] + iVar9" (cast_expression "(uint)pbVar7[9]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[9]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar10 = (uint)pbVar7[10] + iVar19;" (assignment_expression "iVar10 = (uint)pbVar7[10] + iVar19" identifier = (binary_expression "(uint)pbVar7[10] + iVar19" (cast_expression "(uint)pbVar7[10]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[10]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar3 = (uint)pbVar7[0xb] + iVar10;" (assignment_expression "iVar3 = (uint)pbVar7[0xb] + iVar10" identifier = (binary_expression "(uint)pbVar7[0xb] + iVar10" (cast_expression "(uint)pbVar7[0xb]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xb]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar16 = (uint)pbVar7[0xc] + iVar3;" (assignment_expression "iVar16 = (uint)pbVar7[0xc] + iVar3" identifier = (binary_expression "(uint)pbVar7[0xc] + iVar3" (cast_expression "(uint)pbVar7[0xc]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xc]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar11 = (uint)pbVar7[0xd] + iVar16;" (assignment_expression "iVar11 = (uint)pbVar7[0xd] + iVar16" identifier = (binary_expression "(uint)pbVar7[0xd] + iVar16" (cast_expression "(uint)pbVar7[0xd]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xd]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar5 = (uint)pbVar7[0xe] + iVar11;" (assignment_expression "iVar5 = (uint)pbVar7[0xe] + iVar11" identifier = (binary_expression "(uint)pbVar7[0xe] + iVar11" (cast_expression "(uint)pbVar7[0xe]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xe]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "param_1 = (uint)pbVar7[0xf] + iVar5;" (assignment_expression "param_1 = (uint)pbVar7[0xf] + iVar5" identifier = (binary_expression "(uint)pbVar7[0xf] + iVar5" (cast_expression "(uint)pbVar7[0xf]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xf]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;" (assignment_expression "uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1" identifier = (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8" (binary_expression "uVar12 + iVar1 + iVar15" (binary_expression "uVar12 + iVar1" identifier + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier)) ;) (expression_statement "pbVar7 = param_2;" (assignment_expression "pbVar7 = param_2" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 != pbVar13)" ( (binary_expression "param_2 != pbVar13" identifier != identifier) )) ;) (expression_statement "param_1 = param_1 % 0xfff1;" (assignment_expression "param_1 = param_1 % 0xfff1" identifier = (binary_expression "param_1 % 0xfff1" identifier % number_literal)) ;) (expression_statement "uVar12 = uVar12 % 0xfff1;" (assignment_expression "uVar12 = uVar12 % 0xfff1" identifier = (binary_expression "uVar12 % 0xfff1" identifier % number_literal)) ;) }) while (parenthesized_expression "(0x15af < param_3)" ( (binary_expression "0x15af < param_3" number_literal < identifier) )) ;) (if_statement "if (param_3 == 0) goto LAB_00011e40;" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00011e40;" goto statement_identifier ;)) (expression_statement "iVar1 = uVar6 - 0x15b1;" (assignment_expression "iVar1 = uVar6 - 0x15b1" identifier = (binary_expression "uVar6 - 0x15b1" identifier - number_literal)) ;) (if_statement "if (0xf < param_3) goto LAB_00011ce8;" if (parenthesized_expression "(0xf < param_3)" ( (binary_expression "0xf < param_3" number_literal < identifier) )) (goto_statement "goto LAB_00011ce8;" goto statement_identifier ;)) (labeled_statement "LAB_00011dd8:\n    pbVar7 = param_2;" statement_identifier : (expression_statement "pbVar7 = param_2;" (assignment_expression "pbVar7 = param_2" identifier = identifier) ;)) (do_statement "do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);" do (compound_statement "{\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    }" { (expression_statement "pbVar13 = pbVar7 + 1;" (assignment_expression "pbVar13 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "param_1 = param_1 + *pbVar7;" (assignment_expression "param_1 = param_1 + *pbVar7" identifier = (binary_expression "param_1 + *pbVar7" identifier + (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "uVar12 = uVar12 + param_1;" (assignment_expression "uVar12 = uVar12 + param_1" identifier = (binary_expression "uVar12 + param_1" identifier + identifier)) ;) (expression_statement "pbVar7 = pbVar13;" (assignment_expression "pbVar7 = pbVar13" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar13 != param_2 + iVar1 + 1)" ( (binary_expression "pbVar13 != param_2 + iVar1 + 1" identifier != (binary_expression "param_2 + iVar1 + 1" (binary_expression "param_2 + iVar1" identifier + identifier) + number_literal)) )) ;) }))) (expression_statement "param_1 = param_1 % 0xfff1;" (assignment_expression "param_1 = param_1 % 0xfff1" identifier = (binary_expression "param_1 % 0xfff1" identifier % number_literal)) ;) (expression_statement "uVar12 = uVar12 % 0xfff1;" (assignment_expression "uVar12 = uVar12 % 0xfff1" identifier = (binary_expression "uVar12 % 0xfff1" identifier % number_literal)) ;) (labeled_statement "LAB_00011e40:\n  return uVar12 * 0x10000 | param_1;" statement_identifier : (return_statement "return uVar12 * 0x10000 | param_1;" return (binary_expression "uVar12 * 0x10000 | param_1" (binary_expression "uVar12 * 0x10000" identifier * number_literal) | identifier) ;)) })))
(translation_unit "uLong adler32_z(uLong adler,Bytef *buf,z_size_t len)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  z_size_t zVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  uint uVar13;\n  byte *pbVar14;\n  uint uVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  \n  uVar13 = adler >> 0x10;\n  uVar15 = adler & 0xffff;\n  if (len == 1) {\n    uVar15 = *buf + uVar15;\n    if (0xfff0 < uVar15) {\n      uVar15 = uVar15 - 0xfff1;\n    }\n    uVar13 = uVar15 + uVar13;\n    if (0xfff0 < uVar13) {\n      uVar13 = uVar13 - 0xfff1;\n    }\n    return uVar13 << 0x10 | uVar15;\n  }\n  if (buf == (Bytef *)0x0) {\n    return 1;\n  }\n  if (len < 0x10) {\n    if (len != 0) {\n      pbVar7 = buf;\n      do {\n        pbVar14 = pbVar7 + 1;\n        uVar15 = uVar15 + *pbVar7;\n        uVar13 = uVar13 + uVar15;\n        pbVar7 = pbVar14;\n      } while (pbVar14 != buf + len);\n    }\n    if (0xfff0 < uVar15) {\n      uVar15 = uVar15 - 0xfff1;\n    }\n    return (uVar13 % 0xfff1) * 0x10000 | uVar15;\n  }\n  if (len < 0x15b0) {\nLAB_00011ce8:\n    uVar6 = len - 0x10 >> 4;\n    pbVar14 = buf + (uVar6 + 1) * 0x10;\n    pbVar7 = buf;\n    do {\n      buf = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + uVar15;\n      iVar11 = (uint)pbVar7[1] + iVar1;\n      iVar9 = (uint)pbVar7[2] + iVar11;\n      iVar4 = (uint)pbVar7[3] + iVar9;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar19 = (uint)pbVar7[5] + iVar2;\n      iVar21 = (uint)pbVar7[6] + iVar19;\n      iVar20 = (uint)pbVar7[7] + iVar21;\n      iVar18 = (uint)pbVar7[8] + iVar20;\n      iVar17 = (uint)pbVar7[9] + iVar18;\n      iVar16 = (uint)pbVar7[10] + iVar17;\n      iVar12 = (uint)pbVar7[0xb] + iVar16;\n      iVar10 = (uint)pbVar7[0xc] + iVar12;\n      iVar5 = (uint)pbVar7[0xd] + iVar10;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      uVar15 = (uint)pbVar7[0xf] + iVar3;\n      uVar13 = uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20 + iVar18 +\n                        iVar17 + iVar16 + iVar12 + iVar10 + iVar5 + iVar3 + uVar15;\n      pbVar7 = buf;\n    } while (buf != pbVar14);\n    iVar1 = (len - 0x11) + uVar6 * -0x10;\n    if ((len & 0xf) != 0) goto LAB_00011dd8;\n  }\n  else {\n    do {\n      zVar8 = len;\n      len = zVar8 - 0x15b0;\n      pbVar14 = buf + 0x15b0;\n      pbVar7 = buf;\n      do {\n        buf = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + uVar15;\n        iVar17 = (uint)pbVar7[1] + iVar1;\n        iVar9 = (uint)pbVar7[2] + iVar17;\n        iVar16 = (uint)pbVar7[3] + iVar9;\n        iVar2 = (uint)pbVar7[4] + iVar16;\n        iVar20 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar20;\n        iVar19 = (uint)pbVar7[7] + iVar4;\n        iVar10 = (uint)pbVar7[8] + iVar19;\n        iVar21 = (uint)pbVar7[9] + iVar10;\n        iVar11 = (uint)pbVar7[10] + iVar21;\n        iVar3 = (uint)pbVar7[0xb] + iVar11;\n        iVar18 = (uint)pbVar7[0xc] + iVar3;\n        iVar12 = (uint)pbVar7[0xd] + iVar18;\n        iVar5 = (uint)pbVar7[0xe] + iVar12;\n        uVar15 = (uint)pbVar7[0xf] + iVar5;\n        uVar13 = uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21 + iVar11 + iVar3 + iVar18 + iVar12 + iVar5 + uVar15;\n        pbVar7 = buf;\n      } while (buf != pbVar14);\n      uVar15 = uVar15 % 0xfff1;\n      uVar13 = uVar13 % 0xfff1;\n    } while (0x15af < len);\n    if (len == 0) goto LAB_00011e40;\n    iVar1 = zVar8 - 0x15b1;\n    if (0xf < len) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = buf;\n    do {\n      pbVar14 = pbVar7 + 1;\n      uVar15 = uVar15 + *pbVar7;\n      uVar13 = uVar13 + uVar15;\n      pbVar7 = pbVar14;\n    } while (pbVar14 != buf + iVar1 + 1);\n  }\n  uVar15 = uVar15 % 0xfff1;\n  uVar13 = uVar13 % 0xfff1;\nLAB_00011e40:\n  return uVar13 * 0x10000 | uVar15;\n}\n\n" (function_definition "uLong adler32_z(uLong adler,Bytef *buf,z_size_t len)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  z_size_t zVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  uint uVar13;\n  byte *pbVar14;\n  uint uVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  \n  uVar13 = adler >> 0x10;\n  uVar15 = adler & 0xffff;\n  if (len == 1) {\n    uVar15 = *buf + uVar15;\n    if (0xfff0 < uVar15) {\n      uVar15 = uVar15 - 0xfff1;\n    }\n    uVar13 = uVar15 + uVar13;\n    if (0xfff0 < uVar13) {\n      uVar13 = uVar13 - 0xfff1;\n    }\n    return uVar13 << 0x10 | uVar15;\n  }\n  if (buf == (Bytef *)0x0) {\n    return 1;\n  }\n  if (len < 0x10) {\n    if (len != 0) {\n      pbVar7 = buf;\n      do {\n        pbVar14 = pbVar7 + 1;\n        uVar15 = uVar15 + *pbVar7;\n        uVar13 = uVar13 + uVar15;\n        pbVar7 = pbVar14;\n      } while (pbVar14 != buf + len);\n    }\n    if (0xfff0 < uVar15) {\n      uVar15 = uVar15 - 0xfff1;\n    }\n    return (uVar13 % 0xfff1) * 0x10000 | uVar15;\n  }\n  if (len < 0x15b0) {\nLAB_00011ce8:\n    uVar6 = len - 0x10 >> 4;\n    pbVar14 = buf + (uVar6 + 1) * 0x10;\n    pbVar7 = buf;\n    do {\n      buf = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + uVar15;\n      iVar11 = (uint)pbVar7[1] + iVar1;\n      iVar9 = (uint)pbVar7[2] + iVar11;\n      iVar4 = (uint)pbVar7[3] + iVar9;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar19 = (uint)pbVar7[5] + iVar2;\n      iVar21 = (uint)pbVar7[6] + iVar19;\n      iVar20 = (uint)pbVar7[7] + iVar21;\n      iVar18 = (uint)pbVar7[8] + iVar20;\n      iVar17 = (uint)pbVar7[9] + iVar18;\n      iVar16 = (uint)pbVar7[10] + iVar17;\n      iVar12 = (uint)pbVar7[0xb] + iVar16;\n      iVar10 = (uint)pbVar7[0xc] + iVar12;\n      iVar5 = (uint)pbVar7[0xd] + iVar10;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      uVar15 = (uint)pbVar7[0xf] + iVar3;\n      uVar13 = uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20 + iVar18 +\n                        iVar17 + iVar16 + iVar12 + iVar10 + iVar5 + iVar3 + uVar15;\n      pbVar7 = buf;\n    } while (buf != pbVar14);\n    iVar1 = (len - 0x11) + uVar6 * -0x10;\n    if ((len & 0xf) != 0) goto LAB_00011dd8;\n  }\n  else {\n    do {\n      zVar8 = len;\n      len = zVar8 - 0x15b0;\n      pbVar14 = buf + 0x15b0;\n      pbVar7 = buf;\n      do {\n        buf = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + uVar15;\n        iVar17 = (uint)pbVar7[1] + iVar1;\n        iVar9 = (uint)pbVar7[2] + iVar17;\n        iVar16 = (uint)pbVar7[3] + iVar9;\n        iVar2 = (uint)pbVar7[4] + iVar16;\n        iVar20 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar20;\n        iVar19 = (uint)pbVar7[7] + iVar4;\n        iVar10 = (uint)pbVar7[8] + iVar19;\n        iVar21 = (uint)pbVar7[9] + iVar10;\n        iVar11 = (uint)pbVar7[10] + iVar21;\n        iVar3 = (uint)pbVar7[0xb] + iVar11;\n        iVar18 = (uint)pbVar7[0xc] + iVar3;\n        iVar12 = (uint)pbVar7[0xd] + iVar18;\n        iVar5 = (uint)pbVar7[0xe] + iVar12;\n        uVar15 = (uint)pbVar7[0xf] + iVar5;\n        uVar13 = uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21 + iVar11 + iVar3 + iVar18 + iVar12 + iVar5 + uVar15;\n        pbVar7 = buf;\n      } while (buf != pbVar14);\n      uVar15 = uVar15 % 0xfff1;\n      uVar13 = uVar13 % 0xfff1;\n    } while (0x15af < len);\n    if (len == 0) goto LAB_00011e40;\n    iVar1 = zVar8 - 0x15b1;\n    if (0xf < len) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = buf;\n    do {\n      pbVar14 = pbVar7 + 1;\n      uVar15 = uVar15 + *pbVar7;\n      uVar13 = uVar13 + uVar15;\n      pbVar7 = pbVar14;\n    } while (pbVar14 != buf + iVar1 + 1);\n  }\n  uVar15 = uVar15 % 0xfff1;\n  uVar13 = uVar13 % 0xfff1;\nLAB_00011e40:\n  return uVar13 * 0x10000 | uVar15;\n}" type_identifier (function_declarator "adler32_z(uLong adler,Bytef *buf,z_size_t len)" identifier (parameter_list "(uLong adler,Bytef *buf,z_size_t len)" ( (parameter_declaration "uLong adler" type_identifier identifier) , (parameter_declaration "Bytef *buf" type_identifier (pointer_declarator "*buf" * identifier)) , (parameter_declaration "z_size_t len" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  z_size_t zVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  uint uVar13;\n  byte *pbVar14;\n  uint uVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  \n  uVar13 = adler >> 0x10;\n  uVar15 = adler & 0xffff;\n  if (len == 1) {\n    uVar15 = *buf + uVar15;\n    if (0xfff0 < uVar15) {\n      uVar15 = uVar15 - 0xfff1;\n    }\n    uVar13 = uVar15 + uVar13;\n    if (0xfff0 < uVar13) {\n      uVar13 = uVar13 - 0xfff1;\n    }\n    return uVar13 << 0x10 | uVar15;\n  }\n  if (buf == (Bytef *)0x0) {\n    return 1;\n  }\n  if (len < 0x10) {\n    if (len != 0) {\n      pbVar7 = buf;\n      do {\n        pbVar14 = pbVar7 + 1;\n        uVar15 = uVar15 + *pbVar7;\n        uVar13 = uVar13 + uVar15;\n        pbVar7 = pbVar14;\n      } while (pbVar14 != buf + len);\n    }\n    if (0xfff0 < uVar15) {\n      uVar15 = uVar15 - 0xfff1;\n    }\n    return (uVar13 % 0xfff1) * 0x10000 | uVar15;\n  }\n  if (len < 0x15b0) {\nLAB_00011ce8:\n    uVar6 = len - 0x10 >> 4;\n    pbVar14 = buf + (uVar6 + 1) * 0x10;\n    pbVar7 = buf;\n    do {\n      buf = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + uVar15;\n      iVar11 = (uint)pbVar7[1] + iVar1;\n      iVar9 = (uint)pbVar7[2] + iVar11;\n      iVar4 = (uint)pbVar7[3] + iVar9;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar19 = (uint)pbVar7[5] + iVar2;\n      iVar21 = (uint)pbVar7[6] + iVar19;\n      iVar20 = (uint)pbVar7[7] + iVar21;\n      iVar18 = (uint)pbVar7[8] + iVar20;\n      iVar17 = (uint)pbVar7[9] + iVar18;\n      iVar16 = (uint)pbVar7[10] + iVar17;\n      iVar12 = (uint)pbVar7[0xb] + iVar16;\n      iVar10 = (uint)pbVar7[0xc] + iVar12;\n      iVar5 = (uint)pbVar7[0xd] + iVar10;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      uVar15 = (uint)pbVar7[0xf] + iVar3;\n      uVar13 = uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20 + iVar18 +\n                        iVar17 + iVar16 + iVar12 + iVar10 + iVar5 + iVar3 + uVar15;\n      pbVar7 = buf;\n    } while (buf != pbVar14);\n    iVar1 = (len - 0x11) + uVar6 * -0x10;\n    if ((len & 0xf) != 0) goto LAB_00011dd8;\n  }\n  else {\n    do {\n      zVar8 = len;\n      len = zVar8 - 0x15b0;\n      pbVar14 = buf + 0x15b0;\n      pbVar7 = buf;\n      do {\n        buf = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + uVar15;\n        iVar17 = (uint)pbVar7[1] + iVar1;\n        iVar9 = (uint)pbVar7[2] + iVar17;\n        iVar16 = (uint)pbVar7[3] + iVar9;\n        iVar2 = (uint)pbVar7[4] + iVar16;\n        iVar20 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar20;\n        iVar19 = (uint)pbVar7[7] + iVar4;\n        iVar10 = (uint)pbVar7[8] + iVar19;\n        iVar21 = (uint)pbVar7[9] + iVar10;\n        iVar11 = (uint)pbVar7[10] + iVar21;\n        iVar3 = (uint)pbVar7[0xb] + iVar11;\n        iVar18 = (uint)pbVar7[0xc] + iVar3;\n        iVar12 = (uint)pbVar7[0xd] + iVar18;\n        iVar5 = (uint)pbVar7[0xe] + iVar12;\n        uVar15 = (uint)pbVar7[0xf] + iVar5;\n        uVar13 = uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21 + iVar11 + iVar3 + iVar18 + iVar12 + iVar5 + uVar15;\n        pbVar7 = buf;\n      } while (buf != pbVar14);\n      uVar15 = uVar15 % 0xfff1;\n      uVar13 = uVar13 % 0xfff1;\n    } while (0x15af < len);\n    if (len == 0) goto LAB_00011e40;\n    iVar1 = zVar8 - 0x15b1;\n    if (0xf < len) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = buf;\n    do {\n      pbVar14 = pbVar7 + 1;\n      uVar15 = uVar15 + *pbVar7;\n      uVar13 = uVar13 + uVar15;\n      pbVar7 = pbVar14;\n    } while (pbVar14 != buf + iVar1 + 1);\n  }\n  uVar15 = uVar15 % 0xfff1;\n  uVar13 = uVar13 % 0xfff1;\nLAB_00011e40:\n  return uVar13 * 0x10000 | uVar15;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "z_size_t zVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "int iVar21;" primitive_type identifier ;) (expression_statement "uVar13 = adler >> 0x10;" (assignment_expression "uVar13 = adler >> 0x10" identifier = (binary_expression "adler >> 0x10" identifier >> number_literal)) ;) (expression_statement "uVar15 = adler & 0xffff;" (assignment_expression "uVar15 = adler & 0xffff" identifier = (binary_expression "adler & 0xffff" identifier & number_literal)) ;) (if_statement "if (len == 1) {\n    uVar15 = *buf + uVar15;\n    if (0xfff0 < uVar15) {\n      uVar15 = uVar15 - 0xfff1;\n    }\n    uVar13 = uVar15 + uVar13;\n    if (0xfff0 < uVar13) {\n      uVar13 = uVar13 - 0xfff1;\n    }\n    return uVar13 << 0x10 | uVar15;\n  }" if (parenthesized_expression "(len == 1)" ( (binary_expression "len == 1" identifier == number_literal) )) (compound_statement "{\n    uVar15 = *buf + uVar15;\n    if (0xfff0 < uVar15) {\n      uVar15 = uVar15 - 0xfff1;\n    }\n    uVar13 = uVar15 + uVar13;\n    if (0xfff0 < uVar13) {\n      uVar13 = uVar13 - 0xfff1;\n    }\n    return uVar13 << 0x10 | uVar15;\n  }" { (expression_statement "uVar15 = *buf + uVar15;" (assignment_expression "uVar15 = *buf + uVar15" identifier = (binary_expression "*buf + uVar15" (pointer_expression "*buf" * identifier) + identifier)) ;) (if_statement "if (0xfff0 < uVar15) {\n      uVar15 = uVar15 - 0xfff1;\n    }" if (parenthesized_expression "(0xfff0 < uVar15)" ( (binary_expression "0xfff0 < uVar15" number_literal < identifier) )) (compound_statement "{\n      uVar15 = uVar15 - 0xfff1;\n    }" { (expression_statement "uVar15 = uVar15 - 0xfff1;" (assignment_expression "uVar15 = uVar15 - 0xfff1" identifier = (binary_expression "uVar15 - 0xfff1" identifier - number_literal)) ;) })) (expression_statement "uVar13 = uVar15 + uVar13;" (assignment_expression "uVar13 = uVar15 + uVar13" identifier = (binary_expression "uVar15 + uVar13" identifier + identifier)) ;) (if_statement "if (0xfff0 < uVar13) {\n      uVar13 = uVar13 - 0xfff1;\n    }" if (parenthesized_expression "(0xfff0 < uVar13)" ( (binary_expression "0xfff0 < uVar13" number_literal < identifier) )) (compound_statement "{\n      uVar13 = uVar13 - 0xfff1;\n    }" { (expression_statement "uVar13 = uVar13 - 0xfff1;" (assignment_expression "uVar13 = uVar13 - 0xfff1" identifier = (binary_expression "uVar13 - 0xfff1" identifier - number_literal)) ;) })) (return_statement "return uVar13 << 0x10 | uVar15;" return (binary_expression "uVar13 << 0x10 | uVar15" (binary_expression "uVar13 << 0x10" identifier << number_literal) | identifier) ;) })) (if_statement "if (buf == (Bytef *)0x0) {\n    return 1;\n  }" if (parenthesized_expression "(buf == (Bytef *)0x0)" ( (binary_expression "buf == (Bytef *)0x0" identifier == (cast_expression "(Bytef *)0x0" ( (type_descriptor "Bytef *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (len < 0x10) {\n    if (len != 0) {\n      pbVar7 = buf;\n      do {\n        pbVar14 = pbVar7 + 1;\n        uVar15 = uVar15 + *pbVar7;\n        uVar13 = uVar13 + uVar15;\n        pbVar7 = pbVar14;\n      } while (pbVar14 != buf + len);\n    }\n    if (0xfff0 < uVar15) {\n      uVar15 = uVar15 - 0xfff1;\n    }\n    return (uVar13 % 0xfff1) * 0x10000 | uVar15;\n  }" if (parenthesized_expression "(len < 0x10)" ( (binary_expression "len < 0x10" identifier < number_literal) )) (compound_statement "{\n    if (len != 0) {\n      pbVar7 = buf;\n      do {\n        pbVar14 = pbVar7 + 1;\n        uVar15 = uVar15 + *pbVar7;\n        uVar13 = uVar13 + uVar15;\n        pbVar7 = pbVar14;\n      } while (pbVar14 != buf + len);\n    }\n    if (0xfff0 < uVar15) {\n      uVar15 = uVar15 - 0xfff1;\n    }\n    return (uVar13 % 0xfff1) * 0x10000 | uVar15;\n  }" { (if_statement "if (len != 0) {\n      pbVar7 = buf;\n      do {\n        pbVar14 = pbVar7 + 1;\n        uVar15 = uVar15 + *pbVar7;\n        uVar13 = uVar13 + uVar15;\n        pbVar7 = pbVar14;\n      } while (pbVar14 != buf + len);\n    }" if (parenthesized_expression "(len != 0)" ( (binary_expression "len != 0" identifier != number_literal) )) (compound_statement "{\n      pbVar7 = buf;\n      do {\n        pbVar14 = pbVar7 + 1;\n        uVar15 = uVar15 + *pbVar7;\n        uVar13 = uVar13 + uVar15;\n        pbVar7 = pbVar14;\n      } while (pbVar14 != buf + len);\n    }" { (expression_statement "pbVar7 = buf;" (assignment_expression "pbVar7 = buf" identifier = identifier) ;) (do_statement "do {\n        pbVar14 = pbVar7 + 1;\n        uVar15 = uVar15 + *pbVar7;\n        uVar13 = uVar13 + uVar15;\n        pbVar7 = pbVar14;\n      } while (pbVar14 != buf + len);" do (compound_statement "{\n        pbVar14 = pbVar7 + 1;\n        uVar15 = uVar15 + *pbVar7;\n        uVar13 = uVar13 + uVar15;\n        pbVar7 = pbVar14;\n      }" { (expression_statement "pbVar14 = pbVar7 + 1;" (assignment_expression "pbVar14 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar15 = uVar15 + *pbVar7;" (assignment_expression "uVar15 = uVar15 + *pbVar7" identifier = (binary_expression "uVar15 + *pbVar7" identifier + (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "uVar13 = uVar13 + uVar15;" (assignment_expression "uVar13 = uVar13 + uVar15" identifier = (binary_expression "uVar13 + uVar15" identifier + identifier)) ;) (expression_statement "pbVar7 = pbVar14;" (assignment_expression "pbVar7 = pbVar14" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar14 != buf + len)" ( (binary_expression "pbVar14 != buf + len" identifier != (binary_expression "buf + len" identifier + identifier)) )) ;) })) (if_statement "if (0xfff0 < uVar15) {\n      uVar15 = uVar15 - 0xfff1;\n    }" if (parenthesized_expression "(0xfff0 < uVar15)" ( (binary_expression "0xfff0 < uVar15" number_literal < identifier) )) (compound_statement "{\n      uVar15 = uVar15 - 0xfff1;\n    }" { (expression_statement "uVar15 = uVar15 - 0xfff1;" (assignment_expression "uVar15 = uVar15 - 0xfff1" identifier = (binary_expression "uVar15 - 0xfff1" identifier - number_literal)) ;) })) (return_statement "return (uVar13 % 0xfff1) * 0x10000 | uVar15;" return (binary_expression "(uVar13 % 0xfff1) * 0x10000 | uVar15" (binary_expression "(uVar13 % 0xfff1) * 0x10000" (parenthesized_expression "(uVar13 % 0xfff1)" ( (binary_expression "uVar13 % 0xfff1" identifier % number_literal) )) * number_literal) | identifier) ;) })) (if_statement "if (len < 0x15b0) {\nLAB_00011ce8:\n    uVar6 = len - 0x10 >> 4;\n    pbVar14 = buf + (uVar6 + 1) * 0x10;\n    pbVar7 = buf;\n    do {\n      buf = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + uVar15;\n      iVar11 = (uint)pbVar7[1] + iVar1;\n      iVar9 = (uint)pbVar7[2] + iVar11;\n      iVar4 = (uint)pbVar7[3] + iVar9;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar19 = (uint)pbVar7[5] + iVar2;\n      iVar21 = (uint)pbVar7[6] + iVar19;\n      iVar20 = (uint)pbVar7[7] + iVar21;\n      iVar18 = (uint)pbVar7[8] + iVar20;\n      iVar17 = (uint)pbVar7[9] + iVar18;\n      iVar16 = (uint)pbVar7[10] + iVar17;\n      iVar12 = (uint)pbVar7[0xb] + iVar16;\n      iVar10 = (uint)pbVar7[0xc] + iVar12;\n      iVar5 = (uint)pbVar7[0xd] + iVar10;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      uVar15 = (uint)pbVar7[0xf] + iVar3;\n      uVar13 = uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20 + iVar18 +\n                        iVar17 + iVar16 + iVar12 + iVar10 + iVar5 + iVar3 + uVar15;\n      pbVar7 = buf;\n    } while (buf != pbVar14);\n    iVar1 = (len - 0x11) + uVar6 * -0x10;\n    if ((len & 0xf) != 0) goto LAB_00011dd8;\n  }\n  else {\n    do {\n      zVar8 = len;\n      len = zVar8 - 0x15b0;\n      pbVar14 = buf + 0x15b0;\n      pbVar7 = buf;\n      do {\n        buf = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + uVar15;\n        iVar17 = (uint)pbVar7[1] + iVar1;\n        iVar9 = (uint)pbVar7[2] + iVar17;\n        iVar16 = (uint)pbVar7[3] + iVar9;\n        iVar2 = (uint)pbVar7[4] + iVar16;\n        iVar20 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar20;\n        iVar19 = (uint)pbVar7[7] + iVar4;\n        iVar10 = (uint)pbVar7[8] + iVar19;\n        iVar21 = (uint)pbVar7[9] + iVar10;\n        iVar11 = (uint)pbVar7[10] + iVar21;\n        iVar3 = (uint)pbVar7[0xb] + iVar11;\n        iVar18 = (uint)pbVar7[0xc] + iVar3;\n        iVar12 = (uint)pbVar7[0xd] + iVar18;\n        iVar5 = (uint)pbVar7[0xe] + iVar12;\n        uVar15 = (uint)pbVar7[0xf] + iVar5;\n        uVar13 = uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21 + iVar11 + iVar3 + iVar18 + iVar12 + iVar5 + uVar15;\n        pbVar7 = buf;\n      } while (buf != pbVar14);\n      uVar15 = uVar15 % 0xfff1;\n      uVar13 = uVar13 % 0xfff1;\n    } while (0x15af < len);\n    if (len == 0) goto LAB_00011e40;\n    iVar1 = zVar8 - 0x15b1;\n    if (0xf < len) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = buf;\n    do {\n      pbVar14 = pbVar7 + 1;\n      uVar15 = uVar15 + *pbVar7;\n      uVar13 = uVar13 + uVar15;\n      pbVar7 = pbVar14;\n    } while (pbVar14 != buf + iVar1 + 1);\n  }" if (parenthesized_expression "(len < 0x15b0)" ( (binary_expression "len < 0x15b0" identifier < number_literal) )) (compound_statement "{\nLAB_00011ce8:\n    uVar6 = len - 0x10 >> 4;\n    pbVar14 = buf + (uVar6 + 1) * 0x10;\n    pbVar7 = buf;\n    do {\n      buf = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + uVar15;\n      iVar11 = (uint)pbVar7[1] + iVar1;\n      iVar9 = (uint)pbVar7[2] + iVar11;\n      iVar4 = (uint)pbVar7[3] + iVar9;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar19 = (uint)pbVar7[5] + iVar2;\n      iVar21 = (uint)pbVar7[6] + iVar19;\n      iVar20 = (uint)pbVar7[7] + iVar21;\n      iVar18 = (uint)pbVar7[8] + iVar20;\n      iVar17 = (uint)pbVar7[9] + iVar18;\n      iVar16 = (uint)pbVar7[10] + iVar17;\n      iVar12 = (uint)pbVar7[0xb] + iVar16;\n      iVar10 = (uint)pbVar7[0xc] + iVar12;\n      iVar5 = (uint)pbVar7[0xd] + iVar10;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      uVar15 = (uint)pbVar7[0xf] + iVar3;\n      uVar13 = uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20 + iVar18 +\n                        iVar17 + iVar16 + iVar12 + iVar10 + iVar5 + iVar3 + uVar15;\n      pbVar7 = buf;\n    } while (buf != pbVar14);\n    iVar1 = (len - 0x11) + uVar6 * -0x10;\n    if ((len & 0xf) != 0) goto LAB_00011dd8;\n  }" { (labeled_statement "LAB_00011ce8:\n    uVar6 = len - 0x10 >> 4;" statement_identifier : (expression_statement "uVar6 = len - 0x10 >> 4;" (assignment_expression "uVar6 = len - 0x10 >> 4" identifier = (binary_expression "len - 0x10 >> 4" (binary_expression "len - 0x10" identifier - number_literal) >> number_literal)) ;)) (expression_statement "pbVar14 = buf + (uVar6 + 1) * 0x10;" (assignment_expression "pbVar14 = buf + (uVar6 + 1) * 0x10" identifier = (binary_expression "buf + (uVar6 + 1) * 0x10" identifier + (binary_expression "(uVar6 + 1) * 0x10" (parenthesized_expression "(uVar6 + 1)" ( (binary_expression "uVar6 + 1" identifier + number_literal) )) * number_literal))) ;) (expression_statement "pbVar7 = buf;" (assignment_expression "pbVar7 = buf" identifier = identifier) ;) (do_statement "do {\n      buf = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + uVar15;\n      iVar11 = (uint)pbVar7[1] + iVar1;\n      iVar9 = (uint)pbVar7[2] + iVar11;\n      iVar4 = (uint)pbVar7[3] + iVar9;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar19 = (uint)pbVar7[5] + iVar2;\n      iVar21 = (uint)pbVar7[6] + iVar19;\n      iVar20 = (uint)pbVar7[7] + iVar21;\n      iVar18 = (uint)pbVar7[8] + iVar20;\n      iVar17 = (uint)pbVar7[9] + iVar18;\n      iVar16 = (uint)pbVar7[10] + iVar17;\n      iVar12 = (uint)pbVar7[0xb] + iVar16;\n      iVar10 = (uint)pbVar7[0xc] + iVar12;\n      iVar5 = (uint)pbVar7[0xd] + iVar10;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      uVar15 = (uint)pbVar7[0xf] + iVar3;\n      uVar13 = uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20 + iVar18 +\n                        iVar17 + iVar16 + iVar12 + iVar10 + iVar5 + iVar3 + uVar15;\n      pbVar7 = buf;\n    } while (buf != pbVar14);" do (compound_statement "{\n      buf = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + uVar15;\n      iVar11 = (uint)pbVar7[1] + iVar1;\n      iVar9 = (uint)pbVar7[2] + iVar11;\n      iVar4 = (uint)pbVar7[3] + iVar9;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar19 = (uint)pbVar7[5] + iVar2;\n      iVar21 = (uint)pbVar7[6] + iVar19;\n      iVar20 = (uint)pbVar7[7] + iVar21;\n      iVar18 = (uint)pbVar7[8] + iVar20;\n      iVar17 = (uint)pbVar7[9] + iVar18;\n      iVar16 = (uint)pbVar7[10] + iVar17;\n      iVar12 = (uint)pbVar7[0xb] + iVar16;\n      iVar10 = (uint)pbVar7[0xc] + iVar12;\n      iVar5 = (uint)pbVar7[0xd] + iVar10;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      uVar15 = (uint)pbVar7[0xf] + iVar3;\n      uVar13 = uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20 + iVar18 +\n                        iVar17 + iVar16 + iVar12 + iVar10 + iVar5 + iVar3 + uVar15;\n      pbVar7 = buf;\n    }" { (expression_statement "buf = pbVar7 + 0x10;" (assignment_expression "buf = pbVar7 + 0x10" identifier = (binary_expression "pbVar7 + 0x10" identifier + number_literal)) ;) (expression_statement "iVar1 = *pbVar7 + uVar15;" (assignment_expression "iVar1 = *pbVar7 + uVar15" identifier = (binary_expression "*pbVar7 + uVar15" (pointer_expression "*pbVar7" * identifier) + identifier)) ;) (expression_statement "iVar11 = (uint)pbVar7[1] + iVar1;" (assignment_expression "iVar11 = (uint)pbVar7[1] + iVar1" identifier = (binary_expression "(uint)pbVar7[1] + iVar1" (cast_expression "(uint)pbVar7[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[1]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar9 = (uint)pbVar7[2] + iVar11;" (assignment_expression "iVar9 = (uint)pbVar7[2] + iVar11" identifier = (binary_expression "(uint)pbVar7[2] + iVar11" (cast_expression "(uint)pbVar7[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[2]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar4 = (uint)pbVar7[3] + iVar9;" (assignment_expression "iVar4 = (uint)pbVar7[3] + iVar9" identifier = (binary_expression "(uint)pbVar7[3] + iVar9" (cast_expression "(uint)pbVar7[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[3]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar2 = (uint)pbVar7[4] + iVar4;" (assignment_expression "iVar2 = (uint)pbVar7[4] + iVar4" identifier = (binary_expression "(uint)pbVar7[4] + iVar4" (cast_expression "(uint)pbVar7[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[4]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar19 = (uint)pbVar7[5] + iVar2;" (assignment_expression "iVar19 = (uint)pbVar7[5] + iVar2" identifier = (binary_expression "(uint)pbVar7[5] + iVar2" (cast_expression "(uint)pbVar7[5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[5]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar21 = (uint)pbVar7[6] + iVar19;" (assignment_expression "iVar21 = (uint)pbVar7[6] + iVar19" identifier = (binary_expression "(uint)pbVar7[6] + iVar19" (cast_expression "(uint)pbVar7[6]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[6]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar20 = (uint)pbVar7[7] + iVar21;" (assignment_expression "iVar20 = (uint)pbVar7[7] + iVar21" identifier = (binary_expression "(uint)pbVar7[7] + iVar21" (cast_expression "(uint)pbVar7[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[7]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar18 = (uint)pbVar7[8] + iVar20;" (assignment_expression "iVar18 = (uint)pbVar7[8] + iVar20" identifier = (binary_expression "(uint)pbVar7[8] + iVar20" (cast_expression "(uint)pbVar7[8]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[8]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar17 = (uint)pbVar7[9] + iVar18;" (assignment_expression "iVar17 = (uint)pbVar7[9] + iVar18" identifier = (binary_expression "(uint)pbVar7[9] + iVar18" (cast_expression "(uint)pbVar7[9]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[9]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar16 = (uint)pbVar7[10] + iVar17;" (assignment_expression "iVar16 = (uint)pbVar7[10] + iVar17" identifier = (binary_expression "(uint)pbVar7[10] + iVar17" (cast_expression "(uint)pbVar7[10]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[10]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar12 = (uint)pbVar7[0xb] + iVar16;" (assignment_expression "iVar12 = (uint)pbVar7[0xb] + iVar16" identifier = (binary_expression "(uint)pbVar7[0xb] + iVar16" (cast_expression "(uint)pbVar7[0xb]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xb]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar10 = (uint)pbVar7[0xc] + iVar12;" (assignment_expression "iVar10 = (uint)pbVar7[0xc] + iVar12" identifier = (binary_expression "(uint)pbVar7[0xc] + iVar12" (cast_expression "(uint)pbVar7[0xc]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xc]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar5 = (uint)pbVar7[0xd] + iVar10;" (assignment_expression "iVar5 = (uint)pbVar7[0xd] + iVar10" identifier = (binary_expression "(uint)pbVar7[0xd] + iVar10" (cast_expression "(uint)pbVar7[0xd]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xd]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar3 = (uint)pbVar7[0xe] + iVar5;" (assignment_expression "iVar3 = (uint)pbVar7[0xe] + iVar5" identifier = (binary_expression "(uint)pbVar7[0xe] + iVar5" (cast_expression "(uint)pbVar7[0xe]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xe]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "uVar15 = (uint)pbVar7[0xf] + iVar3;" (assignment_expression "uVar15 = (uint)pbVar7[0xf] + iVar3" identifier = (binary_expression "(uint)pbVar7[0xf] + iVar3" (cast_expression "(uint)pbVar7[0xf]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xf]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "uVar13 = uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20 + iVar18 +\n                        iVar17 + iVar16 + iVar12 + iVar10 + iVar5 + iVar3 + uVar15;" (assignment_expression "uVar13 = uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20 + iVar18 +\n                        iVar17 + iVar16 + iVar12 + iVar10 + iVar5 + iVar3 + uVar15" identifier = (binary_expression "uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20 + iVar18 +\n                        iVar17 + iVar16 + iVar12 + iVar10 + iVar5 + iVar3 + uVar15" (binary_expression "uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20 + iVar18 +\n                        iVar17 + iVar16 + iVar12 + iVar10 + iVar5 + iVar3" (binary_expression "uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20 + iVar18 +\n                        iVar17 + iVar16 + iVar12 + iVar10 + iVar5" (binary_expression "uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20 + iVar18 +\n                        iVar17 + iVar16 + iVar12 + iVar10" (binary_expression "uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20 + iVar18 +\n                        iVar17 + iVar16 + iVar12" (binary_expression "uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20 + iVar18 +\n                        iVar17 + iVar16" (binary_expression "uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20 + iVar18 +\n                        iVar17" (binary_expression "uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20 + iVar18" (binary_expression "uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21 + iVar20" (binary_expression "uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19 + iVar21" (binary_expression "uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2 + iVar19" (binary_expression "uVar13 + iVar1 + iVar11 + iVar9 + iVar4 + iVar2" (binary_expression "uVar13 + iVar1 + iVar11 + iVar9 + iVar4" (binary_expression "uVar13 + iVar1 + iVar11 + iVar9" (binary_expression "uVar13 + iVar1 + iVar11" (binary_expression "uVar13 + iVar1" identifier + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier)) ;) (expression_statement "pbVar7 = buf;" (assignment_expression "pbVar7 = buf" identifier = identifier) ;) }) while (parenthesized_expression "(buf != pbVar14)" ( (binary_expression "buf != pbVar14" identifier != identifier) )) ;) (expression_statement "iVar1 = (len - 0x11) + uVar6 * -0x10;" (assignment_expression "iVar1 = (len - 0x11) + uVar6 * -0x10" identifier = (binary_expression "(len - 0x11) + uVar6 * -0x10" (parenthesized_expression "(len - 0x11)" ( (binary_expression "len - 0x11" identifier - number_literal) )) + (binary_expression "uVar6 * -0x10" identifier * number_literal))) ;) (if_statement "if ((len & 0xf) != 0) goto LAB_00011dd8;" if (parenthesized_expression "((len & 0xf) != 0)" ( (binary_expression "(len & 0xf) != 0" (parenthesized_expression "(len & 0xf)" ( (binary_expression "len & 0xf" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00011dd8;" goto statement_identifier ;)) }) (else_clause "else {\n    do {\n      zVar8 = len;\n      len = zVar8 - 0x15b0;\n      pbVar14 = buf + 0x15b0;\n      pbVar7 = buf;\n      do {\n        buf = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + uVar15;\n        iVar17 = (uint)pbVar7[1] + iVar1;\n        iVar9 = (uint)pbVar7[2] + iVar17;\n        iVar16 = (uint)pbVar7[3] + iVar9;\n        iVar2 = (uint)pbVar7[4] + iVar16;\n        iVar20 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar20;\n        iVar19 = (uint)pbVar7[7] + iVar4;\n        iVar10 = (uint)pbVar7[8] + iVar19;\n        iVar21 = (uint)pbVar7[9] + iVar10;\n        iVar11 = (uint)pbVar7[10] + iVar21;\n        iVar3 = (uint)pbVar7[0xb] + iVar11;\n        iVar18 = (uint)pbVar7[0xc] + iVar3;\n        iVar12 = (uint)pbVar7[0xd] + iVar18;\n        iVar5 = (uint)pbVar7[0xe] + iVar12;\n        uVar15 = (uint)pbVar7[0xf] + iVar5;\n        uVar13 = uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21 + iVar11 + iVar3 + iVar18 + iVar12 + iVar5 + uVar15;\n        pbVar7 = buf;\n      } while (buf != pbVar14);\n      uVar15 = uVar15 % 0xfff1;\n      uVar13 = uVar13 % 0xfff1;\n    } while (0x15af < len);\n    if (len == 0) goto LAB_00011e40;\n    iVar1 = zVar8 - 0x15b1;\n    if (0xf < len) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = buf;\n    do {\n      pbVar14 = pbVar7 + 1;\n      uVar15 = uVar15 + *pbVar7;\n      uVar13 = uVar13 + uVar15;\n      pbVar7 = pbVar14;\n    } while (pbVar14 != buf + iVar1 + 1);\n  }" else (compound_statement "{\n    do {\n      zVar8 = len;\n      len = zVar8 - 0x15b0;\n      pbVar14 = buf + 0x15b0;\n      pbVar7 = buf;\n      do {\n        buf = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + uVar15;\n        iVar17 = (uint)pbVar7[1] + iVar1;\n        iVar9 = (uint)pbVar7[2] + iVar17;\n        iVar16 = (uint)pbVar7[3] + iVar9;\n        iVar2 = (uint)pbVar7[4] + iVar16;\n        iVar20 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar20;\n        iVar19 = (uint)pbVar7[7] + iVar4;\n        iVar10 = (uint)pbVar7[8] + iVar19;\n        iVar21 = (uint)pbVar7[9] + iVar10;\n        iVar11 = (uint)pbVar7[10] + iVar21;\n        iVar3 = (uint)pbVar7[0xb] + iVar11;\n        iVar18 = (uint)pbVar7[0xc] + iVar3;\n        iVar12 = (uint)pbVar7[0xd] + iVar18;\n        iVar5 = (uint)pbVar7[0xe] + iVar12;\n        uVar15 = (uint)pbVar7[0xf] + iVar5;\n        uVar13 = uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21 + iVar11 + iVar3 + iVar18 + iVar12 + iVar5 + uVar15;\n        pbVar7 = buf;\n      } while (buf != pbVar14);\n      uVar15 = uVar15 % 0xfff1;\n      uVar13 = uVar13 % 0xfff1;\n    } while (0x15af < len);\n    if (len == 0) goto LAB_00011e40;\n    iVar1 = zVar8 - 0x15b1;\n    if (0xf < len) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = buf;\n    do {\n      pbVar14 = pbVar7 + 1;\n      uVar15 = uVar15 + *pbVar7;\n      uVar13 = uVar13 + uVar15;\n      pbVar7 = pbVar14;\n    } while (pbVar14 != buf + iVar1 + 1);\n  }" { (do_statement "do {\n      zVar8 = len;\n      len = zVar8 - 0x15b0;\n      pbVar14 = buf + 0x15b0;\n      pbVar7 = buf;\n      do {\n        buf = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + uVar15;\n        iVar17 = (uint)pbVar7[1] + iVar1;\n        iVar9 = (uint)pbVar7[2] + iVar17;\n        iVar16 = (uint)pbVar7[3] + iVar9;\n        iVar2 = (uint)pbVar7[4] + iVar16;\n        iVar20 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar20;\n        iVar19 = (uint)pbVar7[7] + iVar4;\n        iVar10 = (uint)pbVar7[8] + iVar19;\n        iVar21 = (uint)pbVar7[9] + iVar10;\n        iVar11 = (uint)pbVar7[10] + iVar21;\n        iVar3 = (uint)pbVar7[0xb] + iVar11;\n        iVar18 = (uint)pbVar7[0xc] + iVar3;\n        iVar12 = (uint)pbVar7[0xd] + iVar18;\n        iVar5 = (uint)pbVar7[0xe] + iVar12;\n        uVar15 = (uint)pbVar7[0xf] + iVar5;\n        uVar13 = uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21 + iVar11 + iVar3 + iVar18 + iVar12 + iVar5 + uVar15;\n        pbVar7 = buf;\n      } while (buf != pbVar14);\n      uVar15 = uVar15 % 0xfff1;\n      uVar13 = uVar13 % 0xfff1;\n    } while (0x15af < len);" do (compound_statement "{\n      zVar8 = len;\n      len = zVar8 - 0x15b0;\n      pbVar14 = buf + 0x15b0;\n      pbVar7 = buf;\n      do {\n        buf = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + uVar15;\n        iVar17 = (uint)pbVar7[1] + iVar1;\n        iVar9 = (uint)pbVar7[2] + iVar17;\n        iVar16 = (uint)pbVar7[3] + iVar9;\n        iVar2 = (uint)pbVar7[4] + iVar16;\n        iVar20 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar20;\n        iVar19 = (uint)pbVar7[7] + iVar4;\n        iVar10 = (uint)pbVar7[8] + iVar19;\n        iVar21 = (uint)pbVar7[9] + iVar10;\n        iVar11 = (uint)pbVar7[10] + iVar21;\n        iVar3 = (uint)pbVar7[0xb] + iVar11;\n        iVar18 = (uint)pbVar7[0xc] + iVar3;\n        iVar12 = (uint)pbVar7[0xd] + iVar18;\n        iVar5 = (uint)pbVar7[0xe] + iVar12;\n        uVar15 = (uint)pbVar7[0xf] + iVar5;\n        uVar13 = uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21 + iVar11 + iVar3 + iVar18 + iVar12 + iVar5 + uVar15;\n        pbVar7 = buf;\n      } while (buf != pbVar14);\n      uVar15 = uVar15 % 0xfff1;\n      uVar13 = uVar13 % 0xfff1;\n    }" { (expression_statement "zVar8 = len;" (assignment_expression "zVar8 = len" identifier = identifier) ;) (expression_statement "len = zVar8 - 0x15b0;" (assignment_expression "len = zVar8 - 0x15b0" identifier = (binary_expression "zVar8 - 0x15b0" identifier - number_literal)) ;) (expression_statement "pbVar14 = buf + 0x15b0;" (assignment_expression "pbVar14 = buf + 0x15b0" identifier = (binary_expression "buf + 0x15b0" identifier + number_literal)) ;) (expression_statement "pbVar7 = buf;" (assignment_expression "pbVar7 = buf" identifier = identifier) ;) (do_statement "do {\n        buf = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + uVar15;\n        iVar17 = (uint)pbVar7[1] + iVar1;\n        iVar9 = (uint)pbVar7[2] + iVar17;\n        iVar16 = (uint)pbVar7[3] + iVar9;\n        iVar2 = (uint)pbVar7[4] + iVar16;\n        iVar20 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar20;\n        iVar19 = (uint)pbVar7[7] + iVar4;\n        iVar10 = (uint)pbVar7[8] + iVar19;\n        iVar21 = (uint)pbVar7[9] + iVar10;\n        iVar11 = (uint)pbVar7[10] + iVar21;\n        iVar3 = (uint)pbVar7[0xb] + iVar11;\n        iVar18 = (uint)pbVar7[0xc] + iVar3;\n        iVar12 = (uint)pbVar7[0xd] + iVar18;\n        iVar5 = (uint)pbVar7[0xe] + iVar12;\n        uVar15 = (uint)pbVar7[0xf] + iVar5;\n        uVar13 = uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21 + iVar11 + iVar3 + iVar18 + iVar12 + iVar5 + uVar15;\n        pbVar7 = buf;\n      } while (buf != pbVar14);" do (compound_statement "{\n        buf = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + uVar15;\n        iVar17 = (uint)pbVar7[1] + iVar1;\n        iVar9 = (uint)pbVar7[2] + iVar17;\n        iVar16 = (uint)pbVar7[3] + iVar9;\n        iVar2 = (uint)pbVar7[4] + iVar16;\n        iVar20 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar20;\n        iVar19 = (uint)pbVar7[7] + iVar4;\n        iVar10 = (uint)pbVar7[8] + iVar19;\n        iVar21 = (uint)pbVar7[9] + iVar10;\n        iVar11 = (uint)pbVar7[10] + iVar21;\n        iVar3 = (uint)pbVar7[0xb] + iVar11;\n        iVar18 = (uint)pbVar7[0xc] + iVar3;\n        iVar12 = (uint)pbVar7[0xd] + iVar18;\n        iVar5 = (uint)pbVar7[0xe] + iVar12;\n        uVar15 = (uint)pbVar7[0xf] + iVar5;\n        uVar13 = uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21 + iVar11 + iVar3 + iVar18 + iVar12 + iVar5 + uVar15;\n        pbVar7 = buf;\n      }" { (expression_statement "buf = pbVar7 + 0x10;" (assignment_expression "buf = pbVar7 + 0x10" identifier = (binary_expression "pbVar7 + 0x10" identifier + number_literal)) ;) (expression_statement "iVar1 = *pbVar7 + uVar15;" (assignment_expression "iVar1 = *pbVar7 + uVar15" identifier = (binary_expression "*pbVar7 + uVar15" (pointer_expression "*pbVar7" * identifier) + identifier)) ;) (expression_statement "iVar17 = (uint)pbVar7[1] + iVar1;" (assignment_expression "iVar17 = (uint)pbVar7[1] + iVar1" identifier = (binary_expression "(uint)pbVar7[1] + iVar1" (cast_expression "(uint)pbVar7[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[1]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar9 = (uint)pbVar7[2] + iVar17;" (assignment_expression "iVar9 = (uint)pbVar7[2] + iVar17" identifier = (binary_expression "(uint)pbVar7[2] + iVar17" (cast_expression "(uint)pbVar7[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[2]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar16 = (uint)pbVar7[3] + iVar9;" (assignment_expression "iVar16 = (uint)pbVar7[3] + iVar9" identifier = (binary_expression "(uint)pbVar7[3] + iVar9" (cast_expression "(uint)pbVar7[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[3]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar2 = (uint)pbVar7[4] + iVar16;" (assignment_expression "iVar2 = (uint)pbVar7[4] + iVar16" identifier = (binary_expression "(uint)pbVar7[4] + iVar16" (cast_expression "(uint)pbVar7[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[4]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar20 = (uint)pbVar7[5] + iVar2;" (assignment_expression "iVar20 = (uint)pbVar7[5] + iVar2" identifier = (binary_expression "(uint)pbVar7[5] + iVar2" (cast_expression "(uint)pbVar7[5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[5]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar4 = (uint)pbVar7[6] + iVar20;" (assignment_expression "iVar4 = (uint)pbVar7[6] + iVar20" identifier = (binary_expression "(uint)pbVar7[6] + iVar20" (cast_expression "(uint)pbVar7[6]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[6]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar19 = (uint)pbVar7[7] + iVar4;" (assignment_expression "iVar19 = (uint)pbVar7[7] + iVar4" identifier = (binary_expression "(uint)pbVar7[7] + iVar4" (cast_expression "(uint)pbVar7[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[7]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar10 = (uint)pbVar7[8] + iVar19;" (assignment_expression "iVar10 = (uint)pbVar7[8] + iVar19" identifier = (binary_expression "(uint)pbVar7[8] + iVar19" (cast_expression "(uint)pbVar7[8]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[8]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar21 = (uint)pbVar7[9] + iVar10;" (assignment_expression "iVar21 = (uint)pbVar7[9] + iVar10" identifier = (binary_expression "(uint)pbVar7[9] + iVar10" (cast_expression "(uint)pbVar7[9]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[9]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar11 = (uint)pbVar7[10] + iVar21;" (assignment_expression "iVar11 = (uint)pbVar7[10] + iVar21" identifier = (binary_expression "(uint)pbVar7[10] + iVar21" (cast_expression "(uint)pbVar7[10]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[10]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar3 = (uint)pbVar7[0xb] + iVar11;" (assignment_expression "iVar3 = (uint)pbVar7[0xb] + iVar11" identifier = (binary_expression "(uint)pbVar7[0xb] + iVar11" (cast_expression "(uint)pbVar7[0xb]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xb]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar18 = (uint)pbVar7[0xc] + iVar3;" (assignment_expression "iVar18 = (uint)pbVar7[0xc] + iVar3" identifier = (binary_expression "(uint)pbVar7[0xc] + iVar3" (cast_expression "(uint)pbVar7[0xc]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xc]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar12 = (uint)pbVar7[0xd] + iVar18;" (assignment_expression "iVar12 = (uint)pbVar7[0xd] + iVar18" identifier = (binary_expression "(uint)pbVar7[0xd] + iVar18" (cast_expression "(uint)pbVar7[0xd]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xd]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar5 = (uint)pbVar7[0xe] + iVar12;" (assignment_expression "iVar5 = (uint)pbVar7[0xe] + iVar12" identifier = (binary_expression "(uint)pbVar7[0xe] + iVar12" (cast_expression "(uint)pbVar7[0xe]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xe]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "uVar15 = (uint)pbVar7[0xf] + iVar5;" (assignment_expression "uVar15 = (uint)pbVar7[0xf] + iVar5" identifier = (binary_expression "(uint)pbVar7[0xf] + iVar5" (cast_expression "(uint)pbVar7[0xf]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xf]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "uVar13 = uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21 + iVar11 + iVar3 + iVar18 + iVar12 + iVar5 + uVar15;" (assignment_expression "uVar13 = uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21 + iVar11 + iVar3 + iVar18 + iVar12 + iVar5 + uVar15" identifier = (binary_expression "uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21 + iVar11 + iVar3 + iVar18 + iVar12 + iVar5 + uVar15" (binary_expression "uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21 + iVar11 + iVar3 + iVar18 + iVar12 + iVar5" (binary_expression "uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21 + iVar11 + iVar3 + iVar18 + iVar12" (binary_expression "uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21 + iVar11 + iVar3 + iVar18" (binary_expression "uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21 + iVar11 + iVar3" (binary_expression "uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21 + iVar11" (binary_expression "uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10\n                          + iVar21" (binary_expression "uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19 + iVar10" (binary_expression "uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4 + iVar19" (binary_expression "uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20 + iVar4" (binary_expression "uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2 + iVar20" (binary_expression "uVar13 + iVar1 + iVar17 + iVar9 + iVar16 + iVar2" (binary_expression "uVar13 + iVar1 + iVar17 + iVar9 + iVar16" (binary_expression "uVar13 + iVar1 + iVar17 + iVar9" (binary_expression "uVar13 + iVar1 + iVar17" (binary_expression "uVar13 + iVar1" identifier + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier)) ;) (expression_statement "pbVar7 = buf;" (assignment_expression "pbVar7 = buf" identifier = identifier) ;) }) while (parenthesized_expression "(buf != pbVar14)" ( (binary_expression "buf != pbVar14" identifier != identifier) )) ;) (expression_statement "uVar15 = uVar15 % 0xfff1;" (assignment_expression "uVar15 = uVar15 % 0xfff1" identifier = (binary_expression "uVar15 % 0xfff1" identifier % number_literal)) ;) (expression_statement "uVar13 = uVar13 % 0xfff1;" (assignment_expression "uVar13 = uVar13 % 0xfff1" identifier = (binary_expression "uVar13 % 0xfff1" identifier % number_literal)) ;) }) while (parenthesized_expression "(0x15af < len)" ( (binary_expression "0x15af < len" number_literal < identifier) )) ;) (if_statement "if (len == 0) goto LAB_00011e40;" if (parenthesized_expression "(len == 0)" ( (binary_expression "len == 0" identifier == number_literal) )) (goto_statement "goto LAB_00011e40;" goto statement_identifier ;)) (expression_statement "iVar1 = zVar8 - 0x15b1;" (assignment_expression "iVar1 = zVar8 - 0x15b1" identifier = (binary_expression "zVar8 - 0x15b1" identifier - number_literal)) ;) (if_statement "if (0xf < len) goto LAB_00011ce8;" if (parenthesized_expression "(0xf < len)" ( (binary_expression "0xf < len" number_literal < identifier) )) (goto_statement "goto LAB_00011ce8;" goto statement_identifier ;)) (labeled_statement "LAB_00011dd8:\n    pbVar7 = buf;" statement_identifier : (expression_statement "pbVar7 = buf;" (assignment_expression "pbVar7 = buf" identifier = identifier) ;)) (do_statement "do {\n      pbVar14 = pbVar7 + 1;\n      uVar15 = uVar15 + *pbVar7;\n      uVar13 = uVar13 + uVar15;\n      pbVar7 = pbVar14;\n    } while (pbVar14 != buf + iVar1 + 1);" do (compound_statement "{\n      pbVar14 = pbVar7 + 1;\n      uVar15 = uVar15 + *pbVar7;\n      uVar13 = uVar13 + uVar15;\n      pbVar7 = pbVar14;\n    }" { (expression_statement "pbVar14 = pbVar7 + 1;" (assignment_expression "pbVar14 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar15 = uVar15 + *pbVar7;" (assignment_expression "uVar15 = uVar15 + *pbVar7" identifier = (binary_expression "uVar15 + *pbVar7" identifier + (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "uVar13 = uVar13 + uVar15;" (assignment_expression "uVar13 = uVar13 + uVar15" identifier = (binary_expression "uVar13 + uVar15" identifier + identifier)) ;) (expression_statement "pbVar7 = pbVar14;" (assignment_expression "pbVar7 = pbVar14" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar14 != buf + iVar1 + 1)" ( (binary_expression "pbVar14 != buf + iVar1 + 1" identifier != (binary_expression "buf + iVar1 + 1" (binary_expression "buf + iVar1" identifier + identifier) + number_literal)) )) ;) }))) (expression_statement "uVar15 = uVar15 % 0xfff1;" (assignment_expression "uVar15 = uVar15 % 0xfff1" identifier = (binary_expression "uVar15 % 0xfff1" identifier % number_literal)) ;) (expression_statement "uVar13 = uVar13 % 0xfff1;" (assignment_expression "uVar13 = uVar13 % 0xfff1" identifier = (binary_expression "uVar13 % 0xfff1" identifier % number_literal)) ;) (labeled_statement "LAB_00011e40:\n  return uVar13 * 0x10000 | uVar15;" statement_identifier : (return_statement "return uVar13 * 0x10000 | uVar15;" return (binary_expression "uVar13 * 0x10000 | uVar15" (binary_expression "uVar13 * 0x10000" identifier * number_literal) | identifier) ;)) })))
(translation_unit "uint adler32_z(uint param_1,byte *param_2,uint param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  uint uVar12;\n  byte *pbVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  \n  uVar12 = param_1 >> 0x10;\n  param_1 = param_1 & 0xffff;\n  if (param_3 == 1) {\n    param_1 = *param_2 + param_1;\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    uVar12 = param_1 + uVar12;\n    if (0xfff0 < uVar12) {\n      uVar12 = uVar12 - 0xfff1;\n    }\n    return uVar12 << 0x10 | param_1;\n  }\n  if (param_2 == (byte *)0x0) {\n    return 1;\n  }\n  if (param_3 < 0x10) {\n    if (param_3 != 0) {\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    return (uVar12 % 0xfff1) * 0x10000 | param_1;\n  }\n  if (param_3 < 0x15b0) {\nLAB_00011ce8:\n    uVar6 = param_3 - 0x10 >> 4;\n    pbVar13 = param_2 + (uVar6 + 1) * 0x10;\n    pbVar7 = param_2;\n    do {\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    } while (param_2 != pbVar13);\n    iVar1 = (param_3 - 0x11) + uVar6 * -0x10;\n    if ((param_3 & 0xf) != 0) goto LAB_00011dd8;\n  }\n  else {\n    do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);\n    if (param_3 == 0) goto LAB_00011e40;\n    iVar1 = uVar6 - 0x15b1;\n    if (0xf < param_3) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = param_2;\n    do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);\n  }\n  param_1 = param_1 % 0xfff1;\n  uVar12 = uVar12 % 0xfff1;\nLAB_00011e40:\n  return uVar12 * 0x10000 | param_1;\n}\n\n" (function_definition "uint adler32_z(uint param_1,byte *param_2,uint param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  uint uVar12;\n  byte *pbVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  \n  uVar12 = param_1 >> 0x10;\n  param_1 = param_1 & 0xffff;\n  if (param_3 == 1) {\n    param_1 = *param_2 + param_1;\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    uVar12 = param_1 + uVar12;\n    if (0xfff0 < uVar12) {\n      uVar12 = uVar12 - 0xfff1;\n    }\n    return uVar12 << 0x10 | param_1;\n  }\n  if (param_2 == (byte *)0x0) {\n    return 1;\n  }\n  if (param_3 < 0x10) {\n    if (param_3 != 0) {\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    return (uVar12 % 0xfff1) * 0x10000 | param_1;\n  }\n  if (param_3 < 0x15b0) {\nLAB_00011ce8:\n    uVar6 = param_3 - 0x10 >> 4;\n    pbVar13 = param_2 + (uVar6 + 1) * 0x10;\n    pbVar7 = param_2;\n    do {\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    } while (param_2 != pbVar13);\n    iVar1 = (param_3 - 0x11) + uVar6 * -0x10;\n    if ((param_3 & 0xf) != 0) goto LAB_00011dd8;\n  }\n  else {\n    do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);\n    if (param_3 == 0) goto LAB_00011e40;\n    iVar1 = uVar6 - 0x15b1;\n    if (0xf < param_3) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = param_2;\n    do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);\n  }\n  param_1 = param_1 % 0xfff1;\n  uVar12 = uVar12 % 0xfff1;\nLAB_00011e40:\n  return uVar12 * 0x10000 | param_1;\n}" type_identifier (function_declarator "adler32_z(uint param_1,byte *param_2,uint param_3)" identifier (parameter_list "(uint param_1,byte *param_2,uint param_3)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  uint uVar12;\n  byte *pbVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  \n  uVar12 = param_1 >> 0x10;\n  param_1 = param_1 & 0xffff;\n  if (param_3 == 1) {\n    param_1 = *param_2 + param_1;\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    uVar12 = param_1 + uVar12;\n    if (0xfff0 < uVar12) {\n      uVar12 = uVar12 - 0xfff1;\n    }\n    return uVar12 << 0x10 | param_1;\n  }\n  if (param_2 == (byte *)0x0) {\n    return 1;\n  }\n  if (param_3 < 0x10) {\n    if (param_3 != 0) {\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    return (uVar12 % 0xfff1) * 0x10000 | param_1;\n  }\n  if (param_3 < 0x15b0) {\nLAB_00011ce8:\n    uVar6 = param_3 - 0x10 >> 4;\n    pbVar13 = param_2 + (uVar6 + 1) * 0x10;\n    pbVar7 = param_2;\n    do {\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    } while (param_2 != pbVar13);\n    iVar1 = (param_3 - 0x11) + uVar6 * -0x10;\n    if ((param_3 & 0xf) != 0) goto LAB_00011dd8;\n  }\n  else {\n    do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);\n    if (param_3 == 0) goto LAB_00011e40;\n    iVar1 = uVar6 - 0x15b1;\n    if (0xf < param_3) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = param_2;\n    do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);\n  }\n  param_1 = param_1 % 0xfff1;\n  uVar12 = uVar12 % 0xfff1;\nLAB_00011e40:\n  return uVar12 * 0x10000 | param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "byte *pbVar13;" type_identifier (pointer_declarator "*pbVar13" * identifier) ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (expression_statement "uVar12 = param_1 >> 0x10;" (assignment_expression "uVar12 = param_1 >> 0x10" identifier = (binary_expression "param_1 >> 0x10" identifier >> number_literal)) ;) (expression_statement "param_1 = param_1 & 0xffff;" (assignment_expression "param_1 = param_1 & 0xffff" identifier = (binary_expression "param_1 & 0xffff" identifier & number_literal)) ;) (if_statement "if (param_3 == 1) {\n    param_1 = *param_2 + param_1;\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    uVar12 = param_1 + uVar12;\n    if (0xfff0 < uVar12) {\n      uVar12 = uVar12 - 0xfff1;\n    }\n    return uVar12 << 0x10 | param_1;\n  }" if (parenthesized_expression "(param_3 == 1)" ( (binary_expression "param_3 == 1" identifier == number_literal) )) (compound_statement "{\n    param_1 = *param_2 + param_1;\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    uVar12 = param_1 + uVar12;\n    if (0xfff0 < uVar12) {\n      uVar12 = uVar12 - 0xfff1;\n    }\n    return uVar12 << 0x10 | param_1;\n  }" { (expression_statement "param_1 = *param_2 + param_1;" (assignment_expression "param_1 = *param_2 + param_1" identifier = (binary_expression "*param_2 + param_1" (pointer_expression "*param_2" * identifier) + identifier)) ;) (if_statement "if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }" if (parenthesized_expression "(0xfff0 < param_1)" ( (binary_expression "0xfff0 < param_1" number_literal < identifier) )) (compound_statement "{\n      param_1 = param_1 - 0xfff1;\n    }" { (expression_statement "param_1 = param_1 - 0xfff1;" (assignment_expression "param_1 = param_1 - 0xfff1" identifier = (binary_expression "param_1 - 0xfff1" identifier - number_literal)) ;) })) (expression_statement "uVar12 = param_1 + uVar12;" (assignment_expression "uVar12 = param_1 + uVar12" identifier = (binary_expression "param_1 + uVar12" identifier + identifier)) ;) (if_statement "if (0xfff0 < uVar12) {\n      uVar12 = uVar12 - 0xfff1;\n    }" if (parenthesized_expression "(0xfff0 < uVar12)" ( (binary_expression "0xfff0 < uVar12" number_literal < identifier) )) (compound_statement "{\n      uVar12 = uVar12 - 0xfff1;\n    }" { (expression_statement "uVar12 = uVar12 - 0xfff1;" (assignment_expression "uVar12 = uVar12 - 0xfff1" identifier = (binary_expression "uVar12 - 0xfff1" identifier - number_literal)) ;) })) (return_statement "return uVar12 << 0x10 | param_1;" return (binary_expression "uVar12 << 0x10 | param_1" (binary_expression "uVar12 << 0x10" identifier << number_literal) | identifier) ;) })) (if_statement "if (param_2 == (byte *)0x0) {\n    return 1;\n  }" if (parenthesized_expression "(param_2 == (byte *)0x0)" ( (binary_expression "param_2 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (param_3 < 0x10) {\n    if (param_3 != 0) {\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    return (uVar12 % 0xfff1) * 0x10000 | param_1;\n  }" if (parenthesized_expression "(param_3 < 0x10)" ( (binary_expression "param_3 < 0x10" identifier < number_literal) )) (compound_statement "{\n    if (param_3 != 0) {\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    return (uVar12 % 0xfff1) * 0x10000 | param_1;\n  }" { (if_statement "if (param_3 != 0) {\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }" { (expression_statement "pbVar7 = param_2;" (assignment_expression "pbVar7 = param_2" identifier = identifier) ;) (do_statement "do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);" do (compound_statement "{\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      }" { (expression_statement "pbVar13 = pbVar7 + 1;" (assignment_expression "pbVar13 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "param_1 = param_1 + *pbVar7;" (assignment_expression "param_1 = param_1 + *pbVar7" identifier = (binary_expression "param_1 + *pbVar7" identifier + (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "uVar12 = uVar12 + param_1;" (assignment_expression "uVar12 = uVar12 + param_1" identifier = (binary_expression "uVar12 + param_1" identifier + identifier)) ;) (expression_statement "pbVar7 = pbVar13;" (assignment_expression "pbVar7 = pbVar13" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar13 != param_2 + param_3)" ( (binary_expression "pbVar13 != param_2 + param_3" identifier != (binary_expression "param_2 + param_3" identifier + identifier)) )) ;) })) (if_statement "if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }" if (parenthesized_expression "(0xfff0 < param_1)" ( (binary_expression "0xfff0 < param_1" number_literal < identifier) )) (compound_statement "{\n      param_1 = param_1 - 0xfff1;\n    }" { (expression_statement "param_1 = param_1 - 0xfff1;" (assignment_expression "param_1 = param_1 - 0xfff1" identifier = (binary_expression "param_1 - 0xfff1" identifier - number_literal)) ;) })) (return_statement "return (uVar12 % 0xfff1) * 0x10000 | param_1;" return (binary_expression "(uVar12 % 0xfff1) * 0x10000 | param_1" (binary_expression "(uVar12 % 0xfff1) * 0x10000" (parenthesized_expression "(uVar12 % 0xfff1)" ( (binary_expression "uVar12 % 0xfff1" identifier % number_literal) )) * number_literal) | identifier) ;) })) (if_statement "if (param_3 < 0x15b0) {\nLAB_00011ce8:\n    uVar6 = param_3 - 0x10 >> 4;\n    pbVar13 = param_2 + (uVar6 + 1) * 0x10;\n    pbVar7 = param_2;\n    do {\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    } while (param_2 != pbVar13);\n    iVar1 = (param_3 - 0x11) + uVar6 * -0x10;\n    if ((param_3 & 0xf) != 0) goto LAB_00011dd8;\n  }\n  else {\n    do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);\n    if (param_3 == 0) goto LAB_00011e40;\n    iVar1 = uVar6 - 0x15b1;\n    if (0xf < param_3) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = param_2;\n    do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);\n  }" if (parenthesized_expression "(param_3 < 0x15b0)" ( (binary_expression "param_3 < 0x15b0" identifier < number_literal) )) (compound_statement "{\nLAB_00011ce8:\n    uVar6 = param_3 - 0x10 >> 4;\n    pbVar13 = param_2 + (uVar6 + 1) * 0x10;\n    pbVar7 = param_2;\n    do {\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    } while (param_2 != pbVar13);\n    iVar1 = (param_3 - 0x11) + uVar6 * -0x10;\n    if ((param_3 & 0xf) != 0) goto LAB_00011dd8;\n  }" { (labeled_statement "LAB_00011ce8:\n    uVar6 = param_3 - 0x10 >> 4;" statement_identifier : (expression_statement "uVar6 = param_3 - 0x10 >> 4;" (assignment_expression "uVar6 = param_3 - 0x10 >> 4" identifier = (binary_expression "param_3 - 0x10 >> 4" (binary_expression "param_3 - 0x10" identifier - number_literal) >> number_literal)) ;)) (expression_statement "pbVar13 = param_2 + (uVar6 + 1) * 0x10;" (assignment_expression "pbVar13 = param_2 + (uVar6 + 1) * 0x10" identifier = (binary_expression "param_2 + (uVar6 + 1) * 0x10" identifier + (binary_expression "(uVar6 + 1) * 0x10" (parenthesized_expression "(uVar6 + 1)" ( (binary_expression "uVar6 + 1" identifier + number_literal) )) * number_literal))) ;) (expression_statement "pbVar7 = param_2;" (assignment_expression "pbVar7 = param_2" identifier = identifier) ;) (do_statement "do {\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    } while (param_2 != pbVar13);" do (compound_statement "{\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    }" { (expression_statement "param_2 = pbVar7 + 0x10;" (assignment_expression "param_2 = pbVar7 + 0x10" identifier = (binary_expression "pbVar7 + 0x10" identifier + number_literal)) ;) (expression_statement "iVar1 = *pbVar7 + param_1;" (assignment_expression "iVar1 = *pbVar7 + param_1" identifier = (binary_expression "*pbVar7 + param_1" (pointer_expression "*pbVar7" * identifier) + identifier)) ;) (expression_statement "iVar10 = (uint)pbVar7[1] + iVar1;" (assignment_expression "iVar10 = (uint)pbVar7[1] + iVar1" identifier = (binary_expression "(uint)pbVar7[1] + iVar1" (cast_expression "(uint)pbVar7[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[1]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar8 = (uint)pbVar7[2] + iVar10;" (assignment_expression "iVar8 = (uint)pbVar7[2] + iVar10" identifier = (binary_expression "(uint)pbVar7[2] + iVar10" (cast_expression "(uint)pbVar7[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[2]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar4 = (uint)pbVar7[3] + iVar8;" (assignment_expression "iVar4 = (uint)pbVar7[3] + iVar8" identifier = (binary_expression "(uint)pbVar7[3] + iVar8" (cast_expression "(uint)pbVar7[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[3]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar2 = (uint)pbVar7[4] + iVar4;" (assignment_expression "iVar2 = (uint)pbVar7[4] + iVar4" identifier = (binary_expression "(uint)pbVar7[4] + iVar4" (cast_expression "(uint)pbVar7[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[4]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar17 = (uint)pbVar7[5] + iVar2;" (assignment_expression "iVar17 = (uint)pbVar7[5] + iVar2" identifier = (binary_expression "(uint)pbVar7[5] + iVar2" (cast_expression "(uint)pbVar7[5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[5]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar19 = (uint)pbVar7[6] + iVar17;" (assignment_expression "iVar19 = (uint)pbVar7[6] + iVar17" identifier = (binary_expression "(uint)pbVar7[6] + iVar17" (cast_expression "(uint)pbVar7[6]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[6]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar18 = (uint)pbVar7[7] + iVar19;" (assignment_expression "iVar18 = (uint)pbVar7[7] + iVar19" identifier = (binary_expression "(uint)pbVar7[7] + iVar19" (cast_expression "(uint)pbVar7[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[7]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar16 = (uint)pbVar7[8] + iVar18;" (assignment_expression "iVar16 = (uint)pbVar7[8] + iVar18" identifier = (binary_expression "(uint)pbVar7[8] + iVar18" (cast_expression "(uint)pbVar7[8]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[8]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar15 = (uint)pbVar7[9] + iVar16;" (assignment_expression "iVar15 = (uint)pbVar7[9] + iVar16" identifier = (binary_expression "(uint)pbVar7[9] + iVar16" (cast_expression "(uint)pbVar7[9]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[9]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar14 = (uint)pbVar7[10] + iVar15;" (assignment_expression "iVar14 = (uint)pbVar7[10] + iVar15" identifier = (binary_expression "(uint)pbVar7[10] + iVar15" (cast_expression "(uint)pbVar7[10]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[10]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar11 = (uint)pbVar7[0xb] + iVar14;" (assignment_expression "iVar11 = (uint)pbVar7[0xb] + iVar14" identifier = (binary_expression "(uint)pbVar7[0xb] + iVar14" (cast_expression "(uint)pbVar7[0xb]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xb]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar9 = (uint)pbVar7[0xc] + iVar11;" (assignment_expression "iVar9 = (uint)pbVar7[0xc] + iVar11" identifier = (binary_expression "(uint)pbVar7[0xc] + iVar11" (cast_expression "(uint)pbVar7[0xc]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xc]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar5 = (uint)pbVar7[0xd] + iVar9;" (assignment_expression "iVar5 = (uint)pbVar7[0xd] + iVar9" identifier = (binary_expression "(uint)pbVar7[0xd] + iVar9" (cast_expression "(uint)pbVar7[0xd]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xd]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar3 = (uint)pbVar7[0xe] + iVar5;" (assignment_expression "iVar3 = (uint)pbVar7[0xe] + iVar5" identifier = (binary_expression "(uint)pbVar7[0xe] + iVar5" (cast_expression "(uint)pbVar7[0xe]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xe]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "param_1 = (uint)pbVar7[0xf] + iVar3;" (assignment_expression "param_1 = (uint)pbVar7[0xf] + iVar3" identifier = (binary_expression "(uint)pbVar7[0xf] + iVar3" (cast_expression "(uint)pbVar7[0xf]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xf]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;" (assignment_expression "uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1" identifier = (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8" (binary_expression "uVar12 + iVar1 + iVar10" (binary_expression "uVar12 + iVar1" identifier + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier)) ;) (expression_statement "pbVar7 = param_2;" (assignment_expression "pbVar7 = param_2" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 != pbVar13)" ( (binary_expression "param_2 != pbVar13" identifier != identifier) )) ;) (expression_statement "iVar1 = (param_3 - 0x11) + uVar6 * -0x10;" (assignment_expression "iVar1 = (param_3 - 0x11) + uVar6 * -0x10" identifier = (binary_expression "(param_3 - 0x11) + uVar6 * -0x10" (parenthesized_expression "(param_3 - 0x11)" ( (binary_expression "param_3 - 0x11" identifier - number_literal) )) + (binary_expression "uVar6 * -0x10" identifier * number_literal))) ;) (if_statement "if ((param_3 & 0xf) != 0) goto LAB_00011dd8;" if (parenthesized_expression "((param_3 & 0xf) != 0)" ( (binary_expression "(param_3 & 0xf) != 0" (parenthesized_expression "(param_3 & 0xf)" ( (binary_expression "param_3 & 0xf" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00011dd8;" goto statement_identifier ;)) }) (else_clause "else {\n    do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);\n    if (param_3 == 0) goto LAB_00011e40;\n    iVar1 = uVar6 - 0x15b1;\n    if (0xf < param_3) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = param_2;\n    do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);\n  }" else (compound_statement "{\n    do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);\n    if (param_3 == 0) goto LAB_00011e40;\n    iVar1 = uVar6 - 0x15b1;\n    if (0xf < param_3) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = param_2;\n    do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);\n  }" { (do_statement "do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);" do (compound_statement "{\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    }" { (expression_statement "uVar6 = param_3;" (assignment_expression "uVar6 = param_3" identifier = identifier) ;) (expression_statement "param_3 = uVar6 - 0x15b0;" (assignment_expression "param_3 = uVar6 - 0x15b0" identifier = (binary_expression "uVar6 - 0x15b0" identifier - number_literal)) ;) (expression_statement "pbVar13 = param_2 + 0x15b0;" (assignment_expression "pbVar13 = param_2 + 0x15b0" identifier = (binary_expression "param_2 + 0x15b0" identifier + number_literal)) ;) (expression_statement "pbVar7 = param_2;" (assignment_expression "pbVar7 = param_2" identifier = identifier) ;) (do_statement "do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);" do (compound_statement "{\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      }" { (expression_statement "param_2 = pbVar7 + 0x10;" (assignment_expression "param_2 = pbVar7 + 0x10" identifier = (binary_expression "pbVar7 + 0x10" identifier + number_literal)) ;) (expression_statement "iVar1 = *pbVar7 + param_1;" (assignment_expression "iVar1 = *pbVar7 + param_1" identifier = (binary_expression "*pbVar7 + param_1" (pointer_expression "*pbVar7" * identifier) + identifier)) ;) (expression_statement "iVar15 = (uint)pbVar7[1] + iVar1;" (assignment_expression "iVar15 = (uint)pbVar7[1] + iVar1" identifier = (binary_expression "(uint)pbVar7[1] + iVar1" (cast_expression "(uint)pbVar7[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[1]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar8 = (uint)pbVar7[2] + iVar15;" (assignment_expression "iVar8 = (uint)pbVar7[2] + iVar15" identifier = (binary_expression "(uint)pbVar7[2] + iVar15" (cast_expression "(uint)pbVar7[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[2]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar14 = (uint)pbVar7[3] + iVar8;" (assignment_expression "iVar14 = (uint)pbVar7[3] + iVar8" identifier = (binary_expression "(uint)pbVar7[3] + iVar8" (cast_expression "(uint)pbVar7[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[3]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar2 = (uint)pbVar7[4] + iVar14;" (assignment_expression "iVar2 = (uint)pbVar7[4] + iVar14" identifier = (binary_expression "(uint)pbVar7[4] + iVar14" (cast_expression "(uint)pbVar7[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[4]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar18 = (uint)pbVar7[5] + iVar2;" (assignment_expression "iVar18 = (uint)pbVar7[5] + iVar2" identifier = (binary_expression "(uint)pbVar7[5] + iVar2" (cast_expression "(uint)pbVar7[5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[5]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar4 = (uint)pbVar7[6] + iVar18;" (assignment_expression "iVar4 = (uint)pbVar7[6] + iVar18" identifier = (binary_expression "(uint)pbVar7[6] + iVar18" (cast_expression "(uint)pbVar7[6]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[6]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar17 = (uint)pbVar7[7] + iVar4;" (assignment_expression "iVar17 = (uint)pbVar7[7] + iVar4" identifier = (binary_expression "(uint)pbVar7[7] + iVar4" (cast_expression "(uint)pbVar7[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[7]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar9 = (uint)pbVar7[8] + iVar17;" (assignment_expression "iVar9 = (uint)pbVar7[8] + iVar17" identifier = (binary_expression "(uint)pbVar7[8] + iVar17" (cast_expression "(uint)pbVar7[8]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[8]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar19 = (uint)pbVar7[9] + iVar9;" (assignment_expression "iVar19 = (uint)pbVar7[9] + iVar9" identifier = (binary_expression "(uint)pbVar7[9] + iVar9" (cast_expression "(uint)pbVar7[9]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[9]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar10 = (uint)pbVar7[10] + iVar19;" (assignment_expression "iVar10 = (uint)pbVar7[10] + iVar19" identifier = (binary_expression "(uint)pbVar7[10] + iVar19" (cast_expression "(uint)pbVar7[10]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[10]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar3 = (uint)pbVar7[0xb] + iVar10;" (assignment_expression "iVar3 = (uint)pbVar7[0xb] + iVar10" identifier = (binary_expression "(uint)pbVar7[0xb] + iVar10" (cast_expression "(uint)pbVar7[0xb]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xb]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar16 = (uint)pbVar7[0xc] + iVar3;" (assignment_expression "iVar16 = (uint)pbVar7[0xc] + iVar3" identifier = (binary_expression "(uint)pbVar7[0xc] + iVar3" (cast_expression "(uint)pbVar7[0xc]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xc]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar11 = (uint)pbVar7[0xd] + iVar16;" (assignment_expression "iVar11 = (uint)pbVar7[0xd] + iVar16" identifier = (binary_expression "(uint)pbVar7[0xd] + iVar16" (cast_expression "(uint)pbVar7[0xd]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xd]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "iVar5 = (uint)pbVar7[0xe] + iVar11;" (assignment_expression "iVar5 = (uint)pbVar7[0xe] + iVar11" identifier = (binary_expression "(uint)pbVar7[0xe] + iVar11" (cast_expression "(uint)pbVar7[0xe]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xe]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "param_1 = (uint)pbVar7[0xf] + iVar5;" (assignment_expression "param_1 = (uint)pbVar7[0xf] + iVar5" identifier = (binary_expression "(uint)pbVar7[0xf] + iVar5" (cast_expression "(uint)pbVar7[0xf]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar7[0xf]" identifier [ number_literal ])) + identifier)) ;) (expression_statement "uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;" (assignment_expression "uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1" identifier = (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8" (binary_expression "uVar12 + iVar1 + iVar15" (binary_expression "uVar12 + iVar1" identifier + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier) + identifier)) ;) (expression_statement "pbVar7 = param_2;" (assignment_expression "pbVar7 = param_2" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 != pbVar13)" ( (binary_expression "param_2 != pbVar13" identifier != identifier) )) ;) (expression_statement "param_1 = param_1 % 0xfff1;" (assignment_expression "param_1 = param_1 % 0xfff1" identifier = (binary_expression "param_1 % 0xfff1" identifier % number_literal)) ;) (expression_statement "uVar12 = uVar12 % 0xfff1;" (assignment_expression "uVar12 = uVar12 % 0xfff1" identifier = (binary_expression "uVar12 % 0xfff1" identifier % number_literal)) ;) }) while (parenthesized_expression "(0x15af < param_3)" ( (binary_expression "0x15af < param_3" number_literal < identifier) )) ;) (if_statement "if (param_3 == 0) goto LAB_00011e40;" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00011e40;" goto statement_identifier ;)) (expression_statement "iVar1 = uVar6 - 0x15b1;" (assignment_expression "iVar1 = uVar6 - 0x15b1" identifier = (binary_expression "uVar6 - 0x15b1" identifier - number_literal)) ;) (if_statement "if (0xf < param_3) goto LAB_00011ce8;" if (parenthesized_expression "(0xf < param_3)" ( (binary_expression "0xf < param_3" number_literal < identifier) )) (goto_statement "goto LAB_00011ce8;" goto statement_identifier ;)) (labeled_statement "LAB_00011dd8:\n    pbVar7 = param_2;" statement_identifier : (expression_statement "pbVar7 = param_2;" (assignment_expression "pbVar7 = param_2" identifier = identifier) ;)) (do_statement "do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);" do (compound_statement "{\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    }" { (expression_statement "pbVar13 = pbVar7 + 1;" (assignment_expression "pbVar13 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (expression_statement "param_1 = param_1 + *pbVar7;" (assignment_expression "param_1 = param_1 + *pbVar7" identifier = (binary_expression "param_1 + *pbVar7" identifier + (pointer_expression "*pbVar7" * identifier))) ;) (expression_statement "uVar12 = uVar12 + param_1;" (assignment_expression "uVar12 = uVar12 + param_1" identifier = (binary_expression "uVar12 + param_1" identifier + identifier)) ;) (expression_statement "pbVar7 = pbVar13;" (assignment_expression "pbVar7 = pbVar13" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar13 != param_2 + iVar1 + 1)" ( (binary_expression "pbVar13 != param_2 + iVar1 + 1" identifier != (binary_expression "param_2 + iVar1 + 1" (binary_expression "param_2 + iVar1" identifier + identifier) + number_literal)) )) ;) }))) (expression_statement "param_1 = param_1 % 0xfff1;" (assignment_expression "param_1 = param_1 % 0xfff1" identifier = (binary_expression "param_1 % 0xfff1" identifier % number_literal)) ;) (expression_statement "uVar12 = uVar12 % 0xfff1;" (assignment_expression "uVar12 = uVar12 % 0xfff1" identifier = (binary_expression "uVar12 % 0xfff1" identifier % number_literal)) ;) (labeled_statement "LAB_00011e40:\n  return uVar12 * 0x10000 | param_1;" statement_identifier : (return_statement "return uVar12 * 0x10000 | param_1;" return (binary_expression "uVar12 * 0x10000 | param_1" (binary_expression "uVar12 * 0x10000" identifier * number_literal) | identifier) ;)) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) })) (return_statement return (binary_expression (binary_expression IDENT << LIT) | IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + IDENT)) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) })) (return_statement return (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT % LIT) )) * LIT) | IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT - LIT) >> LIT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression IDENT + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - LIT) )) + (binary_expression IDENT * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression (binary_expression IDENT + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT % LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT % LIT)) ;) }) while (parenthesized_expression ( (binary_expression LIT < IDENT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression (binary_expression IDENT + IDENT) + LIT)) )) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT % LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT % LIT)) ;) (labeled_statement statement_identifier : (return_statement return (binary_expression (binary_expression IDENT * LIT) | IDENT) ;)) })))
(function_definition "uint adler32_z(uint param_1,byte *param_2,uint param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  uint uVar12;\n  byte *pbVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  \n  uVar12 = param_1 >> 0x10;\n  param_1 = param_1 & 0xffff;\n  if (param_3 == 1) {\n    param_1 = *param_2 + param_1;\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    uVar12 = param_1 + uVar12;\n    if (0xfff0 < uVar12) {\n      uVar12 = uVar12 - 0xfff1;\n    }\n    return uVar12 << 0x10 | param_1;\n  }\n  if (param_2 == (byte *)0x0) {\n    return 1;\n  }\n  if (param_3 < 0x10) {\n    if (param_3 != 0) {\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    return (uVar12 % 0xfff1) * 0x10000 | param_1;\n  }\n  if (param_3 < 0x15b0) {\nLAB_00011ce8:\n    uVar6 = param_3 - 0x10 >> 4;\n    pbVar13 = param_2 + (uVar6 + 1) * 0x10;\n    pbVar7 = param_2;\n    do {\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    } while (param_2 != pbVar13);\n    iVar1 = (param_3 - 0x11) + uVar6 * -0x10;\n    if ((param_3 & 0xf) != 0) goto LAB_00011dd8;\n  }\n  else {\n    do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);\n    if (param_3 == 0) goto LAB_00011e40;\n    iVar1 = uVar6 - 0x15b1;\n    if (0xf < param_3) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = param_2;\n    do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);\n  }\n  param_1 = param_1 % 0xfff1;\n  uVar12 = uVar12 % 0xfff1;\nLAB_00011e40:\n  return uVar12 * 0x10000 | param_1;\n}" (type_identifier "uint") (function_declarator "adler32_z(uint param_1,byte *param_2,uint param_3)" (identifier "adler32_z") (parameter_list "(uint param_1,byte *param_2,uint param_3)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) (, ",") (parameter_declaration "byte *param_2" (type_identifier "byte") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  byte *pbVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  uint uVar12;\n  byte *pbVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  \n  uVar12 = param_1 >> 0x10;\n  param_1 = param_1 & 0xffff;\n  if (param_3 == 1) {\n    param_1 = *param_2 + param_1;\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    uVar12 = param_1 + uVar12;\n    if (0xfff0 < uVar12) {\n      uVar12 = uVar12 - 0xfff1;\n    }\n    return uVar12 << 0x10 | param_1;\n  }\n  if (param_2 == (byte *)0x0) {\n    return 1;\n  }\n  if (param_3 < 0x10) {\n    if (param_3 != 0) {\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    return (uVar12 % 0xfff1) * 0x10000 | param_1;\n  }\n  if (param_3 < 0x15b0) {\nLAB_00011ce8:\n    uVar6 = param_3 - 0x10 >> 4;\n    pbVar13 = param_2 + (uVar6 + 1) * 0x10;\n    pbVar7 = param_2;\n    do {\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    } while (param_2 != pbVar13);\n    iVar1 = (param_3 - 0x11) + uVar6 * -0x10;\n    if ((param_3 & 0xf) != 0) goto LAB_00011dd8;\n  }\n  else {\n    do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);\n    if (param_3 == 0) goto LAB_00011e40;\n    iVar1 = uVar6 - 0x15b1;\n    if (0xf < param_3) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = param_2;\n    do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);\n  }\n  param_1 = param_1 % 0xfff1;\n  uVar12 = uVar12 % 0xfff1;\nLAB_00011e40:\n  return uVar12 * 0x10000 | param_1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "uint uVar12;" (type_identifier "uint") (identifier "uVar12") (; ";")) (declaration "byte *pbVar13;" (type_identifier "byte") (pointer_declarator "*pbVar13" (* "*") (identifier "pbVar13")) (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (declaration "int iVar16;" (primitive_type "int") (identifier "iVar16") (; ";")) (declaration "int iVar17;" (primitive_type "int") (identifier "iVar17") (; ";")) (declaration "int iVar18;" (primitive_type "int") (identifier "iVar18") (; ";")) (declaration "int iVar19;" (primitive_type "int") (identifier "iVar19") (; ";")) (expression_statement "uVar12 = param_1 >> 0x10;" (assignment_expression "uVar12 = param_1 >> 0x10" (identifier "uVar12") (= "=") (binary_expression "param_1 >> 0x10" (identifier "param_1") (>> ">>") (number_literal "0x10"))) (; ";")) (expression_statement "param_1 = param_1 & 0xffff;" (assignment_expression "param_1 = param_1 & 0xffff" (identifier "param_1") (= "=") (binary_expression "param_1 & 0xffff" (identifier "param_1") (& "&") (number_literal "0xffff"))) (; ";")) (if_statement "if (param_3 == 1) {\n    param_1 = *param_2 + param_1;\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    uVar12 = param_1 + uVar12;\n    if (0xfff0 < uVar12) {\n      uVar12 = uVar12 - 0xfff1;\n    }\n    return uVar12 << 0x10 | param_1;\n  }" (if "if") (parenthesized_expression "(param_3 == 1)" (( "(") (binary_expression "param_3 == 1" (identifier "param_3") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    param_1 = *param_2 + param_1;\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    uVar12 = param_1 + uVar12;\n    if (0xfff0 < uVar12) {\n      uVar12 = uVar12 - 0xfff1;\n    }\n    return uVar12 << 0x10 | param_1;\n  }" ({ "{") (expression_statement "param_1 = *param_2 + param_1;" (assignment_expression "param_1 = *param_2 + param_1" (identifier "param_1") (= "=") (binary_expression "*param_2 + param_1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (identifier "param_1"))) (; ";")) (if_statement "if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }" (if "if") (parenthesized_expression "(0xfff0 < param_1)" (( "(") (binary_expression "0xfff0 < param_1" (number_literal "0xfff0") (< "<") (identifier "param_1")) () ")")) (compound_statement "{\n      param_1 = param_1 - 0xfff1;\n    }" ({ "{") (expression_statement "param_1 = param_1 - 0xfff1;" (assignment_expression "param_1 = param_1 - 0xfff1" (identifier "param_1") (= "=") (binary_expression "param_1 - 0xfff1" (identifier "param_1") (- "-") (number_literal "0xfff1"))) (; ";")) (} "}"))) (expression_statement "uVar12 = param_1 + uVar12;" (assignment_expression "uVar12 = param_1 + uVar12" (identifier "uVar12") (= "=") (binary_expression "param_1 + uVar12" (identifier "param_1") (+ "+") (identifier "uVar12"))) (; ";")) (if_statement "if (0xfff0 < uVar12) {\n      uVar12 = uVar12 - 0xfff1;\n    }" (if "if") (parenthesized_expression "(0xfff0 < uVar12)" (( "(") (binary_expression "0xfff0 < uVar12" (number_literal "0xfff0") (< "<") (identifier "uVar12")) () ")")) (compound_statement "{\n      uVar12 = uVar12 - 0xfff1;\n    }" ({ "{") (expression_statement "uVar12 = uVar12 - 0xfff1;" (assignment_expression "uVar12 = uVar12 - 0xfff1" (identifier "uVar12") (= "=") (binary_expression "uVar12 - 0xfff1" (identifier "uVar12") (- "-") (number_literal "0xfff1"))) (; ";")) (} "}"))) (return_statement "return uVar12 << 0x10 | param_1;" (return "return") (binary_expression "uVar12 << 0x10 | param_1" (binary_expression "uVar12 << 0x10" (identifier "uVar12") (<< "<<") (number_literal "0x10")) (| "|") (identifier "param_1")) (; ";")) (} "}"))) (if_statement "if (param_2 == (byte *)0x0) {\n    return 1;\n  }" (if "if") (parenthesized_expression "(param_2 == (byte *)0x0)" (( "(") (binary_expression "param_2 == (byte *)0x0" (identifier "param_2") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if (param_3 < 0x10) {\n    if (param_3 != 0) {\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    return (uVar12 % 0xfff1) * 0x10000 | param_1;\n  }" (if "if") (parenthesized_expression "(param_3 < 0x10)" (( "(") (binary_expression "param_3 < 0x10" (identifier "param_3") (< "<") (number_literal "0x10")) () ")")) (compound_statement "{\n    if (param_3 != 0) {\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }\n    if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }\n    return (uVar12 % 0xfff1) * 0x10000 | param_1;\n  }" ({ "{") (if_statement "if (param_3 != 0) {\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      pbVar7 = param_2;\n      do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);\n    }" ({ "{") (expression_statement "pbVar7 = param_2;" (assignment_expression "pbVar7 = param_2" (identifier "pbVar7") (= "=") (identifier "param_2")) (; ";")) (do_statement "do {\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      } while (pbVar13 != param_2 + param_3);" (do "do") (compound_statement "{\n        pbVar13 = pbVar7 + 1;\n        param_1 = param_1 + *pbVar7;\n        uVar12 = uVar12 + param_1;\n        pbVar7 = pbVar13;\n      }" ({ "{") (expression_statement "pbVar13 = pbVar7 + 1;" (assignment_expression "pbVar13 = pbVar7 + 1" (identifier "pbVar13") (= "=") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1 = param_1 + *pbVar7;" (assignment_expression "param_1 = param_1 + *pbVar7" (identifier "param_1") (= "=") (binary_expression "param_1 + *pbVar7" (identifier "param_1") (+ "+") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")))) (; ";")) (expression_statement "uVar12 = uVar12 + param_1;" (assignment_expression "uVar12 = uVar12 + param_1" (identifier "uVar12") (= "=") (binary_expression "uVar12 + param_1" (identifier "uVar12") (+ "+") (identifier "param_1"))) (; ";")) (expression_statement "pbVar7 = pbVar13;" (assignment_expression "pbVar7 = pbVar13" (identifier "pbVar7") (= "=") (identifier "pbVar13")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar13 != param_2 + param_3)" (( "(") (binary_expression "pbVar13 != param_2 + param_3" (identifier "pbVar13") (!= "!=") (binary_expression "param_2 + param_3" (identifier "param_2") (+ "+") (identifier "param_3"))) () ")")) (; ";")) (} "}"))) (if_statement "if (0xfff0 < param_1) {\n      param_1 = param_1 - 0xfff1;\n    }" (if "if") (parenthesized_expression "(0xfff0 < param_1)" (( "(") (binary_expression "0xfff0 < param_1" (number_literal "0xfff0") (< "<") (identifier "param_1")) () ")")) (compound_statement "{\n      param_1 = param_1 - 0xfff1;\n    }" ({ "{") (expression_statement "param_1 = param_1 - 0xfff1;" (assignment_expression "param_1 = param_1 - 0xfff1" (identifier "param_1") (= "=") (binary_expression "param_1 - 0xfff1" (identifier "param_1") (- "-") (number_literal "0xfff1"))) (; ";")) (} "}"))) (return_statement "return (uVar12 % 0xfff1) * 0x10000 | param_1;" (return "return") (binary_expression "(uVar12 % 0xfff1) * 0x10000 | param_1" (binary_expression "(uVar12 % 0xfff1) * 0x10000" (parenthesized_expression "(uVar12 % 0xfff1)" (( "(") (binary_expression "uVar12 % 0xfff1" (identifier "uVar12") (% "%") (number_literal "0xfff1")) () ")")) (* "*") (number_literal "0x10000")) (| "|") (identifier "param_1")) (; ";")) (} "}"))) (if_statement "if (param_3 < 0x15b0) {\nLAB_00011ce8:\n    uVar6 = param_3 - 0x10 >> 4;\n    pbVar13 = param_2 + (uVar6 + 1) * 0x10;\n    pbVar7 = param_2;\n    do {\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    } while (param_2 != pbVar13);\n    iVar1 = (param_3 - 0x11) + uVar6 * -0x10;\n    if ((param_3 & 0xf) != 0) goto LAB_00011dd8;\n  }\n  else {\n    do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);\n    if (param_3 == 0) goto LAB_00011e40;\n    iVar1 = uVar6 - 0x15b1;\n    if (0xf < param_3) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = param_2;\n    do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);\n  }" (if "if") (parenthesized_expression "(param_3 < 0x15b0)" (( "(") (binary_expression "param_3 < 0x15b0" (identifier "param_3") (< "<") (number_literal "0x15b0")) () ")")) (compound_statement "{\nLAB_00011ce8:\n    uVar6 = param_3 - 0x10 >> 4;\n    pbVar13 = param_2 + (uVar6 + 1) * 0x10;\n    pbVar7 = param_2;\n    do {\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    } while (param_2 != pbVar13);\n    iVar1 = (param_3 - 0x11) + uVar6 * -0x10;\n    if ((param_3 & 0xf) != 0) goto LAB_00011dd8;\n  }" ({ "{") (labeled_statement "LAB_00011ce8:\n    uVar6 = param_3 - 0x10 >> 4;" (statement_identifier "LAB_00011ce8") (: ":") (expression_statement "uVar6 = param_3 - 0x10 >> 4;" (assignment_expression "uVar6 = param_3 - 0x10 >> 4" (identifier "uVar6") (= "=") (binary_expression "param_3 - 0x10 >> 4" (binary_expression "param_3 - 0x10" (identifier "param_3") (- "-") (number_literal "0x10")) (>> ">>") (number_literal "4"))) (; ";"))) (expression_statement "pbVar13 = param_2 + (uVar6 + 1) * 0x10;" (assignment_expression "pbVar13 = param_2 + (uVar6 + 1) * 0x10" (identifier "pbVar13") (= "=") (binary_expression "param_2 + (uVar6 + 1) * 0x10" (identifier "param_2") (+ "+") (binary_expression "(uVar6 + 1) * 0x10" (parenthesized_expression "(uVar6 + 1)" (( "(") (binary_expression "uVar6 + 1" (identifier "uVar6") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "0x10")))) (; ";")) (expression_statement "pbVar7 = param_2;" (assignment_expression "pbVar7 = param_2" (identifier "pbVar7") (= "=") (identifier "param_2")) (; ";")) (do_statement "do {\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    } while (param_2 != pbVar13);" (do "do") (compound_statement "{\n      param_2 = pbVar7 + 0x10;\n      iVar1 = *pbVar7 + param_1;\n      iVar10 = (uint)pbVar7[1] + iVar1;\n      iVar8 = (uint)pbVar7[2] + iVar10;\n      iVar4 = (uint)pbVar7[3] + iVar8;\n      iVar2 = (uint)pbVar7[4] + iVar4;\n      iVar17 = (uint)pbVar7[5] + iVar2;\n      iVar19 = (uint)pbVar7[6] + iVar17;\n      iVar18 = (uint)pbVar7[7] + iVar19;\n      iVar16 = (uint)pbVar7[8] + iVar18;\n      iVar15 = (uint)pbVar7[9] + iVar16;\n      iVar14 = (uint)pbVar7[10] + iVar15;\n      iVar11 = (uint)pbVar7[0xb] + iVar14;\n      iVar9 = (uint)pbVar7[0xc] + iVar11;\n      iVar5 = (uint)pbVar7[0xd] + iVar9;\n      iVar3 = (uint)pbVar7[0xe] + iVar5;\n      param_1 = (uint)pbVar7[0xf] + iVar3;\n      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;\n      pbVar7 = param_2;\n    }" ({ "{") (expression_statement "param_2 = pbVar7 + 0x10;" (assignment_expression "param_2 = pbVar7 + 0x10" (identifier "param_2") (= "=") (binary_expression "pbVar7 + 0x10" (identifier "pbVar7") (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "iVar1 = *pbVar7 + param_1;" (assignment_expression "iVar1 = *pbVar7 + param_1" (identifier "iVar1") (= "=") (binary_expression "*pbVar7 + param_1" (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")) (+ "+") (identifier "param_1"))) (; ";")) (expression_statement "iVar10 = (uint)pbVar7[1] + iVar1;" (assignment_expression "iVar10 = (uint)pbVar7[1] + iVar1" (identifier "iVar10") (= "=") (binary_expression "(uint)pbVar7[1] + iVar1" (cast_expression "(uint)pbVar7[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[1]" (identifier "pbVar7") ([ "[") (number_literal "1") (] "]"))) (+ "+") (identifier "iVar1"))) (; ";")) (expression_statement "iVar8 = (uint)pbVar7[2] + iVar10;" (assignment_expression "iVar8 = (uint)pbVar7[2] + iVar10" (identifier "iVar8") (= "=") (binary_expression "(uint)pbVar7[2] + iVar10" (cast_expression "(uint)pbVar7[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[2]" (identifier "pbVar7") ([ "[") (number_literal "2") (] "]"))) (+ "+") (identifier "iVar10"))) (; ";")) (expression_statement "iVar4 = (uint)pbVar7[3] + iVar8;" (assignment_expression "iVar4 = (uint)pbVar7[3] + iVar8" (identifier "iVar4") (= "=") (binary_expression "(uint)pbVar7[3] + iVar8" (cast_expression "(uint)pbVar7[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[3]" (identifier "pbVar7") ([ "[") (number_literal "3") (] "]"))) (+ "+") (identifier "iVar8"))) (; ";")) (expression_statement "iVar2 = (uint)pbVar7[4] + iVar4;" (assignment_expression "iVar2 = (uint)pbVar7[4] + iVar4" (identifier "iVar2") (= "=") (binary_expression "(uint)pbVar7[4] + iVar4" (cast_expression "(uint)pbVar7[4]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[4]" (identifier "pbVar7") ([ "[") (number_literal "4") (] "]"))) (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "iVar17 = (uint)pbVar7[5] + iVar2;" (assignment_expression "iVar17 = (uint)pbVar7[5] + iVar2" (identifier "iVar17") (= "=") (binary_expression "(uint)pbVar7[5] + iVar2" (cast_expression "(uint)pbVar7[5]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[5]" (identifier "pbVar7") ([ "[") (number_literal "5") (] "]"))) (+ "+") (identifier "iVar2"))) (; ";")) (expression_statement "iVar19 = (uint)pbVar7[6] + iVar17;" (assignment_expression "iVar19 = (uint)pbVar7[6] + iVar17" (identifier "iVar19") (= "=") (binary_expression "(uint)pbVar7[6] + iVar17" (cast_expression "(uint)pbVar7[6]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[6]" (identifier "pbVar7") ([ "[") (number_literal "6") (] "]"))) (+ "+") (identifier "iVar17"))) (; ";")) (expression_statement "iVar18 = (uint)pbVar7[7] + iVar19;" (assignment_expression "iVar18 = (uint)pbVar7[7] + iVar19" (identifier "iVar18") (= "=") (binary_expression "(uint)pbVar7[7] + iVar19" (cast_expression "(uint)pbVar7[7]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[7]" (identifier "pbVar7") ([ "[") (number_literal "7") (] "]"))) (+ "+") (identifier "iVar19"))) (; ";")) (expression_statement "iVar16 = (uint)pbVar7[8] + iVar18;" (assignment_expression "iVar16 = (uint)pbVar7[8] + iVar18" (identifier "iVar16") (= "=") (binary_expression "(uint)pbVar7[8] + iVar18" (cast_expression "(uint)pbVar7[8]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[8]" (identifier "pbVar7") ([ "[") (number_literal "8") (] "]"))) (+ "+") (identifier "iVar18"))) (; ";")) (expression_statement "iVar15 = (uint)pbVar7[9] + iVar16;" (assignment_expression "iVar15 = (uint)pbVar7[9] + iVar16" (identifier "iVar15") (= "=") (binary_expression "(uint)pbVar7[9] + iVar16" (cast_expression "(uint)pbVar7[9]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[9]" (identifier "pbVar7") ([ "[") (number_literal "9") (] "]"))) (+ "+") (identifier "iVar16"))) (; ";")) (expression_statement "iVar14 = (uint)pbVar7[10] + iVar15;" (assignment_expression "iVar14 = (uint)pbVar7[10] + iVar15" (identifier "iVar14") (= "=") (binary_expression "(uint)pbVar7[10] + iVar15" (cast_expression "(uint)pbVar7[10]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[10]" (identifier "pbVar7") ([ "[") (number_literal "10") (] "]"))) (+ "+") (identifier "iVar15"))) (; ";")) (expression_statement "iVar11 = (uint)pbVar7[0xb] + iVar14;" (assignment_expression "iVar11 = (uint)pbVar7[0xb] + iVar14" (identifier "iVar11") (= "=") (binary_expression "(uint)pbVar7[0xb] + iVar14" (cast_expression "(uint)pbVar7[0xb]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[0xb]" (identifier "pbVar7") ([ "[") (number_literal "0xb") (] "]"))) (+ "+") (identifier "iVar14"))) (; ";")) (expression_statement "iVar9 = (uint)pbVar7[0xc] + iVar11;" (assignment_expression "iVar9 = (uint)pbVar7[0xc] + iVar11" (identifier "iVar9") (= "=") (binary_expression "(uint)pbVar7[0xc] + iVar11" (cast_expression "(uint)pbVar7[0xc]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[0xc]" (identifier "pbVar7") ([ "[") (number_literal "0xc") (] "]"))) (+ "+") (identifier "iVar11"))) (; ";")) (expression_statement "iVar5 = (uint)pbVar7[0xd] + iVar9;" (assignment_expression "iVar5 = (uint)pbVar7[0xd] + iVar9" (identifier "iVar5") (= "=") (binary_expression "(uint)pbVar7[0xd] + iVar9" (cast_expression "(uint)pbVar7[0xd]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[0xd]" (identifier "pbVar7") ([ "[") (number_literal "0xd") (] "]"))) (+ "+") (identifier "iVar9"))) (; ";")) (expression_statement "iVar3 = (uint)pbVar7[0xe] + iVar5;" (assignment_expression "iVar3 = (uint)pbVar7[0xe] + iVar5" (identifier "iVar3") (= "=") (binary_expression "(uint)pbVar7[0xe] + iVar5" (cast_expression "(uint)pbVar7[0xe]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[0xe]" (identifier "pbVar7") ([ "[") (number_literal "0xe") (] "]"))) (+ "+") (identifier "iVar5"))) (; ";")) (expression_statement "param_1 = (uint)pbVar7[0xf] + iVar3;" (assignment_expression "param_1 = (uint)pbVar7[0xf] + iVar3" (identifier "param_1") (= "=") (binary_expression "(uint)pbVar7[0xf] + iVar3" (cast_expression "(uint)pbVar7[0xf]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[0xf]" (identifier "pbVar7") ([ "[") (number_literal "0xf") (] "]"))) (+ "+") (identifier "iVar3"))) (; ";")) (expression_statement "uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;" (assignment_expression "uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1" (identifier "uVar12") (= "=") (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11 + iVar9" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14 + iVar11" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15 + iVar14" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +\n                        iVar15" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8 + iVar4" (binary_expression "uVar12 + iVar1 + iVar10 + iVar8" (binary_expression "uVar12 + iVar1 + iVar10" (binary_expression "uVar12 + iVar1" (identifier "uVar12") (+ "+") (identifier "iVar1")) (+ "+") (identifier "iVar10")) (+ "+") (identifier "iVar8")) (+ "+") (identifier "iVar4")) (+ "+") (identifier "iVar2")) (+ "+") (identifier "iVar17")) (+ "+") (identifier "iVar19")) (+ "+") (identifier "iVar18")) (+ "+") (identifier "iVar16")) (+ "+") (identifier "iVar15")) (+ "+") (identifier "iVar14")) (+ "+") (identifier "iVar11")) (+ "+") (identifier "iVar9")) (+ "+") (identifier "iVar5")) (+ "+") (identifier "iVar3")) (+ "+") (identifier "param_1"))) (; ";")) (expression_statement "pbVar7 = param_2;" (assignment_expression "pbVar7 = param_2" (identifier "pbVar7") (= "=") (identifier "param_2")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 != pbVar13)" (( "(") (binary_expression "param_2 != pbVar13" (identifier "param_2") (!= "!=") (identifier "pbVar13")) () ")")) (; ";")) (expression_statement "iVar1 = (param_3 - 0x11) + uVar6 * -0x10;" (assignment_expression "iVar1 = (param_3 - 0x11) + uVar6 * -0x10" (identifier "iVar1") (= "=") (binary_expression "(param_3 - 0x11) + uVar6 * -0x10" (parenthesized_expression "(param_3 - 0x11)" (( "(") (binary_expression "param_3 - 0x11" (identifier "param_3") (- "-") (number_literal "0x11")) () ")")) (+ "+") (binary_expression "uVar6 * -0x10" (identifier "uVar6") (* "*") (number_literal "-0x10")))) (; ";")) (if_statement "if ((param_3 & 0xf) != 0) goto LAB_00011dd8;" (if "if") (parenthesized_expression "((param_3 & 0xf) != 0)" (( "(") (binary_expression "(param_3 & 0xf) != 0" (parenthesized_expression "(param_3 & 0xf)" (( "(") (binary_expression "param_3 & 0xf" (identifier "param_3") (& "&") (number_literal "0xf")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00011dd8;" (goto "goto") (statement_identifier "LAB_00011dd8") (; ";"))) (} "}")) (else_clause "else {\n    do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);\n    if (param_3 == 0) goto LAB_00011e40;\n    iVar1 = uVar6 - 0x15b1;\n    if (0xf < param_3) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = param_2;\n    do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);\n  }" (else "else") (compound_statement "{\n    do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);\n    if (param_3 == 0) goto LAB_00011e40;\n    iVar1 = uVar6 - 0x15b1;\n    if (0xf < param_3) goto LAB_00011ce8;\nLAB_00011dd8:\n    pbVar7 = param_2;\n    do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);\n  }" ({ "{") (do_statement "do {\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    } while (0x15af < param_3);" (do "do") (compound_statement "{\n      uVar6 = param_3;\n      param_3 = uVar6 - 0x15b0;\n      pbVar13 = param_2 + 0x15b0;\n      pbVar7 = param_2;\n      do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);\n      param_1 = param_1 % 0xfff1;\n      uVar12 = uVar12 % 0xfff1;\n    }" ({ "{") (expression_statement "uVar6 = param_3;" (assignment_expression "uVar6 = param_3" (identifier "uVar6") (= "=") (identifier "param_3")) (; ";")) (expression_statement "param_3 = uVar6 - 0x15b0;" (assignment_expression "param_3 = uVar6 - 0x15b0" (identifier "param_3") (= "=") (binary_expression "uVar6 - 0x15b0" (identifier "uVar6") (- "-") (number_literal "0x15b0"))) (; ";")) (expression_statement "pbVar13 = param_2 + 0x15b0;" (assignment_expression "pbVar13 = param_2 + 0x15b0" (identifier "pbVar13") (= "=") (binary_expression "param_2 + 0x15b0" (identifier "param_2") (+ "+") (number_literal "0x15b0"))) (; ";")) (expression_statement "pbVar7 = param_2;" (assignment_expression "pbVar7 = param_2" (identifier "pbVar7") (= "=") (identifier "param_2")) (; ";")) (do_statement "do {\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      } while (param_2 != pbVar13);" (do "do") (compound_statement "{\n        param_2 = pbVar7 + 0x10;\n        iVar1 = *pbVar7 + param_1;\n        iVar15 = (uint)pbVar7[1] + iVar1;\n        iVar8 = (uint)pbVar7[2] + iVar15;\n        iVar14 = (uint)pbVar7[3] + iVar8;\n        iVar2 = (uint)pbVar7[4] + iVar14;\n        iVar18 = (uint)pbVar7[5] + iVar2;\n        iVar4 = (uint)pbVar7[6] + iVar18;\n        iVar17 = (uint)pbVar7[7] + iVar4;\n        iVar9 = (uint)pbVar7[8] + iVar17;\n        iVar19 = (uint)pbVar7[9] + iVar9;\n        iVar10 = (uint)pbVar7[10] + iVar19;\n        iVar3 = (uint)pbVar7[0xb] + iVar10;\n        iVar16 = (uint)pbVar7[0xc] + iVar3;\n        iVar11 = (uint)pbVar7[0xd] + iVar16;\n        iVar5 = (uint)pbVar7[0xe] + iVar11;\n        param_1 = (uint)pbVar7[0xf] + iVar5;\n        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;\n        pbVar7 = param_2;\n      }" ({ "{") (expression_statement "param_2 = pbVar7 + 0x10;" (assignment_expression "param_2 = pbVar7 + 0x10" (identifier "param_2") (= "=") (binary_expression "pbVar7 + 0x10" (identifier "pbVar7") (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "iVar1 = *pbVar7 + param_1;" (assignment_expression "iVar1 = *pbVar7 + param_1" (identifier "iVar1") (= "=") (binary_expression "*pbVar7 + param_1" (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")) (+ "+") (identifier "param_1"))) (; ";")) (expression_statement "iVar15 = (uint)pbVar7[1] + iVar1;" (assignment_expression "iVar15 = (uint)pbVar7[1] + iVar1" (identifier "iVar15") (= "=") (binary_expression "(uint)pbVar7[1] + iVar1" (cast_expression "(uint)pbVar7[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[1]" (identifier "pbVar7") ([ "[") (number_literal "1") (] "]"))) (+ "+") (identifier "iVar1"))) (; ";")) (expression_statement "iVar8 = (uint)pbVar7[2] + iVar15;" (assignment_expression "iVar8 = (uint)pbVar7[2] + iVar15" (identifier "iVar8") (= "=") (binary_expression "(uint)pbVar7[2] + iVar15" (cast_expression "(uint)pbVar7[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[2]" (identifier "pbVar7") ([ "[") (number_literal "2") (] "]"))) (+ "+") (identifier "iVar15"))) (; ";")) (expression_statement "iVar14 = (uint)pbVar7[3] + iVar8;" (assignment_expression "iVar14 = (uint)pbVar7[3] + iVar8" (identifier "iVar14") (= "=") (binary_expression "(uint)pbVar7[3] + iVar8" (cast_expression "(uint)pbVar7[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[3]" (identifier "pbVar7") ([ "[") (number_literal "3") (] "]"))) (+ "+") (identifier "iVar8"))) (; ";")) (expression_statement "iVar2 = (uint)pbVar7[4] + iVar14;" (assignment_expression "iVar2 = (uint)pbVar7[4] + iVar14" (identifier "iVar2") (= "=") (binary_expression "(uint)pbVar7[4] + iVar14" (cast_expression "(uint)pbVar7[4]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[4]" (identifier "pbVar7") ([ "[") (number_literal "4") (] "]"))) (+ "+") (identifier "iVar14"))) (; ";")) (expression_statement "iVar18 = (uint)pbVar7[5] + iVar2;" (assignment_expression "iVar18 = (uint)pbVar7[5] + iVar2" (identifier "iVar18") (= "=") (binary_expression "(uint)pbVar7[5] + iVar2" (cast_expression "(uint)pbVar7[5]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[5]" (identifier "pbVar7") ([ "[") (number_literal "5") (] "]"))) (+ "+") (identifier "iVar2"))) (; ";")) (expression_statement "iVar4 = (uint)pbVar7[6] + iVar18;" (assignment_expression "iVar4 = (uint)pbVar7[6] + iVar18" (identifier "iVar4") (= "=") (binary_expression "(uint)pbVar7[6] + iVar18" (cast_expression "(uint)pbVar7[6]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[6]" (identifier "pbVar7") ([ "[") (number_literal "6") (] "]"))) (+ "+") (identifier "iVar18"))) (; ";")) (expression_statement "iVar17 = (uint)pbVar7[7] + iVar4;" (assignment_expression "iVar17 = (uint)pbVar7[7] + iVar4" (identifier "iVar17") (= "=") (binary_expression "(uint)pbVar7[7] + iVar4" (cast_expression "(uint)pbVar7[7]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[7]" (identifier "pbVar7") ([ "[") (number_literal "7") (] "]"))) (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "iVar9 = (uint)pbVar7[8] + iVar17;" (assignment_expression "iVar9 = (uint)pbVar7[8] + iVar17" (identifier "iVar9") (= "=") (binary_expression "(uint)pbVar7[8] + iVar17" (cast_expression "(uint)pbVar7[8]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[8]" (identifier "pbVar7") ([ "[") (number_literal "8") (] "]"))) (+ "+") (identifier "iVar17"))) (; ";")) (expression_statement "iVar19 = (uint)pbVar7[9] + iVar9;" (assignment_expression "iVar19 = (uint)pbVar7[9] + iVar9" (identifier "iVar19") (= "=") (binary_expression "(uint)pbVar7[9] + iVar9" (cast_expression "(uint)pbVar7[9]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[9]" (identifier "pbVar7") ([ "[") (number_literal "9") (] "]"))) (+ "+") (identifier "iVar9"))) (; ";")) (expression_statement "iVar10 = (uint)pbVar7[10] + iVar19;" (assignment_expression "iVar10 = (uint)pbVar7[10] + iVar19" (identifier "iVar10") (= "=") (binary_expression "(uint)pbVar7[10] + iVar19" (cast_expression "(uint)pbVar7[10]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[10]" (identifier "pbVar7") ([ "[") (number_literal "10") (] "]"))) (+ "+") (identifier "iVar19"))) (; ";")) (expression_statement "iVar3 = (uint)pbVar7[0xb] + iVar10;" (assignment_expression "iVar3 = (uint)pbVar7[0xb] + iVar10" (identifier "iVar3") (= "=") (binary_expression "(uint)pbVar7[0xb] + iVar10" (cast_expression "(uint)pbVar7[0xb]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[0xb]" (identifier "pbVar7") ([ "[") (number_literal "0xb") (] "]"))) (+ "+") (identifier "iVar10"))) (; ";")) (expression_statement "iVar16 = (uint)pbVar7[0xc] + iVar3;" (assignment_expression "iVar16 = (uint)pbVar7[0xc] + iVar3" (identifier "iVar16") (= "=") (binary_expression "(uint)pbVar7[0xc] + iVar3" (cast_expression "(uint)pbVar7[0xc]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[0xc]" (identifier "pbVar7") ([ "[") (number_literal "0xc") (] "]"))) (+ "+") (identifier "iVar3"))) (; ";")) (expression_statement "iVar11 = (uint)pbVar7[0xd] + iVar16;" (assignment_expression "iVar11 = (uint)pbVar7[0xd] + iVar16" (identifier "iVar11") (= "=") (binary_expression "(uint)pbVar7[0xd] + iVar16" (cast_expression "(uint)pbVar7[0xd]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[0xd]" (identifier "pbVar7") ([ "[") (number_literal "0xd") (] "]"))) (+ "+") (identifier "iVar16"))) (; ";")) (expression_statement "iVar5 = (uint)pbVar7[0xe] + iVar11;" (assignment_expression "iVar5 = (uint)pbVar7[0xe] + iVar11" (identifier "iVar5") (= "=") (binary_expression "(uint)pbVar7[0xe] + iVar11" (cast_expression "(uint)pbVar7[0xe]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[0xe]" (identifier "pbVar7") ([ "[") (number_literal "0xe") (] "]"))) (+ "+") (identifier "iVar11"))) (; ";")) (expression_statement "param_1 = (uint)pbVar7[0xf] + iVar5;" (assignment_expression "param_1 = (uint)pbVar7[0xf] + iVar5" (identifier "param_1") (= "=") (binary_expression "(uint)pbVar7[0xf] + iVar5" (cast_expression "(uint)pbVar7[0xf]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar7[0xf]" (identifier "pbVar7") ([ "[") (number_literal "0xf") (] "]"))) (+ "+") (identifier "iVar5"))) (; ";")) (expression_statement "uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;" (assignment_expression "uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1" (identifier "uVar12") (= "=") (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3 + iVar16" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10 + iVar3" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19 + iVar10" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9\n                          + iVar19" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8 + iVar14" (binary_expression "uVar12 + iVar1 + iVar15 + iVar8" (binary_expression "uVar12 + iVar1 + iVar15" (binary_expression "uVar12 + iVar1" (identifier "uVar12") (+ "+") (identifier "iVar1")) (+ "+") (identifier "iVar15")) (+ "+") (identifier "iVar8")) (+ "+") (identifier "iVar14")) (+ "+") (identifier "iVar2")) (+ "+") (identifier "iVar18")) (+ "+") (identifier "iVar4")) (+ "+") (identifier "iVar17")) (+ "+") (identifier "iVar9")) (+ "+") (identifier "iVar19")) (+ "+") (identifier "iVar10")) (+ "+") (identifier "iVar3")) (+ "+") (identifier "iVar16")) (+ "+") (identifier "iVar11")) (+ "+") (identifier "iVar5")) (+ "+") (identifier "param_1"))) (; ";")) (expression_statement "pbVar7 = param_2;" (assignment_expression "pbVar7 = param_2" (identifier "pbVar7") (= "=") (identifier "param_2")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 != pbVar13)" (( "(") (binary_expression "param_2 != pbVar13" (identifier "param_2") (!= "!=") (identifier "pbVar13")) () ")")) (; ";")) (expression_statement "param_1 = param_1 % 0xfff1;" (assignment_expression "param_1 = param_1 % 0xfff1" (identifier "param_1") (= "=") (binary_expression "param_1 % 0xfff1" (identifier "param_1") (% "%") (number_literal "0xfff1"))) (; ";")) (expression_statement "uVar12 = uVar12 % 0xfff1;" (assignment_expression "uVar12 = uVar12 % 0xfff1" (identifier "uVar12") (= "=") (binary_expression "uVar12 % 0xfff1" (identifier "uVar12") (% "%") (number_literal "0xfff1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(0x15af < param_3)" (( "(") (binary_expression "0x15af < param_3" (number_literal "0x15af") (< "<") (identifier "param_3")) () ")")) (; ";")) (if_statement "if (param_3 == 0) goto LAB_00011e40;" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00011e40;" (goto "goto") (statement_identifier "LAB_00011e40") (; ";"))) (expression_statement "iVar1 = uVar6 - 0x15b1;" (assignment_expression "iVar1 = uVar6 - 0x15b1" (identifier "iVar1") (= "=") (binary_expression "uVar6 - 0x15b1" (identifier "uVar6") (- "-") (number_literal "0x15b1"))) (; ";")) (if_statement "if (0xf < param_3) goto LAB_00011ce8;" (if "if") (parenthesized_expression "(0xf < param_3)" (( "(") (binary_expression "0xf < param_3" (number_literal "0xf") (< "<") (identifier "param_3")) () ")")) (goto_statement "goto LAB_00011ce8;" (goto "goto") (statement_identifier "LAB_00011ce8") (; ";"))) (labeled_statement "LAB_00011dd8:\n    pbVar7 = param_2;" (statement_identifier "LAB_00011dd8") (: ":") (expression_statement "pbVar7 = param_2;" (assignment_expression "pbVar7 = param_2" (identifier "pbVar7") (= "=") (identifier "param_2")) (; ";"))) (do_statement "do {\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    } while (pbVar13 != param_2 + iVar1 + 1);" (do "do") (compound_statement "{\n      pbVar13 = pbVar7 + 1;\n      param_1 = param_1 + *pbVar7;\n      uVar12 = uVar12 + param_1;\n      pbVar7 = pbVar13;\n    }" ({ "{") (expression_statement "pbVar13 = pbVar7 + 1;" (assignment_expression "pbVar13 = pbVar7 + 1" (identifier "pbVar13") (= "=") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1 = param_1 + *pbVar7;" (assignment_expression "param_1 = param_1 + *pbVar7" (identifier "param_1") (= "=") (binary_expression "param_1 + *pbVar7" (identifier "param_1") (+ "+") (pointer_expression "*pbVar7" (* "*") (identifier "pbVar7")))) (; ";")) (expression_statement "uVar12 = uVar12 + param_1;" (assignment_expression "uVar12 = uVar12 + param_1" (identifier "uVar12") (= "=") (binary_expression "uVar12 + param_1" (identifier "uVar12") (+ "+") (identifier "param_1"))) (; ";")) (expression_statement "pbVar7 = pbVar13;" (assignment_expression "pbVar7 = pbVar13" (identifier "pbVar7") (= "=") (identifier "pbVar13")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar13 != param_2 + iVar1 + 1)" (( "(") (binary_expression "pbVar13 != param_2 + iVar1 + 1" (identifier "pbVar13") (!= "!=") (binary_expression "param_2 + iVar1 + 1" (binary_expression "param_2 + iVar1" (identifier "param_2") (+ "+") (identifier "iVar1")) (+ "+") (number_literal "1"))) () ")")) (; ";")) (} "}")))) (expression_statement "param_1 = param_1 % 0xfff1;" (assignment_expression "param_1 = param_1 % 0xfff1" (identifier "param_1") (= "=") (binary_expression "param_1 % 0xfff1" (identifier "param_1") (% "%") (number_literal "0xfff1"))) (; ";")) (expression_statement "uVar12 = uVar12 % 0xfff1;" (assignment_expression "uVar12 = uVar12 % 0xfff1" (identifier "uVar12") (= "=") (binary_expression "uVar12 % 0xfff1" (identifier "uVar12") (% "%") (number_literal "0xfff1"))) (; ";")) (labeled_statement "LAB_00011e40:\n  return uVar12 * 0x10000 | param_1;" (statement_identifier "LAB_00011e40") (: ":") (return_statement "return uVar12 * 0x10000 | param_1;" (return "return") (binary_expression "uVar12 * 0x10000 | param_1" (binary_expression "uVar12 * 0x10000" (identifier "uVar12") (* "*") (number_literal "0x10000")) (| "|") (identifier "param_1")) (; ";"))) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) 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: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) 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: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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: (pointer_expression argument: (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: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (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: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (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: (identifier) right: (binary_expression left: (identifier) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (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: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) 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: (number_literal))))) (expression_statement (assignment_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: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_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: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (binary_expression left: (identifier) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (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)))) (labeled_statement label: (statement_identifier) (return_statement (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))))))

uint MASKED(uint param_1,byte *param_2,uint param_3)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  byte *pbVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  uint uVar12;
  byte *pbVar13;
  int iVar14;
  int iVar15;
  int iVar16;
  int iVar17;
  int iVar18;
  int iVar19;
  
  uVar12 = param_1 >> 0x10;
  param_1 = param_1 & 0xffff;
  if (param_3 == 1) {
    param_1 = *param_2 + param_1;
    if (0xfff0 < param_1) {
      param_1 = param_1 - 0xfff1;
    }
    uVar12 = param_1 + uVar12;
    if (0xfff0 < uVar12) {
      uVar12 = uVar12 - 0xfff1;
    }
    return uVar12 << 0x10 | param_1;
  }
  if (param_2 == (byte *)0x0) {
    return 1;
  }
  if (param_3 < 0x10) {
    if (param_3 != 0) {
      pbVar7 = param_2;
      do {
        pbVar13 = pbVar7 + 1;
        param_1 = param_1 + *pbVar7;
        uVar12 = uVar12 + param_1;
        pbVar7 = pbVar13;
      } while (pbVar13 != param_2 + param_3);
    }
    if (0xfff0 < param_1) {
      param_1 = param_1 - 0xfff1;
    }
    return (uVar12 % 0xfff1) * 0x10000 | param_1;
  }
  if (param_3 < 0x15b0) {
LAB_00011ce8:
    uVar6 = param_3 - 0x10 >> 4;
    pbVar13 = param_2 + (uVar6 + 1) * 0x10;
    pbVar7 = param_2;
    do {
      param_2 = pbVar7 + 0x10;
      iVar1 = *pbVar7 + param_1;
      iVar10 = (uint)pbVar7[1] + iVar1;
      iVar8 = (uint)pbVar7[2] + iVar10;
      iVar4 = (uint)pbVar7[3] + iVar8;
      iVar2 = (uint)pbVar7[4] + iVar4;
      iVar17 = (uint)pbVar7[5] + iVar2;
      iVar19 = (uint)pbVar7[6] + iVar17;
      iVar18 = (uint)pbVar7[7] + iVar19;
      iVar16 = (uint)pbVar7[8] + iVar18;
      iVar15 = (uint)pbVar7[9] + iVar16;
      iVar14 = (uint)pbVar7[10] + iVar15;
      iVar11 = (uint)pbVar7[0xb] + iVar14;
      iVar9 = (uint)pbVar7[0xc] + iVar11;
      iVar5 = (uint)pbVar7[0xd] + iVar9;
      iVar3 = (uint)pbVar7[0xe] + iVar5;
      param_1 = (uint)pbVar7[0xf] + iVar3;
      uVar12 = uVar12 + iVar1 + iVar10 + iVar8 + iVar4 + iVar2 + iVar17 + iVar19 + iVar18 + iVar16 +
                        iVar15 + iVar14 + iVar11 + iVar9 + iVar5 + iVar3 + param_1;
      pbVar7 = param_2;
    } while (param_2 != pbVar13);
    iVar1 = (param_3 - 0x11) + uVar6 * -0x10;
    if ((param_3 & 0xf) != 0) goto LAB_00011dd8;
  }
  else {
    do {
      uVar6 = param_3;
      param_3 = uVar6 - 0x15b0;
      pbVar13 = param_2 + 0x15b0;
      pbVar7 = param_2;
      do {
        param_2 = pbVar7 + 0x10;
        iVar1 = *pbVar7 + param_1;
        iVar15 = (uint)pbVar7[1] + iVar1;
        iVar8 = (uint)pbVar7[2] + iVar15;
        iVar14 = (uint)pbVar7[3] + iVar8;
        iVar2 = (uint)pbVar7[4] + iVar14;
        iVar18 = (uint)pbVar7[5] + iVar2;
        iVar4 = (uint)pbVar7[6] + iVar18;
        iVar17 = (uint)pbVar7[7] + iVar4;
        iVar9 = (uint)pbVar7[8] + iVar17;
        iVar19 = (uint)pbVar7[9] + iVar9;
        iVar10 = (uint)pbVar7[10] + iVar19;
        iVar3 = (uint)pbVar7[0xb] + iVar10;
        iVar16 = (uint)pbVar7[0xc] + iVar3;
        iVar11 = (uint)pbVar7[0xd] + iVar16;
        iVar5 = (uint)pbVar7[0xe] + iVar11;
        param_1 = (uint)pbVar7[0xf] + iVar5;
        uVar12 = uVar12 + iVar1 + iVar15 + iVar8 + iVar14 + iVar2 + iVar18 + iVar4 + iVar17 + iVar9
                          + iVar19 + iVar10 + iVar3 + iVar16 + iVar11 + iVar5 + param_1;
        pbVar7 = param_2;
      } while (param_2 != pbVar13);
      param_1 = param_1 % 0xfff1;
      uVar12 = uVar12 % 0xfff1;
    } while (0x15af < param_3);
    if (param_3 == 0) goto LAB_00011e40;
    iVar1 = uVar6 - 0x15b1;
    if (0xf < param_3) goto LAB_00011ce8;
LAB_00011dd8:
    pbVar7 = param_2;
    do {
      pbVar13 = pbVar7 + 1;
      param_1 = param_1 + *pbVar7;
      uVar12 = uVar12 + param_1;
      pbVar7 = pbVar13;
    } while (pbVar13 != param_2 + iVar1 + 1);
  }
  param_1 = param_1 % 0xfff1;
  uVar12 = uVar12 % 0xfff1;
LAB_00011e40:
  return uVar12 * 0x10000 | param_1;
}

