
uint __divdi3(uint param_1,uint param_2,uint param_3,uint param_4)

{
  longlong lVar1;
  uint uVar2;
  uint uVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  uint uVar10;
  uint uVar11;
  uint uVar12;
  
  uVar6 = -param_2;
  if ((int)param_1 < 0) {
    param_1 = -(uint)(uVar6 != 0) - param_1;
    uVar7 = 0xffffffff;
  }
  else {
    uVar7 = 0;
    uVar6 = param_2;
  }
  if ((int)param_3 < 0) {
    param_4 = -param_4;
    param_3 = -(uint)(param_4 != 0) - param_3;
    uVar7 = ~uVar7;
  }
  if (param_3 == 0) {
    uVar2 = LZCOUNT(param_4);
    if (param_1 < param_4) {
      if (uVar2 != 0) {
        uVar3 = uVar6 >> (-uVar2 & 0x1f);
        param_4 = param_4 << (uVar2 & 0x1f);
        uVar6 = uVar6 << (uVar2 & 0x1f);
        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);
      }
      uVar2 = param_4 >> 0x10;
      if (uVar2 == 0) {
        trap(7);
      }
      uVar9 = param_1 / uVar2;
      uVar4 = (param_4 & 0xffff) * uVar9;
      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;
      uVar8 = uVar9;
      if (uVar3 < uVar4) {
        uVar3 = uVar3 + param_4;
        uVar8 = uVar9 - 1;
        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {
          uVar8 = uVar9 - 2;
          uVar3 = uVar3 + param_4;
        }
      }
      if (uVar2 == 0) {
        trap(7);
      }
      uVar10 = (uVar3 - uVar4) / uVar2;
      uVar9 = (param_4 & 0xffff) * uVar10;
      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;
      uVar2 = uVar10;
      if (uVar6 < uVar9) {
        uVar6 = param_4 + uVar6;
        uVar2 = uVar10 - 1;
        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {
          uVar2 = uVar10 - 2;
        }
      }
      uVar3 = 0;
      uVar2 = uVar8 << 0x10 | uVar2;
    }
    else {
      if (param_4 == 0) {
        trap(7);
        param_4 = 1 / 0;
      }
      uVar2 = LZCOUNT(param_4);
      uVar8 = param_4 >> 0x10;
      if (uVar2 == 0) {
        param_1 = param_1 - param_4;
        uVar3 = 1;
        uVar10 = param_4 & 0xffff;
      }
      else {
        param_4 = param_4 << (uVar2 & 0x1f);
        uVar8 = param_4 >> 0x10;
        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);
        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);
        if (uVar8 == 0) {
          trap(7);
        }
        uVar5 = uVar3 / uVar8;
        uVar10 = param_4 & 0xffff;
        uVar6 = uVar6 << (uVar2 & 0x1f);
        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);
        uVar9 = uVar10 * uVar5;
        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;
        uVar2 = uVar5;
        if (uVar3 < uVar9) {
          uVar3 = uVar3 + param_4;
          uVar2 = uVar5 - 1;
          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {
            uVar2 = uVar5 - 2;
            uVar3 = uVar3 + param_4;
          }
        }
        if (uVar8 == 0) {
          trap(7);
        }
        uVar12 = (uVar3 - uVar9) / uVar8;
        uVar5 = uVar10 * uVar12;
        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;
        uVar3 = uVar12;
        if (param_1 < uVar5) {
          param_1 = param_1 + param_4;
          uVar3 = uVar12 - 1;
          if ((param_4 <= param_1) && (param_1 < uVar5)) {
            uVar3 = uVar12 - 2;
            param_1 = param_1 + param_4;
          }
        }
        param_1 = param_1 - uVar5;
        uVar3 = uVar2 << 0x10 | uVar3;
      }
      if (uVar8 == 0) {
        trap(7);
      }
      uVar2 = param_1 / uVar8;
      uVar5 = uVar2 * uVar10;
      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;
      uVar4 = uVar2;
      if (uVar9 < uVar5) {
        uVar9 = uVar9 + param_4;
        uVar4 = uVar2 - 1;
        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {
          uVar9 = uVar9 + param_4;
          uVar4 = uVar2 - 2;
        }
      }
      if (uVar8 == 0) {
        trap(7);
      }
      uVar2 = (uVar9 - uVar5) / uVar8;
      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;
      uVar8 = param_4 + uVar6;
      if (uVar6 < uVar2 * uVar10) {
        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {
          uVar2 = uVar4 << 0x10 | uVar2 - 1;
          goto LAB_0001240c;
        }
        uVar2 = uVar2 - 2;
      }
      uVar2 = uVar4 << 0x10 | uVar2;
    }
  }
  else {
    uVar2 = 0;
    if (param_1 < param_3) {
      uVar3 = 0;
    }
    else {
      uVar3 = LZCOUNT(param_3);
      if (uVar3 == 0) {
        uVar3 = 0;
        if (param_3 < param_1) {
          uVar2 = 1;
        }
        else {
          uVar2 = uVar6 < param_4 ^ 1;
        }
      }
      else {
        uVar9 = 0x20 - uVar3;
        uVar8 = param_1 >> (uVar9 & 0x1f);
        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);
        uVar2 = uVar4 >> 0x10;
        if (uVar2 == 0) {
          trap(7);
        }
        uVar12 = uVar8 / uVar2;
        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);
        uVar5 = (uVar4 & 0xffff) * uVar12;
        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;
        uVar8 = uVar12;
        if (uVar9 < uVar5) {
          uVar9 = uVar9 + uVar4;
          uVar8 = uVar12 - 1;
          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {
            uVar8 = uVar12 - 2;
            uVar9 = uVar9 + uVar4;
          }
        }
        if (uVar2 == 0) {
          trap(7);
        }
        uVar11 = (uVar9 - uVar5) / uVar2;
        uVar12 = (uVar4 & 0xffff) * uVar11;
        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;
        uVar2 = uVar11;
        if (uVar9 < uVar12) {
          uVar9 = uVar9 + uVar4;
          uVar2 = uVar11 - 1;
          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {
            uVar2 = uVar11 - 2;
            uVar9 = uVar9 + uVar4;
          }
        }
        uVar2 = uVar8 << 0x10 | uVar2;
        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));
        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);
        if (uVar8 <= uVar9 - uVar12) {
          if (uVar9 - uVar12 != uVar8) {
            uVar3 = 0;
            goto LAB_0001240c;
          }
          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);
          if (uVar3 == 0) goto LAB_0001240c;
        }
        uVar2 = uVar2 - 1;
        uVar3 = 0;
      }
    }
  }
LAB_0001240c:
  if (uVar7 != 0) {
    uVar3 = -(uint)(uVar2 != 0) - uVar3;
  }
  return uVar3;
}



uint FUN_00012310(uint param_1,uint param_2,uint param_3,uint param_4)

{
  longlong lVar1;
  uint uVar2;
  uint uVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  uint uVar10;
  uint uVar11;
  uint uVar12;
  
  uVar6 = -param_2;
  if ((int)param_1 < 0) {
    param_1 = -(uint)(uVar6 != 0) - param_1;
    uVar7 = 0xffffffff;
  }
  else {
    uVar7 = 0;
    uVar6 = param_2;
  }
  if ((int)param_3 < 0) {
    param_4 = -param_4;
    param_3 = -(uint)(param_4 != 0) - param_3;
    uVar7 = ~uVar7;
  }
  if (param_3 == 0) {
    uVar2 = LZCOUNT(param_4);
    if (param_1 < param_4) {
      if (uVar2 != 0) {
        uVar3 = uVar6 >> (-uVar2 & 0x1f);
        param_4 = param_4 << (uVar2 & 0x1f);
        uVar6 = uVar6 << (uVar2 & 0x1f);
        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);
      }
      uVar2 = param_4 >> 0x10;
      if (uVar2 == 0) {
        trap(7);
      }
      uVar9 = param_1 / uVar2;
      uVar4 = (param_4 & 0xffff) * uVar9;
      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;
      uVar8 = uVar9;
      if (uVar3 < uVar4) {
        uVar3 = uVar3 + param_4;
        uVar8 = uVar9 - 1;
        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {
          uVar8 = uVar9 - 2;
          uVar3 = uVar3 + param_4;
        }
      }
      if (uVar2 == 0) {
        trap(7);
      }
      uVar10 = (uVar3 - uVar4) / uVar2;
      uVar9 = (param_4 & 0xffff) * uVar10;
      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;
      uVar2 = uVar10;
      if (uVar6 < uVar9) {
        uVar6 = param_4 + uVar6;
        uVar2 = uVar10 - 1;
        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {
          uVar2 = uVar10 - 2;
        }
      }
      uVar3 = 0;
      uVar2 = uVar8 << 0x10 | uVar2;
    }
    else {
      if (param_4 == 0) {
        trap(7);
        param_4 = 1 / 0;
      }
      uVar2 = LZCOUNT(param_4);
      uVar8 = param_4 >> 0x10;
      if (uVar2 == 0) {
        param_1 = param_1 - param_4;
        uVar3 = 1;
        uVar10 = param_4 & 0xffff;
      }
      else {
        param_4 = param_4 << (uVar2 & 0x1f);
        uVar8 = param_4 >> 0x10;
        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);
        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);
        if (uVar8 == 0) {
          trap(7);
        }
        uVar5 = uVar3 / uVar8;
        uVar10 = param_4 & 0xffff;
        uVar6 = uVar6 << (uVar2 & 0x1f);
        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);
        uVar9 = uVar10 * uVar5;
        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;
        uVar2 = uVar5;
        if (uVar3 < uVar9) {
          uVar3 = uVar3 + param_4;
          uVar2 = uVar5 - 1;
          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {
            uVar2 = uVar5 - 2;
            uVar3 = uVar3 + param_4;
          }
        }
        if (uVar8 == 0) {
          trap(7);
        }
        uVar12 = (uVar3 - uVar9) / uVar8;
        uVar5 = uVar10 * uVar12;
        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;
        uVar3 = uVar12;
        if (param_1 < uVar5) {
          param_1 = param_1 + param_4;
          uVar3 = uVar12 - 1;
          if ((param_4 <= param_1) && (param_1 < uVar5)) {
            uVar3 = uVar12 - 2;
            param_1 = param_1 + param_4;
          }
        }
        param_1 = param_1 - uVar5;
        uVar3 = uVar2 << 0x10 | uVar3;
      }
      if (uVar8 == 0) {
        trap(7);
      }
      uVar2 = param_1 / uVar8;
      uVar5 = uVar2 * uVar10;
      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;
      uVar4 = uVar2;
      if (uVar9 < uVar5) {
        uVar9 = uVar9 + param_4;
        uVar4 = uVar2 - 1;
        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {
          uVar9 = uVar9 + param_4;
          uVar4 = uVar2 - 2;
        }
      }
      if (uVar8 == 0) {
        trap(7);
      }
      uVar2 = (uVar9 - uVar5) / uVar8;
      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;
      uVar8 = param_4 + uVar6;
      if (uVar6 < uVar2 * uVar10) {
        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {
          uVar2 = uVar4 << 0x10 | uVar2 - 1;
          goto LAB_0001240c;
        }
        uVar2 = uVar2 - 2;
      }
      uVar2 = uVar4 << 0x10 | uVar2;
    }
  }
  else {
    uVar2 = 0;
    if (param_1 < param_3) {
      uVar3 = 0;
    }
    else {
      uVar3 = LZCOUNT(param_3);
      if (uVar3 == 0) {
        uVar3 = 0;
        if (param_3 < param_1) {
          uVar2 = 1;
        }
        else {
          uVar2 = uVar6 < param_4 ^ 1;
        }
      }
      else {
        uVar9 = 0x20 - uVar3;
        uVar8 = param_1 >> (uVar9 & 0x1f);
        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);
        uVar2 = uVar4 >> 0x10;
        if (uVar2 == 0) {
          trap(7);
        }
        uVar12 = uVar8 / uVar2;
        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);
        uVar5 = (uVar4 & 0xffff) * uVar12;
        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;
        uVar8 = uVar12;
        if (uVar9 < uVar5) {
          uVar9 = uVar9 + uVar4;
          uVar8 = uVar12 - 1;
          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {
            uVar8 = uVar12 - 2;
            uVar9 = uVar9 + uVar4;
          }
        }
        if (uVar2 == 0) {
          trap(7);
        }
        uVar11 = (uVar9 - uVar5) / uVar2;
        uVar12 = (uVar4 & 0xffff) * uVar11;
        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;
        uVar2 = uVar11;
        if (uVar9 < uVar12) {
          uVar9 = uVar9 + uVar4;
          uVar2 = uVar11 - 1;
          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {
            uVar2 = uVar11 - 2;
            uVar9 = uVar9 + uVar4;
          }
        }
        uVar2 = uVar8 << 0x10 | uVar2;
        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));
        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);
        if (uVar8 <= uVar9 - uVar12) {
          if (uVar9 - uVar12 != uVar8) {
            uVar3 = 0;
            goto LAB_0001240c;
          }
          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);
          if (uVar3 == 0) goto LAB_0001240c;
        }
        uVar2 = uVar2 - 1;
        uVar3 = 0;
      }
    }
  }
LAB_0001240c:
  if (uVar7 != 0) {
    uVar3 = -(uint)(uVar2 != 0) - uVar3;
  }
  return uVar3;
}


bltz a0,0x00012530
_subu v1,zero,a1
or t2,zero,zero
bgez a2,0x00012340
_or t0,a3,zero
subu v1,zero,a3
subu a2,zero,a2
sltu v0,zero,v1
subu a2,a2,v0
nor t2,zero,t2
or a3,v1,zero
or t0,a3,zero
or t1,a1,zero
bne a2,zero,0x00012500
_or v0,a0,zero
sltu v1,a0,a3
beq v1,zero,0x0001242c
_clz v1,a3
beq v1,zero,0x0001237c
_srl a0,t0,0x10
subu a0,zero,v1
sllv v0,v0,v1
srlv a0,a1,a0
sllv t0,a3,v1
sllv t1,a1,v1
or v0,a0,v0
srl a0,t0,0x10
andi a3,t0,0xffff
teq a0,zero
divu v0,a0
srl v1,t1,0x10
mflo v0
mfhi a1
mul a2,a3,v0
sll a1,a1,0x10
or v1,a1,v1
sltu a1,v1,a2
beq a1,zero,0x000123d0
_nop
addu v1,v1,t0
sltu a1,v1,t0
bne a1,zero,0x0001274c
_addiu t3,v0,-0x1
sltu a1,v1,a2
beq a1,zero,0x0001274c
_nop
addiu v0,v0,-0x2
addu v1,v1,t0
subu v1,v1,a2
andi t1,t1,0xffff
teq a0,zero
divu v1,a0
mflo a0
mfhi v1
mul a3,a3,a0
sll v1,v1,0x10
or t1,v1,t1
sltu v1,t1,a3
bne v1,zero,0x00012728
_nop
sll v1,v0,0x10
or v0,zero,zero
or v1,v1,a0
beq t2,zero,0x00012424
_nop
subu v1,zero,v1
subu v0,zero,v0
sltu a0,zero,v1
subu v0,v0,a0
jr ra
_nop
bne a3,zero,0x00012448
_clz t5,t0
li t0,0x1
teq a2,zero
divu t0,a2
mflo t0
clz t5,t0
bne t5,zero,0x0001264c
_srl a2,t0,0x10
subu a0,a0,t0
li v0,0x1
andi t3,t0,0xffff
teq a2,zero
divu a0,a2
srl v1,t1,0x10
mflo a0
mfhi a1
mul a3,a0,t3
sll a1,a1,0x10
or v1,a1,v1
sltu a1,v1,a3
beq a1,zero,0x000124a8
_nop
addu v1,v1,t0
sltu a1,v1,t0
bne a1,zero,0x000124a4
_addiu t4,a0,-0x1
sltu a1,v1,a3
bne a1,zero,0x000127b0
_addiu a0,a0,-0x2
or a0,t4,zero
subu v1,v1,a3
andi t1,t1,0xffff
teq a2,zero
divu v1,a2
mflo v1
mfhi a2
mul t3,v1,t3
sll a2,a2,0x10
or a2,a2,t1
sltu a1,a2,t3
beq a1,zero,0x000124f4
_addu a2,t0,a2
sltu t0,a2,t0
bne t0,zero,0x00012754
_addiu a1,v1,-0x1
sltu a2,a2,t3
beq a2,zero,0x00012754
_nop
addiu v1,v1,-0x2
sll a0,a0,0x10
b 0x0001240c
_or v1,a0,v1
sltu v0,a0,a2
bne v0,zero,0x00012548
_or v1,zero,zero
clz v0,a2
bne v0,zero,0x00012550
_li t3,0x20
sltu a0,a2,a0
bne a0,zero,0x00012788
_nop
sltu v1,a1,a3
b 0x0001240c
_xori v1,v1,0x1
subu a0,zero,a0
sltu v0,zero,v1
or a1,v1,zero
subu a0,a0,v0
b 0x0001231c
_li t2,-0x1
b 0x0001240c
_or v0,zero,zero
sllv a2,a2,v0
subu t3,t3,v0
sllv t0,a0,v0
srlv v1,a3,t3
srlv a0,a0,t3
or a2,v1,a2
srl v1,a2,0x10
andi t4,a2,0xffff
teq v1,zero
divu a0,v1
srlv t3,a1,t3
or t3,t3,t0
srl t0,t3,0x10
mflo a0
mfhi t1
mul t5,t4,a0
sll t1,t1,0x10
or t0,t1,t0
sltu t1,t0,t5
beq t1,zero,0x000125c8
_sllv a3,a3,v0
addu t0,t0,a2
sltu t1,t0,a2
bne t1,zero,0x000127a8
_addiu t6,a0,-0x1
sltu t1,t0,t5
beq t1,zero,0x000127a8
_nop
addiu a0,a0,-0x2
addu t0,t0,a2
subu t0,t0,t5
andi t3,t3,0xffff
teq v1,zero
divu t0,v1
mflo v1
mfhi t0
mul t1,t4,v1
sll t0,t0,0x10
or t0,t0,t3
sltu t3,t0,t1
beq t3,zero,0x0001261c
_nop
addu t0,t0,a2
sltu t3,t0,a2
bne t3,zero,0x00012798
_addiu t4,v1,-0x1
sltu t3,t0,t1
beq t3,zero,0x00012798
_nop
addiu v1,v1,-0x2
addu t0,t0,a2
sll a0,a0,0x10
subu t0,t0,t1
or v1,a0,v1
multu v1,a3
mfhi a2
sltu a0,t0,a2
bne a0,zero,0x0001277c
_mflo a3
beq t0,a2,0x0001276c
_nop
b 0x0001240c
_or v0,zero,zero
li t1,0x20
sllv t0,t0,t5
subu t1,t1,t5
srl a2,t0,0x10
srlv v0,a0,t1
srlv t4,a1,t1
teq a2,zero
divu v0,a2
sllv a0,a0,t5
andi t3,t0,0xffff
sllv t1,a1,t5
or a1,t4,a0
srl v1,a1,0x10
mflo t6
mfhi a3
mul a0,t3,t6
sll a3,a3,0x10
or v1,a3,v1
sltu v0,v1,a0
beq v0,zero,0x000126c4
_nop
addu v1,v1,t0
sltu v0,v1,t0
bne v0,zero,0x000127a0
_addiu a3,t6,-0x1
sltu v0,v1,a0
beq v0,zero,0x000127a0
_nop
addiu t6,t6,-0x2
addu v1,v1,t0
subu a0,v1,a0
andi a1,a1,0xffff
teq a2,zero
divu a0,a2
mflo v0
mfhi a0
mul v1,t3,v0
sll a0,a0,0x10
or a0,a0,a1
sltu a1,a0,v1
beq a1,zero,0x00012718
_nop
addu a0,a0,t0
sltu a1,a0,t0
bne a1,zero,0x00012790
_addiu a3,v0,-0x1
sltu a1,a0,v1
beq a1,zero,0x00012790
_nop
addiu v0,v0,-0x2
addu a0,a0,t0
sll t6,t6,0x10
subu a0,a0,v1
b 0x0001245c
_or v0,t6,v0
addu t1,t0,t1
sltu t0,t1,t0
bne t0,zero,0x00012764
_addiu v1,a0,-0x1
sltu t1,t1,a3
beq t1,zero,0x00012764
_nop
b 0x00012400
_addiu a0,a0,-0x2
b 0x000123d0
_or v0,t3,zero
sll a0,a0,0x10
or v1,a1,zero
b 0x0001240c
_or v1,a0,v1
b 0x00012400
_or a0,v1,zero
sllv v0,a1,v0
sltu v0,v0,a3
beq v0,zero,0x0001240c
_nop
addiu v1,v1,-0x1
b 0x0001240c
_or v0,zero,zero
b 0x0001240c
_li v1,0x1
b 0x00012718
_or v0,a3,zero
b 0x0001261c
_or v1,t4,zero
b 0x000126c4
_or t6,a3,zero
b 0x000125c8
_or a0,t6,zero
b 0x000124a8
_addu v1,v1,t0
(translation_unit "uint FUN_00012310(uint param_1,uint param_2,uint param_3,uint param_4)\n\n{\n  longlong lVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  uint uVar12;\n  \n  uVar6 = -param_2;\n  if ((int)param_1 < 0) {\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }\n  else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }\n  if ((int)param_3 < 0) {\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }\n  if (param_3 == 0) {\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }\n  else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }\nLAB_0001240c:\n  if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }\n  return uVar3;\n}\n\n" (function_definition "uint FUN_00012310(uint param_1,uint param_2,uint param_3,uint param_4)\n\n{\n  longlong lVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  uint uVar12;\n  \n  uVar6 = -param_2;\n  if ((int)param_1 < 0) {\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }\n  else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }\n  if ((int)param_3 < 0) {\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }\n  if (param_3 == 0) {\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }\n  else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }\nLAB_0001240c:\n  if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }\n  return uVar3;\n}" type_identifier (function_declarator "FUN_00012310(uint param_1,uint param_2,uint param_3,uint param_4)" identifier (parameter_list "(uint param_1,uint param_2,uint param_3,uint param_4)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  longlong lVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  uint uVar12;\n  \n  uVar6 = -param_2;\n  if ((int)param_1 < 0) {\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }\n  else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }\n  if ((int)param_3 < 0) {\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }\n  if (param_3 == 0) {\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }\n  else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }\nLAB_0001240c:\n  if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }\n  return uVar3;\n}" { (declaration "longlong lVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (expression_statement "uVar6 = -param_2;" (assignment_expression "uVar6 = -param_2" identifier = (unary_expression "-param_2" - identifier)) ;) (if_statement "if ((int)param_1 < 0) {\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }\n  else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }" if (parenthesized_expression "((int)param_1 < 0)" ( (binary_expression "(int)param_1 < 0" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }" { (expression_statement "param_1 = -(uint)(uVar6 != 0) - param_1;" (assignment_expression "param_1 = -(uint)(uVar6 != 0) - param_1" identifier = (binary_expression "-(uint)(uVar6 != 0) - param_1" (unary_expression "-(uint)(uVar6 != 0)" - (call_expression "(uint)(uVar6 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )))) - identifier)) ;) (expression_statement "uVar7 = 0xffffffff;" (assignment_expression "uVar7 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }" else (compound_statement "{\n    uVar7 = 0;\n    uVar6 = param_2;\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = param_2;" (assignment_expression "uVar6 = param_2" identifier = identifier) ;) }))) (if_statement "if ((int)param_3 < 0) {\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }" if (parenthesized_expression "((int)param_3 < 0)" ( (binary_expression "(int)param_3 < 0" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }" { (expression_statement "param_4 = -param_4;" (assignment_expression "param_4 = -param_4" identifier = (unary_expression "-param_4" - identifier)) ;) (expression_statement "param_3 = -(uint)(param_4 != 0) - param_3;" (assignment_expression "param_3 = -(uint)(param_4 != 0) - param_3" identifier = (binary_expression "-(uint)(param_4 != 0) - param_3" (unary_expression "-(uint)(param_4 != 0)" - (call_expression "(uint)(param_4 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )))) - identifier)) ;) (expression_statement "uVar7 = ~uVar7;" (assignment_expression "uVar7 = ~uVar7" identifier = (unary_expression "~uVar7" ~ identifier)) ;) })) (if_statement "if (param_3 == 0) {\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }\n  else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }" { (expression_statement "uVar2 = LZCOUNT(param_4);" (assignment_expression "uVar2 = LZCOUNT(param_4)" identifier = (call_expression "LZCOUNT(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (if_statement "if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }" if (parenthesized_expression "(param_1 < param_4)" ( (binary_expression "param_1 < param_4" identifier < identifier) )) (compound_statement "{\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }" { (if_statement "if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }" { (expression_statement "uVar3 = uVar6 >> (-uVar2 & 0x1f);" (assignment_expression "uVar3 = uVar6 >> (-uVar2 & 0x1f)" identifier = (binary_expression "uVar6 >> (-uVar2 & 0x1f)" identifier >> (parenthesized_expression "(-uVar2 & 0x1f)" ( (binary_expression "-uVar2 & 0x1f" (unary_expression "-uVar2" - identifier) & number_literal) )))) ;) (expression_statement "param_4 = param_4 << (uVar2 & 0x1f);" (assignment_expression "param_4 = param_4 << (uVar2 & 0x1f)" identifier = (binary_expression "param_4 << (uVar2 & 0x1f)" identifier << (parenthesized_expression "(uVar2 & 0x1f)" ( (binary_expression "uVar2 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar6 = uVar6 << (uVar2 & 0x1f);" (assignment_expression "uVar6 = uVar6 << (uVar2 & 0x1f)" identifier = (binary_expression "uVar6 << (uVar2 & 0x1f)" identifier << (parenthesized_expression "(uVar2 & 0x1f)" ( (binary_expression "uVar2 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "param_1 = uVar3 | param_1 << (uVar2 & 0x1f);" (assignment_expression "param_1 = uVar3 | param_1 << (uVar2 & 0x1f)" identifier = (binary_expression "uVar3 | param_1 << (uVar2 & 0x1f)" identifier | (binary_expression "param_1 << (uVar2 & 0x1f)" identifier << (parenthesized_expression "(uVar2 & 0x1f)" ( (binary_expression "uVar2 & 0x1f" identifier & number_literal) ))))) ;) })) (expression_statement "uVar2 = param_4 >> 0x10;" (assignment_expression "uVar2 = param_4 >> 0x10" identifier = (binary_expression "param_4 >> 0x10" identifier >> number_literal)) ;) (if_statement "if (uVar2 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = param_1 / uVar2;" (assignment_expression "uVar9 = param_1 / uVar2" identifier = (binary_expression "param_1 / uVar2" identifier / identifier)) ;) (expression_statement "uVar4 = (param_4 & 0xffff) * uVar9;" (assignment_expression "uVar4 = (param_4 & 0xffff) * uVar9" identifier = (binary_expression "(param_4 & 0xffff) * uVar9" (parenthesized_expression "(param_4 & 0xffff)" ( (binary_expression "param_4 & 0xffff" identifier & number_literal) )) * identifier)) ;) (expression_statement "uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;" (assignment_expression "uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10" identifier = (binary_expression "param_1 % uVar2 << 0x10 | uVar6 >> 0x10" (binary_expression "param_1 % uVar2 << 0x10" (binary_expression "param_1 % uVar2" identifier % identifier) << number_literal) | (binary_expression "uVar6 >> 0x10" identifier >> number_literal))) ;) (expression_statement "uVar8 = uVar9;" (assignment_expression "uVar8 = uVar9" identifier = identifier) ;) (if_statement "if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }" if (parenthesized_expression "(uVar3 < uVar4)" ( (binary_expression "uVar3 < uVar4" identifier < identifier) )) (compound_statement "{\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }" { (expression_statement "uVar3 = uVar3 + param_4;" (assignment_expression "uVar3 = uVar3 + param_4" identifier = (binary_expression "uVar3 + param_4" identifier + identifier)) ;) (expression_statement "uVar8 = uVar9 - 1;" (assignment_expression "uVar8 = uVar9 - 1" identifier = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }" if (parenthesized_expression "((param_4 <= uVar3) && (uVar3 < uVar4))" ( (binary_expression "(param_4 <= uVar3) && (uVar3 < uVar4)" (parenthesized_expression "(param_4 <= uVar3)" ( (binary_expression "param_4 <= uVar3" identifier <= identifier) )) && (parenthesized_expression "(uVar3 < uVar4)" ( (binary_expression "uVar3 < uVar4" identifier < identifier) ))) )) (compound_statement "{\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }" { (expression_statement "uVar8 = uVar9 - 2;" (assignment_expression "uVar8 = uVar9 - 2" identifier = (binary_expression "uVar9 - 2" identifier - number_literal)) ;) (expression_statement "uVar3 = uVar3 + param_4;" (assignment_expression "uVar3 = uVar3 + param_4" identifier = (binary_expression "uVar3 + param_4" identifier + identifier)) ;) })) })) (if_statement "if (uVar2 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar10 = (uVar3 - uVar4) / uVar2;" (assignment_expression "uVar10 = (uVar3 - uVar4) / uVar2" identifier = (binary_expression "(uVar3 - uVar4) / uVar2" (parenthesized_expression "(uVar3 - uVar4)" ( (binary_expression "uVar3 - uVar4" identifier - identifier) )) / identifier)) ;) (expression_statement "uVar9 = (param_4 & 0xffff) * uVar10;" (assignment_expression "uVar9 = (param_4 & 0xffff) * uVar10" identifier = (binary_expression "(param_4 & 0xffff) * uVar10" (parenthesized_expression "(param_4 & 0xffff)" ( (binary_expression "param_4 & 0xffff" identifier & number_literal) )) * identifier)) ;) (expression_statement "uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;" (assignment_expression "uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff" identifier = (binary_expression "(uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff" (binary_expression "(uVar3 - uVar4) % uVar2 << 0x10" (binary_expression "(uVar3 - uVar4) % uVar2" (parenthesized_expression "(uVar3 - uVar4)" ( (binary_expression "uVar3 - uVar4" identifier - identifier) )) % identifier) << number_literal) | (binary_expression "uVar6 & 0xffff" identifier & number_literal))) ;) (expression_statement "uVar2 = uVar10;" (assignment_expression "uVar2 = uVar10" identifier = identifier) ;) (if_statement "if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }" if (parenthesized_expression "(uVar6 < uVar9)" ( (binary_expression "uVar6 < uVar9" identifier < identifier) )) (compound_statement "{\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }" { (expression_statement "uVar6 = param_4 + uVar6;" (assignment_expression "uVar6 = param_4 + uVar6" identifier = (binary_expression "param_4 + uVar6" identifier + identifier)) ;) (expression_statement "uVar2 = uVar10 - 1;" (assignment_expression "uVar2 = uVar10 - 1" identifier = (binary_expression "uVar10 - 1" identifier - number_literal)) ;) (if_statement "if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }" if (parenthesized_expression "((param_4 <= uVar6) && (uVar6 < uVar9))" ( (binary_expression "(param_4 <= uVar6) && (uVar6 < uVar9)" (parenthesized_expression "(param_4 <= uVar6)" ( (binary_expression "param_4 <= uVar6" identifier <= identifier) )) && (parenthesized_expression "(uVar6 < uVar9)" ( (binary_expression "uVar6 < uVar9" identifier < identifier) ))) )) (compound_statement "{\n          uVar2 = uVar10 - 2;\n        }" { (expression_statement "uVar2 = uVar10 - 2;" (assignment_expression "uVar2 = uVar10 - 2" identifier = (binary_expression "uVar10 - 2" identifier - number_literal)) ;) })) })) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = uVar8 << 0x10 | uVar2;" (assignment_expression "uVar2 = uVar8 << 0x10 | uVar2" identifier = (binary_expression "uVar8 << 0x10 | uVar2" (binary_expression "uVar8 << 0x10" identifier << number_literal) | identifier)) ;) }) (else_clause "else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }" else (compound_statement "{\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }" { (if_statement "if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n        param_4 = 1 / 0;\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) (expression_statement "param_4 = 1 / 0;" (assignment_expression "param_4 = 1 / 0" identifier = (binary_expression "1 / 0" number_literal / number_literal)) ;) })) (expression_statement "uVar2 = LZCOUNT(param_4);" (assignment_expression "uVar2 = LZCOUNT(param_4)" identifier = (call_expression "LZCOUNT(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "uVar8 = param_4 >> 0x10;" (assignment_expression "uVar8 = param_4 >> 0x10" identifier = (binary_expression "param_4 >> 0x10" identifier >> number_literal)) ;) (if_statement "if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }" { (expression_statement "param_1 = param_1 - param_4;" (assignment_expression "param_1 = param_1 - param_4" identifier = (binary_expression "param_1 - param_4" identifier - identifier)) ;) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (expression_statement "uVar10 = param_4 & 0xffff;" (assignment_expression "uVar10 = param_4 & 0xffff" identifier = (binary_expression "param_4 & 0xffff" identifier & number_literal)) ;) }) (else_clause "else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }" else (compound_statement "{\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }" { (expression_statement "param_4 = param_4 << (uVar2 & 0x1f);" (assignment_expression "param_4 = param_4 << (uVar2 & 0x1f)" identifier = (binary_expression "param_4 << (uVar2 & 0x1f)" identifier << (parenthesized_expression "(uVar2 & 0x1f)" ( (binary_expression "uVar2 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar8 = param_4 >> 0x10;" (assignment_expression "uVar8 = param_4 >> 0x10" identifier = (binary_expression "param_4 >> 0x10" identifier >> number_literal)) ;) (expression_statement "uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);" (assignment_expression "uVar3 = param_1 >> (0x20 - uVar2 & 0x1f)" identifier = (binary_expression "param_1 >> (0x20 - uVar2 & 0x1f)" identifier >> (parenthesized_expression "(0x20 - uVar2 & 0x1f)" ( (binary_expression "0x20 - uVar2 & 0x1f" (binary_expression "0x20 - uVar2" number_literal - identifier) & number_literal) )))) ;) (expression_statement "uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);" (assignment_expression "uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f)" identifier = (binary_expression "uVar6 >> (0x20 - uVar2 & 0x1f)" identifier >> (parenthesized_expression "(0x20 - uVar2 & 0x1f)" ( (binary_expression "0x20 - uVar2 & 0x1f" (binary_expression "0x20 - uVar2" number_literal - identifier) & number_literal) )))) ;) (if_statement "if (uVar8 == 0) {\n          trap(7);\n        }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          trap(7);\n        }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar5 = uVar3 / uVar8;" (assignment_expression "uVar5 = uVar3 / uVar8" identifier = (binary_expression "uVar3 / uVar8" identifier / identifier)) ;) (expression_statement "uVar10 = param_4 & 0xffff;" (assignment_expression "uVar10 = param_4 & 0xffff" identifier = (binary_expression "param_4 & 0xffff" identifier & number_literal)) ;) (expression_statement "uVar6 = uVar6 << (uVar2 & 0x1f);" (assignment_expression "uVar6 = uVar6 << (uVar2 & 0x1f)" identifier = (binary_expression "uVar6 << (uVar2 & 0x1f)" identifier << (parenthesized_expression "(uVar2 & 0x1f)" ( (binary_expression "uVar2 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);" (assignment_expression "uVar4 = uVar4 | param_1 << (uVar2 & 0x1f)" identifier = (binary_expression "uVar4 | param_1 << (uVar2 & 0x1f)" identifier | (binary_expression "param_1 << (uVar2 & 0x1f)" identifier << (parenthesized_expression "(uVar2 & 0x1f)" ( (binary_expression "uVar2 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "uVar9 = uVar10 * uVar5;" (assignment_expression "uVar9 = uVar10 * uVar5" identifier = (binary_expression "uVar10 * uVar5" identifier * identifier)) ;) (expression_statement "uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;" (assignment_expression "uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10" identifier = (binary_expression "uVar3 % uVar8 << 0x10 | uVar4 >> 0x10" (binary_expression "uVar3 % uVar8 << 0x10" (binary_expression "uVar3 % uVar8" identifier % identifier) << number_literal) | (binary_expression "uVar4 >> 0x10" identifier >> number_literal))) ;) (expression_statement "uVar2 = uVar5;" (assignment_expression "uVar2 = uVar5" identifier = identifier) ;) (if_statement "if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }" if (parenthesized_expression "(uVar3 < uVar9)" ( (binary_expression "uVar3 < uVar9" identifier < identifier) )) (compound_statement "{\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }" { (expression_statement "uVar3 = uVar3 + param_4;" (assignment_expression "uVar3 = uVar3 + param_4" identifier = (binary_expression "uVar3 + param_4" identifier + identifier)) ;) (expression_statement "uVar2 = uVar5 - 1;" (assignment_expression "uVar2 = uVar5 - 1" identifier = (binary_expression "uVar5 - 1" identifier - number_literal)) ;) (if_statement "if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }" if (parenthesized_expression "((param_4 <= uVar3) && (uVar3 < uVar9))" ( (binary_expression "(param_4 <= uVar3) && (uVar3 < uVar9)" (parenthesized_expression "(param_4 <= uVar3)" ( (binary_expression "param_4 <= uVar3" identifier <= identifier) )) && (parenthesized_expression "(uVar3 < uVar9)" ( (binary_expression "uVar3 < uVar9" identifier < identifier) ))) )) (compound_statement "{\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }" { (expression_statement "uVar2 = uVar5 - 2;" (assignment_expression "uVar2 = uVar5 - 2" identifier = (binary_expression "uVar5 - 2" identifier - number_literal)) ;) (expression_statement "uVar3 = uVar3 + param_4;" (assignment_expression "uVar3 = uVar3 + param_4" identifier = (binary_expression "uVar3 + param_4" identifier + identifier)) ;) })) })) (if_statement "if (uVar8 == 0) {\n          trap(7);\n        }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          trap(7);\n        }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar12 = (uVar3 - uVar9) / uVar8;" (assignment_expression "uVar12 = (uVar3 - uVar9) / uVar8" identifier = (binary_expression "(uVar3 - uVar9) / uVar8" (parenthesized_expression "(uVar3 - uVar9)" ( (binary_expression "uVar3 - uVar9" identifier - identifier) )) / identifier)) ;) (expression_statement "uVar5 = uVar10 * uVar12;" (assignment_expression "uVar5 = uVar10 * uVar12" identifier = (binary_expression "uVar10 * uVar12" identifier * identifier)) ;) (expression_statement "param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;" (assignment_expression "param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff" identifier = (binary_expression "(uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff" (binary_expression "(uVar3 - uVar9) % uVar8 << 0x10" (binary_expression "(uVar3 - uVar9) % uVar8" (parenthesized_expression "(uVar3 - uVar9)" ( (binary_expression "uVar3 - uVar9" identifier - identifier) )) % identifier) << number_literal) | (binary_expression "uVar4 & 0xffff" identifier & number_literal))) ;) (expression_statement "uVar3 = uVar12;" (assignment_expression "uVar3 = uVar12" identifier = identifier) ;) (if_statement "if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }" if (parenthesized_expression "(param_1 < uVar5)" ( (binary_expression "param_1 < uVar5" identifier < identifier) )) (compound_statement "{\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }" { (expression_statement "param_1 = param_1 + param_4;" (assignment_expression "param_1 = param_1 + param_4" identifier = (binary_expression "param_1 + param_4" identifier + identifier)) ;) (expression_statement "uVar3 = uVar12 - 1;" (assignment_expression "uVar3 = uVar12 - 1" identifier = (binary_expression "uVar12 - 1" identifier - number_literal)) ;) (if_statement "if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }" if (parenthesized_expression "((param_4 <= param_1) && (param_1 < uVar5))" ( (binary_expression "(param_4 <= param_1) && (param_1 < uVar5)" (parenthesized_expression "(param_4 <= param_1)" ( (binary_expression "param_4 <= param_1" identifier <= identifier) )) && (parenthesized_expression "(param_1 < uVar5)" ( (binary_expression "param_1 < uVar5" identifier < identifier) ))) )) (compound_statement "{\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }" { (expression_statement "uVar3 = uVar12 - 2;" (assignment_expression "uVar3 = uVar12 - 2" identifier = (binary_expression "uVar12 - 2" identifier - number_literal)) ;) (expression_statement "param_1 = param_1 + param_4;" (assignment_expression "param_1 = param_1 + param_4" identifier = (binary_expression "param_1 + param_4" identifier + identifier)) ;) })) })) (expression_statement "param_1 = param_1 - uVar5;" (assignment_expression "param_1 = param_1 - uVar5" identifier = (binary_expression "param_1 - uVar5" identifier - identifier)) ;) (expression_statement "uVar3 = uVar2 << 0x10 | uVar3;" (assignment_expression "uVar3 = uVar2 << 0x10 | uVar3" identifier = (binary_expression "uVar2 << 0x10 | uVar3" (binary_expression "uVar2 << 0x10" identifier << number_literal) | identifier)) ;) }))) (if_statement "if (uVar8 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar2 = param_1 / uVar8;" (assignment_expression "uVar2 = param_1 / uVar8" identifier = (binary_expression "param_1 / uVar8" identifier / identifier)) ;) (expression_statement "uVar5 = uVar2 * uVar10;" (assignment_expression "uVar5 = uVar2 * uVar10" identifier = (binary_expression "uVar2 * uVar10" identifier * identifier)) ;) (expression_statement "uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;" (assignment_expression "uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10" identifier = (binary_expression "param_1 % uVar8 << 0x10 | uVar6 >> 0x10" (binary_expression "param_1 % uVar8 << 0x10" (binary_expression "param_1 % uVar8" identifier % identifier) << number_literal) | (binary_expression "uVar6 >> 0x10" identifier >> number_literal))) ;) (expression_statement "uVar4 = uVar2;" (assignment_expression "uVar4 = uVar2" identifier = identifier) ;) (if_statement "if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }" if (parenthesized_expression "(uVar9 < uVar5)" ( (binary_expression "uVar9 < uVar5" identifier < identifier) )) (compound_statement "{\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }" { (expression_statement "uVar9 = uVar9 + param_4;" (assignment_expression "uVar9 = uVar9 + param_4" identifier = (binary_expression "uVar9 + param_4" identifier + identifier)) ;) (expression_statement "uVar4 = uVar2 - 1;" (assignment_expression "uVar4 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ;) (if_statement "if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }" if (parenthesized_expression "((param_4 <= uVar9) && (uVar9 < uVar5))" ( (binary_expression "(param_4 <= uVar9) && (uVar9 < uVar5)" (parenthesized_expression "(param_4 <= uVar9)" ( (binary_expression "param_4 <= uVar9" identifier <= identifier) )) && (parenthesized_expression "(uVar9 < uVar5)" ( (binary_expression "uVar9 < uVar5" identifier < identifier) ))) )) (compound_statement "{\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }" { (expression_statement "uVar9 = uVar9 + param_4;" (assignment_expression "uVar9 = uVar9 + param_4" identifier = (binary_expression "uVar9 + param_4" identifier + identifier)) ;) (expression_statement "uVar4 = uVar2 - 2;" (assignment_expression "uVar4 = uVar2 - 2" identifier = (binary_expression "uVar2 - 2" identifier - number_literal)) ;) })) })) (if_statement "if (uVar8 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar2 = (uVar9 - uVar5) / uVar8;" (assignment_expression "uVar2 = (uVar9 - uVar5) / uVar8" identifier = (binary_expression "(uVar9 - uVar5) / uVar8" (parenthesized_expression "(uVar9 - uVar5)" ( (binary_expression "uVar9 - uVar5" identifier - identifier) )) / identifier)) ;) (expression_statement "uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;" (assignment_expression "uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff" identifier = (binary_expression "(uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff" (binary_expression "(uVar9 - uVar5) % uVar8 << 0x10" (binary_expression "(uVar9 - uVar5) % uVar8" (parenthesized_expression "(uVar9 - uVar5)" ( (binary_expression "uVar9 - uVar5" identifier - identifier) )) % identifier) << number_literal) | (binary_expression "uVar6 & 0xffff" identifier & number_literal))) ;) (expression_statement "uVar8 = param_4 + uVar6;" (assignment_expression "uVar8 = param_4 + uVar6" identifier = (binary_expression "param_4 + uVar6" identifier + identifier)) ;) (if_statement "if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }" if (parenthesized_expression "(uVar6 < uVar2 * uVar10)" ( (binary_expression "uVar6 < uVar2 * uVar10" identifier < (binary_expression "uVar2 * uVar10" identifier * identifier)) )) (compound_statement "{\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }" { (if_statement "if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }" if (parenthesized_expression "((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8))" ( (binary_expression "(uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)" (parenthesized_expression "(uVar8 < param_4)" ( (binary_expression "uVar8 < param_4" identifier < identifier) )) || (parenthesized_expression "(uVar2 * uVar10 <= uVar8)" ( (binary_expression "uVar2 * uVar10 <= uVar8" (binary_expression "uVar2 * uVar10" identifier * identifier) <= identifier) ))) )) (compound_statement "{\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }" { (expression_statement "uVar2 = uVar4 << 0x10 | uVar2 - 1;" (assignment_expression "uVar2 = uVar4 << 0x10 | uVar2 - 1" identifier = (binary_expression "uVar4 << 0x10 | uVar2 - 1" (binary_expression "uVar4 << 0x10" identifier << number_literal) | (binary_expression "uVar2 - 1" identifier - number_literal))) ;) (goto_statement "goto LAB_0001240c;" goto statement_identifier ;) })) (expression_statement "uVar2 = uVar2 - 2;" (assignment_expression "uVar2 = uVar2 - 2" identifier = (binary_expression "uVar2 - 2" identifier - number_literal)) ;) })) (expression_statement "uVar2 = uVar4 << 0x10 | uVar2;" (assignment_expression "uVar2 = uVar4 << 0x10 | uVar2" identifier = (binary_expression "uVar4 << 0x10 | uVar2" (binary_expression "uVar4 << 0x10" identifier << number_literal) | identifier)) ;) }))) }) (else_clause "else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }" else (compound_statement "{\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }" if (parenthesized_expression "(param_1 < param_3)" ( (binary_expression "param_1 < param_3" identifier < identifier) )) (compound_statement "{\n      uVar3 = 0;\n    }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }" else (compound_statement "{\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }" { (expression_statement "uVar3 = LZCOUNT(param_3);" (assignment_expression "uVar3 = LZCOUNT(param_3)" identifier = (call_expression "LZCOUNT(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (if_statement "if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }" if (parenthesized_expression "(param_3 < param_1)" ( (binary_expression "param_3 < param_1" identifier < identifier) )) (compound_statement "{\n          uVar2 = 1;\n        }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) }) (else_clause "else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }" else (compound_statement "{\n          uVar2 = uVar6 < param_4 ^ 1;\n        }" { (expression_statement "uVar2 = uVar6 < param_4 ^ 1;" (assignment_expression "uVar2 = uVar6 < param_4 ^ 1" identifier = (binary_expression "uVar6 < param_4 ^ 1" (binary_expression "uVar6 < param_4" identifier < identifier) ^ number_literal)) ;) }))) }) (else_clause "else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }" else (compound_statement "{\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }" { (expression_statement "uVar9 = 0x20 - uVar3;" (assignment_expression "uVar9 = 0x20 - uVar3" identifier = (binary_expression "0x20 - uVar3" number_literal - identifier)) ;) (expression_statement "uVar8 = param_1 >> (uVar9 & 0x1f);" (assignment_expression "uVar8 = param_1 >> (uVar9 & 0x1f)" identifier = (binary_expression "param_1 >> (uVar9 & 0x1f)" identifier >> (parenthesized_expression "(uVar9 & 0x1f)" ( (binary_expression "uVar9 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);" (assignment_expression "uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f)" identifier = (binary_expression "param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f)" (binary_expression "param_4 >> (uVar9 & 0x1f)" identifier >> (parenthesized_expression "(uVar9 & 0x1f)" ( (binary_expression "uVar9 & 0x1f" identifier & number_literal) ))) | (binary_expression "param_3 << (uVar3 & 0x1f)" identifier << (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "uVar2 = uVar4 >> 0x10;" (assignment_expression "uVar2 = uVar4 >> 0x10" identifier = (binary_expression "uVar4 >> 0x10" identifier >> number_literal)) ;) (if_statement "if (uVar2 == 0) {\n          trap(7);\n        }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          trap(7);\n        }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar12 = uVar8 / uVar2;" (assignment_expression "uVar12 = uVar8 / uVar2" identifier = (binary_expression "uVar8 / uVar2" identifier / identifier)) ;) (expression_statement "uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);" (assignment_expression "uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f)" identifier = (binary_expression "uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f)" (binary_expression "uVar6 >> (uVar9 & 0x1f)" identifier >> (parenthesized_expression "(uVar9 & 0x1f)" ( (binary_expression "uVar9 & 0x1f" identifier & number_literal) ))) | (binary_expression "param_1 << (uVar3 & 0x1f)" identifier << (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "uVar5 = (uVar4 & 0xffff) * uVar12;" (assignment_expression "uVar5 = (uVar4 & 0xffff) * uVar12" identifier = (binary_expression "(uVar4 & 0xffff) * uVar12" (parenthesized_expression "(uVar4 & 0xffff)" ( (binary_expression "uVar4 & 0xffff" identifier & number_literal) )) * identifier)) ;) (expression_statement "uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;" (assignment_expression "uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10" identifier = (binary_expression "uVar8 % uVar2 << 0x10 | uVar10 >> 0x10" (binary_expression "uVar8 % uVar2 << 0x10" (binary_expression "uVar8 % uVar2" identifier % identifier) << number_literal) | (binary_expression "uVar10 >> 0x10" identifier >> number_literal))) ;) (expression_statement "uVar8 = uVar12;" (assignment_expression "uVar8 = uVar12" identifier = identifier) ;) (if_statement "if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }" if (parenthesized_expression "(uVar9 < uVar5)" ( (binary_expression "uVar9 < uVar5" identifier < identifier) )) (compound_statement "{\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }" { (expression_statement "uVar9 = uVar9 + uVar4;" (assignment_expression "uVar9 = uVar9 + uVar4" identifier = (binary_expression "uVar9 + uVar4" identifier + identifier)) ;) (expression_statement "uVar8 = uVar12 - 1;" (assignment_expression "uVar8 = uVar12 - 1" identifier = (binary_expression "uVar12 - 1" identifier - number_literal)) ;) (if_statement "if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }" if (parenthesized_expression "((uVar4 <= uVar9) && (uVar9 < uVar5))" ( (binary_expression "(uVar4 <= uVar9) && (uVar9 < uVar5)" (parenthesized_expression "(uVar4 <= uVar9)" ( (binary_expression "uVar4 <= uVar9" identifier <= identifier) )) && (parenthesized_expression "(uVar9 < uVar5)" ( (binary_expression "uVar9 < uVar5" identifier < identifier) ))) )) (compound_statement "{\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }" { (expression_statement "uVar8 = uVar12 - 2;" (assignment_expression "uVar8 = uVar12 - 2" identifier = (binary_expression "uVar12 - 2" identifier - number_literal)) ;) (expression_statement "uVar9 = uVar9 + uVar4;" (assignment_expression "uVar9 = uVar9 + uVar4" identifier = (binary_expression "uVar9 + uVar4" identifier + identifier)) ;) })) })) (if_statement "if (uVar2 == 0) {\n          trap(7);\n        }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          trap(7);\n        }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar11 = (uVar9 - uVar5) / uVar2;" (assignment_expression "uVar11 = (uVar9 - uVar5) / uVar2" identifier = (binary_expression "(uVar9 - uVar5) / uVar2" (parenthesized_expression "(uVar9 - uVar5)" ( (binary_expression "uVar9 - uVar5" identifier - identifier) )) / identifier)) ;) (expression_statement "uVar12 = (uVar4 & 0xffff) * uVar11;" (assignment_expression "uVar12 = (uVar4 & 0xffff) * uVar11" identifier = (binary_expression "(uVar4 & 0xffff) * uVar11" (parenthesized_expression "(uVar4 & 0xffff)" ( (binary_expression "uVar4 & 0xffff" identifier & number_literal) )) * identifier)) ;) (expression_statement "uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;" (assignment_expression "uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff" identifier = (binary_expression "(uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff" (binary_expression "(uVar9 - uVar5) % uVar2 << 0x10" (binary_expression "(uVar9 - uVar5) % uVar2" (parenthesized_expression "(uVar9 - uVar5)" ( (binary_expression "uVar9 - uVar5" identifier - identifier) )) % identifier) << number_literal) | (binary_expression "uVar10 & 0xffff" identifier & number_literal))) ;) (expression_statement "uVar2 = uVar11;" (assignment_expression "uVar2 = uVar11" identifier = identifier) ;) (if_statement "if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }" if (parenthesized_expression "(uVar9 < uVar12)" ( (binary_expression "uVar9 < uVar12" identifier < identifier) )) (compound_statement "{\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }" { (expression_statement "uVar9 = uVar9 + uVar4;" (assignment_expression "uVar9 = uVar9 + uVar4" identifier = (binary_expression "uVar9 + uVar4" identifier + identifier)) ;) (expression_statement "uVar2 = uVar11 - 1;" (assignment_expression "uVar2 = uVar11 - 1" identifier = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) (if_statement "if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }" if (parenthesized_expression "((uVar4 <= uVar9) && (uVar9 < uVar12))" ( (binary_expression "(uVar4 <= uVar9) && (uVar9 < uVar12)" (parenthesized_expression "(uVar4 <= uVar9)" ( (binary_expression "uVar4 <= uVar9" identifier <= identifier) )) && (parenthesized_expression "(uVar9 < uVar12)" ( (binary_expression "uVar9 < uVar12" identifier < identifier) ))) )) (compound_statement "{\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }" { (expression_statement "uVar2 = uVar11 - 2;" (assignment_expression "uVar2 = uVar11 - 2" identifier = (binary_expression "uVar11 - 2" identifier - number_literal)) ;) (expression_statement "uVar9 = uVar9 + uVar4;" (assignment_expression "uVar9 = uVar9 + uVar4" identifier = (binary_expression "uVar9 + uVar4" identifier + identifier)) ;) })) })) (expression_statement "uVar2 = uVar8 << 0x10 | uVar2;" (assignment_expression "uVar2 = uVar8 << 0x10 | uVar2" identifier = (binary_expression "uVar8 << 0x10 | uVar2" (binary_expression "uVar8 << 0x10" identifier << number_literal) | identifier)) ;) (expression_statement "lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));" (assignment_expression "lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f))" identifier = (binary_expression "(ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f))" (cast_expression "(ulonglong)uVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (call_expression "(ulonglong)(param_4 << (uVar3 & 0x1f))" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(param_4 << (uVar3 & 0x1f))" ( (binary_expression "param_4 << (uVar3 & 0x1f)" identifier << (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) ))) ))))) ;) (expression_statement "uVar8 = (uint)((ulonglong)lVar1 >> 0x20);" (assignment_expression "uVar8 = (uint)((ulonglong)lVar1 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar1 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar1 >> 0x20)" ( (binary_expression "(ulonglong)lVar1 >> 0x20" (cast_expression "(ulonglong)lVar1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }" if (parenthesized_expression "(uVar8 <= uVar9 - uVar12)" ( (binary_expression "uVar8 <= uVar9 - uVar12" identifier <= (binary_expression "uVar9 - uVar12" identifier - identifier)) )) (compound_statement "{\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }" { (if_statement "if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }" if (parenthesized_expression "(uVar9 - uVar12 != uVar8)" ( (binary_expression "uVar9 - uVar12 != uVar8" (binary_expression "uVar9 - uVar12" identifier - identifier) != identifier) )) (compound_statement "{\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0001240c;" goto statement_identifier ;) })) (expression_statement "uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);" (assignment_expression "uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1)" identifier = (call_expression "(uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 << (uVar3 & 0x1f) < (uint)lVar1)" ( (binary_expression "uVar6 << (uVar3 & 0x1f) < (uint)lVar1" (binary_expression "uVar6 << (uVar3 & 0x1f)" identifier << (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) ))) < (cast_expression "(uint)lVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (if_statement "if (uVar3 == 0) goto LAB_0001240c;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0001240c;" goto statement_identifier ;)) })) (expression_statement "uVar2 = uVar2 - 1;" (assignment_expression "uVar2 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }))) }))) }))) (labeled_statement "LAB_0001240c:\n  if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }" statement_identifier : (if_statement "if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }" { (expression_statement "uVar3 = -(uint)(uVar2 != 0) - uVar3;" (assignment_expression "uVar3 = -(uint)(uVar2 != 0) - uVar3" identifier = (binary_expression "-(uint)(uVar2 != 0) - uVar3" (unary_expression "-(uint)(uVar2 != 0)" - (call_expression "(uint)(uVar2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )))) - identifier)) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "uint __divdi3(uint param_1,uint param_2,uint param_3,uint param_4)\n\n{\n  longlong lVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  uint uVar12;\n  \n  uVar6 = -param_2;\n  if ((int)param_1 < 0) {\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }\n  else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }\n  if ((int)param_3 < 0) {\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }\n  if (param_3 == 0) {\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }\n  else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }\nLAB_0001240c:\n  if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }\n  return uVar3;\n}\n\n" (function_definition "uint __divdi3(uint param_1,uint param_2,uint param_3,uint param_4)\n\n{\n  longlong lVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  uint uVar12;\n  \n  uVar6 = -param_2;\n  if ((int)param_1 < 0) {\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }\n  else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }\n  if ((int)param_3 < 0) {\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }\n  if (param_3 == 0) {\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }\n  else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }\nLAB_0001240c:\n  if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }\n  return uVar3;\n}" type_identifier (function_declarator "__divdi3(uint param_1,uint param_2,uint param_3,uint param_4)" identifier (parameter_list "(uint param_1,uint param_2,uint param_3,uint param_4)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  longlong lVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  uint uVar12;\n  \n  uVar6 = -param_2;\n  if ((int)param_1 < 0) {\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }\n  else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }\n  if ((int)param_3 < 0) {\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }\n  if (param_3 == 0) {\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }\n  else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }\nLAB_0001240c:\n  if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }\n  return uVar3;\n}" { (declaration "longlong lVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (expression_statement "uVar6 = -param_2;" (assignment_expression "uVar6 = -param_2" identifier = (unary_expression "-param_2" - identifier)) ;) (if_statement "if ((int)param_1 < 0) {\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }\n  else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }" if (parenthesized_expression "((int)param_1 < 0)" ( (binary_expression "(int)param_1 < 0" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }" { (expression_statement "param_1 = -(uint)(uVar6 != 0) - param_1;" (assignment_expression "param_1 = -(uint)(uVar6 != 0) - param_1" identifier = (binary_expression "-(uint)(uVar6 != 0) - param_1" (unary_expression "-(uint)(uVar6 != 0)" - (call_expression "(uint)(uVar6 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )))) - identifier)) ;) (expression_statement "uVar7 = 0xffffffff;" (assignment_expression "uVar7 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }" else (compound_statement "{\n    uVar7 = 0;\n    uVar6 = param_2;\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = param_2;" (assignment_expression "uVar6 = param_2" identifier = identifier) ;) }))) (if_statement "if ((int)param_3 < 0) {\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }" if (parenthesized_expression "((int)param_3 < 0)" ( (binary_expression "(int)param_3 < 0" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }" { (expression_statement "param_4 = -param_4;" (assignment_expression "param_4 = -param_4" identifier = (unary_expression "-param_4" - identifier)) ;) (expression_statement "param_3 = -(uint)(param_4 != 0) - param_3;" (assignment_expression "param_3 = -(uint)(param_4 != 0) - param_3" identifier = (binary_expression "-(uint)(param_4 != 0) - param_3" (unary_expression "-(uint)(param_4 != 0)" - (call_expression "(uint)(param_4 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )))) - identifier)) ;) (expression_statement "uVar7 = ~uVar7;" (assignment_expression "uVar7 = ~uVar7" identifier = (unary_expression "~uVar7" ~ identifier)) ;) })) (if_statement "if (param_3 == 0) {\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }\n  else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }" { (expression_statement "uVar2 = LZCOUNT(param_4);" (assignment_expression "uVar2 = LZCOUNT(param_4)" identifier = (call_expression "LZCOUNT(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (if_statement "if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }" if (parenthesized_expression "(param_1 < param_4)" ( (binary_expression "param_1 < param_4" identifier < identifier) )) (compound_statement "{\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }" { (if_statement "if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }" { (expression_statement "uVar3 = uVar6 >> (-uVar2 & 0x1f);" (assignment_expression "uVar3 = uVar6 >> (-uVar2 & 0x1f)" identifier = (binary_expression "uVar6 >> (-uVar2 & 0x1f)" identifier >> (parenthesized_expression "(-uVar2 & 0x1f)" ( (binary_expression "-uVar2 & 0x1f" (unary_expression "-uVar2" - identifier) & number_literal) )))) ;) (expression_statement "param_4 = param_4 << (uVar2 & 0x1f);" (assignment_expression "param_4 = param_4 << (uVar2 & 0x1f)" identifier = (binary_expression "param_4 << (uVar2 & 0x1f)" identifier << (parenthesized_expression "(uVar2 & 0x1f)" ( (binary_expression "uVar2 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar6 = uVar6 << (uVar2 & 0x1f);" (assignment_expression "uVar6 = uVar6 << (uVar2 & 0x1f)" identifier = (binary_expression "uVar6 << (uVar2 & 0x1f)" identifier << (parenthesized_expression "(uVar2 & 0x1f)" ( (binary_expression "uVar2 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "param_1 = uVar3 | param_1 << (uVar2 & 0x1f);" (assignment_expression "param_1 = uVar3 | param_1 << (uVar2 & 0x1f)" identifier = (binary_expression "uVar3 | param_1 << (uVar2 & 0x1f)" identifier | (binary_expression "param_1 << (uVar2 & 0x1f)" identifier << (parenthesized_expression "(uVar2 & 0x1f)" ( (binary_expression "uVar2 & 0x1f" identifier & number_literal) ))))) ;) })) (expression_statement "uVar2 = param_4 >> 0x10;" (assignment_expression "uVar2 = param_4 >> 0x10" identifier = (binary_expression "param_4 >> 0x10" identifier >> number_literal)) ;) (if_statement "if (uVar2 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = param_1 / uVar2;" (assignment_expression "uVar9 = param_1 / uVar2" identifier = (binary_expression "param_1 / uVar2" identifier / identifier)) ;) (expression_statement "uVar4 = (param_4 & 0xffff) * uVar9;" (assignment_expression "uVar4 = (param_4 & 0xffff) * uVar9" identifier = (binary_expression "(param_4 & 0xffff) * uVar9" (parenthesized_expression "(param_4 & 0xffff)" ( (binary_expression "param_4 & 0xffff" identifier & number_literal) )) * identifier)) ;) (expression_statement "uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;" (assignment_expression "uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10" identifier = (binary_expression "param_1 % uVar2 << 0x10 | uVar6 >> 0x10" (binary_expression "param_1 % uVar2 << 0x10" (binary_expression "param_1 % uVar2" identifier % identifier) << number_literal) | (binary_expression "uVar6 >> 0x10" identifier >> number_literal))) ;) (expression_statement "uVar8 = uVar9;" (assignment_expression "uVar8 = uVar9" identifier = identifier) ;) (if_statement "if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }" if (parenthesized_expression "(uVar3 < uVar4)" ( (binary_expression "uVar3 < uVar4" identifier < identifier) )) (compound_statement "{\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }" { (expression_statement "uVar3 = uVar3 + param_4;" (assignment_expression "uVar3 = uVar3 + param_4" identifier = (binary_expression "uVar3 + param_4" identifier + identifier)) ;) (expression_statement "uVar8 = uVar9 - 1;" (assignment_expression "uVar8 = uVar9 - 1" identifier = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }" if (parenthesized_expression "((param_4 <= uVar3) && (uVar3 < uVar4))" ( (binary_expression "(param_4 <= uVar3) && (uVar3 < uVar4)" (parenthesized_expression "(param_4 <= uVar3)" ( (binary_expression "param_4 <= uVar3" identifier <= identifier) )) && (parenthesized_expression "(uVar3 < uVar4)" ( (binary_expression "uVar3 < uVar4" identifier < identifier) ))) )) (compound_statement "{\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }" { (expression_statement "uVar8 = uVar9 - 2;" (assignment_expression "uVar8 = uVar9 - 2" identifier = (binary_expression "uVar9 - 2" identifier - number_literal)) ;) (expression_statement "uVar3 = uVar3 + param_4;" (assignment_expression "uVar3 = uVar3 + param_4" identifier = (binary_expression "uVar3 + param_4" identifier + identifier)) ;) })) })) (if_statement "if (uVar2 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar10 = (uVar3 - uVar4) / uVar2;" (assignment_expression "uVar10 = (uVar3 - uVar4) / uVar2" identifier = (binary_expression "(uVar3 - uVar4) / uVar2" (parenthesized_expression "(uVar3 - uVar4)" ( (binary_expression "uVar3 - uVar4" identifier - identifier) )) / identifier)) ;) (expression_statement "uVar9 = (param_4 & 0xffff) * uVar10;" (assignment_expression "uVar9 = (param_4 & 0xffff) * uVar10" identifier = (binary_expression "(param_4 & 0xffff) * uVar10" (parenthesized_expression "(param_4 & 0xffff)" ( (binary_expression "param_4 & 0xffff" identifier & number_literal) )) * identifier)) ;) (expression_statement "uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;" (assignment_expression "uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff" identifier = (binary_expression "(uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff" (binary_expression "(uVar3 - uVar4) % uVar2 << 0x10" (binary_expression "(uVar3 - uVar4) % uVar2" (parenthesized_expression "(uVar3 - uVar4)" ( (binary_expression "uVar3 - uVar4" identifier - identifier) )) % identifier) << number_literal) | (binary_expression "uVar6 & 0xffff" identifier & number_literal))) ;) (expression_statement "uVar2 = uVar10;" (assignment_expression "uVar2 = uVar10" identifier = identifier) ;) (if_statement "if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }" if (parenthesized_expression "(uVar6 < uVar9)" ( (binary_expression "uVar6 < uVar9" identifier < identifier) )) (compound_statement "{\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }" { (expression_statement "uVar6 = param_4 + uVar6;" (assignment_expression "uVar6 = param_4 + uVar6" identifier = (binary_expression "param_4 + uVar6" identifier + identifier)) ;) (expression_statement "uVar2 = uVar10 - 1;" (assignment_expression "uVar2 = uVar10 - 1" identifier = (binary_expression "uVar10 - 1" identifier - number_literal)) ;) (if_statement "if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }" if (parenthesized_expression "((param_4 <= uVar6) && (uVar6 < uVar9))" ( (binary_expression "(param_4 <= uVar6) && (uVar6 < uVar9)" (parenthesized_expression "(param_4 <= uVar6)" ( (binary_expression "param_4 <= uVar6" identifier <= identifier) )) && (parenthesized_expression "(uVar6 < uVar9)" ( (binary_expression "uVar6 < uVar9" identifier < identifier) ))) )) (compound_statement "{\n          uVar2 = uVar10 - 2;\n        }" { (expression_statement "uVar2 = uVar10 - 2;" (assignment_expression "uVar2 = uVar10 - 2" identifier = (binary_expression "uVar10 - 2" identifier - number_literal)) ;) })) })) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = uVar8 << 0x10 | uVar2;" (assignment_expression "uVar2 = uVar8 << 0x10 | uVar2" identifier = (binary_expression "uVar8 << 0x10 | uVar2" (binary_expression "uVar8 << 0x10" identifier << number_literal) | identifier)) ;) }) (else_clause "else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }" else (compound_statement "{\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }" { (if_statement "if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n        param_4 = 1 / 0;\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) (expression_statement "param_4 = 1 / 0;" (assignment_expression "param_4 = 1 / 0" identifier = (binary_expression "1 / 0" number_literal / number_literal)) ;) })) (expression_statement "uVar2 = LZCOUNT(param_4);" (assignment_expression "uVar2 = LZCOUNT(param_4)" identifier = (call_expression "LZCOUNT(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "uVar8 = param_4 >> 0x10;" (assignment_expression "uVar8 = param_4 >> 0x10" identifier = (binary_expression "param_4 >> 0x10" identifier >> number_literal)) ;) (if_statement "if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }" { (expression_statement "param_1 = param_1 - param_4;" (assignment_expression "param_1 = param_1 - param_4" identifier = (binary_expression "param_1 - param_4" identifier - identifier)) ;) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (expression_statement "uVar10 = param_4 & 0xffff;" (assignment_expression "uVar10 = param_4 & 0xffff" identifier = (binary_expression "param_4 & 0xffff" identifier & number_literal)) ;) }) (else_clause "else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }" else (compound_statement "{\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }" { (expression_statement "param_4 = param_4 << (uVar2 & 0x1f);" (assignment_expression "param_4 = param_4 << (uVar2 & 0x1f)" identifier = (binary_expression "param_4 << (uVar2 & 0x1f)" identifier << (parenthesized_expression "(uVar2 & 0x1f)" ( (binary_expression "uVar2 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar8 = param_4 >> 0x10;" (assignment_expression "uVar8 = param_4 >> 0x10" identifier = (binary_expression "param_4 >> 0x10" identifier >> number_literal)) ;) (expression_statement "uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);" (assignment_expression "uVar3 = param_1 >> (0x20 - uVar2 & 0x1f)" identifier = (binary_expression "param_1 >> (0x20 - uVar2 & 0x1f)" identifier >> (parenthesized_expression "(0x20 - uVar2 & 0x1f)" ( (binary_expression "0x20 - uVar2 & 0x1f" (binary_expression "0x20 - uVar2" number_literal - identifier) & number_literal) )))) ;) (expression_statement "uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);" (assignment_expression "uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f)" identifier = (binary_expression "uVar6 >> (0x20 - uVar2 & 0x1f)" identifier >> (parenthesized_expression "(0x20 - uVar2 & 0x1f)" ( (binary_expression "0x20 - uVar2 & 0x1f" (binary_expression "0x20 - uVar2" number_literal - identifier) & number_literal) )))) ;) (if_statement "if (uVar8 == 0) {\n          trap(7);\n        }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          trap(7);\n        }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar5 = uVar3 / uVar8;" (assignment_expression "uVar5 = uVar3 / uVar8" identifier = (binary_expression "uVar3 / uVar8" identifier / identifier)) ;) (expression_statement "uVar10 = param_4 & 0xffff;" (assignment_expression "uVar10 = param_4 & 0xffff" identifier = (binary_expression "param_4 & 0xffff" identifier & number_literal)) ;) (expression_statement "uVar6 = uVar6 << (uVar2 & 0x1f);" (assignment_expression "uVar6 = uVar6 << (uVar2 & 0x1f)" identifier = (binary_expression "uVar6 << (uVar2 & 0x1f)" identifier << (parenthesized_expression "(uVar2 & 0x1f)" ( (binary_expression "uVar2 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);" (assignment_expression "uVar4 = uVar4 | param_1 << (uVar2 & 0x1f)" identifier = (binary_expression "uVar4 | param_1 << (uVar2 & 0x1f)" identifier | (binary_expression "param_1 << (uVar2 & 0x1f)" identifier << (parenthesized_expression "(uVar2 & 0x1f)" ( (binary_expression "uVar2 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "uVar9 = uVar10 * uVar5;" (assignment_expression "uVar9 = uVar10 * uVar5" identifier = (binary_expression "uVar10 * uVar5" identifier * identifier)) ;) (expression_statement "uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;" (assignment_expression "uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10" identifier = (binary_expression "uVar3 % uVar8 << 0x10 | uVar4 >> 0x10" (binary_expression "uVar3 % uVar8 << 0x10" (binary_expression "uVar3 % uVar8" identifier % identifier) << number_literal) | (binary_expression "uVar4 >> 0x10" identifier >> number_literal))) ;) (expression_statement "uVar2 = uVar5;" (assignment_expression "uVar2 = uVar5" identifier = identifier) ;) (if_statement "if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }" if (parenthesized_expression "(uVar3 < uVar9)" ( (binary_expression "uVar3 < uVar9" identifier < identifier) )) (compound_statement "{\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }" { (expression_statement "uVar3 = uVar3 + param_4;" (assignment_expression "uVar3 = uVar3 + param_4" identifier = (binary_expression "uVar3 + param_4" identifier + identifier)) ;) (expression_statement "uVar2 = uVar5 - 1;" (assignment_expression "uVar2 = uVar5 - 1" identifier = (binary_expression "uVar5 - 1" identifier - number_literal)) ;) (if_statement "if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }" if (parenthesized_expression "((param_4 <= uVar3) && (uVar3 < uVar9))" ( (binary_expression "(param_4 <= uVar3) && (uVar3 < uVar9)" (parenthesized_expression "(param_4 <= uVar3)" ( (binary_expression "param_4 <= uVar3" identifier <= identifier) )) && (parenthesized_expression "(uVar3 < uVar9)" ( (binary_expression "uVar3 < uVar9" identifier < identifier) ))) )) (compound_statement "{\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }" { (expression_statement "uVar2 = uVar5 - 2;" (assignment_expression "uVar2 = uVar5 - 2" identifier = (binary_expression "uVar5 - 2" identifier - number_literal)) ;) (expression_statement "uVar3 = uVar3 + param_4;" (assignment_expression "uVar3 = uVar3 + param_4" identifier = (binary_expression "uVar3 + param_4" identifier + identifier)) ;) })) })) (if_statement "if (uVar8 == 0) {\n          trap(7);\n        }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          trap(7);\n        }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar12 = (uVar3 - uVar9) / uVar8;" (assignment_expression "uVar12 = (uVar3 - uVar9) / uVar8" identifier = (binary_expression "(uVar3 - uVar9) / uVar8" (parenthesized_expression "(uVar3 - uVar9)" ( (binary_expression "uVar3 - uVar9" identifier - identifier) )) / identifier)) ;) (expression_statement "uVar5 = uVar10 * uVar12;" (assignment_expression "uVar5 = uVar10 * uVar12" identifier = (binary_expression "uVar10 * uVar12" identifier * identifier)) ;) (expression_statement "param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;" (assignment_expression "param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff" identifier = (binary_expression "(uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff" (binary_expression "(uVar3 - uVar9) % uVar8 << 0x10" (binary_expression "(uVar3 - uVar9) % uVar8" (parenthesized_expression "(uVar3 - uVar9)" ( (binary_expression "uVar3 - uVar9" identifier - identifier) )) % identifier) << number_literal) | (binary_expression "uVar4 & 0xffff" identifier & number_literal))) ;) (expression_statement "uVar3 = uVar12;" (assignment_expression "uVar3 = uVar12" identifier = identifier) ;) (if_statement "if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }" if (parenthesized_expression "(param_1 < uVar5)" ( (binary_expression "param_1 < uVar5" identifier < identifier) )) (compound_statement "{\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }" { (expression_statement "param_1 = param_1 + param_4;" (assignment_expression "param_1 = param_1 + param_4" identifier = (binary_expression "param_1 + param_4" identifier + identifier)) ;) (expression_statement "uVar3 = uVar12 - 1;" (assignment_expression "uVar3 = uVar12 - 1" identifier = (binary_expression "uVar12 - 1" identifier - number_literal)) ;) (if_statement "if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }" if (parenthesized_expression "((param_4 <= param_1) && (param_1 < uVar5))" ( (binary_expression "(param_4 <= param_1) && (param_1 < uVar5)" (parenthesized_expression "(param_4 <= param_1)" ( (binary_expression "param_4 <= param_1" identifier <= identifier) )) && (parenthesized_expression "(param_1 < uVar5)" ( (binary_expression "param_1 < uVar5" identifier < identifier) ))) )) (compound_statement "{\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }" { (expression_statement "uVar3 = uVar12 - 2;" (assignment_expression "uVar3 = uVar12 - 2" identifier = (binary_expression "uVar12 - 2" identifier - number_literal)) ;) (expression_statement "param_1 = param_1 + param_4;" (assignment_expression "param_1 = param_1 + param_4" identifier = (binary_expression "param_1 + param_4" identifier + identifier)) ;) })) })) (expression_statement "param_1 = param_1 - uVar5;" (assignment_expression "param_1 = param_1 - uVar5" identifier = (binary_expression "param_1 - uVar5" identifier - identifier)) ;) (expression_statement "uVar3 = uVar2 << 0x10 | uVar3;" (assignment_expression "uVar3 = uVar2 << 0x10 | uVar3" identifier = (binary_expression "uVar2 << 0x10 | uVar3" (binary_expression "uVar2 << 0x10" identifier << number_literal) | identifier)) ;) }))) (if_statement "if (uVar8 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar2 = param_1 / uVar8;" (assignment_expression "uVar2 = param_1 / uVar8" identifier = (binary_expression "param_1 / uVar8" identifier / identifier)) ;) (expression_statement "uVar5 = uVar2 * uVar10;" (assignment_expression "uVar5 = uVar2 * uVar10" identifier = (binary_expression "uVar2 * uVar10" identifier * identifier)) ;) (expression_statement "uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;" (assignment_expression "uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10" identifier = (binary_expression "param_1 % uVar8 << 0x10 | uVar6 >> 0x10" (binary_expression "param_1 % uVar8 << 0x10" (binary_expression "param_1 % uVar8" identifier % identifier) << number_literal) | (binary_expression "uVar6 >> 0x10" identifier >> number_literal))) ;) (expression_statement "uVar4 = uVar2;" (assignment_expression "uVar4 = uVar2" identifier = identifier) ;) (if_statement "if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }" if (parenthesized_expression "(uVar9 < uVar5)" ( (binary_expression "uVar9 < uVar5" identifier < identifier) )) (compound_statement "{\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }" { (expression_statement "uVar9 = uVar9 + param_4;" (assignment_expression "uVar9 = uVar9 + param_4" identifier = (binary_expression "uVar9 + param_4" identifier + identifier)) ;) (expression_statement "uVar4 = uVar2 - 1;" (assignment_expression "uVar4 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ;) (if_statement "if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }" if (parenthesized_expression "((param_4 <= uVar9) && (uVar9 < uVar5))" ( (binary_expression "(param_4 <= uVar9) && (uVar9 < uVar5)" (parenthesized_expression "(param_4 <= uVar9)" ( (binary_expression "param_4 <= uVar9" identifier <= identifier) )) && (parenthesized_expression "(uVar9 < uVar5)" ( (binary_expression "uVar9 < uVar5" identifier < identifier) ))) )) (compound_statement "{\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }" { (expression_statement "uVar9 = uVar9 + param_4;" (assignment_expression "uVar9 = uVar9 + param_4" identifier = (binary_expression "uVar9 + param_4" identifier + identifier)) ;) (expression_statement "uVar4 = uVar2 - 2;" (assignment_expression "uVar4 = uVar2 - 2" identifier = (binary_expression "uVar2 - 2" identifier - number_literal)) ;) })) })) (if_statement "if (uVar8 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar2 = (uVar9 - uVar5) / uVar8;" (assignment_expression "uVar2 = (uVar9 - uVar5) / uVar8" identifier = (binary_expression "(uVar9 - uVar5) / uVar8" (parenthesized_expression "(uVar9 - uVar5)" ( (binary_expression "uVar9 - uVar5" identifier - identifier) )) / identifier)) ;) (expression_statement "uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;" (assignment_expression "uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff" identifier = (binary_expression "(uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff" (binary_expression "(uVar9 - uVar5) % uVar8 << 0x10" (binary_expression "(uVar9 - uVar5) % uVar8" (parenthesized_expression "(uVar9 - uVar5)" ( (binary_expression "uVar9 - uVar5" identifier - identifier) )) % identifier) << number_literal) | (binary_expression "uVar6 & 0xffff" identifier & number_literal))) ;) (expression_statement "uVar8 = param_4 + uVar6;" (assignment_expression "uVar8 = param_4 + uVar6" identifier = (binary_expression "param_4 + uVar6" identifier + identifier)) ;) (if_statement "if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }" if (parenthesized_expression "(uVar6 < uVar2 * uVar10)" ( (binary_expression "uVar6 < uVar2 * uVar10" identifier < (binary_expression "uVar2 * uVar10" identifier * identifier)) )) (compound_statement "{\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }" { (if_statement "if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }" if (parenthesized_expression "((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8))" ( (binary_expression "(uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)" (parenthesized_expression "(uVar8 < param_4)" ( (binary_expression "uVar8 < param_4" identifier < identifier) )) || (parenthesized_expression "(uVar2 * uVar10 <= uVar8)" ( (binary_expression "uVar2 * uVar10 <= uVar8" (binary_expression "uVar2 * uVar10" identifier * identifier) <= identifier) ))) )) (compound_statement "{\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }" { (expression_statement "uVar2 = uVar4 << 0x10 | uVar2 - 1;" (assignment_expression "uVar2 = uVar4 << 0x10 | uVar2 - 1" identifier = (binary_expression "uVar4 << 0x10 | uVar2 - 1" (binary_expression "uVar4 << 0x10" identifier << number_literal) | (binary_expression "uVar2 - 1" identifier - number_literal))) ;) (goto_statement "goto LAB_0001240c;" goto statement_identifier ;) })) (expression_statement "uVar2 = uVar2 - 2;" (assignment_expression "uVar2 = uVar2 - 2" identifier = (binary_expression "uVar2 - 2" identifier - number_literal)) ;) })) (expression_statement "uVar2 = uVar4 << 0x10 | uVar2;" (assignment_expression "uVar2 = uVar4 << 0x10 | uVar2" identifier = (binary_expression "uVar4 << 0x10 | uVar2" (binary_expression "uVar4 << 0x10" identifier << number_literal) | identifier)) ;) }))) }) (else_clause "else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }" else (compound_statement "{\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }" if (parenthesized_expression "(param_1 < param_3)" ( (binary_expression "param_1 < param_3" identifier < identifier) )) (compound_statement "{\n      uVar3 = 0;\n    }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }" else (compound_statement "{\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }" { (expression_statement "uVar3 = LZCOUNT(param_3);" (assignment_expression "uVar3 = LZCOUNT(param_3)" identifier = (call_expression "LZCOUNT(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (if_statement "if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }" if (parenthesized_expression "(param_3 < param_1)" ( (binary_expression "param_3 < param_1" identifier < identifier) )) (compound_statement "{\n          uVar2 = 1;\n        }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) }) (else_clause "else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }" else (compound_statement "{\n          uVar2 = uVar6 < param_4 ^ 1;\n        }" { (expression_statement "uVar2 = uVar6 < param_4 ^ 1;" (assignment_expression "uVar2 = uVar6 < param_4 ^ 1" identifier = (binary_expression "uVar6 < param_4 ^ 1" (binary_expression "uVar6 < param_4" identifier < identifier) ^ number_literal)) ;) }))) }) (else_clause "else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }" else (compound_statement "{\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }" { (expression_statement "uVar9 = 0x20 - uVar3;" (assignment_expression "uVar9 = 0x20 - uVar3" identifier = (binary_expression "0x20 - uVar3" number_literal - identifier)) ;) (expression_statement "uVar8 = param_1 >> (uVar9 & 0x1f);" (assignment_expression "uVar8 = param_1 >> (uVar9 & 0x1f)" identifier = (binary_expression "param_1 >> (uVar9 & 0x1f)" identifier >> (parenthesized_expression "(uVar9 & 0x1f)" ( (binary_expression "uVar9 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);" (assignment_expression "uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f)" identifier = (binary_expression "param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f)" (binary_expression "param_4 >> (uVar9 & 0x1f)" identifier >> (parenthesized_expression "(uVar9 & 0x1f)" ( (binary_expression "uVar9 & 0x1f" identifier & number_literal) ))) | (binary_expression "param_3 << (uVar3 & 0x1f)" identifier << (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "uVar2 = uVar4 >> 0x10;" (assignment_expression "uVar2 = uVar4 >> 0x10" identifier = (binary_expression "uVar4 >> 0x10" identifier >> number_literal)) ;) (if_statement "if (uVar2 == 0) {\n          trap(7);\n        }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          trap(7);\n        }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar12 = uVar8 / uVar2;" (assignment_expression "uVar12 = uVar8 / uVar2" identifier = (binary_expression "uVar8 / uVar2" identifier / identifier)) ;) (expression_statement "uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);" (assignment_expression "uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f)" identifier = (binary_expression "uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f)" (binary_expression "uVar6 >> (uVar9 & 0x1f)" identifier >> (parenthesized_expression "(uVar9 & 0x1f)" ( (binary_expression "uVar9 & 0x1f" identifier & number_literal) ))) | (binary_expression "param_1 << (uVar3 & 0x1f)" identifier << (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "uVar5 = (uVar4 & 0xffff) * uVar12;" (assignment_expression "uVar5 = (uVar4 & 0xffff) * uVar12" identifier = (binary_expression "(uVar4 & 0xffff) * uVar12" (parenthesized_expression "(uVar4 & 0xffff)" ( (binary_expression "uVar4 & 0xffff" identifier & number_literal) )) * identifier)) ;) (expression_statement "uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;" (assignment_expression "uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10" identifier = (binary_expression "uVar8 % uVar2 << 0x10 | uVar10 >> 0x10" (binary_expression "uVar8 % uVar2 << 0x10" (binary_expression "uVar8 % uVar2" identifier % identifier) << number_literal) | (binary_expression "uVar10 >> 0x10" identifier >> number_literal))) ;) (expression_statement "uVar8 = uVar12;" (assignment_expression "uVar8 = uVar12" identifier = identifier) ;) (if_statement "if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }" if (parenthesized_expression "(uVar9 < uVar5)" ( (binary_expression "uVar9 < uVar5" identifier < identifier) )) (compound_statement "{\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }" { (expression_statement "uVar9 = uVar9 + uVar4;" (assignment_expression "uVar9 = uVar9 + uVar4" identifier = (binary_expression "uVar9 + uVar4" identifier + identifier)) ;) (expression_statement "uVar8 = uVar12 - 1;" (assignment_expression "uVar8 = uVar12 - 1" identifier = (binary_expression "uVar12 - 1" identifier - number_literal)) ;) (if_statement "if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }" if (parenthesized_expression "((uVar4 <= uVar9) && (uVar9 < uVar5))" ( (binary_expression "(uVar4 <= uVar9) && (uVar9 < uVar5)" (parenthesized_expression "(uVar4 <= uVar9)" ( (binary_expression "uVar4 <= uVar9" identifier <= identifier) )) && (parenthesized_expression "(uVar9 < uVar5)" ( (binary_expression "uVar9 < uVar5" identifier < identifier) ))) )) (compound_statement "{\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }" { (expression_statement "uVar8 = uVar12 - 2;" (assignment_expression "uVar8 = uVar12 - 2" identifier = (binary_expression "uVar12 - 2" identifier - number_literal)) ;) (expression_statement "uVar9 = uVar9 + uVar4;" (assignment_expression "uVar9 = uVar9 + uVar4" identifier = (binary_expression "uVar9 + uVar4" identifier + identifier)) ;) })) })) (if_statement "if (uVar2 == 0) {\n          trap(7);\n        }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          trap(7);\n        }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar11 = (uVar9 - uVar5) / uVar2;" (assignment_expression "uVar11 = (uVar9 - uVar5) / uVar2" identifier = (binary_expression "(uVar9 - uVar5) / uVar2" (parenthesized_expression "(uVar9 - uVar5)" ( (binary_expression "uVar9 - uVar5" identifier - identifier) )) / identifier)) ;) (expression_statement "uVar12 = (uVar4 & 0xffff) * uVar11;" (assignment_expression "uVar12 = (uVar4 & 0xffff) * uVar11" identifier = (binary_expression "(uVar4 & 0xffff) * uVar11" (parenthesized_expression "(uVar4 & 0xffff)" ( (binary_expression "uVar4 & 0xffff" identifier & number_literal) )) * identifier)) ;) (expression_statement "uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;" (assignment_expression "uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff" identifier = (binary_expression "(uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff" (binary_expression "(uVar9 - uVar5) % uVar2 << 0x10" (binary_expression "(uVar9 - uVar5) % uVar2" (parenthesized_expression "(uVar9 - uVar5)" ( (binary_expression "uVar9 - uVar5" identifier - identifier) )) % identifier) << number_literal) | (binary_expression "uVar10 & 0xffff" identifier & number_literal))) ;) (expression_statement "uVar2 = uVar11;" (assignment_expression "uVar2 = uVar11" identifier = identifier) ;) (if_statement "if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }" if (parenthesized_expression "(uVar9 < uVar12)" ( (binary_expression "uVar9 < uVar12" identifier < identifier) )) (compound_statement "{\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }" { (expression_statement "uVar9 = uVar9 + uVar4;" (assignment_expression "uVar9 = uVar9 + uVar4" identifier = (binary_expression "uVar9 + uVar4" identifier + identifier)) ;) (expression_statement "uVar2 = uVar11 - 1;" (assignment_expression "uVar2 = uVar11 - 1" identifier = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) (if_statement "if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }" if (parenthesized_expression "((uVar4 <= uVar9) && (uVar9 < uVar12))" ( (binary_expression "(uVar4 <= uVar9) && (uVar9 < uVar12)" (parenthesized_expression "(uVar4 <= uVar9)" ( (binary_expression "uVar4 <= uVar9" identifier <= identifier) )) && (parenthesized_expression "(uVar9 < uVar12)" ( (binary_expression "uVar9 < uVar12" identifier < identifier) ))) )) (compound_statement "{\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }" { (expression_statement "uVar2 = uVar11 - 2;" (assignment_expression "uVar2 = uVar11 - 2" identifier = (binary_expression "uVar11 - 2" identifier - number_literal)) ;) (expression_statement "uVar9 = uVar9 + uVar4;" (assignment_expression "uVar9 = uVar9 + uVar4" identifier = (binary_expression "uVar9 + uVar4" identifier + identifier)) ;) })) })) (expression_statement "uVar2 = uVar8 << 0x10 | uVar2;" (assignment_expression "uVar2 = uVar8 << 0x10 | uVar2" identifier = (binary_expression "uVar8 << 0x10 | uVar2" (binary_expression "uVar8 << 0x10" identifier << number_literal) | identifier)) ;) (expression_statement "lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));" (assignment_expression "lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f))" identifier = (binary_expression "(ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f))" (cast_expression "(ulonglong)uVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (call_expression "(ulonglong)(param_4 << (uVar3 & 0x1f))" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(param_4 << (uVar3 & 0x1f))" ( (binary_expression "param_4 << (uVar3 & 0x1f)" identifier << (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) ))) ))))) ;) (expression_statement "uVar8 = (uint)((ulonglong)lVar1 >> 0x20);" (assignment_expression "uVar8 = (uint)((ulonglong)lVar1 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar1 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar1 >> 0x20)" ( (binary_expression "(ulonglong)lVar1 >> 0x20" (cast_expression "(ulonglong)lVar1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }" if (parenthesized_expression "(uVar8 <= uVar9 - uVar12)" ( (binary_expression "uVar8 <= uVar9 - uVar12" identifier <= (binary_expression "uVar9 - uVar12" identifier - identifier)) )) (compound_statement "{\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }" { (if_statement "if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }" if (parenthesized_expression "(uVar9 - uVar12 != uVar8)" ( (binary_expression "uVar9 - uVar12 != uVar8" (binary_expression "uVar9 - uVar12" identifier - identifier) != identifier) )) (compound_statement "{\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0001240c;" goto statement_identifier ;) })) (expression_statement "uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);" (assignment_expression "uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1)" identifier = (call_expression "(uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 << (uVar3 & 0x1f) < (uint)lVar1)" ( (binary_expression "uVar6 << (uVar3 & 0x1f) < (uint)lVar1" (binary_expression "uVar6 << (uVar3 & 0x1f)" identifier << (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) ))) < (cast_expression "(uint)lVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (if_statement "if (uVar3 == 0) goto LAB_0001240c;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0001240c;" goto statement_identifier ;)) })) (expression_statement "uVar2 = uVar2 - 1;" (assignment_expression "uVar2 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }))) }))) }))) (labeled_statement "LAB_0001240c:\n  if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }" statement_identifier : (if_statement "if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }" { (expression_statement "uVar3 = -(uint)(uVar2 != 0) - uVar3;" (assignment_expression "uVar3 = -(uint)(uVar2 != 0) - uVar3" identifier = (binary_expression "-(uint)(uVar2 != 0) - uVar3" (unary_expression "-(uint)(uVar2 != 0)" - (call_expression "(uint)(uVar2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )))) - identifier)) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "uint FUN_00012310(uint param_1,uint param_2,uint param_3,uint param_4)\n\n{\n  longlong lVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  uint uVar12;\n  \n  uVar6 = -param_2;\n  if ((int)param_1 < 0) {\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }\n  else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }\n  if ((int)param_3 < 0) {\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }\n  if (param_3 == 0) {\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }\n  else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }\nLAB_0001240c:\n  if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }\n  return uVar3;\n}\n\n" (function_definition "uint FUN_00012310(uint param_1,uint param_2,uint param_3,uint param_4)\n\n{\n  longlong lVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  uint uVar12;\n  \n  uVar6 = -param_2;\n  if ((int)param_1 < 0) {\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }\n  else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }\n  if ((int)param_3 < 0) {\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }\n  if (param_3 == 0) {\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }\n  else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }\nLAB_0001240c:\n  if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }\n  return uVar3;\n}" type_identifier (function_declarator "FUN_00012310(uint param_1,uint param_2,uint param_3,uint param_4)" identifier (parameter_list "(uint param_1,uint param_2,uint param_3,uint param_4)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  longlong lVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  uint uVar12;\n  \n  uVar6 = -param_2;\n  if ((int)param_1 < 0) {\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }\n  else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }\n  if ((int)param_3 < 0) {\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }\n  if (param_3 == 0) {\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }\n  else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }\nLAB_0001240c:\n  if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }\n  return uVar3;\n}" { (declaration "longlong lVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (expression_statement "uVar6 = -param_2;" (assignment_expression "uVar6 = -param_2" identifier = (unary_expression "-param_2" - identifier)) ;) (if_statement "if ((int)param_1 < 0) {\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }\n  else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }" if (parenthesized_expression "((int)param_1 < 0)" ( (binary_expression "(int)param_1 < 0" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }" { (expression_statement "param_1 = -(uint)(uVar6 != 0) - param_1;" (assignment_expression "param_1 = -(uint)(uVar6 != 0) - param_1" identifier = (binary_expression "-(uint)(uVar6 != 0) - param_1" (unary_expression "-(uint)(uVar6 != 0)" - (call_expression "(uint)(uVar6 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )))) - identifier)) ;) (expression_statement "uVar7 = 0xffffffff;" (assignment_expression "uVar7 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }" else (compound_statement "{\n    uVar7 = 0;\n    uVar6 = param_2;\n  }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = param_2;" (assignment_expression "uVar6 = param_2" identifier = identifier) ;) }))) (if_statement "if ((int)param_3 < 0) {\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }" if (parenthesized_expression "((int)param_3 < 0)" ( (binary_expression "(int)param_3 < 0" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }" { (expression_statement "param_4 = -param_4;" (assignment_expression "param_4 = -param_4" identifier = (unary_expression "-param_4" - identifier)) ;) (expression_statement "param_3 = -(uint)(param_4 != 0) - param_3;" (assignment_expression "param_3 = -(uint)(param_4 != 0) - param_3" identifier = (binary_expression "-(uint)(param_4 != 0) - param_3" (unary_expression "-(uint)(param_4 != 0)" - (call_expression "(uint)(param_4 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )))) - identifier)) ;) (expression_statement "uVar7 = ~uVar7;" (assignment_expression "uVar7 = ~uVar7" identifier = (unary_expression "~uVar7" ~ identifier)) ;) })) (if_statement "if (param_3 == 0) {\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }\n  else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }" { (expression_statement "uVar2 = LZCOUNT(param_4);" (assignment_expression "uVar2 = LZCOUNT(param_4)" identifier = (call_expression "LZCOUNT(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (if_statement "if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }" if (parenthesized_expression "(param_1 < param_4)" ( (binary_expression "param_1 < param_4" identifier < identifier) )) (compound_statement "{\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }" { (if_statement "if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }" { (expression_statement "uVar3 = uVar6 >> (-uVar2 & 0x1f);" (assignment_expression "uVar3 = uVar6 >> (-uVar2 & 0x1f)" identifier = (binary_expression "uVar6 >> (-uVar2 & 0x1f)" identifier >> (parenthesized_expression "(-uVar2 & 0x1f)" ( (binary_expression "-uVar2 & 0x1f" (unary_expression "-uVar2" - identifier) & number_literal) )))) ;) (expression_statement "param_4 = param_4 << (uVar2 & 0x1f);" (assignment_expression "param_4 = param_4 << (uVar2 & 0x1f)" identifier = (binary_expression "param_4 << (uVar2 & 0x1f)" identifier << (parenthesized_expression "(uVar2 & 0x1f)" ( (binary_expression "uVar2 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar6 = uVar6 << (uVar2 & 0x1f);" (assignment_expression "uVar6 = uVar6 << (uVar2 & 0x1f)" identifier = (binary_expression "uVar6 << (uVar2 & 0x1f)" identifier << (parenthesized_expression "(uVar2 & 0x1f)" ( (binary_expression "uVar2 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "param_1 = uVar3 | param_1 << (uVar2 & 0x1f);" (assignment_expression "param_1 = uVar3 | param_1 << (uVar2 & 0x1f)" identifier = (binary_expression "uVar3 | param_1 << (uVar2 & 0x1f)" identifier | (binary_expression "param_1 << (uVar2 & 0x1f)" identifier << (parenthesized_expression "(uVar2 & 0x1f)" ( (binary_expression "uVar2 & 0x1f" identifier & number_literal) ))))) ;) })) (expression_statement "uVar2 = param_4 >> 0x10;" (assignment_expression "uVar2 = param_4 >> 0x10" identifier = (binary_expression "param_4 >> 0x10" identifier >> number_literal)) ;) (if_statement "if (uVar2 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = param_1 / uVar2;" (assignment_expression "uVar9 = param_1 / uVar2" identifier = (binary_expression "param_1 / uVar2" identifier / identifier)) ;) (expression_statement "uVar4 = (param_4 & 0xffff) * uVar9;" (assignment_expression "uVar4 = (param_4 & 0xffff) * uVar9" identifier = (binary_expression "(param_4 & 0xffff) * uVar9" (parenthesized_expression "(param_4 & 0xffff)" ( (binary_expression "param_4 & 0xffff" identifier & number_literal) )) * identifier)) ;) (expression_statement "uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;" (assignment_expression "uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10" identifier = (binary_expression "param_1 % uVar2 << 0x10 | uVar6 >> 0x10" (binary_expression "param_1 % uVar2 << 0x10" (binary_expression "param_1 % uVar2" identifier % identifier) << number_literal) | (binary_expression "uVar6 >> 0x10" identifier >> number_literal))) ;) (expression_statement "uVar8 = uVar9;" (assignment_expression "uVar8 = uVar9" identifier = identifier) ;) (if_statement "if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }" if (parenthesized_expression "(uVar3 < uVar4)" ( (binary_expression "uVar3 < uVar4" identifier < identifier) )) (compound_statement "{\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }" { (expression_statement "uVar3 = uVar3 + param_4;" (assignment_expression "uVar3 = uVar3 + param_4" identifier = (binary_expression "uVar3 + param_4" identifier + identifier)) ;) (expression_statement "uVar8 = uVar9 - 1;" (assignment_expression "uVar8 = uVar9 - 1" identifier = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }" if (parenthesized_expression "((param_4 <= uVar3) && (uVar3 < uVar4))" ( (binary_expression "(param_4 <= uVar3) && (uVar3 < uVar4)" (parenthesized_expression "(param_4 <= uVar3)" ( (binary_expression "param_4 <= uVar3" identifier <= identifier) )) && (parenthesized_expression "(uVar3 < uVar4)" ( (binary_expression "uVar3 < uVar4" identifier < identifier) ))) )) (compound_statement "{\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }" { (expression_statement "uVar8 = uVar9 - 2;" (assignment_expression "uVar8 = uVar9 - 2" identifier = (binary_expression "uVar9 - 2" identifier - number_literal)) ;) (expression_statement "uVar3 = uVar3 + param_4;" (assignment_expression "uVar3 = uVar3 + param_4" identifier = (binary_expression "uVar3 + param_4" identifier + identifier)) ;) })) })) (if_statement "if (uVar2 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar10 = (uVar3 - uVar4) / uVar2;" (assignment_expression "uVar10 = (uVar3 - uVar4) / uVar2" identifier = (binary_expression "(uVar3 - uVar4) / uVar2" (parenthesized_expression "(uVar3 - uVar4)" ( (binary_expression "uVar3 - uVar4" identifier - identifier) )) / identifier)) ;) (expression_statement "uVar9 = (param_4 & 0xffff) * uVar10;" (assignment_expression "uVar9 = (param_4 & 0xffff) * uVar10" identifier = (binary_expression "(param_4 & 0xffff) * uVar10" (parenthesized_expression "(param_4 & 0xffff)" ( (binary_expression "param_4 & 0xffff" identifier & number_literal) )) * identifier)) ;) (expression_statement "uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;" (assignment_expression "uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff" identifier = (binary_expression "(uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff" (binary_expression "(uVar3 - uVar4) % uVar2 << 0x10" (binary_expression "(uVar3 - uVar4) % uVar2" (parenthesized_expression "(uVar3 - uVar4)" ( (binary_expression "uVar3 - uVar4" identifier - identifier) )) % identifier) << number_literal) | (binary_expression "uVar6 & 0xffff" identifier & number_literal))) ;) (expression_statement "uVar2 = uVar10;" (assignment_expression "uVar2 = uVar10" identifier = identifier) ;) (if_statement "if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }" if (parenthesized_expression "(uVar6 < uVar9)" ( (binary_expression "uVar6 < uVar9" identifier < identifier) )) (compound_statement "{\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }" { (expression_statement "uVar6 = param_4 + uVar6;" (assignment_expression "uVar6 = param_4 + uVar6" identifier = (binary_expression "param_4 + uVar6" identifier + identifier)) ;) (expression_statement "uVar2 = uVar10 - 1;" (assignment_expression "uVar2 = uVar10 - 1" identifier = (binary_expression "uVar10 - 1" identifier - number_literal)) ;) (if_statement "if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }" if (parenthesized_expression "((param_4 <= uVar6) && (uVar6 < uVar9))" ( (binary_expression "(param_4 <= uVar6) && (uVar6 < uVar9)" (parenthesized_expression "(param_4 <= uVar6)" ( (binary_expression "param_4 <= uVar6" identifier <= identifier) )) && (parenthesized_expression "(uVar6 < uVar9)" ( (binary_expression "uVar6 < uVar9" identifier < identifier) ))) )) (compound_statement "{\n          uVar2 = uVar10 - 2;\n        }" { (expression_statement "uVar2 = uVar10 - 2;" (assignment_expression "uVar2 = uVar10 - 2" identifier = (binary_expression "uVar10 - 2" identifier - number_literal)) ;) })) })) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = uVar8 << 0x10 | uVar2;" (assignment_expression "uVar2 = uVar8 << 0x10 | uVar2" identifier = (binary_expression "uVar8 << 0x10 | uVar2" (binary_expression "uVar8 << 0x10" identifier << number_literal) | identifier)) ;) }) (else_clause "else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }" else (compound_statement "{\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }" { (if_statement "if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n        param_4 = 1 / 0;\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) (expression_statement "param_4 = 1 / 0;" (assignment_expression "param_4 = 1 / 0" identifier = (binary_expression "1 / 0" number_literal / number_literal)) ;) })) (expression_statement "uVar2 = LZCOUNT(param_4);" (assignment_expression "uVar2 = LZCOUNT(param_4)" identifier = (call_expression "LZCOUNT(param_4)" identifier (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "uVar8 = param_4 >> 0x10;" (assignment_expression "uVar8 = param_4 >> 0x10" identifier = (binary_expression "param_4 >> 0x10" identifier >> number_literal)) ;) (if_statement "if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }" { (expression_statement "param_1 = param_1 - param_4;" (assignment_expression "param_1 = param_1 - param_4" identifier = (binary_expression "param_1 - param_4" identifier - identifier)) ;) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (expression_statement "uVar10 = param_4 & 0xffff;" (assignment_expression "uVar10 = param_4 & 0xffff" identifier = (binary_expression "param_4 & 0xffff" identifier & number_literal)) ;) }) (else_clause "else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }" else (compound_statement "{\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }" { (expression_statement "param_4 = param_4 << (uVar2 & 0x1f);" (assignment_expression "param_4 = param_4 << (uVar2 & 0x1f)" identifier = (binary_expression "param_4 << (uVar2 & 0x1f)" identifier << (parenthesized_expression "(uVar2 & 0x1f)" ( (binary_expression "uVar2 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar8 = param_4 >> 0x10;" (assignment_expression "uVar8 = param_4 >> 0x10" identifier = (binary_expression "param_4 >> 0x10" identifier >> number_literal)) ;) (expression_statement "uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);" (assignment_expression "uVar3 = param_1 >> (0x20 - uVar2 & 0x1f)" identifier = (binary_expression "param_1 >> (0x20 - uVar2 & 0x1f)" identifier >> (parenthesized_expression "(0x20 - uVar2 & 0x1f)" ( (binary_expression "0x20 - uVar2 & 0x1f" (binary_expression "0x20 - uVar2" number_literal - identifier) & number_literal) )))) ;) (expression_statement "uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);" (assignment_expression "uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f)" identifier = (binary_expression "uVar6 >> (0x20 - uVar2 & 0x1f)" identifier >> (parenthesized_expression "(0x20 - uVar2 & 0x1f)" ( (binary_expression "0x20 - uVar2 & 0x1f" (binary_expression "0x20 - uVar2" number_literal - identifier) & number_literal) )))) ;) (if_statement "if (uVar8 == 0) {\n          trap(7);\n        }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          trap(7);\n        }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar5 = uVar3 / uVar8;" (assignment_expression "uVar5 = uVar3 / uVar8" identifier = (binary_expression "uVar3 / uVar8" identifier / identifier)) ;) (expression_statement "uVar10 = param_4 & 0xffff;" (assignment_expression "uVar10 = param_4 & 0xffff" identifier = (binary_expression "param_4 & 0xffff" identifier & number_literal)) ;) (expression_statement "uVar6 = uVar6 << (uVar2 & 0x1f);" (assignment_expression "uVar6 = uVar6 << (uVar2 & 0x1f)" identifier = (binary_expression "uVar6 << (uVar2 & 0x1f)" identifier << (parenthesized_expression "(uVar2 & 0x1f)" ( (binary_expression "uVar2 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);" (assignment_expression "uVar4 = uVar4 | param_1 << (uVar2 & 0x1f)" identifier = (binary_expression "uVar4 | param_1 << (uVar2 & 0x1f)" identifier | (binary_expression "param_1 << (uVar2 & 0x1f)" identifier << (parenthesized_expression "(uVar2 & 0x1f)" ( (binary_expression "uVar2 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "uVar9 = uVar10 * uVar5;" (assignment_expression "uVar9 = uVar10 * uVar5" identifier = (binary_expression "uVar10 * uVar5" identifier * identifier)) ;) (expression_statement "uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;" (assignment_expression "uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10" identifier = (binary_expression "uVar3 % uVar8 << 0x10 | uVar4 >> 0x10" (binary_expression "uVar3 % uVar8 << 0x10" (binary_expression "uVar3 % uVar8" identifier % identifier) << number_literal) | (binary_expression "uVar4 >> 0x10" identifier >> number_literal))) ;) (expression_statement "uVar2 = uVar5;" (assignment_expression "uVar2 = uVar5" identifier = identifier) ;) (if_statement "if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }" if (parenthesized_expression "(uVar3 < uVar9)" ( (binary_expression "uVar3 < uVar9" identifier < identifier) )) (compound_statement "{\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }" { (expression_statement "uVar3 = uVar3 + param_4;" (assignment_expression "uVar3 = uVar3 + param_4" identifier = (binary_expression "uVar3 + param_4" identifier + identifier)) ;) (expression_statement "uVar2 = uVar5 - 1;" (assignment_expression "uVar2 = uVar5 - 1" identifier = (binary_expression "uVar5 - 1" identifier - number_literal)) ;) (if_statement "if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }" if (parenthesized_expression "((param_4 <= uVar3) && (uVar3 < uVar9))" ( (binary_expression "(param_4 <= uVar3) && (uVar3 < uVar9)" (parenthesized_expression "(param_4 <= uVar3)" ( (binary_expression "param_4 <= uVar3" identifier <= identifier) )) && (parenthesized_expression "(uVar3 < uVar9)" ( (binary_expression "uVar3 < uVar9" identifier < identifier) ))) )) (compound_statement "{\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }" { (expression_statement "uVar2 = uVar5 - 2;" (assignment_expression "uVar2 = uVar5 - 2" identifier = (binary_expression "uVar5 - 2" identifier - number_literal)) ;) (expression_statement "uVar3 = uVar3 + param_4;" (assignment_expression "uVar3 = uVar3 + param_4" identifier = (binary_expression "uVar3 + param_4" identifier + identifier)) ;) })) })) (if_statement "if (uVar8 == 0) {\n          trap(7);\n        }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n          trap(7);\n        }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar12 = (uVar3 - uVar9) / uVar8;" (assignment_expression "uVar12 = (uVar3 - uVar9) / uVar8" identifier = (binary_expression "(uVar3 - uVar9) / uVar8" (parenthesized_expression "(uVar3 - uVar9)" ( (binary_expression "uVar3 - uVar9" identifier - identifier) )) / identifier)) ;) (expression_statement "uVar5 = uVar10 * uVar12;" (assignment_expression "uVar5 = uVar10 * uVar12" identifier = (binary_expression "uVar10 * uVar12" identifier * identifier)) ;) (expression_statement "param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;" (assignment_expression "param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff" identifier = (binary_expression "(uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff" (binary_expression "(uVar3 - uVar9) % uVar8 << 0x10" (binary_expression "(uVar3 - uVar9) % uVar8" (parenthesized_expression "(uVar3 - uVar9)" ( (binary_expression "uVar3 - uVar9" identifier - identifier) )) % identifier) << number_literal) | (binary_expression "uVar4 & 0xffff" identifier & number_literal))) ;) (expression_statement "uVar3 = uVar12;" (assignment_expression "uVar3 = uVar12" identifier = identifier) ;) (if_statement "if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }" if (parenthesized_expression "(param_1 < uVar5)" ( (binary_expression "param_1 < uVar5" identifier < identifier) )) (compound_statement "{\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }" { (expression_statement "param_1 = param_1 + param_4;" (assignment_expression "param_1 = param_1 + param_4" identifier = (binary_expression "param_1 + param_4" identifier + identifier)) ;) (expression_statement "uVar3 = uVar12 - 1;" (assignment_expression "uVar3 = uVar12 - 1" identifier = (binary_expression "uVar12 - 1" identifier - number_literal)) ;) (if_statement "if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }" if (parenthesized_expression "((param_4 <= param_1) && (param_1 < uVar5))" ( (binary_expression "(param_4 <= param_1) && (param_1 < uVar5)" (parenthesized_expression "(param_4 <= param_1)" ( (binary_expression "param_4 <= param_1" identifier <= identifier) )) && (parenthesized_expression "(param_1 < uVar5)" ( (binary_expression "param_1 < uVar5" identifier < identifier) ))) )) (compound_statement "{\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }" { (expression_statement "uVar3 = uVar12 - 2;" (assignment_expression "uVar3 = uVar12 - 2" identifier = (binary_expression "uVar12 - 2" identifier - number_literal)) ;) (expression_statement "param_1 = param_1 + param_4;" (assignment_expression "param_1 = param_1 + param_4" identifier = (binary_expression "param_1 + param_4" identifier + identifier)) ;) })) })) (expression_statement "param_1 = param_1 - uVar5;" (assignment_expression "param_1 = param_1 - uVar5" identifier = (binary_expression "param_1 - uVar5" identifier - identifier)) ;) (expression_statement "uVar3 = uVar2 << 0x10 | uVar3;" (assignment_expression "uVar3 = uVar2 << 0x10 | uVar3" identifier = (binary_expression "uVar2 << 0x10 | uVar3" (binary_expression "uVar2 << 0x10" identifier << number_literal) | identifier)) ;) }))) (if_statement "if (uVar8 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar2 = param_1 / uVar8;" (assignment_expression "uVar2 = param_1 / uVar8" identifier = (binary_expression "param_1 / uVar8" identifier / identifier)) ;) (expression_statement "uVar5 = uVar2 * uVar10;" (assignment_expression "uVar5 = uVar2 * uVar10" identifier = (binary_expression "uVar2 * uVar10" identifier * identifier)) ;) (expression_statement "uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;" (assignment_expression "uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10" identifier = (binary_expression "param_1 % uVar8 << 0x10 | uVar6 >> 0x10" (binary_expression "param_1 % uVar8 << 0x10" (binary_expression "param_1 % uVar8" identifier % identifier) << number_literal) | (binary_expression "uVar6 >> 0x10" identifier >> number_literal))) ;) (expression_statement "uVar4 = uVar2;" (assignment_expression "uVar4 = uVar2" identifier = identifier) ;) (if_statement "if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }" if (parenthesized_expression "(uVar9 < uVar5)" ( (binary_expression "uVar9 < uVar5" identifier < identifier) )) (compound_statement "{\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }" { (expression_statement "uVar9 = uVar9 + param_4;" (assignment_expression "uVar9 = uVar9 + param_4" identifier = (binary_expression "uVar9 + param_4" identifier + identifier)) ;) (expression_statement "uVar4 = uVar2 - 1;" (assignment_expression "uVar4 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ;) (if_statement "if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }" if (parenthesized_expression "((param_4 <= uVar9) && (uVar9 < uVar5))" ( (binary_expression "(param_4 <= uVar9) && (uVar9 < uVar5)" (parenthesized_expression "(param_4 <= uVar9)" ( (binary_expression "param_4 <= uVar9" identifier <= identifier) )) && (parenthesized_expression "(uVar9 < uVar5)" ( (binary_expression "uVar9 < uVar5" identifier < identifier) ))) )) (compound_statement "{\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }" { (expression_statement "uVar9 = uVar9 + param_4;" (assignment_expression "uVar9 = uVar9 + param_4" identifier = (binary_expression "uVar9 + param_4" identifier + identifier)) ;) (expression_statement "uVar4 = uVar2 - 2;" (assignment_expression "uVar4 = uVar2 - 2" identifier = (binary_expression "uVar2 - 2" identifier - number_literal)) ;) })) })) (if_statement "if (uVar8 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar2 = (uVar9 - uVar5) / uVar8;" (assignment_expression "uVar2 = (uVar9 - uVar5) / uVar8" identifier = (binary_expression "(uVar9 - uVar5) / uVar8" (parenthesized_expression "(uVar9 - uVar5)" ( (binary_expression "uVar9 - uVar5" identifier - identifier) )) / identifier)) ;) (expression_statement "uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;" (assignment_expression "uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff" identifier = (binary_expression "(uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff" (binary_expression "(uVar9 - uVar5) % uVar8 << 0x10" (binary_expression "(uVar9 - uVar5) % uVar8" (parenthesized_expression "(uVar9 - uVar5)" ( (binary_expression "uVar9 - uVar5" identifier - identifier) )) % identifier) << number_literal) | (binary_expression "uVar6 & 0xffff" identifier & number_literal))) ;) (expression_statement "uVar8 = param_4 + uVar6;" (assignment_expression "uVar8 = param_4 + uVar6" identifier = (binary_expression "param_4 + uVar6" identifier + identifier)) ;) (if_statement "if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }" if (parenthesized_expression "(uVar6 < uVar2 * uVar10)" ( (binary_expression "uVar6 < uVar2 * uVar10" identifier < (binary_expression "uVar2 * uVar10" identifier * identifier)) )) (compound_statement "{\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }" { (if_statement "if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }" if (parenthesized_expression "((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8))" ( (binary_expression "(uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)" (parenthesized_expression "(uVar8 < param_4)" ( (binary_expression "uVar8 < param_4" identifier < identifier) )) || (parenthesized_expression "(uVar2 * uVar10 <= uVar8)" ( (binary_expression "uVar2 * uVar10 <= uVar8" (binary_expression "uVar2 * uVar10" identifier * identifier) <= identifier) ))) )) (compound_statement "{\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }" { (expression_statement "uVar2 = uVar4 << 0x10 | uVar2 - 1;" (assignment_expression "uVar2 = uVar4 << 0x10 | uVar2 - 1" identifier = (binary_expression "uVar4 << 0x10 | uVar2 - 1" (binary_expression "uVar4 << 0x10" identifier << number_literal) | (binary_expression "uVar2 - 1" identifier - number_literal))) ;) (goto_statement "goto LAB_0001240c;" goto statement_identifier ;) })) (expression_statement "uVar2 = uVar2 - 2;" (assignment_expression "uVar2 = uVar2 - 2" identifier = (binary_expression "uVar2 - 2" identifier - number_literal)) ;) })) (expression_statement "uVar2 = uVar4 << 0x10 | uVar2;" (assignment_expression "uVar2 = uVar4 << 0x10 | uVar2" identifier = (binary_expression "uVar4 << 0x10 | uVar2" (binary_expression "uVar4 << 0x10" identifier << number_literal) | identifier)) ;) }))) }) (else_clause "else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }" else (compound_statement "{\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }" if (parenthesized_expression "(param_1 < param_3)" ( (binary_expression "param_1 < param_3" identifier < identifier) )) (compound_statement "{\n      uVar3 = 0;\n    }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }" else (compound_statement "{\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }" { (expression_statement "uVar3 = LZCOUNT(param_3);" (assignment_expression "uVar3 = LZCOUNT(param_3)" identifier = (call_expression "LZCOUNT(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (if_statement "if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }" if (parenthesized_expression "(param_3 < param_1)" ( (binary_expression "param_3 < param_1" identifier < identifier) )) (compound_statement "{\n          uVar2 = 1;\n        }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) }) (else_clause "else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }" else (compound_statement "{\n          uVar2 = uVar6 < param_4 ^ 1;\n        }" { (expression_statement "uVar2 = uVar6 < param_4 ^ 1;" (assignment_expression "uVar2 = uVar6 < param_4 ^ 1" identifier = (binary_expression "uVar6 < param_4 ^ 1" (binary_expression "uVar6 < param_4" identifier < identifier) ^ number_literal)) ;) }))) }) (else_clause "else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }" else (compound_statement "{\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }" { (expression_statement "uVar9 = 0x20 - uVar3;" (assignment_expression "uVar9 = 0x20 - uVar3" identifier = (binary_expression "0x20 - uVar3" number_literal - identifier)) ;) (expression_statement "uVar8 = param_1 >> (uVar9 & 0x1f);" (assignment_expression "uVar8 = param_1 >> (uVar9 & 0x1f)" identifier = (binary_expression "param_1 >> (uVar9 & 0x1f)" identifier >> (parenthesized_expression "(uVar9 & 0x1f)" ( (binary_expression "uVar9 & 0x1f" identifier & number_literal) )))) ;) (expression_statement "uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);" (assignment_expression "uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f)" identifier = (binary_expression "param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f)" (binary_expression "param_4 >> (uVar9 & 0x1f)" identifier >> (parenthesized_expression "(uVar9 & 0x1f)" ( (binary_expression "uVar9 & 0x1f" identifier & number_literal) ))) | (binary_expression "param_3 << (uVar3 & 0x1f)" identifier << (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "uVar2 = uVar4 >> 0x10;" (assignment_expression "uVar2 = uVar4 >> 0x10" identifier = (binary_expression "uVar4 >> 0x10" identifier >> number_literal)) ;) (if_statement "if (uVar2 == 0) {\n          trap(7);\n        }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          trap(7);\n        }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar12 = uVar8 / uVar2;" (assignment_expression "uVar12 = uVar8 / uVar2" identifier = (binary_expression "uVar8 / uVar2" identifier / identifier)) ;) (expression_statement "uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);" (assignment_expression "uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f)" identifier = (binary_expression "uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f)" (binary_expression "uVar6 >> (uVar9 & 0x1f)" identifier >> (parenthesized_expression "(uVar9 & 0x1f)" ( (binary_expression "uVar9 & 0x1f" identifier & number_literal) ))) | (binary_expression "param_1 << (uVar3 & 0x1f)" identifier << (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) ))))) ;) (expression_statement "uVar5 = (uVar4 & 0xffff) * uVar12;" (assignment_expression "uVar5 = (uVar4 & 0xffff) * uVar12" identifier = (binary_expression "(uVar4 & 0xffff) * uVar12" (parenthesized_expression "(uVar4 & 0xffff)" ( (binary_expression "uVar4 & 0xffff" identifier & number_literal) )) * identifier)) ;) (expression_statement "uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;" (assignment_expression "uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10" identifier = (binary_expression "uVar8 % uVar2 << 0x10 | uVar10 >> 0x10" (binary_expression "uVar8 % uVar2 << 0x10" (binary_expression "uVar8 % uVar2" identifier % identifier) << number_literal) | (binary_expression "uVar10 >> 0x10" identifier >> number_literal))) ;) (expression_statement "uVar8 = uVar12;" (assignment_expression "uVar8 = uVar12" identifier = identifier) ;) (if_statement "if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }" if (parenthesized_expression "(uVar9 < uVar5)" ( (binary_expression "uVar9 < uVar5" identifier < identifier) )) (compound_statement "{\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }" { (expression_statement "uVar9 = uVar9 + uVar4;" (assignment_expression "uVar9 = uVar9 + uVar4" identifier = (binary_expression "uVar9 + uVar4" identifier + identifier)) ;) (expression_statement "uVar8 = uVar12 - 1;" (assignment_expression "uVar8 = uVar12 - 1" identifier = (binary_expression "uVar12 - 1" identifier - number_literal)) ;) (if_statement "if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }" if (parenthesized_expression "((uVar4 <= uVar9) && (uVar9 < uVar5))" ( (binary_expression "(uVar4 <= uVar9) && (uVar9 < uVar5)" (parenthesized_expression "(uVar4 <= uVar9)" ( (binary_expression "uVar4 <= uVar9" identifier <= identifier) )) && (parenthesized_expression "(uVar9 < uVar5)" ( (binary_expression "uVar9 < uVar5" identifier < identifier) ))) )) (compound_statement "{\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }" { (expression_statement "uVar8 = uVar12 - 2;" (assignment_expression "uVar8 = uVar12 - 2" identifier = (binary_expression "uVar12 - 2" identifier - number_literal)) ;) (expression_statement "uVar9 = uVar9 + uVar4;" (assignment_expression "uVar9 = uVar9 + uVar4" identifier = (binary_expression "uVar9 + uVar4" identifier + identifier)) ;) })) })) (if_statement "if (uVar2 == 0) {\n          trap(7);\n        }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          trap(7);\n        }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar11 = (uVar9 - uVar5) / uVar2;" (assignment_expression "uVar11 = (uVar9 - uVar5) / uVar2" identifier = (binary_expression "(uVar9 - uVar5) / uVar2" (parenthesized_expression "(uVar9 - uVar5)" ( (binary_expression "uVar9 - uVar5" identifier - identifier) )) / identifier)) ;) (expression_statement "uVar12 = (uVar4 & 0xffff) * uVar11;" (assignment_expression "uVar12 = (uVar4 & 0xffff) * uVar11" identifier = (binary_expression "(uVar4 & 0xffff) * uVar11" (parenthesized_expression "(uVar4 & 0xffff)" ( (binary_expression "uVar4 & 0xffff" identifier & number_literal) )) * identifier)) ;) (expression_statement "uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;" (assignment_expression "uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff" identifier = (binary_expression "(uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff" (binary_expression "(uVar9 - uVar5) % uVar2 << 0x10" (binary_expression "(uVar9 - uVar5) % uVar2" (parenthesized_expression "(uVar9 - uVar5)" ( (binary_expression "uVar9 - uVar5" identifier - identifier) )) % identifier) << number_literal) | (binary_expression "uVar10 & 0xffff" identifier & number_literal))) ;) (expression_statement "uVar2 = uVar11;" (assignment_expression "uVar2 = uVar11" identifier = identifier) ;) (if_statement "if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }" if (parenthesized_expression "(uVar9 < uVar12)" ( (binary_expression "uVar9 < uVar12" identifier < identifier) )) (compound_statement "{\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }" { (expression_statement "uVar9 = uVar9 + uVar4;" (assignment_expression "uVar9 = uVar9 + uVar4" identifier = (binary_expression "uVar9 + uVar4" identifier + identifier)) ;) (expression_statement "uVar2 = uVar11 - 1;" (assignment_expression "uVar2 = uVar11 - 1" identifier = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) (if_statement "if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }" if (parenthesized_expression "((uVar4 <= uVar9) && (uVar9 < uVar12))" ( (binary_expression "(uVar4 <= uVar9) && (uVar9 < uVar12)" (parenthesized_expression "(uVar4 <= uVar9)" ( (binary_expression "uVar4 <= uVar9" identifier <= identifier) )) && (parenthesized_expression "(uVar9 < uVar12)" ( (binary_expression "uVar9 < uVar12" identifier < identifier) ))) )) (compound_statement "{\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }" { (expression_statement "uVar2 = uVar11 - 2;" (assignment_expression "uVar2 = uVar11 - 2" identifier = (binary_expression "uVar11 - 2" identifier - number_literal)) ;) (expression_statement "uVar9 = uVar9 + uVar4;" (assignment_expression "uVar9 = uVar9 + uVar4" identifier = (binary_expression "uVar9 + uVar4" identifier + identifier)) ;) })) })) (expression_statement "uVar2 = uVar8 << 0x10 | uVar2;" (assignment_expression "uVar2 = uVar8 << 0x10 | uVar2" identifier = (binary_expression "uVar8 << 0x10 | uVar2" (binary_expression "uVar8 << 0x10" identifier << number_literal) | identifier)) ;) (expression_statement "lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));" (assignment_expression "lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f))" identifier = (binary_expression "(ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f))" (cast_expression "(ulonglong)uVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (call_expression "(ulonglong)(param_4 << (uVar3 & 0x1f))" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(param_4 << (uVar3 & 0x1f))" ( (binary_expression "param_4 << (uVar3 & 0x1f)" identifier << (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) ))) ))))) ;) (expression_statement "uVar8 = (uint)((ulonglong)lVar1 >> 0x20);" (assignment_expression "uVar8 = (uint)((ulonglong)lVar1 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar1 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar1 >> 0x20)" ( (binary_expression "(ulonglong)lVar1 >> 0x20" (cast_expression "(ulonglong)lVar1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }" if (parenthesized_expression "(uVar8 <= uVar9 - uVar12)" ( (binary_expression "uVar8 <= uVar9 - uVar12" identifier <= (binary_expression "uVar9 - uVar12" identifier - identifier)) )) (compound_statement "{\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }" { (if_statement "if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }" if (parenthesized_expression "(uVar9 - uVar12 != uVar8)" ( (binary_expression "uVar9 - uVar12 != uVar8" (binary_expression "uVar9 - uVar12" identifier - identifier) != identifier) )) (compound_statement "{\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0001240c;" goto statement_identifier ;) })) (expression_statement "uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);" (assignment_expression "uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1)" identifier = (call_expression "(uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 << (uVar3 & 0x1f) < (uint)lVar1)" ( (binary_expression "uVar6 << (uVar3 & 0x1f) < (uint)lVar1" (binary_expression "uVar6 << (uVar3 & 0x1f)" identifier << (parenthesized_expression "(uVar3 & 0x1f)" ( (binary_expression "uVar3 & 0x1f" identifier & number_literal) ))) < (cast_expression "(uint)lVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (if_statement "if (uVar3 == 0) goto LAB_0001240c;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0001240c;" goto statement_identifier ;)) })) (expression_statement "uVar2 = uVar2 - 1;" (assignment_expression "uVar2 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }))) }))) }))) (labeled_statement "LAB_0001240c:\n  if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }" statement_identifier : (if_statement "if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }" { (expression_statement "uVar3 = -(uint)(uVar2 != 0) - uVar3;" (assignment_expression "uVar3 = -(uint)(uVar2 != 0) - uVar3" identifier = (binary_expression "-(uint)(uVar2 != 0) - uVar3" (unary_expression "-(uint)(uVar2 != 0)" - (call_expression "(uint)(uVar2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )))) - identifier)) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) - IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) - IDENT)) ;) (expression_statement (assignment_expression IDENT = (unary_expression ~ IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> (parenthesized_expression ( (binary_expression (unary_expression - IDENT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression IDENT << (parenthesized_expression ( (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 (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT / IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression IDENT % IDENT) << LIT) | (binary_expression IDENT >> LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < 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 IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) / IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) % IDENT) << LIT) | (binary_expression IDENT & LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT << LIT) | IDENT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT / LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (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 IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> (parenthesized_expression ( (binary_expression (binary_expression LIT - IDENT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> (parenthesized_expression ( (binary_expression (binary_expression LIT - IDENT) & LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT / IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression IDENT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression IDENT % IDENT) << LIT) | (binary_expression IDENT >> LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < 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 IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) / IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) % IDENT) << LIT) | (binary_expression IDENT & LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT << LIT) | IDENT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT / IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression IDENT % IDENT) << LIT) | (binary_expression IDENT >> LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) / IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) % IDENT) << LIT) | (binary_expression IDENT & LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT * IDENT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (binary_expression (binary_expression IDENT * IDENT) <= IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT << LIT) | (binary_expression IDENT - LIT))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT << LIT) | IDENT)) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT < IDENT) ^ LIT)) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> (parenthesized_expression ( (binary_expression IDENT & LIT) ))) | (binary_expression IDENT << (parenthesized_expression ( (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 (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT / IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> (parenthesized_expression ( (binary_expression IDENT & LIT) ))) | (binary_expression IDENT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression IDENT % IDENT) << LIT) | (binary_expression IDENT >> LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < 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 IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) / IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) % IDENT) << LIT) | (binary_expression IDENT & LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT << LIT) | IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (binary_expression IDENT - IDENT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - IDENT) != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) }))) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) - IDENT)) ;) }))) (return_statement return IDENT ;) })))
(function_definition "uint FUN_00012310(uint param_1,uint param_2,uint param_3,uint param_4)\n\n{\n  longlong lVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  uint uVar12;\n  \n  uVar6 = -param_2;\n  if ((int)param_1 < 0) {\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }\n  else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }\n  if ((int)param_3 < 0) {\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }\n  if (param_3 == 0) {\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }\n  else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }\nLAB_0001240c:\n  if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }\n  return uVar3;\n}" (type_identifier "uint") (function_declarator "FUN_00012310(uint param_1,uint param_2,uint param_3,uint param_4)" (identifier "FUN_00012310") (parameter_list "(uint param_1,uint param_2,uint param_3,uint param_4)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")"))) (compound_statement "{\n  longlong lVar1;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  uint uVar11;\n  uint uVar12;\n  \n  uVar6 = -param_2;\n  if ((int)param_1 < 0) {\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }\n  else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }\n  if ((int)param_3 < 0) {\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }\n  if (param_3 == 0) {\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }\n  else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }\nLAB_0001240c:\n  if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }\n  return uVar3;\n}" ({ "{") (declaration "longlong lVar1;" (type_identifier "longlong") (identifier "lVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "uint uVar12;" (type_identifier "uint") (identifier "uVar12") (; ";")) (expression_statement "uVar6 = -param_2;" (assignment_expression "uVar6 = -param_2" (identifier "uVar6") (= "=") (unary_expression "-param_2" (- "-") (identifier "param_2"))) (; ";")) (if_statement "if ((int)param_1 < 0) {\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }\n  else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }" (if "if") (parenthesized_expression "((int)param_1 < 0)" (( "(") (binary_expression "(int)param_1 < 0" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    param_1 = -(uint)(uVar6 != 0) - param_1;\n    uVar7 = 0xffffffff;\n  }" ({ "{") (expression_statement "param_1 = -(uint)(uVar6 != 0) - param_1;" (assignment_expression "param_1 = -(uint)(uVar6 != 0) - param_1" (identifier "param_1") (= "=") (binary_expression "-(uint)(uVar6 != 0) - param_1" (unary_expression "-(uint)(uVar6 != 0)" (- "-") (call_expression "(uint)(uVar6 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar6 != 0)" (( "(") (binary_expression "uVar6 != 0" (identifier "uVar6") (!= "!=") (number_literal "0")) () ")")))) (- "-") (identifier "param_1"))) (; ";")) (expression_statement "uVar7 = 0xffffffff;" (assignment_expression "uVar7 = 0xffffffff" (identifier "uVar7") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")) (else_clause "else {\n    uVar7 = 0;\n    uVar6 = param_2;\n  }" (else "else") (compound_statement "{\n    uVar7 = 0;\n    uVar6 = param_2;\n  }" ({ "{") (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar6 = param_2;" (assignment_expression "uVar6 = param_2" (identifier "uVar6") (= "=") (identifier "param_2")) (; ";")) (} "}")))) (if_statement "if ((int)param_3 < 0) {\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }" (if "if") (parenthesized_expression "((int)param_3 < 0)" (( "(") (binary_expression "(int)param_3 < 0" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    param_4 = -param_4;\n    param_3 = -(uint)(param_4 != 0) - param_3;\n    uVar7 = ~uVar7;\n  }" ({ "{") (expression_statement "param_4 = -param_4;" (assignment_expression "param_4 = -param_4" (identifier "param_4") (= "=") (unary_expression "-param_4" (- "-") (identifier "param_4"))) (; ";")) (expression_statement "param_3 = -(uint)(param_4 != 0) - param_3;" (assignment_expression "param_3 = -(uint)(param_4 != 0) - param_3" (identifier "param_3") (= "=") (binary_expression "-(uint)(param_4 != 0) - param_3" (unary_expression "-(uint)(param_4 != 0)" (- "-") (call_expression "(uint)(param_4 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_4 != 0)" (( "(") (binary_expression "param_4 != 0" (identifier "param_4") (!= "!=") (number_literal "0")) () ")")))) (- "-") (identifier "param_3"))) (; ";")) (expression_statement "uVar7 = ~uVar7;" (assignment_expression "uVar7 = ~uVar7" (identifier "uVar7") (= "=") (unary_expression "~uVar7" (~ "~") (identifier "uVar7"))) (; ";")) (} "}"))) (if_statement "if (param_3 == 0) {\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }\n  else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = LZCOUNT(param_4);\n    if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }\n  }" ({ "{") (expression_statement "uVar2 = LZCOUNT(param_4);" (assignment_expression "uVar2 = LZCOUNT(param_4)" (identifier "uVar2") (= "=") (call_expression "LZCOUNT(param_4)" (identifier "LZCOUNT") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (param_1 < param_4) {\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }\n    else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }" (if "if") (parenthesized_expression "(param_1 < param_4)" (( "(") (binary_expression "param_1 < param_4" (identifier "param_1") (< "<") (identifier "param_4")) () ")")) (compound_statement "{\n      if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }\n      uVar2 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar9 = param_1 / uVar2;\n      uVar4 = (param_4 & 0xffff) * uVar9;\n      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;\n      uVar8 = uVar9;\n      if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }\n      if (uVar2 == 0) {\n        trap(7);\n      }\n      uVar10 = (uVar3 - uVar4) / uVar2;\n      uVar9 = (param_4 & 0xffff) * uVar10;\n      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;\n      uVar2 = uVar10;\n      if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }\n      uVar3 = 0;\n      uVar2 = uVar8 << 0x10 | uVar2;\n    }" ({ "{") (if_statement "if (uVar2 != 0) {\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }" (if "if") (parenthesized_expression "(uVar2 != 0)" (( "(") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar3 = uVar6 >> (-uVar2 & 0x1f);\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);\n      }" ({ "{") (expression_statement "uVar3 = uVar6 >> (-uVar2 & 0x1f);" (assignment_expression "uVar3 = uVar6 >> (-uVar2 & 0x1f)" (identifier "uVar3") (= "=") (binary_expression "uVar6 >> (-uVar2 & 0x1f)" (identifier "uVar6") (>> ">>") (parenthesized_expression "(-uVar2 & 0x1f)" (( "(") (binary_expression "-uVar2 & 0x1f" (unary_expression "-uVar2" (- "-") (identifier "uVar2")) (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "param_4 = param_4 << (uVar2 & 0x1f);" (assignment_expression "param_4 = param_4 << (uVar2 & 0x1f)" (identifier "param_4") (= "=") (binary_expression "param_4 << (uVar2 & 0x1f)" (identifier "param_4") (<< "<<") (parenthesized_expression "(uVar2 & 0x1f)" (( "(") (binary_expression "uVar2 & 0x1f" (identifier "uVar2") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar6 = uVar6 << (uVar2 & 0x1f);" (assignment_expression "uVar6 = uVar6 << (uVar2 & 0x1f)" (identifier "uVar6") (= "=") (binary_expression "uVar6 << (uVar2 & 0x1f)" (identifier "uVar6") (<< "<<") (parenthesized_expression "(uVar2 & 0x1f)" (( "(") (binary_expression "uVar2 & 0x1f" (identifier "uVar2") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "param_1 = uVar3 | param_1 << (uVar2 & 0x1f);" (assignment_expression "param_1 = uVar3 | param_1 << (uVar2 & 0x1f)" (identifier "param_1") (= "=") (binary_expression "uVar3 | param_1 << (uVar2 & 0x1f)" (identifier "uVar3") (| "|") (binary_expression "param_1 << (uVar2 & 0x1f)" (identifier "param_1") (<< "<<") (parenthesized_expression "(uVar2 & 0x1f)" (( "(") (binary_expression "uVar2 & 0x1f" (identifier "uVar2") (& "&") (number_literal "0x1f")) () ")"))))) (; ";")) (} "}"))) (expression_statement "uVar2 = param_4 >> 0x10;" (assignment_expression "uVar2 = param_4 >> 0x10" (identifier "uVar2") (= "=") (binary_expression "param_4 >> 0x10" (identifier "param_4") (>> ">>") (number_literal "0x10"))) (; ";")) (if_statement "if (uVar2 == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(uVar2 == 0)" (( "(") (binary_expression "uVar2 == 0" (identifier "uVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar9 = param_1 / uVar2;" (assignment_expression "uVar9 = param_1 / uVar2" (identifier "uVar9") (= "=") (binary_expression "param_1 / uVar2" (identifier "param_1") (/ "/") (identifier "uVar2"))) (; ";")) (expression_statement "uVar4 = (param_4 & 0xffff) * uVar9;" (assignment_expression "uVar4 = (param_4 & 0xffff) * uVar9" (identifier "uVar4") (= "=") (binary_expression "(param_4 & 0xffff) * uVar9" (parenthesized_expression "(param_4 & 0xffff)" (( "(") (binary_expression "param_4 & 0xffff" (identifier "param_4") (& "&") (number_literal "0xffff")) () ")")) (* "*") (identifier "uVar9"))) (; ";")) (expression_statement "uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;" (assignment_expression "uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10" (identifier "uVar3") (= "=") (binary_expression "param_1 % uVar2 << 0x10 | uVar6 >> 0x10" (binary_expression "param_1 % uVar2 << 0x10" (binary_expression "param_1 % uVar2" (identifier "param_1") (% "%") (identifier "uVar2")) (<< "<<") (number_literal "0x10")) (| "|") (binary_expression "uVar6 >> 0x10" (identifier "uVar6") (>> ">>") (number_literal "0x10")))) (; ";")) (expression_statement "uVar8 = uVar9;" (assignment_expression "uVar8 = uVar9" (identifier "uVar8") (= "=") (identifier "uVar9")) (; ";")) (if_statement "if (uVar3 < uVar4) {\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }" (if "if") (parenthesized_expression "(uVar3 < uVar4)" (( "(") (binary_expression "uVar3 < uVar4" (identifier "uVar3") (< "<") (identifier "uVar4")) () ")")) (compound_statement "{\n        uVar3 = uVar3 + param_4;\n        uVar8 = uVar9 - 1;\n        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }\n      }" ({ "{") (expression_statement "uVar3 = uVar3 + param_4;" (assignment_expression "uVar3 = uVar3 + param_4" (identifier "uVar3") (= "=") (binary_expression "uVar3 + param_4" (identifier "uVar3") (+ "+") (identifier "param_4"))) (; ";")) (expression_statement "uVar8 = uVar9 - 1;" (assignment_expression "uVar8 = uVar9 - 1" (identifier "uVar8") (= "=") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1"))) (; ";")) (if_statement "if ((param_4 <= uVar3) && (uVar3 < uVar4)) {\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }" (if "if") (parenthesized_expression "((param_4 <= uVar3) && (uVar3 < uVar4))" (( "(") (binary_expression "(param_4 <= uVar3) && (uVar3 < uVar4)" (parenthesized_expression "(param_4 <= uVar3)" (( "(") (binary_expression "param_4 <= uVar3" (identifier "param_4") (<= "<=") (identifier "uVar3")) () ")")) (&& "&&") (parenthesized_expression "(uVar3 < uVar4)" (( "(") (binary_expression "uVar3 < uVar4" (identifier "uVar3") (< "<") (identifier "uVar4")) () ")"))) () ")")) (compound_statement "{\n          uVar8 = uVar9 - 2;\n          uVar3 = uVar3 + param_4;\n        }" ({ "{") (expression_statement "uVar8 = uVar9 - 2;" (assignment_expression "uVar8 = uVar9 - 2" (identifier "uVar8") (= "=") (binary_expression "uVar9 - 2" (identifier "uVar9") (- "-") (number_literal "2"))) (; ";")) (expression_statement "uVar3 = uVar3 + param_4;" (assignment_expression "uVar3 = uVar3 + param_4" (identifier "uVar3") (= "=") (binary_expression "uVar3 + param_4" (identifier "uVar3") (+ "+") (identifier "param_4"))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (uVar2 == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(uVar2 == 0)" (( "(") (binary_expression "uVar2 == 0" (identifier "uVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar10 = (uVar3 - uVar4) / uVar2;" (assignment_expression "uVar10 = (uVar3 - uVar4) / uVar2" (identifier "uVar10") (= "=") (binary_expression "(uVar3 - uVar4) / uVar2" (parenthesized_expression "(uVar3 - uVar4)" (( "(") (binary_expression "uVar3 - uVar4" (identifier "uVar3") (- "-") (identifier "uVar4")) () ")")) (/ "/") (identifier "uVar2"))) (; ";")) (expression_statement "uVar9 = (param_4 & 0xffff) * uVar10;" (assignment_expression "uVar9 = (param_4 & 0xffff) * uVar10" (identifier "uVar9") (= "=") (binary_expression "(param_4 & 0xffff) * uVar10" (parenthesized_expression "(param_4 & 0xffff)" (( "(") (binary_expression "param_4 & 0xffff" (identifier "param_4") (& "&") (number_literal "0xffff")) () ")")) (* "*") (identifier "uVar10"))) (; ";")) (expression_statement "uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;" (assignment_expression "uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff" (identifier "uVar6") (= "=") (binary_expression "(uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff" (binary_expression "(uVar3 - uVar4) % uVar2 << 0x10" (binary_expression "(uVar3 - uVar4) % uVar2" (parenthesized_expression "(uVar3 - uVar4)" (( "(") (binary_expression "uVar3 - uVar4" (identifier "uVar3") (- "-") (identifier "uVar4")) () ")")) (% "%") (identifier "uVar2")) (<< "<<") (number_literal "0x10")) (| "|") (binary_expression "uVar6 & 0xffff" (identifier "uVar6") (& "&") (number_literal "0xffff")))) (; ";")) (expression_statement "uVar2 = uVar10;" (assignment_expression "uVar2 = uVar10" (identifier "uVar2") (= "=") (identifier "uVar10")) (; ";")) (if_statement "if (uVar6 < uVar9) {\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }" (if "if") (parenthesized_expression "(uVar6 < uVar9)" (( "(") (binary_expression "uVar6 < uVar9" (identifier "uVar6") (< "<") (identifier "uVar9")) () ")")) (compound_statement "{\n        uVar6 = param_4 + uVar6;\n        uVar2 = uVar10 - 1;\n        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }\n      }" ({ "{") (expression_statement "uVar6 = param_4 + uVar6;" (assignment_expression "uVar6 = param_4 + uVar6" (identifier "uVar6") (= "=") (binary_expression "param_4 + uVar6" (identifier "param_4") (+ "+") (identifier "uVar6"))) (; ";")) (expression_statement "uVar2 = uVar10 - 1;" (assignment_expression "uVar2 = uVar10 - 1" (identifier "uVar2") (= "=") (binary_expression "uVar10 - 1" (identifier "uVar10") (- "-") (number_literal "1"))) (; ";")) (if_statement "if ((param_4 <= uVar6) && (uVar6 < uVar9)) {\n          uVar2 = uVar10 - 2;\n        }" (if "if") (parenthesized_expression "((param_4 <= uVar6) && (uVar6 < uVar9))" (( "(") (binary_expression "(param_4 <= uVar6) && (uVar6 < uVar9)" (parenthesized_expression "(param_4 <= uVar6)" (( "(") (binary_expression "param_4 <= uVar6" (identifier "param_4") (<= "<=") (identifier "uVar6")) () ")")) (&& "&&") (parenthesized_expression "(uVar6 < uVar9)" (( "(") (binary_expression "uVar6 < uVar9" (identifier "uVar6") (< "<") (identifier "uVar9")) () ")"))) () ")")) (compound_statement "{\n          uVar2 = uVar10 - 2;\n        }" ({ "{") (expression_statement "uVar2 = uVar10 - 2;" (assignment_expression "uVar2 = uVar10 - 2" (identifier "uVar2") (= "=") (binary_expression "uVar10 - 2" (identifier "uVar10") (- "-") (number_literal "2"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = uVar8 << 0x10 | uVar2;" (assignment_expression "uVar2 = uVar8 << 0x10 | uVar2" (identifier "uVar2") (= "=") (binary_expression "uVar8 << 0x10 | uVar2" (binary_expression "uVar8 << 0x10" (identifier "uVar8") (<< "<<") (number_literal "0x10")) (| "|") (identifier "uVar2"))) (; ";")) (} "}")) (else_clause "else {\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }" (else "else") (compound_statement "{\n      if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }\n      uVar2 = LZCOUNT(param_4);\n      uVar8 = param_4 >> 0x10;\n      if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = param_1 / uVar8;\n      uVar5 = uVar2 * uVar10;\n      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;\n      uVar4 = uVar2;\n      if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }\n      if (uVar8 == 0) {\n        trap(7);\n      }\n      uVar2 = (uVar9 - uVar5) / uVar8;\n      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;\n      uVar8 = param_4 + uVar6;\n      if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }\n      uVar2 = uVar4 << 0x10 | uVar2;\n    }" ({ "{") (if_statement "if (param_4 == 0) {\n        trap(7);\n        param_4 = 1 / 0;\n      }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n        param_4 = 1 / 0;\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (expression_statement "param_4 = 1 / 0;" (assignment_expression "param_4 = 1 / 0" (identifier "param_4") (= "=") (binary_expression "1 / 0" (number_literal "1") (/ "/") (number_literal "0"))) (; ";")) (} "}"))) (expression_statement "uVar2 = LZCOUNT(param_4);" (assignment_expression "uVar2 = LZCOUNT(param_4)" (identifier "uVar2") (= "=") (call_expression "LZCOUNT(param_4)" (identifier "LZCOUNT") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")")))) (; ";")) (expression_statement "uVar8 = param_4 >> 0x10;" (assignment_expression "uVar8 = param_4 >> 0x10" (identifier "uVar8") (= "=") (binary_expression "param_4 >> 0x10" (identifier "param_4") (>> ">>") (number_literal "0x10"))) (; ";")) (if_statement "if (uVar2 == 0) {\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }\n      else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }" (if "if") (parenthesized_expression "(uVar2 == 0)" (( "(") (binary_expression "uVar2 == 0" (identifier "uVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        param_1 = param_1 - param_4;\n        uVar3 = 1;\n        uVar10 = param_4 & 0xffff;\n      }" ({ "{") (expression_statement "param_1 = param_1 - param_4;" (assignment_expression "param_1 = param_1 - param_4" (identifier "param_1") (= "=") (binary_expression "param_1 - param_4" (identifier "param_1") (- "-") (identifier "param_4"))) (; ";")) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" (identifier "uVar3") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar10 = param_4 & 0xffff;" (assignment_expression "uVar10 = param_4 & 0xffff" (identifier "uVar10") (= "=") (binary_expression "param_4 & 0xffff" (identifier "param_4") (& "&") (number_literal "0xffff"))) (; ";")) (} "}")) (else_clause "else {\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }" (else "else") (compound_statement "{\n        param_4 = param_4 << (uVar2 & 0x1f);\n        uVar8 = param_4 >> 0x10;\n        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);\n        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar5 = uVar3 / uVar8;\n        uVar10 = param_4 & 0xffff;\n        uVar6 = uVar6 << (uVar2 & 0x1f);\n        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);\n        uVar9 = uVar10 * uVar5;\n        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;\n        uVar2 = uVar5;\n        if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }\n        if (uVar8 == 0) {\n          trap(7);\n        }\n        uVar12 = (uVar3 - uVar9) / uVar8;\n        uVar5 = uVar10 * uVar12;\n        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;\n        uVar3 = uVar12;\n        if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }\n        param_1 = param_1 - uVar5;\n        uVar3 = uVar2 << 0x10 | uVar3;\n      }" ({ "{") (expression_statement "param_4 = param_4 << (uVar2 & 0x1f);" (assignment_expression "param_4 = param_4 << (uVar2 & 0x1f)" (identifier "param_4") (= "=") (binary_expression "param_4 << (uVar2 & 0x1f)" (identifier "param_4") (<< "<<") (parenthesized_expression "(uVar2 & 0x1f)" (( "(") (binary_expression "uVar2 & 0x1f" (identifier "uVar2") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar8 = param_4 >> 0x10;" (assignment_expression "uVar8 = param_4 >> 0x10" (identifier "uVar8") (= "=") (binary_expression "param_4 >> 0x10" (identifier "param_4") (>> ">>") (number_literal "0x10"))) (; ";")) (expression_statement "uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);" (assignment_expression "uVar3 = param_1 >> (0x20 - uVar2 & 0x1f)" (identifier "uVar3") (= "=") (binary_expression "param_1 >> (0x20 - uVar2 & 0x1f)" (identifier "param_1") (>> ">>") (parenthesized_expression "(0x20 - uVar2 & 0x1f)" (( "(") (binary_expression "0x20 - uVar2 & 0x1f" (binary_expression "0x20 - uVar2" (number_literal "0x20") (- "-") (identifier "uVar2")) (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);" (assignment_expression "uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f)" (identifier "uVar4") (= "=") (binary_expression "uVar6 >> (0x20 - uVar2 & 0x1f)" (identifier "uVar6") (>> ">>") (parenthesized_expression "(0x20 - uVar2 & 0x1f)" (( "(") (binary_expression "0x20 - uVar2 & 0x1f" (binary_expression "0x20 - uVar2" (number_literal "0x20") (- "-") (identifier "uVar2")) (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (if_statement "if (uVar8 == 0) {\n          trap(7);\n        }" (if "if") (parenthesized_expression "(uVar8 == 0)" (( "(") (binary_expression "uVar8 == 0" (identifier "uVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          trap(7);\n        }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar5 = uVar3 / uVar8;" (assignment_expression "uVar5 = uVar3 / uVar8" (identifier "uVar5") (= "=") (binary_expression "uVar3 / uVar8" (identifier "uVar3") (/ "/") (identifier "uVar8"))) (; ";")) (expression_statement "uVar10 = param_4 & 0xffff;" (assignment_expression "uVar10 = param_4 & 0xffff" (identifier "uVar10") (= "=") (binary_expression "param_4 & 0xffff" (identifier "param_4") (& "&") (number_literal "0xffff"))) (; ";")) (expression_statement "uVar6 = uVar6 << (uVar2 & 0x1f);" (assignment_expression "uVar6 = uVar6 << (uVar2 & 0x1f)" (identifier "uVar6") (= "=") (binary_expression "uVar6 << (uVar2 & 0x1f)" (identifier "uVar6") (<< "<<") (parenthesized_expression "(uVar2 & 0x1f)" (( "(") (binary_expression "uVar2 & 0x1f" (identifier "uVar2") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);" (assignment_expression "uVar4 = uVar4 | param_1 << (uVar2 & 0x1f)" (identifier "uVar4") (= "=") (binary_expression "uVar4 | param_1 << (uVar2 & 0x1f)" (identifier "uVar4") (| "|") (binary_expression "param_1 << (uVar2 & 0x1f)" (identifier "param_1") (<< "<<") (parenthesized_expression "(uVar2 & 0x1f)" (( "(") (binary_expression "uVar2 & 0x1f" (identifier "uVar2") (& "&") (number_literal "0x1f")) () ")"))))) (; ";")) (expression_statement "uVar9 = uVar10 * uVar5;" (assignment_expression "uVar9 = uVar10 * uVar5" (identifier "uVar9") (= "=") (binary_expression "uVar10 * uVar5" (identifier "uVar10") (* "*") (identifier "uVar5"))) (; ";")) (expression_statement "uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;" (assignment_expression "uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10" (identifier "uVar3") (= "=") (binary_expression "uVar3 % uVar8 << 0x10 | uVar4 >> 0x10" (binary_expression "uVar3 % uVar8 << 0x10" (binary_expression "uVar3 % uVar8" (identifier "uVar3") (% "%") (identifier "uVar8")) (<< "<<") (number_literal "0x10")) (| "|") (binary_expression "uVar4 >> 0x10" (identifier "uVar4") (>> ">>") (number_literal "0x10")))) (; ";")) (expression_statement "uVar2 = uVar5;" (assignment_expression "uVar2 = uVar5" (identifier "uVar2") (= "=") (identifier "uVar5")) (; ";")) (if_statement "if (uVar3 < uVar9) {\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }" (if "if") (parenthesized_expression "(uVar3 < uVar9)" (( "(") (binary_expression "uVar3 < uVar9" (identifier "uVar3") (< "<") (identifier "uVar9")) () ")")) (compound_statement "{\n          uVar3 = uVar3 + param_4;\n          uVar2 = uVar5 - 1;\n          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }\n        }" ({ "{") (expression_statement "uVar3 = uVar3 + param_4;" (assignment_expression "uVar3 = uVar3 + param_4" (identifier "uVar3") (= "=") (binary_expression "uVar3 + param_4" (identifier "uVar3") (+ "+") (identifier "param_4"))) (; ";")) (expression_statement "uVar2 = uVar5 - 1;" (assignment_expression "uVar2 = uVar5 - 1" (identifier "uVar2") (= "=") (binary_expression "uVar5 - 1" (identifier "uVar5") (- "-") (number_literal "1"))) (; ";")) (if_statement "if ((param_4 <= uVar3) && (uVar3 < uVar9)) {\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }" (if "if") (parenthesized_expression "((param_4 <= uVar3) && (uVar3 < uVar9))" (( "(") (binary_expression "(param_4 <= uVar3) && (uVar3 < uVar9)" (parenthesized_expression "(param_4 <= uVar3)" (( "(") (binary_expression "param_4 <= uVar3" (identifier "param_4") (<= "<=") (identifier "uVar3")) () ")")) (&& "&&") (parenthesized_expression "(uVar3 < uVar9)" (( "(") (binary_expression "uVar3 < uVar9" (identifier "uVar3") (< "<") (identifier "uVar9")) () ")"))) () ")")) (compound_statement "{\n            uVar2 = uVar5 - 2;\n            uVar3 = uVar3 + param_4;\n          }" ({ "{") (expression_statement "uVar2 = uVar5 - 2;" (assignment_expression "uVar2 = uVar5 - 2" (identifier "uVar2") (= "=") (binary_expression "uVar5 - 2" (identifier "uVar5") (- "-") (number_literal "2"))) (; ";")) (expression_statement "uVar3 = uVar3 + param_4;" (assignment_expression "uVar3 = uVar3 + param_4" (identifier "uVar3") (= "=") (binary_expression "uVar3 + param_4" (identifier "uVar3") (+ "+") (identifier "param_4"))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (uVar8 == 0) {\n          trap(7);\n        }" (if "if") (parenthesized_expression "(uVar8 == 0)" (( "(") (binary_expression "uVar8 == 0" (identifier "uVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          trap(7);\n        }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar12 = (uVar3 - uVar9) / uVar8;" (assignment_expression "uVar12 = (uVar3 - uVar9) / uVar8" (identifier "uVar12") (= "=") (binary_expression "(uVar3 - uVar9) / uVar8" (parenthesized_expression "(uVar3 - uVar9)" (( "(") (binary_expression "uVar3 - uVar9" (identifier "uVar3") (- "-") (identifier "uVar9")) () ")")) (/ "/") (identifier "uVar8"))) (; ";")) (expression_statement "uVar5 = uVar10 * uVar12;" (assignment_expression "uVar5 = uVar10 * uVar12" (identifier "uVar5") (= "=") (binary_expression "uVar10 * uVar12" (identifier "uVar10") (* "*") (identifier "uVar12"))) (; ";")) (expression_statement "param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;" (assignment_expression "param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff" (identifier "param_1") (= "=") (binary_expression "(uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff" (binary_expression "(uVar3 - uVar9) % uVar8 << 0x10" (binary_expression "(uVar3 - uVar9) % uVar8" (parenthesized_expression "(uVar3 - uVar9)" (( "(") (binary_expression "uVar3 - uVar9" (identifier "uVar3") (- "-") (identifier "uVar9")) () ")")) (% "%") (identifier "uVar8")) (<< "<<") (number_literal "0x10")) (| "|") (binary_expression "uVar4 & 0xffff" (identifier "uVar4") (& "&") (number_literal "0xffff")))) (; ";")) (expression_statement "uVar3 = uVar12;" (assignment_expression "uVar3 = uVar12" (identifier "uVar3") (= "=") (identifier "uVar12")) (; ";")) (if_statement "if (param_1 < uVar5) {\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }" (if "if") (parenthesized_expression "(param_1 < uVar5)" (( "(") (binary_expression "param_1 < uVar5" (identifier "param_1") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n          param_1 = param_1 + param_4;\n          uVar3 = uVar12 - 1;\n          if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }\n        }" ({ "{") (expression_statement "param_1 = param_1 + param_4;" (assignment_expression "param_1 = param_1 + param_4" (identifier "param_1") (= "=") (binary_expression "param_1 + param_4" (identifier "param_1") (+ "+") (identifier "param_4"))) (; ";")) (expression_statement "uVar3 = uVar12 - 1;" (assignment_expression "uVar3 = uVar12 - 1" (identifier "uVar3") (= "=") (binary_expression "uVar12 - 1" (identifier "uVar12") (- "-") (number_literal "1"))) (; ";")) (if_statement "if ((param_4 <= param_1) && (param_1 < uVar5)) {\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }" (if "if") (parenthesized_expression "((param_4 <= param_1) && (param_1 < uVar5))" (( "(") (binary_expression "(param_4 <= param_1) && (param_1 < uVar5)" (parenthesized_expression "(param_4 <= param_1)" (( "(") (binary_expression "param_4 <= param_1" (identifier "param_4") (<= "<=") (identifier "param_1")) () ")")) (&& "&&") (parenthesized_expression "(param_1 < uVar5)" (( "(") (binary_expression "param_1 < uVar5" (identifier "param_1") (< "<") (identifier "uVar5")) () ")"))) () ")")) (compound_statement "{\n            uVar3 = uVar12 - 2;\n            param_1 = param_1 + param_4;\n          }" ({ "{") (expression_statement "uVar3 = uVar12 - 2;" (assignment_expression "uVar3 = uVar12 - 2" (identifier "uVar3") (= "=") (binary_expression "uVar12 - 2" (identifier "uVar12") (- "-") (number_literal "2"))) (; ";")) (expression_statement "param_1 = param_1 + param_4;" (assignment_expression "param_1 = param_1 + param_4" (identifier "param_1") (= "=") (binary_expression "param_1 + param_4" (identifier "param_1") (+ "+") (identifier "param_4"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "param_1 = param_1 - uVar5;" (assignment_expression "param_1 = param_1 - uVar5" (identifier "param_1") (= "=") (binary_expression "param_1 - uVar5" (identifier "param_1") (- "-") (identifier "uVar5"))) (; ";")) (expression_statement "uVar3 = uVar2 << 0x10 | uVar3;" (assignment_expression "uVar3 = uVar2 << 0x10 | uVar3" (identifier "uVar3") (= "=") (binary_expression "uVar2 << 0x10 | uVar3" (binary_expression "uVar2 << 0x10" (identifier "uVar2") (<< "<<") (number_literal "0x10")) (| "|") (identifier "uVar3"))) (; ";")) (} "}")))) (if_statement "if (uVar8 == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(uVar8 == 0)" (( "(") (binary_expression "uVar8 == 0" (identifier "uVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = param_1 / uVar8;" (assignment_expression "uVar2 = param_1 / uVar8" (identifier "uVar2") (= "=") (binary_expression "param_1 / uVar8" (identifier "param_1") (/ "/") (identifier "uVar8"))) (; ";")) (expression_statement "uVar5 = uVar2 * uVar10;" (assignment_expression "uVar5 = uVar2 * uVar10" (identifier "uVar5") (= "=") (binary_expression "uVar2 * uVar10" (identifier "uVar2") (* "*") (identifier "uVar10"))) (; ";")) (expression_statement "uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;" (assignment_expression "uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10" (identifier "uVar9") (= "=") (binary_expression "param_1 % uVar8 << 0x10 | uVar6 >> 0x10" (binary_expression "param_1 % uVar8 << 0x10" (binary_expression "param_1 % uVar8" (identifier "param_1") (% "%") (identifier "uVar8")) (<< "<<") (number_literal "0x10")) (| "|") (binary_expression "uVar6 >> 0x10" (identifier "uVar6") (>> ">>") (number_literal "0x10")))) (; ";")) (expression_statement "uVar4 = uVar2;" (assignment_expression "uVar4 = uVar2" (identifier "uVar4") (= "=") (identifier "uVar2")) (; ";")) (if_statement "if (uVar9 < uVar5) {\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }" (if "if") (parenthesized_expression "(uVar9 < uVar5)" (( "(") (binary_expression "uVar9 < uVar5" (identifier "uVar9") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n        uVar9 = uVar9 + param_4;\n        uVar4 = uVar2 - 1;\n        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }\n      }" ({ "{") (expression_statement "uVar9 = uVar9 + param_4;" (assignment_expression "uVar9 = uVar9 + param_4" (identifier "uVar9") (= "=") (binary_expression "uVar9 + param_4" (identifier "uVar9") (+ "+") (identifier "param_4"))) (; ";")) (expression_statement "uVar4 = uVar2 - 1;" (assignment_expression "uVar4 = uVar2 - 1" (identifier "uVar4") (= "=") (binary_expression "uVar2 - 1" (identifier "uVar2") (- "-") (number_literal "1"))) (; ";")) (if_statement "if ((param_4 <= uVar9) && (uVar9 < uVar5)) {\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }" (if "if") (parenthesized_expression "((param_4 <= uVar9) && (uVar9 < uVar5))" (( "(") (binary_expression "(param_4 <= uVar9) && (uVar9 < uVar5)" (parenthesized_expression "(param_4 <= uVar9)" (( "(") (binary_expression "param_4 <= uVar9" (identifier "param_4") (<= "<=") (identifier "uVar9")) () ")")) (&& "&&") (parenthesized_expression "(uVar9 < uVar5)" (( "(") (binary_expression "uVar9 < uVar5" (identifier "uVar9") (< "<") (identifier "uVar5")) () ")"))) () ")")) (compound_statement "{\n          uVar9 = uVar9 + param_4;\n          uVar4 = uVar2 - 2;\n        }" ({ "{") (expression_statement "uVar9 = uVar9 + param_4;" (assignment_expression "uVar9 = uVar9 + param_4" (identifier "uVar9") (= "=") (binary_expression "uVar9 + param_4" (identifier "uVar9") (+ "+") (identifier "param_4"))) (; ";")) (expression_statement "uVar4 = uVar2 - 2;" (assignment_expression "uVar4 = uVar2 - 2" (identifier "uVar4") (= "=") (binary_expression "uVar2 - 2" (identifier "uVar2") (- "-") (number_literal "2"))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (uVar8 == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(uVar8 == 0)" (( "(") (binary_expression "uVar8 == 0" (identifier "uVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = (uVar9 - uVar5) / uVar8;" (assignment_expression "uVar2 = (uVar9 - uVar5) / uVar8" (identifier "uVar2") (= "=") (binary_expression "(uVar9 - uVar5) / uVar8" (parenthesized_expression "(uVar9 - uVar5)" (( "(") (binary_expression "uVar9 - uVar5" (identifier "uVar9") (- "-") (identifier "uVar5")) () ")")) (/ "/") (identifier "uVar8"))) (; ";")) (expression_statement "uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;" (assignment_expression "uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff" (identifier "uVar6") (= "=") (binary_expression "(uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff" (binary_expression "(uVar9 - uVar5) % uVar8 << 0x10" (binary_expression "(uVar9 - uVar5) % uVar8" (parenthesized_expression "(uVar9 - uVar5)" (( "(") (binary_expression "uVar9 - uVar5" (identifier "uVar9") (- "-") (identifier "uVar5")) () ")")) (% "%") (identifier "uVar8")) (<< "<<") (number_literal "0x10")) (| "|") (binary_expression "uVar6 & 0xffff" (identifier "uVar6") (& "&") (number_literal "0xffff")))) (; ";")) (expression_statement "uVar8 = param_4 + uVar6;" (assignment_expression "uVar8 = param_4 + uVar6" (identifier "uVar8") (= "=") (binary_expression "param_4 + uVar6" (identifier "param_4") (+ "+") (identifier "uVar6"))) (; ";")) (if_statement "if (uVar6 < uVar2 * uVar10) {\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }" (if "if") (parenthesized_expression "(uVar6 < uVar2 * uVar10)" (( "(") (binary_expression "uVar6 < uVar2 * uVar10" (identifier "uVar6") (< "<") (binary_expression "uVar2 * uVar10" (identifier "uVar2") (* "*") (identifier "uVar10"))) () ")")) (compound_statement "{\n        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 2;\n      }" ({ "{") (if_statement "if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }" (if "if") (parenthesized_expression "((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8))" (( "(") (binary_expression "(uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)" (parenthesized_expression "(uVar8 < param_4)" (( "(") (binary_expression "uVar8 < param_4" (identifier "uVar8") (< "<") (identifier "param_4")) () ")")) (|| "||") (parenthesized_expression "(uVar2 * uVar10 <= uVar8)" (( "(") (binary_expression "uVar2 * uVar10 <= uVar8" (binary_expression "uVar2 * uVar10" (identifier "uVar2") (* "*") (identifier "uVar10")) (<= "<=") (identifier "uVar8")) () ")"))) () ")")) (compound_statement "{\n          uVar2 = uVar4 << 0x10 | uVar2 - 1;\n          goto LAB_0001240c;\n        }" ({ "{") (expression_statement "uVar2 = uVar4 << 0x10 | uVar2 - 1;" (assignment_expression "uVar2 = uVar4 << 0x10 | uVar2 - 1" (identifier "uVar2") (= "=") (binary_expression "uVar4 << 0x10 | uVar2 - 1" (binary_expression "uVar4 << 0x10" (identifier "uVar4") (<< "<<") (number_literal "0x10")) (| "|") (binary_expression "uVar2 - 1" (identifier "uVar2") (- "-") (number_literal "1")))) (; ";")) (goto_statement "goto LAB_0001240c;" (goto "goto") (statement_identifier "LAB_0001240c") (; ";")) (} "}"))) (expression_statement "uVar2 = uVar2 - 2;" (assignment_expression "uVar2 = uVar2 - 2" (identifier "uVar2") (= "=") (binary_expression "uVar2 - 2" (identifier "uVar2") (- "-") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "uVar2 = uVar4 << 0x10 | uVar2;" (assignment_expression "uVar2 = uVar4 << 0x10 | uVar2" (identifier "uVar2") (= "=") (binary_expression "uVar4 << 0x10 | uVar2" (binary_expression "uVar4 << 0x10" (identifier "uVar4") (<< "<<") (number_literal "0x10")) (| "|") (identifier "uVar2"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }" (else "else") (compound_statement "{\n    uVar2 = 0;\n    if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }\n  }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_1 < param_3) {\n      uVar3 = 0;\n    }\n    else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }" (if "if") (parenthesized_expression "(param_1 < param_3)" (( "(") (binary_expression "param_1 < param_3" (identifier "param_1") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n      uVar3 = 0;\n    }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }" (else "else") (compound_statement "{\n      uVar3 = LZCOUNT(param_3);\n      if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }\n    }" ({ "{") (expression_statement "uVar3 = LZCOUNT(param_3);" (assignment_expression "uVar3 = LZCOUNT(param_3)" (identifier "uVar3") (= "=") (call_expression "LZCOUNT(param_3)" (identifier "LZCOUNT") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (uVar3 == 0) {\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }\n      else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }" (if "if") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar3 = 0;\n        if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }\n      }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_3 < param_1) {\n          uVar2 = 1;\n        }\n        else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }" (if "if") (parenthesized_expression "(param_3 < param_1)" (( "(") (binary_expression "param_3 < param_1" (identifier "param_3") (< "<") (identifier "param_1")) () ")")) (compound_statement "{\n          uVar2 = 1;\n        }" ({ "{") (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" (identifier "uVar2") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n          uVar2 = uVar6 < param_4 ^ 1;\n        }" (else "else") (compound_statement "{\n          uVar2 = uVar6 < param_4 ^ 1;\n        }" ({ "{") (expression_statement "uVar2 = uVar6 < param_4 ^ 1;" (assignment_expression "uVar2 = uVar6 < param_4 ^ 1" (identifier "uVar2") (= "=") (binary_expression "uVar6 < param_4 ^ 1" (binary_expression "uVar6 < param_4" (identifier "uVar6") (< "<") (identifier "param_4")) (^ "^") (number_literal "1"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }" (else "else") (compound_statement "{\n        uVar9 = 0x20 - uVar3;\n        uVar8 = param_1 >> (uVar9 & 0x1f);\n        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);\n        uVar2 = uVar4 >> 0x10;\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar12 = uVar8 / uVar2;\n        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);\n        uVar5 = (uVar4 & 0xffff) * uVar12;\n        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;\n        uVar8 = uVar12;\n        if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        if (uVar2 == 0) {\n          trap(7);\n        }\n        uVar11 = (uVar9 - uVar5) / uVar2;\n        uVar12 = (uVar4 & 0xffff) * uVar11;\n        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;\n        uVar2 = uVar11;\n        if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }\n        uVar2 = uVar8 << 0x10 | uVar2;\n        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));\n        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);\n        if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }\n        uVar2 = uVar2 - 1;\n        uVar3 = 0;\n      }" ({ "{") (expression_statement "uVar9 = 0x20 - uVar3;" (assignment_expression "uVar9 = 0x20 - uVar3" (identifier "uVar9") (= "=") (binary_expression "0x20 - uVar3" (number_literal "0x20") (- "-") (identifier "uVar3"))) (; ";")) (expression_statement "uVar8 = param_1 >> (uVar9 & 0x1f);" (assignment_expression "uVar8 = param_1 >> (uVar9 & 0x1f)" (identifier "uVar8") (= "=") (binary_expression "param_1 >> (uVar9 & 0x1f)" (identifier "param_1") (>> ">>") (parenthesized_expression "(uVar9 & 0x1f)" (( "(") (binary_expression "uVar9 & 0x1f" (identifier "uVar9") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);" (assignment_expression "uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f)" (identifier "uVar4") (= "=") (binary_expression "param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f)" (binary_expression "param_4 >> (uVar9 & 0x1f)" (identifier "param_4") (>> ">>") (parenthesized_expression "(uVar9 & 0x1f)" (( "(") (binary_expression "uVar9 & 0x1f" (identifier "uVar9") (& "&") (number_literal "0x1f")) () ")"))) (| "|") (binary_expression "param_3 << (uVar3 & 0x1f)" (identifier "param_3") (<< "<<") (parenthesized_expression "(uVar3 & 0x1f)" (( "(") (binary_expression "uVar3 & 0x1f" (identifier "uVar3") (& "&") (number_literal "0x1f")) () ")"))))) (; ";")) (expression_statement "uVar2 = uVar4 >> 0x10;" (assignment_expression "uVar2 = uVar4 >> 0x10" (identifier "uVar2") (= "=") (binary_expression "uVar4 >> 0x10" (identifier "uVar4") (>> ">>") (number_literal "0x10"))) (; ";")) (if_statement "if (uVar2 == 0) {\n          trap(7);\n        }" (if "if") (parenthesized_expression "(uVar2 == 0)" (( "(") (binary_expression "uVar2 == 0" (identifier "uVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          trap(7);\n        }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar12 = uVar8 / uVar2;" (assignment_expression "uVar12 = uVar8 / uVar2" (identifier "uVar12") (= "=") (binary_expression "uVar8 / uVar2" (identifier "uVar8") (/ "/") (identifier "uVar2"))) (; ";")) (expression_statement "uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);" (assignment_expression "uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f)" (identifier "uVar10") (= "=") (binary_expression "uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f)" (binary_expression "uVar6 >> (uVar9 & 0x1f)" (identifier "uVar6") (>> ">>") (parenthesized_expression "(uVar9 & 0x1f)" (( "(") (binary_expression "uVar9 & 0x1f" (identifier "uVar9") (& "&") (number_literal "0x1f")) () ")"))) (| "|") (binary_expression "param_1 << (uVar3 & 0x1f)" (identifier "param_1") (<< "<<") (parenthesized_expression "(uVar3 & 0x1f)" (( "(") (binary_expression "uVar3 & 0x1f" (identifier "uVar3") (& "&") (number_literal "0x1f")) () ")"))))) (; ";")) (expression_statement "uVar5 = (uVar4 & 0xffff) * uVar12;" (assignment_expression "uVar5 = (uVar4 & 0xffff) * uVar12" (identifier "uVar5") (= "=") (binary_expression "(uVar4 & 0xffff) * uVar12" (parenthesized_expression "(uVar4 & 0xffff)" (( "(") (binary_expression "uVar4 & 0xffff" (identifier "uVar4") (& "&") (number_literal "0xffff")) () ")")) (* "*") (identifier "uVar12"))) (; ";")) (expression_statement "uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;" (assignment_expression "uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10" (identifier "uVar9") (= "=") (binary_expression "uVar8 % uVar2 << 0x10 | uVar10 >> 0x10" (binary_expression "uVar8 % uVar2 << 0x10" (binary_expression "uVar8 % uVar2" (identifier "uVar8") (% "%") (identifier "uVar2")) (<< "<<") (number_literal "0x10")) (| "|") (binary_expression "uVar10 >> 0x10" (identifier "uVar10") (>> ">>") (number_literal "0x10")))) (; ";")) (expression_statement "uVar8 = uVar12;" (assignment_expression "uVar8 = uVar12" (identifier "uVar8") (= "=") (identifier "uVar12")) (; ";")) (if_statement "if (uVar9 < uVar5) {\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }" (if "if") (parenthesized_expression "(uVar9 < uVar5)" (( "(") (binary_expression "uVar9 < uVar5" (identifier "uVar9") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n          uVar9 = uVar9 + uVar4;\n          uVar8 = uVar12 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }" ({ "{") (expression_statement "uVar9 = uVar9 + uVar4;" (assignment_expression "uVar9 = uVar9 + uVar4" (identifier "uVar9") (= "=") (binary_expression "uVar9 + uVar4" (identifier "uVar9") (+ "+") (identifier "uVar4"))) (; ";")) (expression_statement "uVar8 = uVar12 - 1;" (assignment_expression "uVar8 = uVar12 - 1" (identifier "uVar8") (= "=") (binary_expression "uVar12 - 1" (identifier "uVar12") (- "-") (number_literal "1"))) (; ";")) (if_statement "if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }" (if "if") (parenthesized_expression "((uVar4 <= uVar9) && (uVar9 < uVar5))" (( "(") (binary_expression "(uVar4 <= uVar9) && (uVar9 < uVar5)" (parenthesized_expression "(uVar4 <= uVar9)" (( "(") (binary_expression "uVar4 <= uVar9" (identifier "uVar4") (<= "<=") (identifier "uVar9")) () ")")) (&& "&&") (parenthesized_expression "(uVar9 < uVar5)" (( "(") (binary_expression "uVar9 < uVar5" (identifier "uVar9") (< "<") (identifier "uVar5")) () ")"))) () ")")) (compound_statement "{\n            uVar8 = uVar12 - 2;\n            uVar9 = uVar9 + uVar4;\n          }" ({ "{") (expression_statement "uVar8 = uVar12 - 2;" (assignment_expression "uVar8 = uVar12 - 2" (identifier "uVar8") (= "=") (binary_expression "uVar12 - 2" (identifier "uVar12") (- "-") (number_literal "2"))) (; ";")) (expression_statement "uVar9 = uVar9 + uVar4;" (assignment_expression "uVar9 = uVar9 + uVar4" (identifier "uVar9") (= "=") (binary_expression "uVar9 + uVar4" (identifier "uVar9") (+ "+") (identifier "uVar4"))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (uVar2 == 0) {\n          trap(7);\n        }" (if "if") (parenthesized_expression "(uVar2 == 0)" (( "(") (binary_expression "uVar2 == 0" (identifier "uVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          trap(7);\n        }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar11 = (uVar9 - uVar5) / uVar2;" (assignment_expression "uVar11 = (uVar9 - uVar5) / uVar2" (identifier "uVar11") (= "=") (binary_expression "(uVar9 - uVar5) / uVar2" (parenthesized_expression "(uVar9 - uVar5)" (( "(") (binary_expression "uVar9 - uVar5" (identifier "uVar9") (- "-") (identifier "uVar5")) () ")")) (/ "/") (identifier "uVar2"))) (; ";")) (expression_statement "uVar12 = (uVar4 & 0xffff) * uVar11;" (assignment_expression "uVar12 = (uVar4 & 0xffff) * uVar11" (identifier "uVar12") (= "=") (binary_expression "(uVar4 & 0xffff) * uVar11" (parenthesized_expression "(uVar4 & 0xffff)" (( "(") (binary_expression "uVar4 & 0xffff" (identifier "uVar4") (& "&") (number_literal "0xffff")) () ")")) (* "*") (identifier "uVar11"))) (; ";")) (expression_statement "uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;" (assignment_expression "uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff" (identifier "uVar9") (= "=") (binary_expression "(uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff" (binary_expression "(uVar9 - uVar5) % uVar2 << 0x10" (binary_expression "(uVar9 - uVar5) % uVar2" (parenthesized_expression "(uVar9 - uVar5)" (( "(") (binary_expression "uVar9 - uVar5" (identifier "uVar9") (- "-") (identifier "uVar5")) () ")")) (% "%") (identifier "uVar2")) (<< "<<") (number_literal "0x10")) (| "|") (binary_expression "uVar10 & 0xffff" (identifier "uVar10") (& "&") (number_literal "0xffff")))) (; ";")) (expression_statement "uVar2 = uVar11;" (assignment_expression "uVar2 = uVar11" (identifier "uVar2") (= "=") (identifier "uVar11")) (; ";")) (if_statement "if (uVar9 < uVar12) {\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }" (if "if") (parenthesized_expression "(uVar9 < uVar12)" (( "(") (binary_expression "uVar9 < uVar12" (identifier "uVar9") (< "<") (identifier "uVar12")) () ")")) (compound_statement "{\n          uVar9 = uVar9 + uVar4;\n          uVar2 = uVar11 - 1;\n          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }\n        }" ({ "{") (expression_statement "uVar9 = uVar9 + uVar4;" (assignment_expression "uVar9 = uVar9 + uVar4" (identifier "uVar9") (= "=") (binary_expression "uVar9 + uVar4" (identifier "uVar9") (+ "+") (identifier "uVar4"))) (; ";")) (expression_statement "uVar2 = uVar11 - 1;" (assignment_expression "uVar2 = uVar11 - 1" (identifier "uVar2") (= "=") (binary_expression "uVar11 - 1" (identifier "uVar11") (- "-") (number_literal "1"))) (; ";")) (if_statement "if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }" (if "if") (parenthesized_expression "((uVar4 <= uVar9) && (uVar9 < uVar12))" (( "(") (binary_expression "(uVar4 <= uVar9) && (uVar9 < uVar12)" (parenthesized_expression "(uVar4 <= uVar9)" (( "(") (binary_expression "uVar4 <= uVar9" (identifier "uVar4") (<= "<=") (identifier "uVar9")) () ")")) (&& "&&") (parenthesized_expression "(uVar9 < uVar12)" (( "(") (binary_expression "uVar9 < uVar12" (identifier "uVar9") (< "<") (identifier "uVar12")) () ")"))) () ")")) (compound_statement "{\n            uVar2 = uVar11 - 2;\n            uVar9 = uVar9 + uVar4;\n          }" ({ "{") (expression_statement "uVar2 = uVar11 - 2;" (assignment_expression "uVar2 = uVar11 - 2" (identifier "uVar2") (= "=") (binary_expression "uVar11 - 2" (identifier "uVar11") (- "-") (number_literal "2"))) (; ";")) (expression_statement "uVar9 = uVar9 + uVar4;" (assignment_expression "uVar9 = uVar9 + uVar4" (identifier "uVar9") (= "=") (binary_expression "uVar9 + uVar4" (identifier "uVar9") (+ "+") (identifier "uVar4"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar2 = uVar8 << 0x10 | uVar2;" (assignment_expression "uVar2 = uVar8 << 0x10 | uVar2" (identifier "uVar2") (= "=") (binary_expression "uVar8 << 0x10 | uVar2" (binary_expression "uVar8 << 0x10" (identifier "uVar8") (<< "<<") (number_literal "0x10")) (| "|") (identifier "uVar2"))) (; ";")) (expression_statement "lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));" (assignment_expression "lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f))" (identifier "lVar1") (= "=") (binary_expression "(ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f))" (cast_expression "(ulonglong)uVar2" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar2")) (* "*") (call_expression "(ulonglong)(param_4 << (uVar3 & 0x1f))" (parenthesized_expression "(ulonglong)" (( "(") (identifier "ulonglong") () ")")) (argument_list "(param_4 << (uVar3 & 0x1f))" (( "(") (binary_expression "param_4 << (uVar3 & 0x1f)" (identifier "param_4") (<< "<<") (parenthesized_expression "(uVar3 & 0x1f)" (( "(") (binary_expression "uVar3 & 0x1f" (identifier "uVar3") (& "&") (number_literal "0x1f")) () ")"))) () ")"))))) (; ";")) (expression_statement "uVar8 = (uint)((ulonglong)lVar1 >> 0x20);" (assignment_expression "uVar8 = (uint)((ulonglong)lVar1 >> 0x20)" (identifier "uVar8") (= "=") (call_expression "(uint)((ulonglong)lVar1 >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)lVar1 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar1 >> 0x20" (cast_expression "(ulonglong)lVar1" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar1")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (if_statement "if (uVar8 <= uVar9 - uVar12) {\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }" (if "if") (parenthesized_expression "(uVar8 <= uVar9 - uVar12)" (( "(") (binary_expression "uVar8 <= uVar9 - uVar12" (identifier "uVar8") (<= "<=") (binary_expression "uVar9 - uVar12" (identifier "uVar9") (- "-") (identifier "uVar12"))) () ")")) (compound_statement "{\n          if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }\n          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);\n          if (uVar3 == 0) goto LAB_0001240c;\n        }" ({ "{") (if_statement "if (uVar9 - uVar12 != uVar8) {\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }" (if "if") (parenthesized_expression "(uVar9 - uVar12 != uVar8)" (( "(") (binary_expression "uVar9 - uVar12 != uVar8" (binary_expression "uVar9 - uVar12" (identifier "uVar9") (- "-") (identifier "uVar12")) (!= "!=") (identifier "uVar8")) () ")")) (compound_statement "{\n            uVar3 = 0;\n            goto LAB_0001240c;\n          }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0001240c;" (goto "goto") (statement_identifier "LAB_0001240c") (; ";")) (} "}"))) (expression_statement "uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);" (assignment_expression "uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1)" (identifier "uVar3") (= "=") (call_expression "(uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar6 << (uVar3 & 0x1f) < (uint)lVar1)" (( "(") (binary_expression "uVar6 << (uVar3 & 0x1f) < (uint)lVar1" (binary_expression "uVar6 << (uVar3 & 0x1f)" (identifier "uVar6") (<< "<<") (parenthesized_expression "(uVar3 & 0x1f)" (( "(") (binary_expression "uVar3 & 0x1f" (identifier "uVar3") (& "&") (number_literal "0x1f")) () ")"))) (< "<") (cast_expression "(uint)lVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar1"))) () ")")))) (; ";")) (if_statement "if (uVar3 == 0) goto LAB_0001240c;" (if "if") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001240c;" (goto "goto") (statement_identifier "LAB_0001240c") (; ";"))) (} "}"))) (expression_statement "uVar2 = uVar2 - 1;" (assignment_expression "uVar2 = uVar2 - 1" (identifier "uVar2") (= "=") (binary_expression "uVar2 - 1" (identifier "uVar2") (- "-") (number_literal "1"))) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}")))) (} "}")))) (labeled_statement "LAB_0001240c:\n  if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }" (statement_identifier "LAB_0001240c") (: ":") (if_statement "if (uVar7 != 0) {\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }" (if "if") (parenthesized_expression "(uVar7 != 0)" (( "(") (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = -(uint)(uVar2 != 0) - uVar3;\n  }" ({ "{") (expression_statement "uVar3 = -(uint)(uVar2 != 0) - uVar3;" (assignment_expression "uVar3 = -(uint)(uVar2 != 0) - uVar3" (identifier "uVar3") (= "=") (binary_expression "-(uint)(uVar2 != 0) - uVar3" (unary_expression "-(uint)(uVar2 != 0)" (- "-") (call_expression "(uint)(uVar2 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar2 != 0)" (( "(") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")")))) (- "-") (identifier "uVar3"))) (; ";")) (} "}")))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))

type_1 function_1(type_1 var_2,type_1 param_2,type_1 var_4,type_1 var_3)

{
  type_2 lVar1;
  type_1 var_6;
  type_1 var_7;
  type_1 var_10;
  type_1 var_13;
  type_1 var_1;
  type_1 var_16;
  type_1 var_12;
  type_1 var_9;
  type_1 var_11;
  type_1 var_15;
  type_1 var_14;
  
  var_1 = -param_2;
  if ((int)var_2 < 0) {
    var_2 = -(type_1)(var_1 != 0) - var_2;
    var_16 = 0xffffffff;
  }
  else {
    var_16 = 0;
    var_1 = param_2;
  }
  if ((int)var_4 < 0) {
    var_3 = -var_3;
    var_4 = -(type_1)(var_3 != 0) - var_4;
    var_16 = ~var_16;
  }
  if (var_4 == 0) {
    var_6 = var_5(var_3);
    if (var_2 < var_3) {
      if (var_6 != 0) {
        var_7 = var_1 >> (-var_6 & 0x1f);
        var_3 = var_3 << (var_6 & 0x1f);
        var_1 = var_1 << (var_6 & 0x1f);
        var_2 = var_7 | var_2 << (var_6 & 0x1f);
      }
      var_6 = var_3 >> 0x10;
      if (var_6 == 0) {
        var_8(7);
      }
      var_9 = var_2 / var_6;
      var_10 = (var_3 & 0xffff) * var_9;
      var_7 = var_2 % var_6 << 0x10 | var_1 >> 0x10;
      var_12 = var_9;
      if (var_7 < var_10) {
        var_7 = var_7 + var_3;
        var_12 = var_9 - 1;
        if ((var_3 <= var_7) && (var_7 < var_10)) {
          var_12 = var_9 - 2;
          var_7 = var_7 + var_3;
        }
      }
      if (var_6 == 0) {
        var_8(7);
      }
      var_11 = (var_7 - var_10) / var_6;
      var_9 = (var_3 & 0xffff) * var_11;
      var_1 = (var_7 - var_10) % var_6 << 0x10 | var_1 & 0xffff;
      var_6 = var_11;
      if (var_1 < var_9) {
        var_1 = var_3 + var_1;
        var_6 = var_11 - 1;
        if ((var_3 <= var_1) && (var_1 < var_9)) {
          var_6 = var_11 - 2;
        }
      }
      var_7 = 0;
      var_6 = var_12 << 0x10 | var_6;
    }
    else {
      if (var_3 == 0) {
        var_8(7);
        var_3 = 1 / 0;
      }
      var_6 = var_5(var_3);
      var_12 = var_3 >> 0x10;
      if (var_6 == 0) {
        var_2 = var_2 - var_3;
        var_7 = 1;
        var_11 = var_3 & 0xffff;
      }
      else {
        var_3 = var_3 << (var_6 & 0x1f);
        var_12 = var_3 >> 0x10;
        var_7 = var_2 >> (0x20 - var_6 & 0x1f);
        var_10 = var_1 >> (0x20 - var_6 & 0x1f);
        if (var_12 == 0) {
          var_8(7);
        }
        var_13 = var_7 / var_12;
        var_11 = var_3 & 0xffff;
        var_1 = var_1 << (var_6 & 0x1f);
        var_10 = var_10 | var_2 << (var_6 & 0x1f);
        var_9 = var_11 * var_13;
        var_7 = var_7 % var_12 << 0x10 | var_10 >> 0x10;
        var_6 = var_13;
        if (var_7 < var_9) {
          var_7 = var_7 + var_3;
          var_6 = var_13 - 1;
          if ((var_3 <= var_7) && (var_7 < var_9)) {
            var_6 = var_13 - 2;
            var_7 = var_7 + var_3;
          }
        }
        if (var_12 == 0) {
          var_8(7);
        }
        var_14 = (var_7 - var_9) / var_12;
        var_13 = var_11 * var_14;
        var_2 = (var_7 - var_9) % var_12 << 0x10 | var_10 & 0xffff;
        var_7 = var_14;
        if (var_2 < var_13) {
          var_2 = var_2 + var_3;
          var_7 = var_14 - 1;
          if ((var_3 <= var_2) && (var_2 < var_13)) {
            var_7 = var_14 - 2;
            var_2 = var_2 + var_3;
          }
        }
        var_2 = var_2 - var_13;
        var_7 = var_6 << 0x10 | var_7;
      }
      if (var_12 == 0) {
        var_8(7);
      }
      var_6 = var_2 / var_12;
      var_13 = var_6 * var_11;
      var_9 = var_2 % var_12 << 0x10 | var_1 >> 0x10;
      var_10 = var_6;
      if (var_9 < var_13) {
        var_9 = var_9 + var_3;
        var_10 = var_6 - 1;
        if ((var_3 <= var_9) && (var_9 < var_13)) {
          var_9 = var_9 + var_3;
          var_10 = var_6 - 2;
        }
      }
      if (var_12 == 0) {
        var_8(7);
      }
      var_6 = (var_9 - var_13) / var_12;
      var_1 = (var_9 - var_13) % var_12 << 0x10 | var_1 & 0xffff;
      var_12 = var_3 + var_1;
      if (var_1 < var_6 * var_11) {
        if ((var_12 < var_3) || (var_6 * var_11 <= var_12)) {
          var_6 = var_10 << 0x10 | var_6 - 1;
          goto LAB_0001240c;
        }
        var_6 = var_6 - 2;
      }
      var_6 = var_10 << 0x10 | var_6;
    }
  }
  else {
    var_6 = 0;
    if (var_2 < var_4) {
      var_7 = 0;
    }
    else {
      var_7 = var_5(var_4);
      if (var_7 == 0) {
        var_7 = 0;
        if (var_4 < var_2) {
          var_6 = 1;
        }
        else {
          var_6 = var_1 < var_3 ^ 1;
        }
      }
      else {
        var_9 = 0x20 - var_7;
        var_12 = var_2 >> (var_9 & 0x1f);
        var_10 = var_3 >> (var_9 & 0x1f) | var_4 << (var_7 & 0x1f);
        var_6 = var_10 >> 0x10;
        if (var_6 == 0) {
          var_8(7);
        }
        var_14 = var_12 / var_6;
        var_11 = var_1 >> (var_9 & 0x1f) | var_2 << (var_7 & 0x1f);
        var_13 = (var_10 & 0xffff) * var_14;
        var_9 = var_12 % var_6 << 0x10 | var_11 >> 0x10;
        var_12 = var_14;
        if (var_9 < var_13) {
          var_9 = var_9 + var_10;
          var_12 = var_14 - 1;
          if ((var_10 <= var_9) && (var_9 < var_13)) {
            var_12 = var_14 - 2;
            var_9 = var_9 + var_10;
          }
        }
        if (var_6 == 0) {
          var_8(7);
        }
        var_15 = (var_9 - var_13) / var_6;
        var_14 = (var_10 & 0xffff) * var_15;
        var_9 = (var_9 - var_13) % var_6 << 0x10 | var_11 & 0xffff;
        var_6 = var_15;
        if (var_9 < var_14) {
          var_9 = var_9 + var_10;
          var_6 = var_15 - 1;
          if ((var_10 <= var_9) && (var_9 < var_14)) {
            var_6 = var_15 - 2;
            var_9 = var_9 + var_10;
          }
        }
        var_6 = var_12 << 0x10 | var_6;
        lVar1 = (type_3)var_6 * (type_3)(var_3 << (var_7 & 0x1f));
        var_12 = (type_1)((type_3)lVar1 >> 0x20);
        if (var_12 <= var_9 - var_14) {
          if (var_9 - var_14 != var_12) {
            var_7 = 0;
            goto LAB_0001240c;
          }
          var_7 = (type_1)(var_1 << (var_7 & 0x1f) < (type_1)lVar1);
          if (var_7 == 0) goto LAB_0001240c;
        }
        var_6 = var_6 - 1;
        var_7 = 0;
      }
    }
  }
LAB_0001240c:
  if (var_16 != 0) {
    var_7 = -(type_1)(var_6 != 0) - var_7;
  }
  return var_7;
}


(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: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (unary_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (unary_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) 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: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) 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: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier)) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) 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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) 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: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier)) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) 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)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier)) right: (number_literal)) 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: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) 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: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier)) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) 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)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (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)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))))))) (labeled_statement label: (statement_identifier) (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: (unary_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))))))) (return_statement (identifier)))))

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

{
  longlong lVar1;
  uint uVar2;
  uint uVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  uint uVar10;
  uint uVar11;
  uint uVar12;
  
  uVar6 = -param_2;
  if ((int)param_1 < 0) {
    param_1 = -(uint)(uVar6 != 0) - param_1;
    uVar7 = 0xffffffff;
  }
  else {
    uVar7 = 0;
    uVar6 = param_2;
  }
  if ((int)param_3 < 0) {
    param_4 = -param_4;
    param_3 = -(uint)(param_4 != 0) - param_3;
    uVar7 = ~uVar7;
  }
  if (param_3 == 0) {
    uVar2 = LZCOUNT(param_4);
    if (param_1 < param_4) {
      if (uVar2 != 0) {
        uVar3 = uVar6 >> (-uVar2 & 0x1f);
        param_4 = param_4 << (uVar2 & 0x1f);
        uVar6 = uVar6 << (uVar2 & 0x1f);
        param_1 = uVar3 | param_1 << (uVar2 & 0x1f);
      }
      uVar2 = param_4 >> 0x10;
      if (uVar2 == 0) {
        trap(7);
      }
      uVar9 = param_1 / uVar2;
      uVar4 = (param_4 & 0xffff) * uVar9;
      uVar3 = param_1 % uVar2 << 0x10 | uVar6 >> 0x10;
      uVar8 = uVar9;
      if (uVar3 < uVar4) {
        uVar3 = uVar3 + param_4;
        uVar8 = uVar9 - 1;
        if ((param_4 <= uVar3) && (uVar3 < uVar4)) {
          uVar8 = uVar9 - 2;
          uVar3 = uVar3 + param_4;
        }
      }
      if (uVar2 == 0) {
        trap(7);
      }
      uVar10 = (uVar3 - uVar4) / uVar2;
      uVar9 = (param_4 & 0xffff) * uVar10;
      uVar6 = (uVar3 - uVar4) % uVar2 << 0x10 | uVar6 & 0xffff;
      uVar2 = uVar10;
      if (uVar6 < uVar9) {
        uVar6 = param_4 + uVar6;
        uVar2 = uVar10 - 1;
        if ((param_4 <= uVar6) && (uVar6 < uVar9)) {
          uVar2 = uVar10 - 2;
        }
      }
      uVar3 = 0;
      uVar2 = uVar8 << 0x10 | uVar2;
    }
    else {
      if (param_4 == 0) {
        trap(7);
        param_4 = 1 / 0;
      }
      uVar2 = LZCOUNT(param_4);
      uVar8 = param_4 >> 0x10;
      if (uVar2 == 0) {
        param_1 = param_1 - param_4;
        uVar3 = 1;
        uVar10 = param_4 & 0xffff;
      }
      else {
        param_4 = param_4 << (uVar2 & 0x1f);
        uVar8 = param_4 >> 0x10;
        uVar3 = param_1 >> (0x20 - uVar2 & 0x1f);
        uVar4 = uVar6 >> (0x20 - uVar2 & 0x1f);
        if (uVar8 == 0) {
          trap(7);
        }
        uVar5 = uVar3 / uVar8;
        uVar10 = param_4 & 0xffff;
        uVar6 = uVar6 << (uVar2 & 0x1f);
        uVar4 = uVar4 | param_1 << (uVar2 & 0x1f);
        uVar9 = uVar10 * uVar5;
        uVar3 = uVar3 % uVar8 << 0x10 | uVar4 >> 0x10;
        uVar2 = uVar5;
        if (uVar3 < uVar9) {
          uVar3 = uVar3 + param_4;
          uVar2 = uVar5 - 1;
          if ((param_4 <= uVar3) && (uVar3 < uVar9)) {
            uVar2 = uVar5 - 2;
            uVar3 = uVar3 + param_4;
          }
        }
        if (uVar8 == 0) {
          trap(7);
        }
        uVar12 = (uVar3 - uVar9) / uVar8;
        uVar5 = uVar10 * uVar12;
        param_1 = (uVar3 - uVar9) % uVar8 << 0x10 | uVar4 & 0xffff;
        uVar3 = uVar12;
        if (param_1 < uVar5) {
          param_1 = param_1 + param_4;
          uVar3 = uVar12 - 1;
          if ((param_4 <= param_1) && (param_1 < uVar5)) {
            uVar3 = uVar12 - 2;
            param_1 = param_1 + param_4;
          }
        }
        param_1 = param_1 - uVar5;
        uVar3 = uVar2 << 0x10 | uVar3;
      }
      if (uVar8 == 0) {
        trap(7);
      }
      uVar2 = param_1 / uVar8;
      uVar5 = uVar2 * uVar10;
      uVar9 = param_1 % uVar8 << 0x10 | uVar6 >> 0x10;
      uVar4 = uVar2;
      if (uVar9 < uVar5) {
        uVar9 = uVar9 + param_4;
        uVar4 = uVar2 - 1;
        if ((param_4 <= uVar9) && (uVar9 < uVar5)) {
          uVar9 = uVar9 + param_4;
          uVar4 = uVar2 - 2;
        }
      }
      if (uVar8 == 0) {
        trap(7);
      }
      uVar2 = (uVar9 - uVar5) / uVar8;
      uVar6 = (uVar9 - uVar5) % uVar8 << 0x10 | uVar6 & 0xffff;
      uVar8 = param_4 + uVar6;
      if (uVar6 < uVar2 * uVar10) {
        if ((uVar8 < param_4) || (uVar2 * uVar10 <= uVar8)) {
          uVar2 = uVar4 << 0x10 | uVar2 - 1;
          goto LAB_0001240c;
        }
        uVar2 = uVar2 - 2;
      }
      uVar2 = uVar4 << 0x10 | uVar2;
    }
  }
  else {
    uVar2 = 0;
    if (param_1 < param_3) {
      uVar3 = 0;
    }
    else {
      uVar3 = LZCOUNT(param_3);
      if (uVar3 == 0) {
        uVar3 = 0;
        if (param_3 < param_1) {
          uVar2 = 1;
        }
        else {
          uVar2 = uVar6 < param_4 ^ 1;
        }
      }
      else {
        uVar9 = 0x20 - uVar3;
        uVar8 = param_1 >> (uVar9 & 0x1f);
        uVar4 = param_4 >> (uVar9 & 0x1f) | param_3 << (uVar3 & 0x1f);
        uVar2 = uVar4 >> 0x10;
        if (uVar2 == 0) {
          trap(7);
        }
        uVar12 = uVar8 / uVar2;
        uVar10 = uVar6 >> (uVar9 & 0x1f) | param_1 << (uVar3 & 0x1f);
        uVar5 = (uVar4 & 0xffff) * uVar12;
        uVar9 = uVar8 % uVar2 << 0x10 | uVar10 >> 0x10;
        uVar8 = uVar12;
        if (uVar9 < uVar5) {
          uVar9 = uVar9 + uVar4;
          uVar8 = uVar12 - 1;
          if ((uVar4 <= uVar9) && (uVar9 < uVar5)) {
            uVar8 = uVar12 - 2;
            uVar9 = uVar9 + uVar4;
          }
        }
        if (uVar2 == 0) {
          trap(7);
        }
        uVar11 = (uVar9 - uVar5) / uVar2;
        uVar12 = (uVar4 & 0xffff) * uVar11;
        uVar9 = (uVar9 - uVar5) % uVar2 << 0x10 | uVar10 & 0xffff;
        uVar2 = uVar11;
        if (uVar9 < uVar12) {
          uVar9 = uVar9 + uVar4;
          uVar2 = uVar11 - 1;
          if ((uVar4 <= uVar9) && (uVar9 < uVar12)) {
            uVar2 = uVar11 - 2;
            uVar9 = uVar9 + uVar4;
          }
        }
        uVar2 = uVar8 << 0x10 | uVar2;
        lVar1 = (ulonglong)uVar2 * (ulonglong)(param_4 << (uVar3 & 0x1f));
        uVar8 = (uint)((ulonglong)lVar1 >> 0x20);
        if (uVar8 <= uVar9 - uVar12) {
          if (uVar9 - uVar12 != uVar8) {
            uVar3 = 0;
            goto LAB_0001240c;
          }
          uVar3 = (uint)(uVar6 << (uVar3 & 0x1f) < (uint)lVar1);
          if (uVar3 == 0) goto LAB_0001240c;
        }
        uVar2 = uVar2 - 1;
        uVar3 = 0;
      }
    }
  }
LAB_0001240c:
  if (uVar7 != 0) {
    uVar3 = -(uint)(uVar2 != 0) - uVar3;
  }
  return uVar3;
}

