
int __gmpn_hgcd2(mp_limb_t ah,mp_limb_t al,mp_limb_t bh,mp_limb_t bl,hgcd_matrix1 *M)

{
  mp_limb_t mVar1;
  uint uVar2;
  mp_limb_t mVar3;
  int iVar4;
  uint uVar5;
  uint uVar6;
  uint uVar7;
  bool bVar8;
  mp_limb_t local_24;
  mp_limb_t local_20;
  mp_limb_t local_1c;
  mp_limb_t local_18;
  int local_14;
  
  if ((ah < 2) || (bh < 2)) {
    return 0;
  }
  if ((bh < ah) || ((ah == bh && (bl < al)))) {
    bVar8 = al < bl;
    al = al - bl;
    ah = (ah - bh) - (uint)bVar8;
    if (ah < 2) {
      return 0;
    }
    local_1c = 0;
    local_20 = 1;
  }
  else {
    bVar8 = bl < al;
    bl = bl - al;
    bh = (bh - ah) - (uint)bVar8;
    if (bh < 2) {
      return 0;
    }
    local_1c = 1;
    local_20 = 0;
  }
  local_18 = 1;
  local_24 = 1;
  if (ah < bh) goto LAB_00058cb0;
  while (ah != bh) {
    if (ah < 0x10000) {
      uVar7 = (al >> 0x10) + ah * 0x10000;
      uVar6 = (bl >> 0x10) + bh * 0x10000;
      goto LAB_00058ba7;
    }
    bVar8 = al < bl;
    al = al - bl;
    ah = (ah - bh) - (uint)bVar8;
    if (ah < 2) break;
    mVar3 = local_24;
    mVar1 = local_1c;
    if (bh < ah) {
      if ((int)ah < 0) {
        iVar4 = 1;
        uVar6 = bh;
        uVar7 = bl;
        while (-1 < (int)uVar6) {
          iVar4 = iVar4 + 1;
          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;
          uVar7 = uVar7 * 2;
        }
        uVar2 = 0;
        do {
          uVar2 = uVar2 * 2;
          if ((uVar6 < ah) || ((ah == uVar6 && (uVar7 <= al)))) {
            uVar2 = uVar2 | 1;
            bVar8 = al < uVar7;
            al = al - uVar7;
            ah = (ah - uVar6) - (uint)bVar8;
          }
          uVar5 = uVar6 << 0x1f;
          uVar6 = uVar6 >> 1;
          uVar7 = uVar7 >> 1 | uVar5;
          iVar4 = iVar4 + -1;
        } while (iVar4 != 0);
      }
      else {
        iVar4 = 0;
        uVar6 = bh;
        mVar3 = bl;
        do {
          do {
            uVar7 = mVar3 * 2;
            iVar4 = iVar4 + 1;
            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;
            mVar3 = uVar7;
          } while (uVar6 < ah);
        } while ((ah == uVar6) && (uVar7 <= al));
        uVar2 = 0;
        do {
          uVar2 = uVar2 * 2;
          uVar5 = uVar6 << 0x1f;
          uVar6 = uVar6 >> 1;
          uVar7 = uVar7 >> 1 | uVar5;
          if ((uVar6 < ah) || ((uVar6 == ah && (uVar7 <= al)))) {
            uVar2 = uVar2 | 1;
            bVar8 = al < uVar7;
            al = al - uVar7;
            ah = (ah - uVar6) - (uint)bVar8;
          }
          iVar4 = iVar4 + -1;
        } while (iVar4 != 0);
      }
      if (ah < 2) {
        local_20 = local_20 + local_24 * uVar2;
        local_18 = local_18 + uVar2 * local_1c;
        break;
      }
      mVar3 = local_24 * (uVar2 + 1);
      mVar1 = (uVar2 + 1) * local_1c;
    }
    local_18 = local_18 + mVar1;
    local_20 = local_20 + mVar3;
    if (ah == bh) break;
LAB_00058cb0:
    if (bh < 0x10000) {
      uVar7 = (al >> 0x10) + ah * 0x10000;
      uVar6 = (bl >> 0x10) + bh * 0x10000;
      goto LAB_00058bcc;
    }
    bVar8 = bl < al;
    bl = bl - al;
    bh = (bh - ah) - (uint)bVar8;
    if (bh < 2) break;
    if (ah < bh) {
      if ((int)bh < 0) {
        iVar4 = 1;
        uVar6 = ah;
        uVar7 = al;
        while (-1 < (int)uVar6) {
          iVar4 = iVar4 + 1;
          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;
          uVar7 = uVar7 * 2;
        }
        uVar2 = 0;
        do {
          uVar2 = uVar2 * 2;
          if ((uVar6 < bh) || ((bh == uVar6 && (uVar7 <= bl)))) {
            uVar2 = uVar2 | 1;
            bVar8 = bl < uVar7;
            bl = bl - uVar7;
            bh = (bh - uVar6) - (uint)bVar8;
          }
          uVar5 = uVar6 << 0x1f;
          uVar6 = uVar6 >> 1;
          uVar7 = uVar7 >> 1 | uVar5;
          iVar4 = iVar4 + -1;
        } while (iVar4 != 0);
      }
      else {
        local_14 = 0;
        uVar6 = ah;
        mVar3 = al;
        do {
          do {
            uVar7 = mVar3 * 2;
            local_14 = local_14 + 1;
            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;
            mVar3 = uVar7;
          } while (uVar6 < bh);
        } while ((bh == uVar6) && (uVar7 <= bl));
        uVar2 = 0;
        do {
          uVar2 = uVar2 * 2;
          uVar5 = uVar6 << 0x1f;
          uVar6 = uVar6 >> 1;
          uVar7 = uVar7 >> 1 | uVar5;
          if ((uVar6 < bh) || ((uVar6 == bh && (uVar7 <= bl)))) {
            uVar2 = uVar2 | 1;
            bVar8 = bl < uVar7;
            bl = bl - uVar7;
            bh = (bh - uVar6) - (uint)bVar8;
          }
          local_14 = local_14 + -1;
        } while (local_14 != 0);
      }
      if (bh < 2) {
        local_24 = local_24 + local_20 * uVar2;
        local_1c = local_1c + uVar2 * local_18;
        break;
      }
      local_24 = local_24 + local_20 * (uVar2 + 1);
      local_1c = local_1c + (uVar2 + 1) * local_18;
    }
    else {
      local_24 = local_24 + local_20;
      local_1c = local_1c + local_18;
    }
  }
  goto LAB_00058c82;
LAB_00058bcc:
  uVar6 = uVar6 - uVar7;
  if (0x1ffff < uVar6) {
    if (uVar7 < uVar6) {
      iVar4 = 0;
      uVar2 = uVar7;
      if ((int)uVar6 < 0) {
        if ((int)uVar7 < 0) {
          iVar4 = 1;
        }
        else {
          iVar4 = 1;
          do {
            iVar4 = iVar4 + 1;
            uVar2 = uVar2 * 2;
          } while (-1 < (int)uVar2);
        }
        uVar5 = 0;
        do {
          uVar5 = uVar5 * 2;
          if (uVar2 <= uVar6) {
            uVar6 = uVar6 - uVar2;
            uVar5 = uVar5 | 1;
          }
          uVar2 = uVar2 >> 1;
          iVar4 = iVar4 + -1;
        } while (iVar4 != 0);
      }
      else {
        do {
          uVar2 = uVar2 * 2;
          iVar4 = iVar4 + 1;
        } while (uVar2 <= uVar6);
        uVar5 = 0;
        do {
          uVar2 = uVar2 >> 1;
          uVar5 = uVar5 * 2;
          if (uVar2 <= uVar6) {
            uVar6 = uVar6 - uVar2;
            uVar5 = uVar5 | 1;
          }
          iVar4 = iVar4 + -1;
        } while (iVar4 != 0);
      }
      if (uVar6 < 0x20000) {
        local_24 = local_24 + local_20 * uVar5;
        local_1c = local_1c + uVar5 * local_18;
        goto LAB_00058c82;
      }
      local_24 = local_24 + local_20 * (uVar5 + 1);
      local_1c = local_1c + (uVar5 + 1) * local_18;
    }
    else {
      local_24 = local_24 + local_20;
      local_1c = local_1c + local_18;
    }
LAB_00058ba7:
    uVar7 = uVar7 - uVar6;
    if (uVar7 < 0x20000) goto LAB_00058c82;
    if (uVar6 < uVar7) {
      iVar4 = 0;
      uVar2 = uVar6;
      if ((int)uVar7 < 0) {
        if ((int)uVar6 < 0) {
          iVar4 = 1;
        }
        else {
          iVar4 = 1;
          do {
            iVar4 = iVar4 + 1;
            uVar2 = uVar2 * 2;
          } while (-1 < (int)uVar2);
        }
        uVar5 = 0;
        do {
          uVar5 = uVar5 * 2;
          if (uVar2 <= uVar7) {
            uVar7 = uVar7 - uVar2;
            uVar5 = uVar5 | 1;
          }
          uVar2 = uVar2 >> 1;
          iVar4 = iVar4 + -1;
        } while (iVar4 != 0);
      }
      else {
        do {
          uVar2 = uVar2 * 2;
          iVar4 = iVar4 + 1;
        } while (uVar2 <= uVar7);
        uVar5 = 0;
        do {
          uVar2 = uVar2 >> 1;
          uVar5 = uVar5 * 2;
          if (uVar2 <= uVar7) {
            uVar7 = uVar7 - uVar2;
            uVar5 = uVar5 | 1;
          }
          iVar4 = iVar4 + -1;
        } while (iVar4 != 0);
      }
      if (uVar7 < 0x20000) {
        local_20 = local_20 + local_24 * uVar5;
        local_18 = local_18 + uVar5 * local_1c;
        goto LAB_00058c82;
      }
      local_20 = local_20 + local_24 * (uVar5 + 1);
      local_18 = local_18 + (uVar5 + 1) * local_1c;
    }
    else {
      local_20 = local_20 + local_24;
      local_18 = local_18 + local_1c;
    }
    goto LAB_00058bcc;
  }
LAB_00058c82:
  M->u[0][0] = local_24;
  M->u[0][1] = local_20;
  M->u[1][0] = local_1c;
  M->u[1][1] = local_18;
  return 1;
}



undefined4 __gmpn_hgcd2(uint param_1,uint param_2,uint param_3,uint param_4,int *param_5)

{
  int iVar1;
  uint uVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  bool bVar7;
  int local_24;
  int local_20;
  int local_1c;
  int local_18;
  int local_14;
  
  if ((param_1 < 2) || (param_3 < 2)) {
    return 0;
  }
  if ((param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2)))) {
    bVar7 = param_2 < param_4;
    param_2 = param_2 - param_4;
    param_1 = (param_1 - param_3) - (uint)bVar7;
    if (param_1 < 2) {
      return 0;
    }
    local_1c = 0;
    local_20 = 1;
  }
  else {
    bVar7 = param_4 < param_2;
    param_4 = param_4 - param_2;
    param_3 = (param_3 - param_1) - (uint)bVar7;
    if (param_3 < 2) {
      return 0;
    }
    local_1c = 1;
    local_20 = 0;
  }
  local_18 = 1;
  local_24 = 1;
  if (param_1 < param_3) goto LAB_00058cb0;
  while (param_1 != param_3) {
    if (param_1 < 0x10000) {
      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;
      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;
      goto LAB_00058ba7;
    }
    bVar7 = param_2 < param_4;
    param_2 = param_2 - param_4;
    param_1 = (param_1 - param_3) - (uint)bVar7;
    if (param_1 < 2) break;
    iVar3 = local_24;
    iVar1 = local_1c;
    if (param_3 < param_1) {
      if ((int)param_1 < 0) {
        iVar3 = 1;
        uVar5 = param_3;
        uVar6 = param_4;
        while (-1 < (int)uVar5) {
          iVar3 = iVar3 + 1;
          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;
          uVar6 = uVar6 * 2;
        }
        uVar2 = 0;
        do {
          uVar2 = uVar2 * 2;
          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {
            uVar2 = uVar2 | 1;
            bVar7 = param_2 < uVar6;
            param_2 = param_2 - uVar6;
            param_1 = (param_1 - uVar5) - (uint)bVar7;
          }
          uVar4 = uVar5 << 0x1f;
          uVar5 = uVar5 >> 1;
          uVar6 = uVar6 >> 1 | uVar4;
          iVar3 = iVar3 + -1;
        } while (iVar3 != 0);
      }
      else {
        iVar3 = 0;
        uVar5 = param_3;
        uVar6 = param_4;
        do {
          do {
            uVar4 = uVar6 * 2;
            iVar3 = iVar3 + 1;
            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;
            uVar6 = uVar4;
          } while (uVar5 < param_1);
        } while ((param_1 == uVar5) && (uVar4 <= param_2));
        uVar2 = 0;
        do {
          uVar2 = uVar2 * 2;
          uVar6 = uVar5 << 0x1f;
          uVar5 = uVar5 >> 1;
          uVar4 = uVar4 >> 1 | uVar6;
          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {
            uVar2 = uVar2 | 1;
            bVar7 = param_2 < uVar4;
            param_2 = param_2 - uVar4;
            param_1 = (param_1 - uVar5) - (uint)bVar7;
          }
          iVar3 = iVar3 + -1;
        } while (iVar3 != 0);
      }
      if (param_1 < 2) {
        local_20 = local_20 + local_24 * uVar2;
        local_18 = local_18 + uVar2 * local_1c;
        break;
      }
      iVar3 = local_24 * (uVar2 + 1);
      iVar1 = (uVar2 + 1) * local_1c;
    }
    local_18 = local_18 + iVar1;
    local_20 = local_20 + iVar3;
    if (param_1 == param_3) break;
LAB_00058cb0:
    if (param_3 < 0x10000) {
      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;
      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;
      goto LAB_00058bcc;
    }
    bVar7 = param_4 < param_2;
    param_4 = param_4 - param_2;
    param_3 = (param_3 - param_1) - (uint)bVar7;
    if (param_3 < 2) break;
    if (param_1 < param_3) {
      if ((int)param_3 < 0) {
        iVar3 = 1;
        uVar5 = param_1;
        uVar6 = param_2;
        while (-1 < (int)uVar5) {
          iVar3 = iVar3 + 1;
          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;
          uVar6 = uVar6 * 2;
        }
        uVar2 = 0;
        do {
          uVar2 = uVar2 * 2;
          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {
            uVar2 = uVar2 | 1;
            bVar7 = param_4 < uVar6;
            param_4 = param_4 - uVar6;
            param_3 = (param_3 - uVar5) - (uint)bVar7;
          }
          uVar4 = uVar5 << 0x1f;
          uVar5 = uVar5 >> 1;
          uVar6 = uVar6 >> 1 | uVar4;
          iVar3 = iVar3 + -1;
        } while (iVar3 != 0);
      }
      else {
        local_14 = 0;
        uVar5 = param_1;
        uVar6 = param_2;
        do {
          do {
            uVar4 = uVar6 * 2;
            local_14 = local_14 + 1;
            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;
            uVar6 = uVar4;
          } while (uVar5 < param_3);
        } while ((param_3 == uVar5) && (uVar4 <= param_4));
        uVar2 = 0;
        do {
          uVar2 = uVar2 * 2;
          uVar6 = uVar5 << 0x1f;
          uVar5 = uVar5 >> 1;
          uVar4 = uVar4 >> 1 | uVar6;
          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {
            uVar2 = uVar2 | 1;
            bVar7 = param_4 < uVar4;
            param_4 = param_4 - uVar4;
            param_3 = (param_3 - uVar5) - (uint)bVar7;
          }
          local_14 = local_14 + -1;
        } while (local_14 != 0);
      }
      if (param_3 < 2) {
        local_24 = local_24 + local_20 * uVar2;
        local_1c = local_1c + uVar2 * local_18;
        break;
      }
      local_24 = local_24 + local_20 * (uVar2 + 1);
      local_1c = local_1c + (uVar2 + 1) * local_18;
    }
    else {
      local_24 = local_24 + local_20;
      local_1c = local_1c + local_18;
    }
  }
  goto LAB_00058c82;
LAB_00058bcc:
  uVar5 = uVar5 - uVar6;
  if (0x1ffff < uVar5) {
    if (uVar6 < uVar5) {
      iVar3 = 0;
      uVar2 = uVar6;
      if ((int)uVar5 < 0) {
        if ((int)uVar6 < 0) {
          iVar3 = 1;
        }
        else {
          iVar3 = 1;
          do {
            iVar3 = iVar3 + 1;
            uVar2 = uVar2 * 2;
          } while (-1 < (int)uVar2);
        }
        uVar4 = 0;
        do {
          uVar4 = uVar4 * 2;
          if (uVar2 <= uVar5) {
            uVar5 = uVar5 - uVar2;
            uVar4 = uVar4 | 1;
          }
          uVar2 = uVar2 >> 1;
          iVar3 = iVar3 + -1;
        } while (iVar3 != 0);
      }
      else {
        do {
          uVar2 = uVar2 * 2;
          iVar3 = iVar3 + 1;
        } while (uVar2 <= uVar5);
        uVar4 = 0;
        do {
          uVar2 = uVar2 >> 1;
          uVar4 = uVar4 * 2;
          if (uVar2 <= uVar5) {
            uVar5 = uVar5 - uVar2;
            uVar4 = uVar4 | 1;
          }
          iVar3 = iVar3 + -1;
        } while (iVar3 != 0);
      }
      if (uVar5 < 0x20000) {
        local_24 = local_24 + local_20 * uVar4;
        local_1c = local_1c + uVar4 * local_18;
        goto LAB_00058c82;
      }
      local_24 = local_24 + local_20 * (uVar4 + 1);
      local_1c = local_1c + (uVar4 + 1) * local_18;
    }
    else {
      local_24 = local_24 + local_20;
      local_1c = local_1c + local_18;
    }
LAB_00058ba7:
    uVar6 = uVar6 - uVar5;
    if (uVar6 < 0x20000) goto LAB_00058c82;
    if (uVar5 < uVar6) {
      iVar3 = 0;
      uVar2 = uVar5;
      if ((int)uVar6 < 0) {
        if ((int)uVar5 < 0) {
          iVar3 = 1;
        }
        else {
          iVar3 = 1;
          do {
            iVar3 = iVar3 + 1;
            uVar2 = uVar2 * 2;
          } while (-1 < (int)uVar2);
        }
        uVar4 = 0;
        do {
          uVar4 = uVar4 * 2;
          if (uVar2 <= uVar6) {
            uVar6 = uVar6 - uVar2;
            uVar4 = uVar4 | 1;
          }
          uVar2 = uVar2 >> 1;
          iVar3 = iVar3 + -1;
        } while (iVar3 != 0);
      }
      else {
        do {
          uVar2 = uVar2 * 2;
          iVar3 = iVar3 + 1;
        } while (uVar2 <= uVar6);
        uVar4 = 0;
        do {
          uVar2 = uVar2 >> 1;
          uVar4 = uVar4 * 2;
          if (uVar2 <= uVar6) {
            uVar6 = uVar6 - uVar2;
            uVar4 = uVar4 | 1;
          }
          iVar3 = iVar3 + -1;
        } while (iVar3 != 0);
      }
      if (uVar6 < 0x20000) {
        local_20 = local_20 + local_24 * uVar4;
        local_18 = local_18 + uVar4 * local_1c;
        goto LAB_00058c82;
      }
      local_20 = local_20 + local_24 * (uVar4 + 1);
      local_18 = local_18 + (uVar4 + 1) * local_1c;
    }
    else {
      local_20 = local_20 + local_24;
      local_18 = local_18 + local_1c;
    }
    goto LAB_00058bcc;
  }
LAB_00058c82:
  *param_5 = local_24;
  param_5[1] = local_20;
  param_5[2] = local_1c;
  param_5[3] = local_18;
  return 1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x14
MOV EDX,dword ptr [ESP + 0x28]
MOV EBP,dword ptr [ESP + 0x30]
CMP EDX,0x1
JBE 0x00058c40
CMP EBP,0x1
JBE 0x00058c40
CMP EDX,EBP
JBE 0x00058bf8
MOV EDI,dword ptr [ESP + 0x2c]
XOR EAX,EAX
SUB EDI,dword ptr [ESP + 0x34]
SBB EDX,EBP
MOV dword ptr [ESP + 0x2c],EDI
CMP EDX,0x1
JBE 0x00058c42
MOV dword ptr [ESP + 0x8],0x0
MOV dword ptr [ESP + 0x4],0x1
MOV dword ptr [ESP + 0xc],0x1
MOV dword ptr [ESP],0x1
CMP EDX,EBP
JC 0x00058cb0
CMP EDX,EBP
JZ 0x00058c82
CMP EDX,0xffff
JA 0x00058c50
MOV EDI,dword ptr [ESP + 0x2c]
MOV ESI,dword ptr [ESP + 0x34]
MOV EAX,EBP
SHL EDX,0x10
SHL EAX,0x10
SHR EDI,0x10
SHR ESI,0x10
ADD EDI,EDX
ADD ESI,EAX
SUB EDI,ESI
CMP EDI,0x1ffff
JBE 0x00058c82
CMP ESI,EDI
JC 0x00058e40
MOV EBX,dword ptr [ESP]
ADD dword ptr [ESP + 0x4],EBX
MOV EBX,dword ptr [ESP + 0x8]
ADD dword ptr [ESP + 0xc],EBX
SUB ESI,EDI
CMP ESI,0x1ffff
JBE 0x00058c82
CMP EDI,ESI
JC 0x00058fb8
MOV EBX,dword ptr [ESP + 0x4]
MOV ECX,dword ptr [ESP + 0xc]
ADD dword ptr [ESP],EBX
ADD dword ptr [ESP + 0x8],ECX
JMP 0x00058ba7
JNZ 0x00058c08
MOV EAX,dword ptr [ESP + 0x34]
CMP dword ptr [ESP + 0x2c],EAX
JA 0x00058b39
MOV EAX,EBP
MOV ESI,dword ptr [ESP + 0x34]
SUB ESI,dword ptr [ESP + 0x2c]
SBB EAX,EDX
MOV EBP,EAX
MOV dword ptr [ESP + 0x34],ESI
XOR EAX,EAX
CMP EBP,0x1
JBE 0x00058c42
MOV dword ptr [ESP + 0x8],0x1
MOV dword ptr [ESP + 0x4],0x0
JMP 0x00058b62
XOR EAX,EAX
ADD ESP,0x14
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ESI,EDX
MOV EDI,dword ptr [ESP + 0x2c]
SUB EDI,dword ptr [ESP + 0x34]
SBB ESI,EBP
MOV EDX,ESI
MOV dword ptr [ESP + 0x2c],EDI
CMP ESI,0x1
JBE 0x00058c82
CMP EBP,ESI
JC 0x00058db0
MOV EBX,dword ptr [ESP]
ADD dword ptr [ESP + 0x4],EBX
MOV EBX,dword ptr [ESP + 0x8]
ADD dword ptr [ESP + 0xc],EBX
CMP EDX,EBP
JNZ 0x00058cb0
MOV EAX,dword ptr [ESP + 0x38]
MOV EBX,dword ptr [ESP]
MOV dword ptr [EAX],EBX
MOV EBX,dword ptr [ESP + 0x4]
MOV dword ptr [EAX + 0x4],EBX
MOV EBX,dword ptr [ESP + 0x8]
MOV dword ptr [EAX + 0x8],EBX
MOV EBX,dword ptr [ESP + 0xc]
MOV dword ptr [EAX + 0xc],EBX
ADD ESP,0x14
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP EBP,0xffff
JBE 0x00058d90
MOV EBX,EBP
MOV ESI,dword ptr [ESP + 0x34]
SUB ESI,dword ptr [ESP + 0x2c]
SBB EBX,EDX
MOV EBP,EBX
MOV dword ptr [ESP + 0x34],ESI
CMP EBX,0x1
JBE 0x00058c82
CMP EBX,EDX
JA 0x00058cf0
MOV ECX,dword ptr [ESP + 0x4]
MOV EBX,dword ptr [ESP + 0xc]
ADD dword ptr [ESP],ECX
ADD dword ptr [ESP + 0x8],EBX
JMP 0x00058b79
MOV ECX,dword ptr [ESP + 0x2c]
MOV EAX,EDX
TEST EBX,EBX
JS 0x00058f5f
MOV dword ptr [ESP + 0x10],0x0
LEA ESI,[ESI]
LEA ESI,[ESI]
MOV EDI,ECX
ADD EAX,EAX
ADD ECX,ECX
ADD dword ptr [ESP + 0x10],0x1
SHR EDI,0x1f
OR EAX,EDI
CMP EBX,EAX
JA 0x00058d10
JNZ 0x00058d2a
CMP ESI,ECX
JNC 0x00058d10
MOV dword ptr [ESP + 0x28],EDX
MOV ESI,dword ptr [ESP + 0x10]
XOR EBX,EBX
MOV EDX,dword ptr [ESP + 0x34]
LEA ESI,[ESI]
NOP
MOV EDI,EAX
SHR ECX,0x1
ADD EBX,EBX
SHL EDI,0x1f
SHR EAX,0x1
OR ECX,EDI
CMP EAX,EBP
JC 0x00058d57
JNZ 0x00058d5e
CMP EDX,ECX
JC 0x00058d5e
OR EBX,0x1
SUB EDX,ECX
SBB EBP,EAX
SUB ESI,0x1
JNZ 0x00058d40
MOV dword ptr [ESP + 0x34],EDX
MOV EDX,dword ptr [ESP + 0x28]
CMP EBP,0x1
JBE 0x00059002
MOV EAX,dword ptr [ESP + 0x4]
ADD EBX,0x1
IMUL EAX,EBX
ADD dword ptr [ESP],EAX
IMUL EBX,dword ptr [ESP + 0xc]
ADD dword ptr [ESP + 0x8],EBX
JMP 0x00058b79
MOV EDI,dword ptr [ESP + 0x2c]
MOV ESI,dword ptr [ESP + 0x34]
MOV EAX,EBP
SHL EDX,0x10
SHL EAX,0x10
SHR EDI,0x10
SHR ESI,0x10
ADD EDI,EDX
ADD ESI,EAX
JMP 0x00058bcc
MOV ECX,dword ptr [ESP + 0x34]
MOV EAX,EBP
TEST ESI,ESI
JS 0x00058e98
MOV dword ptr [ESP + 0x28],ESI
XOR EBX,EBX
LEA ESI,[ESI]
MOV EDX,ECX
ADD EAX,EAX
ADD ECX,ECX
ADD EBX,0x1
SHR EDX,0x1f
OR EAX,EDX
CMP ESI,EAX
JA 0x00058dc8
JNZ 0x00058de0
CMP EDI,ECX
JNC 0x00058dc8
MOV EDX,dword ptr [ESP + 0x28]
MOV EDI,dword ptr [ESP + 0x2c]
MOV dword ptr [ESP + 0x30],EBP
XOR ESI,ESI
NOP
MOV EBP,EAX
SHR ECX,0x1
ADD ESI,ESI
SHL EBP,0x1f
SHR EAX,0x1
OR ECX,EBP
CMP EAX,EDX
JC 0x00058e07
JNZ 0x00058e0e
CMP ECX,EDI
JA 0x00058e0e
OR ESI,0x1
SUB EDI,ECX
SBB EDX,EAX
SUB EBX,0x1
JNZ 0x00058df0
MOV dword ptr [ESP + 0x2c],EDI
MOV EBP,dword ptr [ESP + 0x30]
CMP EDX,0x1
JBE 0x00058f47
MOV EAX,dword ptr [ESP]
ADD ESI,0x1
IMUL EAX,ESI
ADD dword ptr [ESP + 0x4],EAX
IMUL ESI,dword ptr [ESP + 0x8]
ADD dword ptr [ESP + 0xc],ESI
JMP 0x00058c7e
MOV EAX,ESI
XOR ECX,ECX
TEST EDI,EDI
JS 0x00058f10
LEA ESI,[ESI]
ADD EAX,EAX
ADD ECX,0x1
CMP EDI,EAX
JNC 0x00058e50
XOR EDX,EDX
LEA ESI,[ESI]
NOP
SHR EAX,0x1
ADD EDX,EDX
CMP EAX,EDI
JA 0x00058e6d
SUB EDI,EAX
OR EDX,0x1
SUB ECX,0x1
JNZ 0x00058e60
CMP EDI,0x1ffff
JA 0x00058ef0
MOV EAX,dword ptr [ESP]
IMUL EAX,EDX
ADD dword ptr [ESP + 0x4],EAX
IMUL EDX,dword ptr [ESP + 0x8]
ADD dword ptr [ESP + 0xc],EDX
JMP 0x00058c82
MOV EBX,0x1
TEST EBP,EBP
JS 0x00058eb8
LEA ESI,[ESI]
MOV ESI,ECX
ADD EAX,EAX
ADD ECX,ECX
ADD EBX,0x1
SHR ESI,0x1f
OR EAX,ESI
JNS 0x00058ea8
MOV dword ptr [ESP + 0x30],EBP
MOV EDI,dword ptr [ESP + 0x2c]
XOR ESI,ESI
LEA ESI,[ESI]
ADD ESI,ESI
CMP EDX,EAX
JA 0x00058ed4
JNZ 0x00058edb
CMP EDI,ECX
JC 0x00058edb
OR ESI,0x1
SUB EDI,ECX
SBB EDX,EAX
MOV EBP,EAX
SHR ECX,0x1
SHL EBP,0x1f
SHR EAX,0x1
OR ECX,EBP
SUB EBX,0x1
JNZ 0x00058ec8
JMP 0x00058e13
MOV EAX,dword ptr [ESP]
ADD EDX,0x1
IMUL EAX,EDX
ADD dword ptr [ESP + 0x4],EAX
IMUL EDX,dword ptr [ESP + 0x8]
ADD dword ptr [ESP + 0xc],EDX
JMP 0x00058bcc
TEST ESI,ESI
JS 0x00059067
MOV ECX,0x1
LEA ESI,[ESI]
ADD ECX,0x1
ADD EAX,EAX
JNS 0x00058f20
XOR EDX,EDX
LEA ESI,[ESI]
ADD EDX,EDX
CMP EDI,EAX
JC 0x00058f3b
SUB EDI,EAX
OR EDX,0x1
SHR EAX,0x1
SUB ECX,0x1
JNZ 0x00058f30
JMP 0x00058e72
MOV EAX,dword ptr [ESP]
IMUL EAX,ESI
ADD dword ptr [ESP + 0x4],EAX
IMUL ESI,dword ptr [ESP + 0x8]
ADD dword ptr [ESP + 0xc],ESI
JMP 0x00058c82
MOV EDI,0x1
TEST EDX,EDX
JS 0x00058f80
LEA ESI,[ESI]
NOP
MOV EBX,ECX
ADD EAX,EAX
ADD ECX,ECX
ADD EDI,0x1
SHR EBX,0x1f
OR EAX,EBX
JNS 0x00058f70
MOV dword ptr [ESP + 0x28],EDX
MOV EDX,dword ptr [ESP + 0x34]
XOR EBX,EBX
LEA ESI,[ESI]
ADD EBX,EBX
CMP EBP,EAX
JA 0x00058f9c
JNZ 0x00058fa3
CMP EDX,ECX
JC 0x00058fa3
OR EBX,0x1
SUB EDX,ECX
SBB EBP,EAX
MOV ESI,EAX
SHR ECX,0x1
SHL ESI,0x1f
SHR EAX,0x1
OR ECX,ESI
SUB EDI,0x1
JNZ 0x00058f90
JMP 0x00058d63
MOV EAX,EDI
XOR ECX,ECX
TEST ESI,ESI
JS 0x00059035
ADD EAX,EAX
ADD ECX,0x1
CMP ESI,EAX
JNC 0x00058fc0
XOR EDX,EDX
LEA ESI,[ESI]
NOP
SHR EAX,0x1
ADD EDX,EDX
CMP EAX,ESI
JA 0x00058fdd
SUB ESI,EAX
OR EDX,0x1
SUB ECX,0x1
JNZ 0x00058fd0
CMP ESI,0x1ffff
JA 0x0005901a
MOV EAX,dword ptr [ESP + 0x4]
IMUL EAX,EDX
ADD dword ptr [ESP],EAX
IMUL EDX,dword ptr [ESP + 0xc]
ADD dword ptr [ESP + 0x8],EDX
JMP 0x00058c82
MOV EAX,dword ptr [ESP + 0x4]
IMUL EAX,EBX
ADD dword ptr [ESP],EAX
IMUL EBX,dword ptr [ESP + 0xc]
ADD dword ptr [ESP + 0x8],EBX
JMP 0x00058c82
MOV EAX,dword ptr [ESP + 0x4]
ADD EDX,0x1
IMUL EAX,EDX
ADD dword ptr [ESP],EAX
IMUL EDX,dword ptr [ESP + 0xc]
ADD dword ptr [ESP + 0x8],EDX
JMP 0x00058ba7
TEST EDI,EDI
JS 0x00059071
MOV ECX,0x1
NOP
ADD ECX,0x1
ADD EAX,EAX
JNS 0x00059040
XOR EDX,EDX
LEA ESI,[ESI]
ADD EDX,EDX
CMP ESI,EAX
JC 0x0005905b
SUB ESI,EAX
OR EDX,0x1
SHR EAX,0x1
SUB ECX,0x1
JNZ 0x00059050
JMP 0x00058fe2
MOV ECX,0x1
JMP 0x00058f27
MOV ECX,0x1
JMP 0x00059047
(translation_unit "undefined4 __gmpn_hgcd2(uint param_1,uint param_2,uint param_3,uint param_4,int *param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  int local_24;\n  int local_20;\n  int local_1c;\n  int local_18;\n  int local_14;\n  \n  if ((param_1 < 2) || (param_3 < 2)) {\n    return 0;\n  }\n  if ((param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2)))) {\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }\n  else {\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }\n  local_18 = 1;\n  local_24 = 1;\n  if (param_1 < param_3) goto LAB_00058cb0;\n  while (param_1 != param_3) {\n    if (param_1 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) break;\n    iVar3 = local_24;\n    iVar1 = local_1c;\n    if (param_3 < param_1) {\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + iVar1;\n    local_20 = local_20 + iVar3;\n    if (param_1 == param_3) break;\nLAB_00058cb0:\n    if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) break;\n    if (param_1 < param_3) {\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }\n  goto LAB_00058c82;\nLAB_00058bcc:\n  uVar5 = uVar5 - uVar6;\n  if (0x1ffff < uVar5) {\n    if (uVar6 < uVar5) {\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar6 = uVar6 - uVar5;\n    if (uVar6 < 0x20000) goto LAB_00058c82;\n    if (uVar5 < uVar6) {\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }\nLAB_00058c82:\n  *param_5 = local_24;\n  param_5[1] = local_20;\n  param_5[2] = local_1c;\n  param_5[3] = local_18;\n  return 1;\n}\n\n" (function_definition "undefined4 __gmpn_hgcd2(uint param_1,uint param_2,uint param_3,uint param_4,int *param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  int local_24;\n  int local_20;\n  int local_1c;\n  int local_18;\n  int local_14;\n  \n  if ((param_1 < 2) || (param_3 < 2)) {\n    return 0;\n  }\n  if ((param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2)))) {\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }\n  else {\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }\n  local_18 = 1;\n  local_24 = 1;\n  if (param_1 < param_3) goto LAB_00058cb0;\n  while (param_1 != param_3) {\n    if (param_1 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) break;\n    iVar3 = local_24;\n    iVar1 = local_1c;\n    if (param_3 < param_1) {\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + iVar1;\n    local_20 = local_20 + iVar3;\n    if (param_1 == param_3) break;\nLAB_00058cb0:\n    if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) break;\n    if (param_1 < param_3) {\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }\n  goto LAB_00058c82;\nLAB_00058bcc:\n  uVar5 = uVar5 - uVar6;\n  if (0x1ffff < uVar5) {\n    if (uVar6 < uVar5) {\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar6 = uVar6 - uVar5;\n    if (uVar6 < 0x20000) goto LAB_00058c82;\n    if (uVar5 < uVar6) {\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }\nLAB_00058c82:\n  *param_5 = local_24;\n  param_5[1] = local_20;\n  param_5[2] = local_1c;\n  param_5[3] = local_18;\n  return 1;\n}" type_identifier (function_declarator "__gmpn_hgcd2(uint param_1,uint param_2,uint param_3,uint param_4,int *param_5)" identifier (parameter_list "(uint param_1,uint param_2,uint param_3,uint param_4,int *param_5)" ( (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) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  int local_24;\n  int local_20;\n  int local_1c;\n  int local_18;\n  int local_14;\n  \n  if ((param_1 < 2) || (param_3 < 2)) {\n    return 0;\n  }\n  if ((param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2)))) {\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }\n  else {\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }\n  local_18 = 1;\n  local_24 = 1;\n  if (param_1 < param_3) goto LAB_00058cb0;\n  while (param_1 != param_3) {\n    if (param_1 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) break;\n    iVar3 = local_24;\n    iVar1 = local_1c;\n    if (param_3 < param_1) {\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + iVar1;\n    local_20 = local_20 + iVar3;\n    if (param_1 == param_3) break;\nLAB_00058cb0:\n    if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) break;\n    if (param_1 < param_3) {\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }\n  goto LAB_00058c82;\nLAB_00058bcc:\n  uVar5 = uVar5 - uVar6;\n  if (0x1ffff < uVar5) {\n    if (uVar6 < uVar5) {\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar6 = uVar6 - uVar5;\n    if (uVar6 < 0x20000) goto LAB_00058c82;\n    if (uVar5 < uVar6) {\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }\nLAB_00058c82:\n  *param_5 = local_24;\n  param_5[1] = local_20;\n  param_5[2] = local_1c;\n  param_5[3] = local_18;\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (declaration "int local_18;" primitive_type identifier ;) (declaration "int local_14;" primitive_type identifier ;) (if_statement "if ((param_1 < 2) || (param_3 < 2)) {\n    return 0;\n  }" if (parenthesized_expression "((param_1 < 2) || (param_3 < 2))" ( (binary_expression "(param_1 < 2) || (param_3 < 2)" (parenthesized_expression "(param_1 < 2)" ( (binary_expression "param_1 < 2" identifier < number_literal) )) || (parenthesized_expression "(param_3 < 2)" ( (binary_expression "param_3 < 2" identifier < number_literal) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2)))) {\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }\n  else {\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }" if (parenthesized_expression "((param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2))))" ( (binary_expression "(param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2)))" (parenthesized_expression "(param_3 < param_1)" ( (binary_expression "param_3 < param_1" identifier < identifier) )) || (parenthesized_expression "((param_1 == param_3 && (param_4 < param_2)))" ( (parenthesized_expression "(param_1 == param_3 && (param_4 < param_2))" ( (binary_expression "param_1 == param_3 && (param_4 < param_2)" (binary_expression "param_1 == param_3" identifier == identifier) && (parenthesized_expression "(param_4 < param_2)" ( (binary_expression "param_4 < param_2" identifier < identifier) ))) )) ))) )) (compound_statement "{\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }" { (expression_statement "bVar7 = param_2 < param_4;" (assignment_expression "bVar7 = param_2 < param_4" identifier = (binary_expression "param_2 < param_4" identifier < identifier)) ;) (expression_statement "param_2 = param_2 - param_4;" (assignment_expression "param_2 = param_2 - param_4" identifier = (binary_expression "param_2 - param_4" identifier - identifier)) ;) (expression_statement "param_1 = (param_1 - param_3) - (uint)bVar7;" (assignment_expression "param_1 = (param_1 - param_3) - (uint)bVar7" identifier = (binary_expression "(param_1 - param_3) - (uint)bVar7" (parenthesized_expression "(param_1 - param_3)" ( (binary_expression "param_1 - param_3" identifier - identifier) )) - (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (param_1 < 2) {\n      return 0;\n    }" if (parenthesized_expression "(param_1 < 2)" ( (binary_expression "param_1 < 2" identifier < number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" identifier = number_literal) ;) (expression_statement "local_20 = 1;" (assignment_expression "local_20 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }" else (compound_statement "{\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }" { (expression_statement "bVar7 = param_4 < param_2;" (assignment_expression "bVar7 = param_4 < param_2" identifier = (binary_expression "param_4 < param_2" identifier < identifier)) ;) (expression_statement "param_4 = param_4 - param_2;" (assignment_expression "param_4 = param_4 - param_2" identifier = (binary_expression "param_4 - param_2" identifier - identifier)) ;) (expression_statement "param_3 = (param_3 - param_1) - (uint)bVar7;" (assignment_expression "param_3 = (param_3 - param_1) - (uint)bVar7" identifier = (binary_expression "(param_3 - param_1) - (uint)bVar7" (parenthesized_expression "(param_3 - param_1)" ( (binary_expression "param_3 - param_1" identifier - identifier) )) - (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (param_3 < 2) {\n      return 0;\n    }" if (parenthesized_expression "(param_3 < 2)" ( (binary_expression "param_3 < 2" identifier < number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_1c = 1;" (assignment_expression "local_1c = 1" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) }))) (expression_statement "local_18 = 1;" (assignment_expression "local_18 = 1" identifier = number_literal) ;) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (if_statement "if (param_1 < param_3) goto LAB_00058cb0;" if (parenthesized_expression "(param_1 < param_3)" ( (binary_expression "param_1 < param_3" identifier < identifier) )) (goto_statement "goto LAB_00058cb0;" goto statement_identifier ;)) (while_statement "while (param_1 != param_3) {\n    if (param_1 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) break;\n    iVar3 = local_24;\n    iVar1 = local_1c;\n    if (param_3 < param_1) {\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + iVar1;\n    local_20 = local_20 + iVar3;\n    if (param_1 == param_3) break;\nLAB_00058cb0:\n    if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) break;\n    if (param_1 < param_3) {\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }" while (parenthesized_expression "(param_1 != param_3)" ( (binary_expression "param_1 != param_3" identifier != identifier) )) (compound_statement "{\n    if (param_1 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) break;\n    iVar3 = local_24;\n    iVar1 = local_1c;\n    if (param_3 < param_1) {\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + iVar1;\n    local_20 = local_20 + iVar3;\n    if (param_1 == param_3) break;\nLAB_00058cb0:\n    if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) break;\n    if (param_1 < param_3) {\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }" { (if_statement "if (param_1 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }" if (parenthesized_expression "(param_1 < 0x10000)" ( (binary_expression "param_1 < 0x10000" identifier < number_literal) )) (compound_statement "{\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }" { (expression_statement "uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;" (assignment_expression "uVar6 = (param_2 >> 0x10) + param_1 * 0x10000" identifier = (binary_expression "(param_2 >> 0x10) + param_1 * 0x10000" (parenthesized_expression "(param_2 >> 0x10)" ( (binary_expression "param_2 >> 0x10" identifier >> number_literal) )) + (binary_expression "param_1 * 0x10000" identifier * number_literal))) ;) (expression_statement "uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;" (assignment_expression "uVar5 = (param_4 >> 0x10) + param_3 * 0x10000" identifier = (binary_expression "(param_4 >> 0x10) + param_3 * 0x10000" (parenthesized_expression "(param_4 >> 0x10)" ( (binary_expression "param_4 >> 0x10" identifier >> number_literal) )) + (binary_expression "param_3 * 0x10000" identifier * number_literal))) ;) (goto_statement "goto LAB_00058ba7;" goto statement_identifier ;) })) (expression_statement "bVar7 = param_2 < param_4;" (assignment_expression "bVar7 = param_2 < param_4" identifier = (binary_expression "param_2 < param_4" identifier < identifier)) ;) (expression_statement "param_2 = param_2 - param_4;" (assignment_expression "param_2 = param_2 - param_4" identifier = (binary_expression "param_2 - param_4" identifier - identifier)) ;) (expression_statement "param_1 = (param_1 - param_3) - (uint)bVar7;" (assignment_expression "param_1 = (param_1 - param_3) - (uint)bVar7" identifier = (binary_expression "(param_1 - param_3) - (uint)bVar7" (parenthesized_expression "(param_1 - param_3)" ( (binary_expression "param_1 - param_3" identifier - identifier) )) - (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (param_1 < 2) break;" if (parenthesized_expression "(param_1 < 2)" ( (binary_expression "param_1 < 2" identifier < number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = local_24;" (assignment_expression "iVar3 = local_24" identifier = identifier) ;) (expression_statement "iVar1 = local_1c;" (assignment_expression "iVar1 = local_1c" identifier = identifier) ;) (if_statement "if (param_3 < param_1) {\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }" if (parenthesized_expression "(param_3 < param_1)" ( (binary_expression "param_3 < param_1" identifier < identifier) )) (compound_statement "{\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }" { (if_statement "if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\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        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (expression_statement "uVar5 = param_3;" (assignment_expression "uVar5 = param_3" identifier = identifier) ;) (expression_statement "uVar6 = param_4;" (assignment_expression "uVar6 = param_4" identifier = identifier) ;) (while_statement "while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }" while (parenthesized_expression "(-1 < (int)uVar5)" ( (binary_expression "-1 < (int)uVar5" number_literal < (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 * 2 | uVar6 >> 0x1f;" (assignment_expression "uVar5 = uVar5 * 2 | uVar6 >> 0x1f" identifier = (binary_expression "uVar5 * 2 | uVar6 >> 0x1f" (binary_expression "uVar5 * 2" identifier * number_literal) | (binary_expression "uVar6 >> 0x1f" identifier >> number_literal))) ;) (expression_statement "uVar6 = uVar6 * 2;" (assignment_expression "uVar6 = uVar6 * 2" identifier = (binary_expression "uVar6 * 2" identifier * number_literal)) ;) })) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" do (compound_statement "{\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        }" { (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (if_statement "if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }" if (parenthesized_expression "((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2))))" ( (binary_expression "(uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))" (parenthesized_expression "(uVar5 < param_1)" ( (binary_expression "uVar5 < param_1" identifier < identifier) )) || (parenthesized_expression "((param_1 == uVar5 && (uVar6 <= param_2)))" ( (parenthesized_expression "(param_1 == uVar5 && (uVar6 <= param_2))" ( (binary_expression "param_1 == uVar5 && (uVar6 <= param_2)" (binary_expression "param_1 == uVar5" identifier == identifier) && (parenthesized_expression "(uVar6 <= param_2)" ( (binary_expression "uVar6 <= param_2" identifier <= identifier) ))) )) ))) )) (compound_statement "{\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }" { (expression_statement "uVar2 = uVar2 | 1;" (assignment_expression "uVar2 = uVar2 | 1" identifier = (binary_expression "uVar2 | 1" identifier | number_literal)) ;) (expression_statement "bVar7 = param_2 < uVar6;" (assignment_expression "bVar7 = param_2 < uVar6" identifier = (binary_expression "param_2 < uVar6" identifier < identifier)) ;) (expression_statement "param_2 = param_2 - uVar6;" (assignment_expression "param_2 = param_2 - uVar6" identifier = (binary_expression "param_2 - uVar6" identifier - identifier)) ;) (expression_statement "param_1 = (param_1 - uVar5) - (uint)bVar7;" (assignment_expression "param_1 = (param_1 - uVar5) - (uint)bVar7" identifier = (binary_expression "(param_1 - uVar5) - (uint)bVar7" (parenthesized_expression "(param_1 - uVar5)" ( (binary_expression "param_1 - uVar5" identifier - identifier) )) - (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) (expression_statement "uVar4 = uVar5 << 0x1f;" (assignment_expression "uVar4 = uVar5 << 0x1f" identifier = (binary_expression "uVar5 << 0x1f" identifier << number_literal)) ;) (expression_statement "uVar5 = uVar5 >> 1;" (assignment_expression "uVar5 = uVar5 >> 1" identifier = (binary_expression "uVar5 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar6 = uVar6 >> 1 | uVar4;" (assignment_expression "uVar6 = uVar6 >> 1 | uVar4" identifier = (binary_expression "uVar6 >> 1 | uVar4" (binary_expression "uVar6 >> 1" identifier >> number_literal) | identifier)) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) }) (else_clause "else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" else (compound_statement "{\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = param_3;" (assignment_expression "uVar5 = param_3" identifier = identifier) ;) (expression_statement "uVar6 = param_4;" (assignment_expression "uVar6 = param_4" identifier = identifier) ;) (do_statement "do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));" do (compound_statement "{\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        }" { (do_statement "do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);" do (compound_statement "{\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          }" { (expression_statement "uVar4 = uVar6 * 2;" (assignment_expression "uVar4 = uVar6 * 2" identifier = (binary_expression "uVar6 * 2" identifier * number_literal)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 * 2 | uVar6 >> 0x1f;" (assignment_expression "uVar5 = uVar5 * 2 | uVar6 >> 0x1f" identifier = (binary_expression "uVar5 * 2 | uVar6 >> 0x1f" (binary_expression "uVar5 * 2" identifier * number_literal) | (binary_expression "uVar6 >> 0x1f" identifier >> number_literal))) ;) (expression_statement "uVar6 = uVar4;" (assignment_expression "uVar6 = uVar4" identifier = identifier) ;) }) while (parenthesized_expression "(uVar5 < param_1)" ( (binary_expression "uVar5 < param_1" identifier < identifier) )) ;) }) while (parenthesized_expression "((param_1 == uVar5) && (uVar4 <= param_2))" ( (binary_expression "(param_1 == uVar5) && (uVar4 <= param_2)" (parenthesized_expression "(param_1 == uVar5)" ( (binary_expression "param_1 == uVar5" identifier == identifier) )) && (parenthesized_expression "(uVar4 <= param_2)" ( (binary_expression "uVar4 <= param_2" identifier <= identifier) ))) )) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" do (compound_statement "{\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        }" { (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "uVar6 = uVar5 << 0x1f;" (assignment_expression "uVar6 = uVar5 << 0x1f" identifier = (binary_expression "uVar5 << 0x1f" identifier << number_literal)) ;) (expression_statement "uVar5 = uVar5 >> 1;" (assignment_expression "uVar5 = uVar5 >> 1" identifier = (binary_expression "uVar5 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar4 = uVar4 >> 1 | uVar6;" (assignment_expression "uVar4 = uVar4 >> 1 | uVar6" identifier = (binary_expression "uVar4 >> 1 | uVar6" (binary_expression "uVar4 >> 1" identifier >> number_literal) | identifier)) ;) (if_statement "if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }" if (parenthesized_expression "((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2))))" ( (binary_expression "(uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))" (parenthesized_expression "(uVar5 < param_1)" ( (binary_expression "uVar5 < param_1" identifier < identifier) )) || (parenthesized_expression "((uVar5 == param_1 && (uVar4 <= param_2)))" ( (parenthesized_expression "(uVar5 == param_1 && (uVar4 <= param_2))" ( (binary_expression "uVar5 == param_1 && (uVar4 <= param_2)" (binary_expression "uVar5 == param_1" identifier == identifier) && (parenthesized_expression "(uVar4 <= param_2)" ( (binary_expression "uVar4 <= param_2" identifier <= identifier) ))) )) ))) )) (compound_statement "{\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }" { (expression_statement "uVar2 = uVar2 | 1;" (assignment_expression "uVar2 = uVar2 | 1" identifier = (binary_expression "uVar2 | 1" identifier | number_literal)) ;) (expression_statement "bVar7 = param_2 < uVar4;" (assignment_expression "bVar7 = param_2 < uVar4" identifier = (binary_expression "param_2 < uVar4" identifier < identifier)) ;) (expression_statement "param_2 = param_2 - uVar4;" (assignment_expression "param_2 = param_2 - uVar4" identifier = (binary_expression "param_2 - uVar4" identifier - identifier)) ;) (expression_statement "param_1 = (param_1 - uVar5) - (uint)bVar7;" (assignment_expression "param_1 = (param_1 - uVar5) - (uint)bVar7" identifier = (binary_expression "(param_1 - uVar5) - (uint)bVar7" (parenthesized_expression "(param_1 - uVar5)" ( (binary_expression "param_1 - uVar5" identifier - identifier) )) - (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) }))) (if_statement "if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }" if (parenthesized_expression "(param_1 < 2)" ( (binary_expression "param_1 < 2" identifier < number_literal) )) (compound_statement "{\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }" { (expression_statement "local_20 = local_20 + local_24 * uVar2;" (assignment_expression "local_20 = local_20 + local_24 * uVar2" identifier = (binary_expression "local_20 + local_24 * uVar2" identifier + (binary_expression "local_24 * uVar2" identifier * identifier))) ;) (expression_statement "local_18 = local_18 + uVar2 * local_1c;" (assignment_expression "local_18 = local_18 + uVar2 * local_1c" identifier = (binary_expression "local_18 + uVar2 * local_1c" identifier + (binary_expression "uVar2 * local_1c" identifier * identifier))) ;) (break_statement "break;" break ;) })) (expression_statement "iVar3 = local_24 * (uVar2 + 1);" (assignment_expression "iVar3 = local_24 * (uVar2 + 1)" identifier = (binary_expression "local_24 * (uVar2 + 1)" identifier * (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "iVar1 = (uVar2 + 1) * local_1c;" (assignment_expression "iVar1 = (uVar2 + 1) * local_1c" identifier = (binary_expression "(uVar2 + 1) * local_1c" (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) )) * identifier)) ;) })) (expression_statement "local_18 = local_18 + iVar1;" (assignment_expression "local_18 = local_18 + iVar1" identifier = (binary_expression "local_18 + iVar1" identifier + identifier)) ;) (expression_statement "local_20 = local_20 + iVar3;" (assignment_expression "local_20 = local_20 + iVar3" identifier = (binary_expression "local_20 + iVar3" identifier + identifier)) ;) (if_statement "if (param_1 == param_3) break;" if (parenthesized_expression "(param_1 == param_3)" ( (binary_expression "param_1 == param_3" identifier == identifier) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00058cb0:\n    if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }" statement_identifier : (if_statement "if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }" if (parenthesized_expression "(param_3 < 0x10000)" ( (binary_expression "param_3 < 0x10000" identifier < number_literal) )) (compound_statement "{\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }" { (expression_statement "uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;" (assignment_expression "uVar6 = (param_2 >> 0x10) + param_1 * 0x10000" identifier = (binary_expression "(param_2 >> 0x10) + param_1 * 0x10000" (parenthesized_expression "(param_2 >> 0x10)" ( (binary_expression "param_2 >> 0x10" identifier >> number_literal) )) + (binary_expression "param_1 * 0x10000" identifier * number_literal))) ;) (expression_statement "uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;" (assignment_expression "uVar5 = (param_4 >> 0x10) + param_3 * 0x10000" identifier = (binary_expression "(param_4 >> 0x10) + param_3 * 0x10000" (parenthesized_expression "(param_4 >> 0x10)" ( (binary_expression "param_4 >> 0x10" identifier >> number_literal) )) + (binary_expression "param_3 * 0x10000" identifier * number_literal))) ;) (goto_statement "goto LAB_00058bcc;" goto statement_identifier ;) }))) (expression_statement "bVar7 = param_4 < param_2;" (assignment_expression "bVar7 = param_4 < param_2" identifier = (binary_expression "param_4 < param_2" identifier < identifier)) ;) (expression_statement "param_4 = param_4 - param_2;" (assignment_expression "param_4 = param_4 - param_2" identifier = (binary_expression "param_4 - param_2" identifier - identifier)) ;) (expression_statement "param_3 = (param_3 - param_1) - (uint)bVar7;" (assignment_expression "param_3 = (param_3 - param_1) - (uint)bVar7" identifier = (binary_expression "(param_3 - param_1) - (uint)bVar7" (parenthesized_expression "(param_3 - param_1)" ( (binary_expression "param_3 - param_1" identifier - identifier) )) - (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (param_3 < 2) break;" if (parenthesized_expression "(param_3 < 2)" ( (binary_expression "param_3 < 2" identifier < number_literal) )) (break_statement "break;" break ;)) (if_statement "if (param_1 < param_3) {\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" if (parenthesized_expression "(param_1 < param_3)" ( (binary_expression "param_1 < param_3" identifier < identifier) )) (compound_statement "{\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }" { (if_statement "if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\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        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (expression_statement "uVar5 = param_1;" (assignment_expression "uVar5 = param_1" identifier = identifier) ;) (expression_statement "uVar6 = param_2;" (assignment_expression "uVar6 = param_2" identifier = identifier) ;) (while_statement "while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }" while (parenthesized_expression "(-1 < (int)uVar5)" ( (binary_expression "-1 < (int)uVar5" number_literal < (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 * 2 | uVar6 >> 0x1f;" (assignment_expression "uVar5 = uVar5 * 2 | uVar6 >> 0x1f" identifier = (binary_expression "uVar5 * 2 | uVar6 >> 0x1f" (binary_expression "uVar5 * 2" identifier * number_literal) | (binary_expression "uVar6 >> 0x1f" identifier >> number_literal))) ;) (expression_statement "uVar6 = uVar6 * 2;" (assignment_expression "uVar6 = uVar6 * 2" identifier = (binary_expression "uVar6 * 2" identifier * number_literal)) ;) })) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" do (compound_statement "{\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        }" { (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (if_statement "if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }" if (parenthesized_expression "((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4))))" ( (binary_expression "(uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))" (parenthesized_expression "(uVar5 < param_3)" ( (binary_expression "uVar5 < param_3" identifier < identifier) )) || (parenthesized_expression "((param_3 == uVar5 && (uVar6 <= param_4)))" ( (parenthesized_expression "(param_3 == uVar5 && (uVar6 <= param_4))" ( (binary_expression "param_3 == uVar5 && (uVar6 <= param_4)" (binary_expression "param_3 == uVar5" identifier == identifier) && (parenthesized_expression "(uVar6 <= param_4)" ( (binary_expression "uVar6 <= param_4" identifier <= identifier) ))) )) ))) )) (compound_statement "{\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }" { (expression_statement "uVar2 = uVar2 | 1;" (assignment_expression "uVar2 = uVar2 | 1" identifier = (binary_expression "uVar2 | 1" identifier | number_literal)) ;) (expression_statement "bVar7 = param_4 < uVar6;" (assignment_expression "bVar7 = param_4 < uVar6" identifier = (binary_expression "param_4 < uVar6" identifier < identifier)) ;) (expression_statement "param_4 = param_4 - uVar6;" (assignment_expression "param_4 = param_4 - uVar6" identifier = (binary_expression "param_4 - uVar6" identifier - identifier)) ;) (expression_statement "param_3 = (param_3 - uVar5) - (uint)bVar7;" (assignment_expression "param_3 = (param_3 - uVar5) - (uint)bVar7" identifier = (binary_expression "(param_3 - uVar5) - (uint)bVar7" (parenthesized_expression "(param_3 - uVar5)" ( (binary_expression "param_3 - uVar5" identifier - identifier) )) - (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) (expression_statement "uVar4 = uVar5 << 0x1f;" (assignment_expression "uVar4 = uVar5 << 0x1f" identifier = (binary_expression "uVar5 << 0x1f" identifier << number_literal)) ;) (expression_statement "uVar5 = uVar5 >> 1;" (assignment_expression "uVar5 = uVar5 >> 1" identifier = (binary_expression "uVar5 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar6 = uVar6 >> 1 | uVar4;" (assignment_expression "uVar6 = uVar6 >> 1 | uVar4" identifier = (binary_expression "uVar6 >> 1 | uVar4" (binary_expression "uVar6 >> 1" identifier >> number_literal) | identifier)) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) }) (else_clause "else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }" else (compound_statement "{\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }" { (expression_statement "local_14 = 0;" (assignment_expression "local_14 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = param_1;" (assignment_expression "uVar5 = param_1" identifier = identifier) ;) (expression_statement "uVar6 = param_2;" (assignment_expression "uVar6 = param_2" identifier = identifier) ;) (do_statement "do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));" do (compound_statement "{\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        }" { (do_statement "do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);" do (compound_statement "{\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          }" { (expression_statement "uVar4 = uVar6 * 2;" (assignment_expression "uVar4 = uVar6 * 2" identifier = (binary_expression "uVar6 * 2" identifier * number_literal)) ;) (expression_statement "local_14 = local_14 + 1;" (assignment_expression "local_14 = local_14 + 1" identifier = (binary_expression "local_14 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 * 2 | uVar6 >> 0x1f;" (assignment_expression "uVar5 = uVar5 * 2 | uVar6 >> 0x1f" identifier = (binary_expression "uVar5 * 2 | uVar6 >> 0x1f" (binary_expression "uVar5 * 2" identifier * number_literal) | (binary_expression "uVar6 >> 0x1f" identifier >> number_literal))) ;) (expression_statement "uVar6 = uVar4;" (assignment_expression "uVar6 = uVar4" identifier = identifier) ;) }) while (parenthesized_expression "(uVar5 < param_3)" ( (binary_expression "uVar5 < param_3" identifier < identifier) )) ;) }) while (parenthesized_expression "((param_3 == uVar5) && (uVar4 <= param_4))" ( (binary_expression "(param_3 == uVar5) && (uVar4 <= param_4)" (parenthesized_expression "(param_3 == uVar5)" ( (binary_expression "param_3 == uVar5" identifier == identifier) )) && (parenthesized_expression "(uVar4 <= param_4)" ( (binary_expression "uVar4 <= param_4" identifier <= identifier) ))) )) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);" do (compound_statement "{\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        }" { (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "uVar6 = uVar5 << 0x1f;" (assignment_expression "uVar6 = uVar5 << 0x1f" identifier = (binary_expression "uVar5 << 0x1f" identifier << number_literal)) ;) (expression_statement "uVar5 = uVar5 >> 1;" (assignment_expression "uVar5 = uVar5 >> 1" identifier = (binary_expression "uVar5 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar4 = uVar4 >> 1 | uVar6;" (assignment_expression "uVar4 = uVar4 >> 1 | uVar6" identifier = (binary_expression "uVar4 >> 1 | uVar6" (binary_expression "uVar4 >> 1" identifier >> number_literal) | identifier)) ;) (if_statement "if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }" if (parenthesized_expression "((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4))))" ( (binary_expression "(uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))" (parenthesized_expression "(uVar5 < param_3)" ( (binary_expression "uVar5 < param_3" identifier < identifier) )) || (parenthesized_expression "((uVar5 == param_3 && (uVar4 <= param_4)))" ( (parenthesized_expression "(uVar5 == param_3 && (uVar4 <= param_4))" ( (binary_expression "uVar5 == param_3 && (uVar4 <= param_4)" (binary_expression "uVar5 == param_3" identifier == identifier) && (parenthesized_expression "(uVar4 <= param_4)" ( (binary_expression "uVar4 <= param_4" identifier <= identifier) ))) )) ))) )) (compound_statement "{\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }" { (expression_statement "uVar2 = uVar2 | 1;" (assignment_expression "uVar2 = uVar2 | 1" identifier = (binary_expression "uVar2 | 1" identifier | number_literal)) ;) (expression_statement "bVar7 = param_4 < uVar4;" (assignment_expression "bVar7 = param_4 < uVar4" identifier = (binary_expression "param_4 < uVar4" identifier < identifier)) ;) (expression_statement "param_4 = param_4 - uVar4;" (assignment_expression "param_4 = param_4 - uVar4" identifier = (binary_expression "param_4 - uVar4" identifier - identifier)) ;) (expression_statement "param_3 = (param_3 - uVar5) - (uint)bVar7;" (assignment_expression "param_3 = (param_3 - uVar5) - (uint)bVar7" identifier = (binary_expression "(param_3 - uVar5) - (uint)bVar7" (parenthesized_expression "(param_3 - uVar5)" ( (binary_expression "param_3 - uVar5" identifier - identifier) )) - (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) (expression_statement "local_14 = local_14 + -1;" (assignment_expression "local_14 = local_14 + -1" identifier = (binary_expression "local_14 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_14 != 0)" ( (binary_expression "local_14 != 0" identifier != number_literal) )) ;) }))) (if_statement "if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }" if (parenthesized_expression "(param_3 < 2)" ( (binary_expression "param_3 < 2" identifier < number_literal) )) (compound_statement "{\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }" { (expression_statement "local_24 = local_24 + local_20 * uVar2;" (assignment_expression "local_24 = local_24 + local_20 * uVar2" identifier = (binary_expression "local_24 + local_20 * uVar2" identifier + (binary_expression "local_20 * uVar2" identifier * identifier))) ;) (expression_statement "local_1c = local_1c + uVar2 * local_18;" (assignment_expression "local_1c = local_1c + uVar2 * local_18" identifier = (binary_expression "local_1c + uVar2 * local_18" identifier + (binary_expression "uVar2 * local_18" identifier * identifier))) ;) (break_statement "break;" break ;) })) (expression_statement "local_24 = local_24 + local_20 * (uVar2 + 1);" (assignment_expression "local_24 = local_24 + local_20 * (uVar2 + 1)" identifier = (binary_expression "local_24 + local_20 * (uVar2 + 1)" identifier + (binary_expression "local_20 * (uVar2 + 1)" identifier * (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) ))))) ;) (expression_statement "local_1c = local_1c + (uVar2 + 1) * local_18;" (assignment_expression "local_1c = local_1c + (uVar2 + 1) * local_18" identifier = (binary_expression "local_1c + (uVar2 + 1) * local_18" identifier + (binary_expression "(uVar2 + 1) * local_18" (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) )) * identifier))) ;) }) (else_clause "else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" else (compound_statement "{\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" { (expression_statement "local_24 = local_24 + local_20;" (assignment_expression "local_24 = local_24 + local_20" identifier = (binary_expression "local_24 + local_20" identifier + identifier)) ;) (expression_statement "local_1c = local_1c + local_18;" (assignment_expression "local_1c = local_1c + local_18" identifier = (binary_expression "local_1c + local_18" identifier + identifier)) ;) }))) })) (goto_statement "goto LAB_00058c82;" goto statement_identifier ;) (labeled_statement "LAB_00058bcc:\n  uVar5 = uVar5 - uVar6;" statement_identifier : (expression_statement "uVar5 = uVar5 - uVar6;" (assignment_expression "uVar5 = uVar5 - uVar6" identifier = (binary_expression "uVar5 - uVar6" identifier - identifier)) ;)) (if_statement "if (0x1ffff < uVar5) {\n    if (uVar6 < uVar5) {\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar6 = uVar6 - uVar5;\n    if (uVar6 < 0x20000) goto LAB_00058c82;\n    if (uVar5 < uVar6) {\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }" if (parenthesized_expression "(0x1ffff < uVar5)" ( (binary_expression "0x1ffff < uVar5" number_literal < identifier) )) (compound_statement "{\n    if (uVar6 < uVar5) {\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar6 = uVar6 - uVar5;\n    if (uVar6 < 0x20000) goto LAB_00058c82;\n    if (uVar5 < uVar6) {\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }" { (if_statement "if (uVar6 < uVar5) {\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" if (parenthesized_expression "(uVar6 < uVar5)" ( (binary_expression "uVar6 < uVar5" identifier < identifier) )) (compound_statement "{\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = uVar6;" (assignment_expression "uVar2 = uVar6" identifier = identifier) ;) (if_statement "if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" if (parenthesized_expression "((int)uVar5 < 0)" ( (binary_expression "(int)uVar5 < 0" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" { (if_statement "if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" if (parenthesized_expression "((int)uVar6 < 0)" ( (binary_expression "(int)uVar6 < 0" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          iVar3 = 1;\n        }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) }) (else_clause "else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" else (compound_statement "{\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (do_statement "do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);" do (compound_statement "{\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) }) while (parenthesized_expression "(-1 < (int)uVar2)" ( (binary_expression "-1 < (int)uVar2" number_literal < (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) }))) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" do (compound_statement "{\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        }" { (expression_statement "uVar4 = uVar4 * 2;" (assignment_expression "uVar4 = uVar4 * 2" identifier = (binary_expression "uVar4 * 2" identifier * number_literal)) ;) (if_statement "if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" if (parenthesized_expression "(uVar2 <= uVar5)" ( (binary_expression "uVar2 <= uVar5" identifier <= identifier) )) (compound_statement "{\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" { (expression_statement "uVar5 = uVar5 - uVar2;" (assignment_expression "uVar5 = uVar5 - uVar2" identifier = (binary_expression "uVar5 - uVar2" identifier - identifier)) ;) (expression_statement "uVar4 = uVar4 | 1;" (assignment_expression "uVar4 = uVar4 | 1" identifier = (binary_expression "uVar4 | 1" identifier | number_literal)) ;) })) (expression_statement "uVar2 = uVar2 >> 1;" (assignment_expression "uVar2 = uVar2 >> 1" identifier = (binary_expression "uVar2 >> 1" identifier >> number_literal)) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) }) (else_clause "else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" else (compound_statement "{\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" { (do_statement "do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);" do (compound_statement "{\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        }" { (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 <= uVar5)" ( (binary_expression "uVar2 <= uVar5" identifier <= identifier) )) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" do (compound_statement "{\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        }" { (expression_statement "uVar2 = uVar2 >> 1;" (assignment_expression "uVar2 = uVar2 >> 1" identifier = (binary_expression "uVar2 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar4 = uVar4 * 2;" (assignment_expression "uVar4 = uVar4 * 2" identifier = (binary_expression "uVar4 * 2" identifier * number_literal)) ;) (if_statement "if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" if (parenthesized_expression "(uVar2 <= uVar5)" ( (binary_expression "uVar2 <= uVar5" identifier <= identifier) )) (compound_statement "{\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" { (expression_statement "uVar5 = uVar5 - uVar2;" (assignment_expression "uVar5 = uVar5 - uVar2" identifier = (binary_expression "uVar5 - uVar2" identifier - identifier)) ;) (expression_statement "uVar4 = uVar4 | 1;" (assignment_expression "uVar4 = uVar4 | 1" identifier = (binary_expression "uVar4 | 1" identifier | number_literal)) ;) })) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) }))) (if_statement "if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }" if (parenthesized_expression "(uVar5 < 0x20000)" ( (binary_expression "uVar5 < 0x20000" identifier < number_literal) )) (compound_statement "{\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }" { (expression_statement "local_24 = local_24 + local_20 * uVar4;" (assignment_expression "local_24 = local_24 + local_20 * uVar4" identifier = (binary_expression "local_24 + local_20 * uVar4" identifier + (binary_expression "local_20 * uVar4" identifier * identifier))) ;) (expression_statement "local_1c = local_1c + uVar4 * local_18;" (assignment_expression "local_1c = local_1c + uVar4 * local_18" identifier = (binary_expression "local_1c + uVar4 * local_18" identifier + (binary_expression "uVar4 * local_18" identifier * identifier))) ;) (goto_statement "goto LAB_00058c82;" goto statement_identifier ;) })) (expression_statement "local_24 = local_24 + local_20 * (uVar4 + 1);" (assignment_expression "local_24 = local_24 + local_20 * (uVar4 + 1)" identifier = (binary_expression "local_24 + local_20 * (uVar4 + 1)" identifier + (binary_expression "local_20 * (uVar4 + 1)" identifier * (parenthesized_expression "(uVar4 + 1)" ( (binary_expression "uVar4 + 1" identifier + number_literal) ))))) ;) (expression_statement "local_1c = local_1c + (uVar4 + 1) * local_18;" (assignment_expression "local_1c = local_1c + (uVar4 + 1) * local_18" identifier = (binary_expression "local_1c + (uVar4 + 1) * local_18" identifier + (binary_expression "(uVar4 + 1) * local_18" (parenthesized_expression "(uVar4 + 1)" ( (binary_expression "uVar4 + 1" identifier + number_literal) )) * identifier))) ;) }) (else_clause "else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" else (compound_statement "{\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" { (expression_statement "local_24 = local_24 + local_20;" (assignment_expression "local_24 = local_24 + local_20" identifier = (binary_expression "local_24 + local_20" identifier + identifier)) ;) (expression_statement "local_1c = local_1c + local_18;" (assignment_expression "local_1c = local_1c + local_18" identifier = (binary_expression "local_1c + local_18" identifier + identifier)) ;) }))) (labeled_statement "LAB_00058ba7:\n    uVar6 = uVar6 - uVar5;" statement_identifier : (expression_statement "uVar6 = uVar6 - uVar5;" (assignment_expression "uVar6 = uVar6 - uVar5" identifier = (binary_expression "uVar6 - uVar5" identifier - identifier)) ;)) (if_statement "if (uVar6 < 0x20000) goto LAB_00058c82;" if (parenthesized_expression "(uVar6 < 0x20000)" ( (binary_expression "uVar6 < 0x20000" identifier < number_literal) )) (goto_statement "goto LAB_00058c82;" goto statement_identifier ;)) (if_statement "if (uVar5 < uVar6) {\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }" if (parenthesized_expression "(uVar5 < uVar6)" ( (binary_expression "uVar5 < uVar6" identifier < identifier) )) (compound_statement "{\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = uVar5;" (assignment_expression "uVar2 = uVar5" identifier = identifier) ;) (if_statement "if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" if (parenthesized_expression "((int)uVar6 < 0)" ( (binary_expression "(int)uVar6 < 0" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" { (if_statement "if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" if (parenthesized_expression "((int)uVar5 < 0)" ( (binary_expression "(int)uVar5 < 0" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          iVar3 = 1;\n        }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) }) (else_clause "else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" else (compound_statement "{\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (do_statement "do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);" do (compound_statement "{\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) }) while (parenthesized_expression "(-1 < (int)uVar2)" ( (binary_expression "-1 < (int)uVar2" number_literal < (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) }))) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" do (compound_statement "{\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        }" { (expression_statement "uVar4 = uVar4 * 2;" (assignment_expression "uVar4 = uVar4 * 2" identifier = (binary_expression "uVar4 * 2" identifier * number_literal)) ;) (if_statement "if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" if (parenthesized_expression "(uVar2 <= uVar6)" ( (binary_expression "uVar2 <= uVar6" identifier <= identifier) )) (compound_statement "{\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" { (expression_statement "uVar6 = uVar6 - uVar2;" (assignment_expression "uVar6 = uVar6 - uVar2" identifier = (binary_expression "uVar6 - uVar2" identifier - identifier)) ;) (expression_statement "uVar4 = uVar4 | 1;" (assignment_expression "uVar4 = uVar4 | 1" identifier = (binary_expression "uVar4 | 1" identifier | number_literal)) ;) })) (expression_statement "uVar2 = uVar2 >> 1;" (assignment_expression "uVar2 = uVar2 >> 1" identifier = (binary_expression "uVar2 >> 1" identifier >> number_literal)) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) }) (else_clause "else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" else (compound_statement "{\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" { (do_statement "do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);" do (compound_statement "{\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        }" { (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 <= uVar6)" ( (binary_expression "uVar2 <= uVar6" identifier <= identifier) )) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" do (compound_statement "{\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        }" { (expression_statement "uVar2 = uVar2 >> 1;" (assignment_expression "uVar2 = uVar2 >> 1" identifier = (binary_expression "uVar2 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar4 = uVar4 * 2;" (assignment_expression "uVar4 = uVar4 * 2" identifier = (binary_expression "uVar4 * 2" identifier * number_literal)) ;) (if_statement "if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" if (parenthesized_expression "(uVar2 <= uVar6)" ( (binary_expression "uVar2 <= uVar6" identifier <= identifier) )) (compound_statement "{\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" { (expression_statement "uVar6 = uVar6 - uVar2;" (assignment_expression "uVar6 = uVar6 - uVar2" identifier = (binary_expression "uVar6 - uVar2" identifier - identifier)) ;) (expression_statement "uVar4 = uVar4 | 1;" (assignment_expression "uVar4 = uVar4 | 1" identifier = (binary_expression "uVar4 | 1" identifier | number_literal)) ;) })) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) }))) (if_statement "if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }" if (parenthesized_expression "(uVar6 < 0x20000)" ( (binary_expression "uVar6 < 0x20000" identifier < number_literal) )) (compound_statement "{\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }" { (expression_statement "local_20 = local_20 + local_24 * uVar4;" (assignment_expression "local_20 = local_20 + local_24 * uVar4" identifier = (binary_expression "local_20 + local_24 * uVar4" identifier + (binary_expression "local_24 * uVar4" identifier * identifier))) ;) (expression_statement "local_18 = local_18 + uVar4 * local_1c;" (assignment_expression "local_18 = local_18 + uVar4 * local_1c" identifier = (binary_expression "local_18 + uVar4 * local_1c" identifier + (binary_expression "uVar4 * local_1c" identifier * identifier))) ;) (goto_statement "goto LAB_00058c82;" goto statement_identifier ;) })) (expression_statement "local_20 = local_20 + local_24 * (uVar4 + 1);" (assignment_expression "local_20 = local_20 + local_24 * (uVar4 + 1)" identifier = (binary_expression "local_20 + local_24 * (uVar4 + 1)" identifier + (binary_expression "local_24 * (uVar4 + 1)" identifier * (parenthesized_expression "(uVar4 + 1)" ( (binary_expression "uVar4 + 1" identifier + number_literal) ))))) ;) (expression_statement "local_18 = local_18 + (uVar4 + 1) * local_1c;" (assignment_expression "local_18 = local_18 + (uVar4 + 1) * local_1c" identifier = (binary_expression "local_18 + (uVar4 + 1) * local_1c" identifier + (binary_expression "(uVar4 + 1) * local_1c" (parenthesized_expression "(uVar4 + 1)" ( (binary_expression "uVar4 + 1" identifier + number_literal) )) * identifier))) ;) }) (else_clause "else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }" else (compound_statement "{\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }" { (expression_statement "local_20 = local_20 + local_24;" (assignment_expression "local_20 = local_20 + local_24" identifier = (binary_expression "local_20 + local_24" identifier + identifier)) ;) (expression_statement "local_18 = local_18 + local_1c;" (assignment_expression "local_18 = local_18 + local_1c" identifier = (binary_expression "local_18 + local_1c" identifier + identifier)) ;) }))) (goto_statement "goto LAB_00058bcc;" goto statement_identifier ;) })) (labeled_statement "LAB_00058c82:\n  *param_5 = local_24;" statement_identifier : (expression_statement "*param_5 = local_24;" (assignment_expression "*param_5 = local_24" (pointer_expression "*param_5" * identifier) = identifier) ;)) (expression_statement "param_5[1] = local_20;" (assignment_expression "param_5[1] = local_20" (subscript_expression "param_5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_5[2] = local_1c;" (assignment_expression "param_5[2] = local_1c" (subscript_expression "param_5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_5[3] = local_18;" (assignment_expression "param_5[3] = local_18" (subscript_expression "param_5[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int __gmpn_hgcd2(mp_limb_t ah,mp_limb_t al,mp_limb_t bh,mp_limb_t bl,hgcd_matrix1 *M)\n\n{\n  mp_limb_t mVar1;\n  uint uVar2;\n  mp_limb_t mVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  bool bVar8;\n  mp_limb_t local_24;\n  mp_limb_t local_20;\n  mp_limb_t local_1c;\n  mp_limb_t local_18;\n  int local_14;\n  \n  if ((ah < 2) || (bh < 2)) {\n    return 0;\n  }\n  if ((bh < ah) || ((ah == bh && (bl < al)))) {\n    bVar8 = al < bl;\n    al = al - bl;\n    ah = (ah - bh) - (uint)bVar8;\n    if (ah < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }\n  else {\n    bVar8 = bl < al;\n    bl = bl - al;\n    bh = (bh - ah) - (uint)bVar8;\n    if (bh < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }\n  local_18 = 1;\n  local_24 = 1;\n  if (ah < bh) goto LAB_00058cb0;\n  while (ah != bh) {\n    if (ah < 0x10000) {\n      uVar7 = (al >> 0x10) + ah * 0x10000;\n      uVar6 = (bl >> 0x10) + bh * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar8 = al < bl;\n    al = al - bl;\n    ah = (ah - bh) - (uint)bVar8;\n    if (ah < 2) break;\n    mVar3 = local_24;\n    mVar1 = local_1c;\n    if (bh < ah) {\n      if ((int)ah < 0) {\n        iVar4 = 1;\n        uVar6 = bh;\n        uVar7 = bl;\n        while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < ah) || ((ah == uVar6 && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        iVar4 = 0;\n        uVar6 = bh;\n        mVar3 = bl;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            iVar4 = iVar4 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < ah);\n        } while ((ah == uVar6) && (uVar7 <= al));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < ah) || ((uVar6 == ah && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (ah < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      mVar3 = local_24 * (uVar2 + 1);\n      mVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + mVar1;\n    local_20 = local_20 + mVar3;\n    if (ah == bh) break;\nLAB_00058cb0:\n    if (bh < 0x10000) {\n      uVar7 = (al >> 0x10) + ah * 0x10000;\n      uVar6 = (bl >> 0x10) + bh * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar8 = bl < al;\n    bl = bl - al;\n    bh = (bh - ah) - (uint)bVar8;\n    if (bh < 2) break;\n    if (ah < bh) {\n      if ((int)bh < 0) {\n        iVar4 = 1;\n        uVar6 = ah;\n        uVar7 = al;\n        while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < bh) || ((bh == uVar6 && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar6 = ah;\n        mVar3 = al;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            local_14 = local_14 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < bh);\n        } while ((bh == uVar6) && (uVar7 <= bl));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < bh) || ((uVar6 == bh && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (bh < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }\n  goto LAB_00058c82;\nLAB_00058bcc:\n  uVar6 = uVar6 - uVar7;\n  if (0x1ffff < uVar6) {\n    if (uVar7 < uVar6) {\n      iVar4 = 0;\n      uVar2 = uVar7;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar7 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar5 = 0;\n        do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar6);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar5;\n        local_1c = local_1c + uVar5 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar5 + 1);\n      local_1c = local_1c + (uVar5 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar7 = uVar7 - uVar6;\n    if (uVar7 < 0x20000) goto LAB_00058c82;\n    if (uVar6 < uVar7) {\n      iVar4 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar7 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar5 = 0;\n        do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar7);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (uVar7 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar5;\n        local_18 = local_18 + uVar5 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar5 + 1);\n      local_18 = local_18 + (uVar5 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }\nLAB_00058c82:\n  M->u[0][0] = local_24;\n  M->u[0][1] = local_20;\n  M->u[1][0] = local_1c;\n  M->u[1][1] = local_18;\n  return 1;\n}\n\n" (function_definition "int __gmpn_hgcd2(mp_limb_t ah,mp_limb_t al,mp_limb_t bh,mp_limb_t bl,hgcd_matrix1 *M)\n\n{\n  mp_limb_t mVar1;\n  uint uVar2;\n  mp_limb_t mVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  bool bVar8;\n  mp_limb_t local_24;\n  mp_limb_t local_20;\n  mp_limb_t local_1c;\n  mp_limb_t local_18;\n  int local_14;\n  \n  if ((ah < 2) || (bh < 2)) {\n    return 0;\n  }\n  if ((bh < ah) || ((ah == bh && (bl < al)))) {\n    bVar8 = al < bl;\n    al = al - bl;\n    ah = (ah - bh) - (uint)bVar8;\n    if (ah < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }\n  else {\n    bVar8 = bl < al;\n    bl = bl - al;\n    bh = (bh - ah) - (uint)bVar8;\n    if (bh < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }\n  local_18 = 1;\n  local_24 = 1;\n  if (ah < bh) goto LAB_00058cb0;\n  while (ah != bh) {\n    if (ah < 0x10000) {\n      uVar7 = (al >> 0x10) + ah * 0x10000;\n      uVar6 = (bl >> 0x10) + bh * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar8 = al < bl;\n    al = al - bl;\n    ah = (ah - bh) - (uint)bVar8;\n    if (ah < 2) break;\n    mVar3 = local_24;\n    mVar1 = local_1c;\n    if (bh < ah) {\n      if ((int)ah < 0) {\n        iVar4 = 1;\n        uVar6 = bh;\n        uVar7 = bl;\n        while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < ah) || ((ah == uVar6 && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        iVar4 = 0;\n        uVar6 = bh;\n        mVar3 = bl;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            iVar4 = iVar4 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < ah);\n        } while ((ah == uVar6) && (uVar7 <= al));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < ah) || ((uVar6 == ah && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (ah < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      mVar3 = local_24 * (uVar2 + 1);\n      mVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + mVar1;\n    local_20 = local_20 + mVar3;\n    if (ah == bh) break;\nLAB_00058cb0:\n    if (bh < 0x10000) {\n      uVar7 = (al >> 0x10) + ah * 0x10000;\n      uVar6 = (bl >> 0x10) + bh * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar8 = bl < al;\n    bl = bl - al;\n    bh = (bh - ah) - (uint)bVar8;\n    if (bh < 2) break;\n    if (ah < bh) {\n      if ((int)bh < 0) {\n        iVar4 = 1;\n        uVar6 = ah;\n        uVar7 = al;\n        while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < bh) || ((bh == uVar6 && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar6 = ah;\n        mVar3 = al;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            local_14 = local_14 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < bh);\n        } while ((bh == uVar6) && (uVar7 <= bl));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < bh) || ((uVar6 == bh && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (bh < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }\n  goto LAB_00058c82;\nLAB_00058bcc:\n  uVar6 = uVar6 - uVar7;\n  if (0x1ffff < uVar6) {\n    if (uVar7 < uVar6) {\n      iVar4 = 0;\n      uVar2 = uVar7;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar7 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar5 = 0;\n        do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar6);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar5;\n        local_1c = local_1c + uVar5 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar5 + 1);\n      local_1c = local_1c + (uVar5 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar7 = uVar7 - uVar6;\n    if (uVar7 < 0x20000) goto LAB_00058c82;\n    if (uVar6 < uVar7) {\n      iVar4 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar7 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar5 = 0;\n        do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar7);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (uVar7 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar5;\n        local_18 = local_18 + uVar5 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar5 + 1);\n      local_18 = local_18 + (uVar5 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }\nLAB_00058c82:\n  M->u[0][0] = local_24;\n  M->u[0][1] = local_20;\n  M->u[1][0] = local_1c;\n  M->u[1][1] = local_18;\n  return 1;\n}" primitive_type (function_declarator "__gmpn_hgcd2(mp_limb_t ah,mp_limb_t al,mp_limb_t bh,mp_limb_t bl,hgcd_matrix1 *M)" identifier (parameter_list "(mp_limb_t ah,mp_limb_t al,mp_limb_t bh,mp_limb_t bl,hgcd_matrix1 *M)" ( (parameter_declaration "mp_limb_t ah" type_identifier identifier) , (parameter_declaration "mp_limb_t al" type_identifier identifier) , (parameter_declaration "mp_limb_t bh" type_identifier identifier) , (parameter_declaration "mp_limb_t bl" type_identifier identifier) , (parameter_declaration "hgcd_matrix1 *M" type_identifier (pointer_declarator "*M" * identifier)) ))) (compound_statement "{\n  mp_limb_t mVar1;\n  uint uVar2;\n  mp_limb_t mVar3;\n  int iVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  bool bVar8;\n  mp_limb_t local_24;\n  mp_limb_t local_20;\n  mp_limb_t local_1c;\n  mp_limb_t local_18;\n  int local_14;\n  \n  if ((ah < 2) || (bh < 2)) {\n    return 0;\n  }\n  if ((bh < ah) || ((ah == bh && (bl < al)))) {\n    bVar8 = al < bl;\n    al = al - bl;\n    ah = (ah - bh) - (uint)bVar8;\n    if (ah < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }\n  else {\n    bVar8 = bl < al;\n    bl = bl - al;\n    bh = (bh - ah) - (uint)bVar8;\n    if (bh < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }\n  local_18 = 1;\n  local_24 = 1;\n  if (ah < bh) goto LAB_00058cb0;\n  while (ah != bh) {\n    if (ah < 0x10000) {\n      uVar7 = (al >> 0x10) + ah * 0x10000;\n      uVar6 = (bl >> 0x10) + bh * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar8 = al < bl;\n    al = al - bl;\n    ah = (ah - bh) - (uint)bVar8;\n    if (ah < 2) break;\n    mVar3 = local_24;\n    mVar1 = local_1c;\n    if (bh < ah) {\n      if ((int)ah < 0) {\n        iVar4 = 1;\n        uVar6 = bh;\n        uVar7 = bl;\n        while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < ah) || ((ah == uVar6 && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        iVar4 = 0;\n        uVar6 = bh;\n        mVar3 = bl;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            iVar4 = iVar4 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < ah);\n        } while ((ah == uVar6) && (uVar7 <= al));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < ah) || ((uVar6 == ah && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (ah < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      mVar3 = local_24 * (uVar2 + 1);\n      mVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + mVar1;\n    local_20 = local_20 + mVar3;\n    if (ah == bh) break;\nLAB_00058cb0:\n    if (bh < 0x10000) {\n      uVar7 = (al >> 0x10) + ah * 0x10000;\n      uVar6 = (bl >> 0x10) + bh * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar8 = bl < al;\n    bl = bl - al;\n    bh = (bh - ah) - (uint)bVar8;\n    if (bh < 2) break;\n    if (ah < bh) {\n      if ((int)bh < 0) {\n        iVar4 = 1;\n        uVar6 = ah;\n        uVar7 = al;\n        while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < bh) || ((bh == uVar6 && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar6 = ah;\n        mVar3 = al;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            local_14 = local_14 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < bh);\n        } while ((bh == uVar6) && (uVar7 <= bl));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < bh) || ((uVar6 == bh && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (bh < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }\n  goto LAB_00058c82;\nLAB_00058bcc:\n  uVar6 = uVar6 - uVar7;\n  if (0x1ffff < uVar6) {\n    if (uVar7 < uVar6) {\n      iVar4 = 0;\n      uVar2 = uVar7;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar7 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar5 = 0;\n        do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar6);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar5;\n        local_1c = local_1c + uVar5 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar5 + 1);\n      local_1c = local_1c + (uVar5 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar7 = uVar7 - uVar6;\n    if (uVar7 < 0x20000) goto LAB_00058c82;\n    if (uVar6 < uVar7) {\n      iVar4 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar7 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar5 = 0;\n        do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar7);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (uVar7 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar5;\n        local_18 = local_18 + uVar5 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar5 + 1);\n      local_18 = local_18 + (uVar5 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }\nLAB_00058c82:\n  M->u[0][0] = local_24;\n  M->u[0][1] = local_20;\n  M->u[1][0] = local_1c;\n  M->u[1][1] = local_18;\n  return 1;\n}" { (declaration "mp_limb_t mVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "mp_limb_t mVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "mp_limb_t local_24;" type_identifier identifier ;) (declaration "mp_limb_t local_20;" type_identifier identifier ;) (declaration "mp_limb_t local_1c;" type_identifier identifier ;) (declaration "mp_limb_t local_18;" type_identifier identifier ;) (declaration "int local_14;" primitive_type identifier ;) (if_statement "if ((ah < 2) || (bh < 2)) {\n    return 0;\n  }" if (parenthesized_expression "((ah < 2) || (bh < 2))" ( (binary_expression "(ah < 2) || (bh < 2)" (parenthesized_expression "(ah < 2)" ( (binary_expression "ah < 2" identifier < number_literal) )) || (parenthesized_expression "(bh < 2)" ( (binary_expression "bh < 2" identifier < number_literal) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((bh < ah) || ((ah == bh && (bl < al)))) {\n    bVar8 = al < bl;\n    al = al - bl;\n    ah = (ah - bh) - (uint)bVar8;\n    if (ah < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }\n  else {\n    bVar8 = bl < al;\n    bl = bl - al;\n    bh = (bh - ah) - (uint)bVar8;\n    if (bh < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }" if (parenthesized_expression "((bh < ah) || ((ah == bh && (bl < al))))" ( (binary_expression "(bh < ah) || ((ah == bh && (bl < al)))" (parenthesized_expression "(bh < ah)" ( (binary_expression "bh < ah" identifier < identifier) )) || (parenthesized_expression "((ah == bh && (bl < al)))" ( (parenthesized_expression "(ah == bh && (bl < al))" ( (binary_expression "ah == bh && (bl < al)" (binary_expression "ah == bh" identifier == identifier) && (parenthesized_expression "(bl < al)" ( (binary_expression "bl < al" identifier < identifier) ))) )) ))) )) (compound_statement "{\n    bVar8 = al < bl;\n    al = al - bl;\n    ah = (ah - bh) - (uint)bVar8;\n    if (ah < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }" { (expression_statement "bVar8 = al < bl;" (assignment_expression "bVar8 = al < bl" identifier = (binary_expression "al < bl" identifier < identifier)) ;) (expression_statement "al = al - bl;" (assignment_expression "al = al - bl" identifier = (binary_expression "al - bl" identifier - identifier)) ;) (expression_statement "ah = (ah - bh) - (uint)bVar8;" (assignment_expression "ah = (ah - bh) - (uint)bVar8" identifier = (binary_expression "(ah - bh) - (uint)bVar8" (parenthesized_expression "(ah - bh)" ( (binary_expression "ah - bh" identifier - identifier) )) - (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (ah < 2) {\n      return 0;\n    }" if (parenthesized_expression "(ah < 2)" ( (binary_expression "ah < 2" identifier < number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" identifier = number_literal) ;) (expression_statement "local_20 = 1;" (assignment_expression "local_20 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    bVar8 = bl < al;\n    bl = bl - al;\n    bh = (bh - ah) - (uint)bVar8;\n    if (bh < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }" else (compound_statement "{\n    bVar8 = bl < al;\n    bl = bl - al;\n    bh = (bh - ah) - (uint)bVar8;\n    if (bh < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }" { (expression_statement "bVar8 = bl < al;" (assignment_expression "bVar8 = bl < al" identifier = (binary_expression "bl < al" identifier < identifier)) ;) (expression_statement "bl = bl - al;" (assignment_expression "bl = bl - al" identifier = (binary_expression "bl - al" identifier - identifier)) ;) (expression_statement "bh = (bh - ah) - (uint)bVar8;" (assignment_expression "bh = (bh - ah) - (uint)bVar8" identifier = (binary_expression "(bh - ah) - (uint)bVar8" (parenthesized_expression "(bh - ah)" ( (binary_expression "bh - ah" identifier - identifier) )) - (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (bh < 2) {\n      return 0;\n    }" if (parenthesized_expression "(bh < 2)" ( (binary_expression "bh < 2" identifier < number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_1c = 1;" (assignment_expression "local_1c = 1" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) }))) (expression_statement "local_18 = 1;" (assignment_expression "local_18 = 1" identifier = number_literal) ;) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (if_statement "if (ah < bh) goto LAB_00058cb0;" if (parenthesized_expression "(ah < bh)" ( (binary_expression "ah < bh" identifier < identifier) )) (goto_statement "goto LAB_00058cb0;" goto statement_identifier ;)) (while_statement "while (ah != bh) {\n    if (ah < 0x10000) {\n      uVar7 = (al >> 0x10) + ah * 0x10000;\n      uVar6 = (bl >> 0x10) + bh * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar8 = al < bl;\n    al = al - bl;\n    ah = (ah - bh) - (uint)bVar8;\n    if (ah < 2) break;\n    mVar3 = local_24;\n    mVar1 = local_1c;\n    if (bh < ah) {\n      if ((int)ah < 0) {\n        iVar4 = 1;\n        uVar6 = bh;\n        uVar7 = bl;\n        while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < ah) || ((ah == uVar6 && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        iVar4 = 0;\n        uVar6 = bh;\n        mVar3 = bl;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            iVar4 = iVar4 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < ah);\n        } while ((ah == uVar6) && (uVar7 <= al));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < ah) || ((uVar6 == ah && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (ah < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      mVar3 = local_24 * (uVar2 + 1);\n      mVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + mVar1;\n    local_20 = local_20 + mVar3;\n    if (ah == bh) break;\nLAB_00058cb0:\n    if (bh < 0x10000) {\n      uVar7 = (al >> 0x10) + ah * 0x10000;\n      uVar6 = (bl >> 0x10) + bh * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar8 = bl < al;\n    bl = bl - al;\n    bh = (bh - ah) - (uint)bVar8;\n    if (bh < 2) break;\n    if (ah < bh) {\n      if ((int)bh < 0) {\n        iVar4 = 1;\n        uVar6 = ah;\n        uVar7 = al;\n        while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < bh) || ((bh == uVar6 && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar6 = ah;\n        mVar3 = al;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            local_14 = local_14 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < bh);\n        } while ((bh == uVar6) && (uVar7 <= bl));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < bh) || ((uVar6 == bh && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (bh < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }" while (parenthesized_expression "(ah != bh)" ( (binary_expression "ah != bh" identifier != identifier) )) (compound_statement "{\n    if (ah < 0x10000) {\n      uVar7 = (al >> 0x10) + ah * 0x10000;\n      uVar6 = (bl >> 0x10) + bh * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar8 = al < bl;\n    al = al - bl;\n    ah = (ah - bh) - (uint)bVar8;\n    if (ah < 2) break;\n    mVar3 = local_24;\n    mVar1 = local_1c;\n    if (bh < ah) {\n      if ((int)ah < 0) {\n        iVar4 = 1;\n        uVar6 = bh;\n        uVar7 = bl;\n        while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < ah) || ((ah == uVar6 && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        iVar4 = 0;\n        uVar6 = bh;\n        mVar3 = bl;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            iVar4 = iVar4 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < ah);\n        } while ((ah == uVar6) && (uVar7 <= al));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < ah) || ((uVar6 == ah && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (ah < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      mVar3 = local_24 * (uVar2 + 1);\n      mVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + mVar1;\n    local_20 = local_20 + mVar3;\n    if (ah == bh) break;\nLAB_00058cb0:\n    if (bh < 0x10000) {\n      uVar7 = (al >> 0x10) + ah * 0x10000;\n      uVar6 = (bl >> 0x10) + bh * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar8 = bl < al;\n    bl = bl - al;\n    bh = (bh - ah) - (uint)bVar8;\n    if (bh < 2) break;\n    if (ah < bh) {\n      if ((int)bh < 0) {\n        iVar4 = 1;\n        uVar6 = ah;\n        uVar7 = al;\n        while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < bh) || ((bh == uVar6 && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar6 = ah;\n        mVar3 = al;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            local_14 = local_14 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < bh);\n        } while ((bh == uVar6) && (uVar7 <= bl));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < bh) || ((uVar6 == bh && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (bh < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }" { (if_statement "if (ah < 0x10000) {\n      uVar7 = (al >> 0x10) + ah * 0x10000;\n      uVar6 = (bl >> 0x10) + bh * 0x10000;\n      goto LAB_00058ba7;\n    }" if (parenthesized_expression "(ah < 0x10000)" ( (binary_expression "ah < 0x10000" identifier < number_literal) )) (compound_statement "{\n      uVar7 = (al >> 0x10) + ah * 0x10000;\n      uVar6 = (bl >> 0x10) + bh * 0x10000;\n      goto LAB_00058ba7;\n    }" { (expression_statement "uVar7 = (al >> 0x10) + ah * 0x10000;" (assignment_expression "uVar7 = (al >> 0x10) + ah * 0x10000" identifier = (binary_expression "(al >> 0x10) + ah * 0x10000" (parenthesized_expression "(al >> 0x10)" ( (binary_expression "al >> 0x10" identifier >> number_literal) )) + (binary_expression "ah * 0x10000" identifier * number_literal))) ;) (expression_statement "uVar6 = (bl >> 0x10) + bh * 0x10000;" (assignment_expression "uVar6 = (bl >> 0x10) + bh * 0x10000" identifier = (binary_expression "(bl >> 0x10) + bh * 0x10000" (parenthesized_expression "(bl >> 0x10)" ( (binary_expression "bl >> 0x10" identifier >> number_literal) )) + (binary_expression "bh * 0x10000" identifier * number_literal))) ;) (goto_statement "goto LAB_00058ba7;" goto statement_identifier ;) })) (expression_statement "bVar8 = al < bl;" (assignment_expression "bVar8 = al < bl" identifier = (binary_expression "al < bl" identifier < identifier)) ;) (expression_statement "al = al - bl;" (assignment_expression "al = al - bl" identifier = (binary_expression "al - bl" identifier - identifier)) ;) (expression_statement "ah = (ah - bh) - (uint)bVar8;" (assignment_expression "ah = (ah - bh) - (uint)bVar8" identifier = (binary_expression "(ah - bh) - (uint)bVar8" (parenthesized_expression "(ah - bh)" ( (binary_expression "ah - bh" identifier - identifier) )) - (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (ah < 2) break;" if (parenthesized_expression "(ah < 2)" ( (binary_expression "ah < 2" identifier < number_literal) )) (break_statement "break;" break ;)) (expression_statement "mVar3 = local_24;" (assignment_expression "mVar3 = local_24" identifier = identifier) ;) (expression_statement "mVar1 = local_1c;" (assignment_expression "mVar1 = local_1c" identifier = identifier) ;) (if_statement "if (bh < ah) {\n      if ((int)ah < 0) {\n        iVar4 = 1;\n        uVar6 = bh;\n        uVar7 = bl;\n        while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < ah) || ((ah == uVar6 && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        iVar4 = 0;\n        uVar6 = bh;\n        mVar3 = bl;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            iVar4 = iVar4 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < ah);\n        } while ((ah == uVar6) && (uVar7 <= al));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < ah) || ((uVar6 == ah && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (ah < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      mVar3 = local_24 * (uVar2 + 1);\n      mVar1 = (uVar2 + 1) * local_1c;\n    }" if (parenthesized_expression "(bh < ah)" ( (binary_expression "bh < ah" identifier < identifier) )) (compound_statement "{\n      if ((int)ah < 0) {\n        iVar4 = 1;\n        uVar6 = bh;\n        uVar7 = bl;\n        while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < ah) || ((ah == uVar6 && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        iVar4 = 0;\n        uVar6 = bh;\n        mVar3 = bl;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            iVar4 = iVar4 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < ah);\n        } while ((ah == uVar6) && (uVar7 <= al));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < ah) || ((uVar6 == ah && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (ah < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      mVar3 = local_24 * (uVar2 + 1);\n      mVar1 = (uVar2 + 1) * local_1c;\n    }" { (if_statement "if ((int)ah < 0) {\n        iVar4 = 1;\n        uVar6 = bh;\n        uVar7 = bl;\n        while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < ah) || ((ah == uVar6 && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        iVar4 = 0;\n        uVar6 = bh;\n        mVar3 = bl;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            iVar4 = iVar4 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < ah);\n        } while ((ah == uVar6) && (uVar7 <= al));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < ah) || ((uVar6 == ah && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }" if (parenthesized_expression "((int)ah < 0)" ( (binary_expression "(int)ah < 0" (cast_expression "(int)ah" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        iVar4 = 1;\n        uVar6 = bh;\n        uVar7 = bl;\n        while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < ah) || ((ah == uVar6 && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (expression_statement "uVar6 = bh;" (assignment_expression "uVar6 = bh" identifier = identifier) ;) (expression_statement "uVar7 = bl;" (assignment_expression "uVar7 = bl" identifier = identifier) ;) (while_statement "while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }" while (parenthesized_expression "(-1 < (int)uVar6)" ( (binary_expression "-1 < (int)uVar6" number_literal < (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar6 * 2 | uVar7 >> 0x1f;" (assignment_expression "uVar6 = uVar6 * 2 | uVar7 >> 0x1f" identifier = (binary_expression "uVar6 * 2 | uVar7 >> 0x1f" (binary_expression "uVar6 * 2" identifier * number_literal) | (binary_expression "uVar7 >> 0x1f" identifier >> number_literal))) ;) (expression_statement "uVar7 = uVar7 * 2;" (assignment_expression "uVar7 = uVar7 * 2" identifier = (binary_expression "uVar7 * 2" identifier * number_literal)) ;) })) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < ah) || ((ah == uVar6 && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);" do (compound_statement "{\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < ah) || ((ah == uVar6 && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        }" { (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (if_statement "if ((uVar6 < ah) || ((ah == uVar6 && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }" if (parenthesized_expression "((uVar6 < ah) || ((ah == uVar6 && (uVar7 <= al))))" ( (binary_expression "(uVar6 < ah) || ((ah == uVar6 && (uVar7 <= al)))" (parenthesized_expression "(uVar6 < ah)" ( (binary_expression "uVar6 < ah" identifier < identifier) )) || (parenthesized_expression "((ah == uVar6 && (uVar7 <= al)))" ( (parenthesized_expression "(ah == uVar6 && (uVar7 <= al))" ( (binary_expression "ah == uVar6 && (uVar7 <= al)" (binary_expression "ah == uVar6" identifier == identifier) && (parenthesized_expression "(uVar7 <= al)" ( (binary_expression "uVar7 <= al" identifier <= identifier) ))) )) ))) )) (compound_statement "{\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }" { (expression_statement "uVar2 = uVar2 | 1;" (assignment_expression "uVar2 = uVar2 | 1" identifier = (binary_expression "uVar2 | 1" identifier | number_literal)) ;) (expression_statement "bVar8 = al < uVar7;" (assignment_expression "bVar8 = al < uVar7" identifier = (binary_expression "al < uVar7" identifier < identifier)) ;) (expression_statement "al = al - uVar7;" (assignment_expression "al = al - uVar7" identifier = (binary_expression "al - uVar7" identifier - identifier)) ;) (expression_statement "ah = (ah - uVar6) - (uint)bVar8;" (assignment_expression "ah = (ah - uVar6) - (uint)bVar8" identifier = (binary_expression "(ah - uVar6) - (uint)bVar8" (parenthesized_expression "(ah - uVar6)" ( (binary_expression "ah - uVar6" identifier - identifier) )) - (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) (expression_statement "uVar5 = uVar6 << 0x1f;" (assignment_expression "uVar5 = uVar6 << 0x1f" identifier = (binary_expression "uVar6 << 0x1f" identifier << number_literal)) ;) (expression_statement "uVar6 = uVar6 >> 1;" (assignment_expression "uVar6 = uVar6 >> 1" identifier = (binary_expression "uVar6 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar7 = uVar7 >> 1 | uVar5;" (assignment_expression "uVar7 = uVar7 >> 1 | uVar5" identifier = (binary_expression "uVar7 >> 1 | uVar5" (binary_expression "uVar7 >> 1" identifier >> number_literal) | identifier)) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) }) (else_clause "else {\n        iVar4 = 0;\n        uVar6 = bh;\n        mVar3 = bl;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            iVar4 = iVar4 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < ah);\n        } while ((ah == uVar6) && (uVar7 <= al));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < ah) || ((uVar6 == ah && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }" else (compound_statement "{\n        iVar4 = 0;\n        uVar6 = bh;\n        mVar3 = bl;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            iVar4 = iVar4 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < ah);\n        } while ((ah == uVar6) && (uVar7 <= al));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < ah) || ((uVar6 == ah && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = bh;" (assignment_expression "uVar6 = bh" identifier = identifier) ;) (expression_statement "mVar3 = bl;" (assignment_expression "mVar3 = bl" identifier = identifier) ;) (do_statement "do {\n          do {\n            uVar7 = mVar3 * 2;\n            iVar4 = iVar4 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < ah);\n        } while ((ah == uVar6) && (uVar7 <= al));" do (compound_statement "{\n          do {\n            uVar7 = mVar3 * 2;\n            iVar4 = iVar4 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < ah);\n        }" { (do_statement "do {\n            uVar7 = mVar3 * 2;\n            iVar4 = iVar4 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < ah);" do (compound_statement "{\n            uVar7 = mVar3 * 2;\n            iVar4 = iVar4 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          }" { (expression_statement "uVar7 = mVar3 * 2;" (assignment_expression "uVar7 = mVar3 * 2" identifier = (binary_expression "mVar3 * 2" identifier * number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar6 * 2 | mVar3 >> 0x1f;" (assignment_expression "uVar6 = uVar6 * 2 | mVar3 >> 0x1f" identifier = (binary_expression "uVar6 * 2 | mVar3 >> 0x1f" (binary_expression "uVar6 * 2" identifier * number_literal) | (binary_expression "mVar3 >> 0x1f" identifier >> number_literal))) ;) (expression_statement "mVar3 = uVar7;" (assignment_expression "mVar3 = uVar7" identifier = identifier) ;) }) while (parenthesized_expression "(uVar6 < ah)" ( (binary_expression "uVar6 < ah" identifier < identifier) )) ;) }) while (parenthesized_expression "((ah == uVar6) && (uVar7 <= al))" ( (binary_expression "(ah == uVar6) && (uVar7 <= al)" (parenthesized_expression "(ah == uVar6)" ( (binary_expression "ah == uVar6" identifier == identifier) )) && (parenthesized_expression "(uVar7 <= al)" ( (binary_expression "uVar7 <= al" identifier <= identifier) ))) )) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < ah) || ((uVar6 == ah && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);" do (compound_statement "{\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < ah) || ((uVar6 == ah && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }\n          iVar4 = iVar4 + -1;\n        }" { (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "uVar5 = uVar6 << 0x1f;" (assignment_expression "uVar5 = uVar6 << 0x1f" identifier = (binary_expression "uVar6 << 0x1f" identifier << number_literal)) ;) (expression_statement "uVar6 = uVar6 >> 1;" (assignment_expression "uVar6 = uVar6 >> 1" identifier = (binary_expression "uVar6 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar7 = uVar7 >> 1 | uVar5;" (assignment_expression "uVar7 = uVar7 >> 1 | uVar5" identifier = (binary_expression "uVar7 >> 1 | uVar5" (binary_expression "uVar7 >> 1" identifier >> number_literal) | identifier)) ;) (if_statement "if ((uVar6 < ah) || ((uVar6 == ah && (uVar7 <= al)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }" if (parenthesized_expression "((uVar6 < ah) || ((uVar6 == ah && (uVar7 <= al))))" ( (binary_expression "(uVar6 < ah) || ((uVar6 == ah && (uVar7 <= al)))" (parenthesized_expression "(uVar6 < ah)" ( (binary_expression "uVar6 < ah" identifier < identifier) )) || (parenthesized_expression "((uVar6 == ah && (uVar7 <= al)))" ( (parenthesized_expression "(uVar6 == ah && (uVar7 <= al))" ( (binary_expression "uVar6 == ah && (uVar7 <= al)" (binary_expression "uVar6 == ah" identifier == identifier) && (parenthesized_expression "(uVar7 <= al)" ( (binary_expression "uVar7 <= al" identifier <= identifier) ))) )) ))) )) (compound_statement "{\n            uVar2 = uVar2 | 1;\n            bVar8 = al < uVar7;\n            al = al - uVar7;\n            ah = (ah - uVar6) - (uint)bVar8;\n          }" { (expression_statement "uVar2 = uVar2 | 1;" (assignment_expression "uVar2 = uVar2 | 1" identifier = (binary_expression "uVar2 | 1" identifier | number_literal)) ;) (expression_statement "bVar8 = al < uVar7;" (assignment_expression "bVar8 = al < uVar7" identifier = (binary_expression "al < uVar7" identifier < identifier)) ;) (expression_statement "al = al - uVar7;" (assignment_expression "al = al - uVar7" identifier = (binary_expression "al - uVar7" identifier - identifier)) ;) (expression_statement "ah = (ah - uVar6) - (uint)bVar8;" (assignment_expression "ah = (ah - uVar6) - (uint)bVar8" identifier = (binary_expression "(ah - uVar6) - (uint)bVar8" (parenthesized_expression "(ah - uVar6)" ( (binary_expression "ah - uVar6" identifier - identifier) )) - (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) }))) (if_statement "if (ah < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }" if (parenthesized_expression "(ah < 2)" ( (binary_expression "ah < 2" identifier < number_literal) )) (compound_statement "{\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }" { (expression_statement "local_20 = local_20 + local_24 * uVar2;" (assignment_expression "local_20 = local_20 + local_24 * uVar2" identifier = (binary_expression "local_20 + local_24 * uVar2" identifier + (binary_expression "local_24 * uVar2" identifier * identifier))) ;) (expression_statement "local_18 = local_18 + uVar2 * local_1c;" (assignment_expression "local_18 = local_18 + uVar2 * local_1c" identifier = (binary_expression "local_18 + uVar2 * local_1c" identifier + (binary_expression "uVar2 * local_1c" identifier * identifier))) ;) (break_statement "break;" break ;) })) (expression_statement "mVar3 = local_24 * (uVar2 + 1);" (assignment_expression "mVar3 = local_24 * (uVar2 + 1)" identifier = (binary_expression "local_24 * (uVar2 + 1)" identifier * (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "mVar1 = (uVar2 + 1) * local_1c;" (assignment_expression "mVar1 = (uVar2 + 1) * local_1c" identifier = (binary_expression "(uVar2 + 1) * local_1c" (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) )) * identifier)) ;) })) (expression_statement "local_18 = local_18 + mVar1;" (assignment_expression "local_18 = local_18 + mVar1" identifier = (binary_expression "local_18 + mVar1" identifier + identifier)) ;) (expression_statement "local_20 = local_20 + mVar3;" (assignment_expression "local_20 = local_20 + mVar3" identifier = (binary_expression "local_20 + mVar3" identifier + identifier)) ;) (if_statement "if (ah == bh) break;" if (parenthesized_expression "(ah == bh)" ( (binary_expression "ah == bh" identifier == identifier) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00058cb0:\n    if (bh < 0x10000) {\n      uVar7 = (al >> 0x10) + ah * 0x10000;\n      uVar6 = (bl >> 0x10) + bh * 0x10000;\n      goto LAB_00058bcc;\n    }" statement_identifier : (if_statement "if (bh < 0x10000) {\n      uVar7 = (al >> 0x10) + ah * 0x10000;\n      uVar6 = (bl >> 0x10) + bh * 0x10000;\n      goto LAB_00058bcc;\n    }" if (parenthesized_expression "(bh < 0x10000)" ( (binary_expression "bh < 0x10000" identifier < number_literal) )) (compound_statement "{\n      uVar7 = (al >> 0x10) + ah * 0x10000;\n      uVar6 = (bl >> 0x10) + bh * 0x10000;\n      goto LAB_00058bcc;\n    }" { (expression_statement "uVar7 = (al >> 0x10) + ah * 0x10000;" (assignment_expression "uVar7 = (al >> 0x10) + ah * 0x10000" identifier = (binary_expression "(al >> 0x10) + ah * 0x10000" (parenthesized_expression "(al >> 0x10)" ( (binary_expression "al >> 0x10" identifier >> number_literal) )) + (binary_expression "ah * 0x10000" identifier * number_literal))) ;) (expression_statement "uVar6 = (bl >> 0x10) + bh * 0x10000;" (assignment_expression "uVar6 = (bl >> 0x10) + bh * 0x10000" identifier = (binary_expression "(bl >> 0x10) + bh * 0x10000" (parenthesized_expression "(bl >> 0x10)" ( (binary_expression "bl >> 0x10" identifier >> number_literal) )) + (binary_expression "bh * 0x10000" identifier * number_literal))) ;) (goto_statement "goto LAB_00058bcc;" goto statement_identifier ;) }))) (expression_statement "bVar8 = bl < al;" (assignment_expression "bVar8 = bl < al" identifier = (binary_expression "bl < al" identifier < identifier)) ;) (expression_statement "bl = bl - al;" (assignment_expression "bl = bl - al" identifier = (binary_expression "bl - al" identifier - identifier)) ;) (expression_statement "bh = (bh - ah) - (uint)bVar8;" (assignment_expression "bh = (bh - ah) - (uint)bVar8" identifier = (binary_expression "(bh - ah) - (uint)bVar8" (parenthesized_expression "(bh - ah)" ( (binary_expression "bh - ah" identifier - identifier) )) - (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (bh < 2) break;" if (parenthesized_expression "(bh < 2)" ( (binary_expression "bh < 2" identifier < number_literal) )) (break_statement "break;" break ;)) (if_statement "if (ah < bh) {\n      if ((int)bh < 0) {\n        iVar4 = 1;\n        uVar6 = ah;\n        uVar7 = al;\n        while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < bh) || ((bh == uVar6 && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar6 = ah;\n        mVar3 = al;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            local_14 = local_14 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < bh);\n        } while ((bh == uVar6) && (uVar7 <= bl));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < bh) || ((uVar6 == bh && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (bh < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" if (parenthesized_expression "(ah < bh)" ( (binary_expression "ah < bh" identifier < identifier) )) (compound_statement "{\n      if ((int)bh < 0) {\n        iVar4 = 1;\n        uVar6 = ah;\n        uVar7 = al;\n        while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < bh) || ((bh == uVar6 && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar6 = ah;\n        mVar3 = al;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            local_14 = local_14 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < bh);\n        } while ((bh == uVar6) && (uVar7 <= bl));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < bh) || ((uVar6 == bh && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (bh < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }" { (if_statement "if ((int)bh < 0) {\n        iVar4 = 1;\n        uVar6 = ah;\n        uVar7 = al;\n        while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < bh) || ((bh == uVar6 && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar6 = ah;\n        mVar3 = al;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            local_14 = local_14 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < bh);\n        } while ((bh == uVar6) && (uVar7 <= bl));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < bh) || ((uVar6 == bh && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }" if (parenthesized_expression "((int)bh < 0)" ( (binary_expression "(int)bh < 0" (cast_expression "(int)bh" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        iVar4 = 1;\n        uVar6 = ah;\n        uVar7 = al;\n        while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < bh) || ((bh == uVar6 && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (expression_statement "uVar6 = ah;" (assignment_expression "uVar6 = ah" identifier = identifier) ;) (expression_statement "uVar7 = al;" (assignment_expression "uVar7 = al" identifier = identifier) ;) (while_statement "while (-1 < (int)uVar6) {\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }" while (parenthesized_expression "(-1 < (int)uVar6)" ( (binary_expression "-1 < (int)uVar6" number_literal < (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          iVar4 = iVar4 + 1;\n          uVar6 = uVar6 * 2 | uVar7 >> 0x1f;\n          uVar7 = uVar7 * 2;\n        }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar6 * 2 | uVar7 >> 0x1f;" (assignment_expression "uVar6 = uVar6 * 2 | uVar7 >> 0x1f" identifier = (binary_expression "uVar6 * 2 | uVar7 >> 0x1f" (binary_expression "uVar6 * 2" identifier * number_literal) | (binary_expression "uVar7 >> 0x1f" identifier >> number_literal))) ;) (expression_statement "uVar7 = uVar7 * 2;" (assignment_expression "uVar7 = uVar7 * 2" identifier = (binary_expression "uVar7 * 2" identifier * number_literal)) ;) })) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < bh) || ((bh == uVar6 && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);" do (compound_statement "{\n          uVar2 = uVar2 * 2;\n          if ((uVar6 < bh) || ((bh == uVar6 && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          iVar4 = iVar4 + -1;\n        }" { (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (if_statement "if ((uVar6 < bh) || ((bh == uVar6 && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }" if (parenthesized_expression "((uVar6 < bh) || ((bh == uVar6 && (uVar7 <= bl))))" ( (binary_expression "(uVar6 < bh) || ((bh == uVar6 && (uVar7 <= bl)))" (parenthesized_expression "(uVar6 < bh)" ( (binary_expression "uVar6 < bh" identifier < identifier) )) || (parenthesized_expression "((bh == uVar6 && (uVar7 <= bl)))" ( (parenthesized_expression "(bh == uVar6 && (uVar7 <= bl))" ( (binary_expression "bh == uVar6 && (uVar7 <= bl)" (binary_expression "bh == uVar6" identifier == identifier) && (parenthesized_expression "(uVar7 <= bl)" ( (binary_expression "uVar7 <= bl" identifier <= identifier) ))) )) ))) )) (compound_statement "{\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }" { (expression_statement "uVar2 = uVar2 | 1;" (assignment_expression "uVar2 = uVar2 | 1" identifier = (binary_expression "uVar2 | 1" identifier | number_literal)) ;) (expression_statement "bVar8 = bl < uVar7;" (assignment_expression "bVar8 = bl < uVar7" identifier = (binary_expression "bl < uVar7" identifier < identifier)) ;) (expression_statement "bl = bl - uVar7;" (assignment_expression "bl = bl - uVar7" identifier = (binary_expression "bl - uVar7" identifier - identifier)) ;) (expression_statement "bh = (bh - uVar6) - (uint)bVar8;" (assignment_expression "bh = (bh - uVar6) - (uint)bVar8" identifier = (binary_expression "(bh - uVar6) - (uint)bVar8" (parenthesized_expression "(bh - uVar6)" ( (binary_expression "bh - uVar6" identifier - identifier) )) - (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) (expression_statement "uVar5 = uVar6 << 0x1f;" (assignment_expression "uVar5 = uVar6 << 0x1f" identifier = (binary_expression "uVar6 << 0x1f" identifier << number_literal)) ;) (expression_statement "uVar6 = uVar6 >> 1;" (assignment_expression "uVar6 = uVar6 >> 1" identifier = (binary_expression "uVar6 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar7 = uVar7 >> 1 | uVar5;" (assignment_expression "uVar7 = uVar7 >> 1 | uVar5" identifier = (binary_expression "uVar7 >> 1 | uVar5" (binary_expression "uVar7 >> 1" identifier >> number_literal) | identifier)) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) }) (else_clause "else {\n        local_14 = 0;\n        uVar6 = ah;\n        mVar3 = al;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            local_14 = local_14 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < bh);\n        } while ((bh == uVar6) && (uVar7 <= bl));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < bh) || ((uVar6 == bh && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }" else (compound_statement "{\n        local_14 = 0;\n        uVar6 = ah;\n        mVar3 = al;\n        do {\n          do {\n            uVar7 = mVar3 * 2;\n            local_14 = local_14 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < bh);\n        } while ((bh == uVar6) && (uVar7 <= bl));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < bh) || ((uVar6 == bh && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }" { (expression_statement "local_14 = 0;" (assignment_expression "local_14 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = ah;" (assignment_expression "uVar6 = ah" identifier = identifier) ;) (expression_statement "mVar3 = al;" (assignment_expression "mVar3 = al" identifier = identifier) ;) (do_statement "do {\n          do {\n            uVar7 = mVar3 * 2;\n            local_14 = local_14 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < bh);\n        } while ((bh == uVar6) && (uVar7 <= bl));" do (compound_statement "{\n          do {\n            uVar7 = mVar3 * 2;\n            local_14 = local_14 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < bh);\n        }" { (do_statement "do {\n            uVar7 = mVar3 * 2;\n            local_14 = local_14 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          } while (uVar6 < bh);" do (compound_statement "{\n            uVar7 = mVar3 * 2;\n            local_14 = local_14 + 1;\n            uVar6 = uVar6 * 2 | mVar3 >> 0x1f;\n            mVar3 = uVar7;\n          }" { (expression_statement "uVar7 = mVar3 * 2;" (assignment_expression "uVar7 = mVar3 * 2" identifier = (binary_expression "mVar3 * 2" identifier * number_literal)) ;) (expression_statement "local_14 = local_14 + 1;" (assignment_expression "local_14 = local_14 + 1" identifier = (binary_expression "local_14 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar6 * 2 | mVar3 >> 0x1f;" (assignment_expression "uVar6 = uVar6 * 2 | mVar3 >> 0x1f" identifier = (binary_expression "uVar6 * 2 | mVar3 >> 0x1f" (binary_expression "uVar6 * 2" identifier * number_literal) | (binary_expression "mVar3 >> 0x1f" identifier >> number_literal))) ;) (expression_statement "mVar3 = uVar7;" (assignment_expression "mVar3 = uVar7" identifier = identifier) ;) }) while (parenthesized_expression "(uVar6 < bh)" ( (binary_expression "uVar6 < bh" identifier < identifier) )) ;) }) while (parenthesized_expression "((bh == uVar6) && (uVar7 <= bl))" ( (binary_expression "(bh == uVar6) && (uVar7 <= bl)" (parenthesized_expression "(bh == uVar6)" ( (binary_expression "bh == uVar6" identifier == identifier) )) && (parenthesized_expression "(uVar7 <= bl)" ( (binary_expression "uVar7 <= bl" identifier <= identifier) ))) )) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < bh) || ((uVar6 == bh && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);" do (compound_statement "{\n          uVar2 = uVar2 * 2;\n          uVar5 = uVar6 << 0x1f;\n          uVar6 = uVar6 >> 1;\n          uVar7 = uVar7 >> 1 | uVar5;\n          if ((uVar6 < bh) || ((uVar6 == bh && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }\n          local_14 = local_14 + -1;\n        }" { (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "uVar5 = uVar6 << 0x1f;" (assignment_expression "uVar5 = uVar6 << 0x1f" identifier = (binary_expression "uVar6 << 0x1f" identifier << number_literal)) ;) (expression_statement "uVar6 = uVar6 >> 1;" (assignment_expression "uVar6 = uVar6 >> 1" identifier = (binary_expression "uVar6 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar7 = uVar7 >> 1 | uVar5;" (assignment_expression "uVar7 = uVar7 >> 1 | uVar5" identifier = (binary_expression "uVar7 >> 1 | uVar5" (binary_expression "uVar7 >> 1" identifier >> number_literal) | identifier)) ;) (if_statement "if ((uVar6 < bh) || ((uVar6 == bh && (uVar7 <= bl)))) {\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }" if (parenthesized_expression "((uVar6 < bh) || ((uVar6 == bh && (uVar7 <= bl))))" ( (binary_expression "(uVar6 < bh) || ((uVar6 == bh && (uVar7 <= bl)))" (parenthesized_expression "(uVar6 < bh)" ( (binary_expression "uVar6 < bh" identifier < identifier) )) || (parenthesized_expression "((uVar6 == bh && (uVar7 <= bl)))" ( (parenthesized_expression "(uVar6 == bh && (uVar7 <= bl))" ( (binary_expression "uVar6 == bh && (uVar7 <= bl)" (binary_expression "uVar6 == bh" identifier == identifier) && (parenthesized_expression "(uVar7 <= bl)" ( (binary_expression "uVar7 <= bl" identifier <= identifier) ))) )) ))) )) (compound_statement "{\n            uVar2 = uVar2 | 1;\n            bVar8 = bl < uVar7;\n            bl = bl - uVar7;\n            bh = (bh - uVar6) - (uint)bVar8;\n          }" { (expression_statement "uVar2 = uVar2 | 1;" (assignment_expression "uVar2 = uVar2 | 1" identifier = (binary_expression "uVar2 | 1" identifier | number_literal)) ;) (expression_statement "bVar8 = bl < uVar7;" (assignment_expression "bVar8 = bl < uVar7" identifier = (binary_expression "bl < uVar7" identifier < identifier)) ;) (expression_statement "bl = bl - uVar7;" (assignment_expression "bl = bl - uVar7" identifier = (binary_expression "bl - uVar7" identifier - identifier)) ;) (expression_statement "bh = (bh - uVar6) - (uint)bVar8;" (assignment_expression "bh = (bh - uVar6) - (uint)bVar8" identifier = (binary_expression "(bh - uVar6) - (uint)bVar8" (parenthesized_expression "(bh - uVar6)" ( (binary_expression "bh - uVar6" identifier - identifier) )) - (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) (expression_statement "local_14 = local_14 + -1;" (assignment_expression "local_14 = local_14 + -1" identifier = (binary_expression "local_14 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_14 != 0)" ( (binary_expression "local_14 != 0" identifier != number_literal) )) ;) }))) (if_statement "if (bh < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }" if (parenthesized_expression "(bh < 2)" ( (binary_expression "bh < 2" identifier < number_literal) )) (compound_statement "{\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }" { (expression_statement "local_24 = local_24 + local_20 * uVar2;" (assignment_expression "local_24 = local_24 + local_20 * uVar2" identifier = (binary_expression "local_24 + local_20 * uVar2" identifier + (binary_expression "local_20 * uVar2" identifier * identifier))) ;) (expression_statement "local_1c = local_1c + uVar2 * local_18;" (assignment_expression "local_1c = local_1c + uVar2 * local_18" identifier = (binary_expression "local_1c + uVar2 * local_18" identifier + (binary_expression "uVar2 * local_18" identifier * identifier))) ;) (break_statement "break;" break ;) })) (expression_statement "local_24 = local_24 + local_20 * (uVar2 + 1);" (assignment_expression "local_24 = local_24 + local_20 * (uVar2 + 1)" identifier = (binary_expression "local_24 + local_20 * (uVar2 + 1)" identifier + (binary_expression "local_20 * (uVar2 + 1)" identifier * (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) ))))) ;) (expression_statement "local_1c = local_1c + (uVar2 + 1) * local_18;" (assignment_expression "local_1c = local_1c + (uVar2 + 1) * local_18" identifier = (binary_expression "local_1c + (uVar2 + 1) * local_18" identifier + (binary_expression "(uVar2 + 1) * local_18" (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) )) * identifier))) ;) }) (else_clause "else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" else (compound_statement "{\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" { (expression_statement "local_24 = local_24 + local_20;" (assignment_expression "local_24 = local_24 + local_20" identifier = (binary_expression "local_24 + local_20" identifier + identifier)) ;) (expression_statement "local_1c = local_1c + local_18;" (assignment_expression "local_1c = local_1c + local_18" identifier = (binary_expression "local_1c + local_18" identifier + identifier)) ;) }))) })) (goto_statement "goto LAB_00058c82;" goto statement_identifier ;) (labeled_statement "LAB_00058bcc:\n  uVar6 = uVar6 - uVar7;" statement_identifier : (expression_statement "uVar6 = uVar6 - uVar7;" (assignment_expression "uVar6 = uVar6 - uVar7" identifier = (binary_expression "uVar6 - uVar7" identifier - identifier)) ;)) (if_statement "if (0x1ffff < uVar6) {\n    if (uVar7 < uVar6) {\n      iVar4 = 0;\n      uVar2 = uVar7;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar7 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar5 = 0;\n        do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar6);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar5;\n        local_1c = local_1c + uVar5 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar5 + 1);\n      local_1c = local_1c + (uVar5 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar7 = uVar7 - uVar6;\n    if (uVar7 < 0x20000) goto LAB_00058c82;\n    if (uVar6 < uVar7) {\n      iVar4 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar7 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar5 = 0;\n        do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar7);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (uVar7 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar5;\n        local_18 = local_18 + uVar5 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar5 + 1);\n      local_18 = local_18 + (uVar5 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }" if (parenthesized_expression "(0x1ffff < uVar6)" ( (binary_expression "0x1ffff < uVar6" number_literal < identifier) )) (compound_statement "{\n    if (uVar7 < uVar6) {\n      iVar4 = 0;\n      uVar2 = uVar7;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar7 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar5 = 0;\n        do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar6);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar5;\n        local_1c = local_1c + uVar5 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar5 + 1);\n      local_1c = local_1c + (uVar5 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar7 = uVar7 - uVar6;\n    if (uVar7 < 0x20000) goto LAB_00058c82;\n    if (uVar6 < uVar7) {\n      iVar4 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar7 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar5 = 0;\n        do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar7);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (uVar7 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar5;\n        local_18 = local_18 + uVar5 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar5 + 1);\n      local_18 = local_18 + (uVar5 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }" { (if_statement "if (uVar7 < uVar6) {\n      iVar4 = 0;\n      uVar2 = uVar7;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar7 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar5 = 0;\n        do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar6);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar5;\n        local_1c = local_1c + uVar5 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar5 + 1);\n      local_1c = local_1c + (uVar5 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" if (parenthesized_expression "(uVar7 < uVar6)" ( (binary_expression "uVar7 < uVar6" identifier < identifier) )) (compound_statement "{\n      iVar4 = 0;\n      uVar2 = uVar7;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar7 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar5 = 0;\n        do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar6);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar5;\n        local_1c = local_1c + uVar5 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar5 + 1);\n      local_1c = local_1c + (uVar5 + 1) * local_18;\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = uVar7;" (assignment_expression "uVar2 = uVar7" identifier = identifier) ;) (if_statement "if ((int)uVar6 < 0) {\n        if ((int)uVar7 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar5 = 0;\n        do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar6);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }" if (parenthesized_expression "((int)uVar6 < 0)" ( (binary_expression "(int)uVar6 < 0" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        if ((int)uVar7 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar5 = 0;\n        do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }" { (if_statement "if ((int)uVar7 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" if (parenthesized_expression "((int)uVar7 < 0)" ( (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          iVar4 = 1;\n        }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) }) (else_clause "else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" else (compound_statement "{\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (do_statement "do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);" do (compound_statement "{\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) }) while (parenthesized_expression "(-1 < (int)uVar2)" ( (binary_expression "-1 < (int)uVar2" number_literal < (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) }))) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);" do (compound_statement "{\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        }" { (expression_statement "uVar5 = uVar5 * 2;" (assignment_expression "uVar5 = uVar5 * 2" identifier = (binary_expression "uVar5 * 2" identifier * number_literal)) ;) (if_statement "if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }" if (parenthesized_expression "(uVar2 <= uVar6)" ( (binary_expression "uVar2 <= uVar6" identifier <= identifier) )) (compound_statement "{\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }" { (expression_statement "uVar6 = uVar6 - uVar2;" (assignment_expression "uVar6 = uVar6 - uVar2" identifier = (binary_expression "uVar6 - uVar2" identifier - identifier)) ;) (expression_statement "uVar5 = uVar5 | 1;" (assignment_expression "uVar5 = uVar5 | 1" identifier = (binary_expression "uVar5 | 1" identifier | number_literal)) ;) })) (expression_statement "uVar2 = uVar2 >> 1;" (assignment_expression "uVar2 = uVar2 >> 1" identifier = (binary_expression "uVar2 >> 1" identifier >> number_literal)) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) }) (else_clause "else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar6);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }" else (compound_statement "{\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar6);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }" { (do_statement "do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar6);" do (compound_statement "{\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        }" { (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 <= uVar6)" ( (binary_expression "uVar2 <= uVar6" identifier <= identifier) )) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);" do (compound_statement "{\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        }" { (expression_statement "uVar2 = uVar2 >> 1;" (assignment_expression "uVar2 = uVar2 >> 1" identifier = (binary_expression "uVar2 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar5 = uVar5 * 2;" (assignment_expression "uVar5 = uVar5 * 2" identifier = (binary_expression "uVar5 * 2" identifier * number_literal)) ;) (if_statement "if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }" if (parenthesized_expression "(uVar2 <= uVar6)" ( (binary_expression "uVar2 <= uVar6" identifier <= identifier) )) (compound_statement "{\n            uVar6 = uVar6 - uVar2;\n            uVar5 = uVar5 | 1;\n          }" { (expression_statement "uVar6 = uVar6 - uVar2;" (assignment_expression "uVar6 = uVar6 - uVar2" identifier = (binary_expression "uVar6 - uVar2" identifier - identifier)) ;) (expression_statement "uVar5 = uVar5 | 1;" (assignment_expression "uVar5 = uVar5 | 1" identifier = (binary_expression "uVar5 | 1" identifier | number_literal)) ;) })) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) }))) (if_statement "if (uVar6 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar5;\n        local_1c = local_1c + uVar5 * local_18;\n        goto LAB_00058c82;\n      }" if (parenthesized_expression "(uVar6 < 0x20000)" ( (binary_expression "uVar6 < 0x20000" identifier < number_literal) )) (compound_statement "{\n        local_24 = local_24 + local_20 * uVar5;\n        local_1c = local_1c + uVar5 * local_18;\n        goto LAB_00058c82;\n      }" { (expression_statement "local_24 = local_24 + local_20 * uVar5;" (assignment_expression "local_24 = local_24 + local_20 * uVar5" identifier = (binary_expression "local_24 + local_20 * uVar5" identifier + (binary_expression "local_20 * uVar5" identifier * identifier))) ;) (expression_statement "local_1c = local_1c + uVar5 * local_18;" (assignment_expression "local_1c = local_1c + uVar5 * local_18" identifier = (binary_expression "local_1c + uVar5 * local_18" identifier + (binary_expression "uVar5 * local_18" identifier * identifier))) ;) (goto_statement "goto LAB_00058c82;" goto statement_identifier ;) })) (expression_statement "local_24 = local_24 + local_20 * (uVar5 + 1);" (assignment_expression "local_24 = local_24 + local_20 * (uVar5 + 1)" identifier = (binary_expression "local_24 + local_20 * (uVar5 + 1)" identifier + (binary_expression "local_20 * (uVar5 + 1)" identifier * (parenthesized_expression "(uVar5 + 1)" ( (binary_expression "uVar5 + 1" identifier + number_literal) ))))) ;) (expression_statement "local_1c = local_1c + (uVar5 + 1) * local_18;" (assignment_expression "local_1c = local_1c + (uVar5 + 1) * local_18" identifier = (binary_expression "local_1c + (uVar5 + 1) * local_18" identifier + (binary_expression "(uVar5 + 1) * local_18" (parenthesized_expression "(uVar5 + 1)" ( (binary_expression "uVar5 + 1" identifier + number_literal) )) * identifier))) ;) }) (else_clause "else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" else (compound_statement "{\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" { (expression_statement "local_24 = local_24 + local_20;" (assignment_expression "local_24 = local_24 + local_20" identifier = (binary_expression "local_24 + local_20" identifier + identifier)) ;) (expression_statement "local_1c = local_1c + local_18;" (assignment_expression "local_1c = local_1c + local_18" identifier = (binary_expression "local_1c + local_18" identifier + identifier)) ;) }))) (labeled_statement "LAB_00058ba7:\n    uVar7 = uVar7 - uVar6;" statement_identifier : (expression_statement "uVar7 = uVar7 - uVar6;" (assignment_expression "uVar7 = uVar7 - uVar6" identifier = (binary_expression "uVar7 - uVar6" identifier - identifier)) ;)) (if_statement "if (uVar7 < 0x20000) goto LAB_00058c82;" if (parenthesized_expression "(uVar7 < 0x20000)" ( (binary_expression "uVar7 < 0x20000" identifier < number_literal) )) (goto_statement "goto LAB_00058c82;" goto statement_identifier ;)) (if_statement "if (uVar6 < uVar7) {\n      iVar4 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar7 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar5 = 0;\n        do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar7);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (uVar7 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar5;\n        local_18 = local_18 + uVar5 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar5 + 1);\n      local_18 = local_18 + (uVar5 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }" if (parenthesized_expression "(uVar6 < uVar7)" ( (binary_expression "uVar6 < uVar7" identifier < identifier) )) (compound_statement "{\n      iVar4 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar7 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar5 = 0;\n        do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar7);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      if (uVar7 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar5;\n        local_18 = local_18 + uVar5 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar5 + 1);\n      local_18 = local_18 + (uVar5 + 1) * local_1c;\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = uVar6;" (assignment_expression "uVar2 = uVar6" identifier = identifier) ;) (if_statement "if ((int)uVar7 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar5 = 0;\n        do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar7);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }" if (parenthesized_expression "((int)uVar7 < 0)" ( (binary_expression "(int)uVar7 < 0" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        if ((int)uVar6 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar5 = 0;\n        do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }" { (if_statement "if ((int)uVar6 < 0) {\n          iVar4 = 1;\n        }\n        else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" if (parenthesized_expression "((int)uVar6 < 0)" ( (binary_expression "(int)uVar6 < 0" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          iVar4 = 1;\n        }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) }) (else_clause "else {\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" else (compound_statement "{\n          iVar4 = 1;\n          do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (do_statement "do {\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);" do (compound_statement "{\n            iVar4 = iVar4 + 1;\n            uVar2 = uVar2 * 2;\n          }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) }) while (parenthesized_expression "(-1 < (int)uVar2)" ( (binary_expression "-1 < (int)uVar2" number_literal < (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) }))) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);" do (compound_statement "{\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar4 = iVar4 + -1;\n        }" { (expression_statement "uVar5 = uVar5 * 2;" (assignment_expression "uVar5 = uVar5 * 2" identifier = (binary_expression "uVar5 * 2" identifier * number_literal)) ;) (if_statement "if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }" if (parenthesized_expression "(uVar2 <= uVar7)" ( (binary_expression "uVar2 <= uVar7" identifier <= identifier) )) (compound_statement "{\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }" { (expression_statement "uVar7 = uVar7 - uVar2;" (assignment_expression "uVar7 = uVar7 - uVar2" identifier = (binary_expression "uVar7 - uVar2" identifier - identifier)) ;) (expression_statement "uVar5 = uVar5 | 1;" (assignment_expression "uVar5 = uVar5 | 1" identifier = (binary_expression "uVar5 | 1" identifier | number_literal)) ;) })) (expression_statement "uVar2 = uVar2 >> 1;" (assignment_expression "uVar2 = uVar2 >> 1" identifier = (binary_expression "uVar2 >> 1" identifier >> number_literal)) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) }) (else_clause "else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar7);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }" else (compound_statement "{\n        do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar7);\n        uVar5 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);\n      }" { (do_statement "do {\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        } while (uVar2 <= uVar7);" do (compound_statement "{\n          uVar2 = uVar2 * 2;\n          iVar4 = iVar4 + 1;\n        }" { (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 <= uVar7)" ( (binary_expression "uVar2 <= uVar7" identifier <= identifier) )) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        } while (iVar4 != 0);" do (compound_statement "{\n          uVar2 = uVar2 >> 1;\n          uVar5 = uVar5 * 2;\n          if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }\n          iVar4 = iVar4 + -1;\n        }" { (expression_statement "uVar2 = uVar2 >> 1;" (assignment_expression "uVar2 = uVar2 >> 1" identifier = (binary_expression "uVar2 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar5 = uVar5 * 2;" (assignment_expression "uVar5 = uVar5 * 2" identifier = (binary_expression "uVar5 * 2" identifier * number_literal)) ;) (if_statement "if (uVar2 <= uVar7) {\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }" if (parenthesized_expression "(uVar2 <= uVar7)" ( (binary_expression "uVar2 <= uVar7" identifier <= identifier) )) (compound_statement "{\n            uVar7 = uVar7 - uVar2;\n            uVar5 = uVar5 | 1;\n          }" { (expression_statement "uVar7 = uVar7 - uVar2;" (assignment_expression "uVar7 = uVar7 - uVar2" identifier = (binary_expression "uVar7 - uVar2" identifier - identifier)) ;) (expression_statement "uVar5 = uVar5 | 1;" (assignment_expression "uVar5 = uVar5 | 1" identifier = (binary_expression "uVar5 | 1" identifier | number_literal)) ;) })) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) }))) (if_statement "if (uVar7 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar5;\n        local_18 = local_18 + uVar5 * local_1c;\n        goto LAB_00058c82;\n      }" if (parenthesized_expression "(uVar7 < 0x20000)" ( (binary_expression "uVar7 < 0x20000" identifier < number_literal) )) (compound_statement "{\n        local_20 = local_20 + local_24 * uVar5;\n        local_18 = local_18 + uVar5 * local_1c;\n        goto LAB_00058c82;\n      }" { (expression_statement "local_20 = local_20 + local_24 * uVar5;" (assignment_expression "local_20 = local_20 + local_24 * uVar5" identifier = (binary_expression "local_20 + local_24 * uVar5" identifier + (binary_expression "local_24 * uVar5" identifier * identifier))) ;) (expression_statement "local_18 = local_18 + uVar5 * local_1c;" (assignment_expression "local_18 = local_18 + uVar5 * local_1c" identifier = (binary_expression "local_18 + uVar5 * local_1c" identifier + (binary_expression "uVar5 * local_1c" identifier * identifier))) ;) (goto_statement "goto LAB_00058c82;" goto statement_identifier ;) })) (expression_statement "local_20 = local_20 + local_24 * (uVar5 + 1);" (assignment_expression "local_20 = local_20 + local_24 * (uVar5 + 1)" identifier = (binary_expression "local_20 + local_24 * (uVar5 + 1)" identifier + (binary_expression "local_24 * (uVar5 + 1)" identifier * (parenthesized_expression "(uVar5 + 1)" ( (binary_expression "uVar5 + 1" identifier + number_literal) ))))) ;) (expression_statement "local_18 = local_18 + (uVar5 + 1) * local_1c;" (assignment_expression "local_18 = local_18 + (uVar5 + 1) * local_1c" identifier = (binary_expression "local_18 + (uVar5 + 1) * local_1c" identifier + (binary_expression "(uVar5 + 1) * local_1c" (parenthesized_expression "(uVar5 + 1)" ( (binary_expression "uVar5 + 1" identifier + number_literal) )) * identifier))) ;) }) (else_clause "else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }" else (compound_statement "{\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }" { (expression_statement "local_20 = local_20 + local_24;" (assignment_expression "local_20 = local_20 + local_24" identifier = (binary_expression "local_20 + local_24" identifier + identifier)) ;) (expression_statement "local_18 = local_18 + local_1c;" (assignment_expression "local_18 = local_18 + local_1c" identifier = (binary_expression "local_18 + local_1c" identifier + identifier)) ;) }))) (goto_statement "goto LAB_00058bcc;" goto statement_identifier ;) })) (labeled_statement "LAB_00058c82:\n  M->u[0][0] = local_24;" statement_identifier : (expression_statement "M->u[0][0] = local_24;" (assignment_expression "M->u[0][0] = local_24" (subscript_expression "M->u[0][0]" (subscript_expression "M->u[0]" (field_expression "M->u" identifier -> field_identifier) [ number_literal ]) [ number_literal ]) = identifier) ;)) (expression_statement "M->u[0][1] = local_20;" (assignment_expression "M->u[0][1] = local_20" (subscript_expression "M->u[0][1]" (subscript_expression "M->u[0]" (field_expression "M->u" identifier -> field_identifier) [ number_literal ]) [ number_literal ]) = identifier) ;) (expression_statement "M->u[1][0] = local_1c;" (assignment_expression "M->u[1][0] = local_1c" (subscript_expression "M->u[1][0]" (subscript_expression "M->u[1]" (field_expression "M->u" identifier -> field_identifier) [ number_literal ]) [ number_literal ]) = identifier) ;) (expression_statement "M->u[1][1] = local_18;" (assignment_expression "M->u[1][1] = local_18" (subscript_expression "M->u[1][1]" (subscript_expression "M->u[1]" (field_expression "M->u" identifier -> field_identifier) [ number_literal ]) [ number_literal ]) = identifier) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 __gmpn_hgcd2(uint param_1,uint param_2,uint param_3,uint param_4,int *param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  int local_24;\n  int local_20;\n  int local_1c;\n  int local_18;\n  int local_14;\n  \n  if ((param_1 < 2) || (param_3 < 2)) {\n    return 0;\n  }\n  if ((param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2)))) {\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }\n  else {\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }\n  local_18 = 1;\n  local_24 = 1;\n  if (param_1 < param_3) goto LAB_00058cb0;\n  while (param_1 != param_3) {\n    if (param_1 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) break;\n    iVar3 = local_24;\n    iVar1 = local_1c;\n    if (param_3 < param_1) {\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + iVar1;\n    local_20 = local_20 + iVar3;\n    if (param_1 == param_3) break;\nLAB_00058cb0:\n    if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) break;\n    if (param_1 < param_3) {\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }\n  goto LAB_00058c82;\nLAB_00058bcc:\n  uVar5 = uVar5 - uVar6;\n  if (0x1ffff < uVar5) {\n    if (uVar6 < uVar5) {\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar6 = uVar6 - uVar5;\n    if (uVar6 < 0x20000) goto LAB_00058c82;\n    if (uVar5 < uVar6) {\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }\nLAB_00058c82:\n  *param_5 = local_24;\n  param_5[1] = local_20;\n  param_5[2] = local_1c;\n  param_5[3] = local_18;\n  return 1;\n}\n\n" (function_definition "undefined4 __gmpn_hgcd2(uint param_1,uint param_2,uint param_3,uint param_4,int *param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  int local_24;\n  int local_20;\n  int local_1c;\n  int local_18;\n  int local_14;\n  \n  if ((param_1 < 2) || (param_3 < 2)) {\n    return 0;\n  }\n  if ((param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2)))) {\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }\n  else {\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }\n  local_18 = 1;\n  local_24 = 1;\n  if (param_1 < param_3) goto LAB_00058cb0;\n  while (param_1 != param_3) {\n    if (param_1 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) break;\n    iVar3 = local_24;\n    iVar1 = local_1c;\n    if (param_3 < param_1) {\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + iVar1;\n    local_20 = local_20 + iVar3;\n    if (param_1 == param_3) break;\nLAB_00058cb0:\n    if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) break;\n    if (param_1 < param_3) {\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }\n  goto LAB_00058c82;\nLAB_00058bcc:\n  uVar5 = uVar5 - uVar6;\n  if (0x1ffff < uVar5) {\n    if (uVar6 < uVar5) {\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar6 = uVar6 - uVar5;\n    if (uVar6 < 0x20000) goto LAB_00058c82;\n    if (uVar5 < uVar6) {\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }\nLAB_00058c82:\n  *param_5 = local_24;\n  param_5[1] = local_20;\n  param_5[2] = local_1c;\n  param_5[3] = local_18;\n  return 1;\n}" type_identifier (function_declarator "__gmpn_hgcd2(uint param_1,uint param_2,uint param_3,uint param_4,int *param_5)" identifier (parameter_list "(uint param_1,uint param_2,uint param_3,uint param_4,int *param_5)" ( (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) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  int local_24;\n  int local_20;\n  int local_1c;\n  int local_18;\n  int local_14;\n  \n  if ((param_1 < 2) || (param_3 < 2)) {\n    return 0;\n  }\n  if ((param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2)))) {\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }\n  else {\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }\n  local_18 = 1;\n  local_24 = 1;\n  if (param_1 < param_3) goto LAB_00058cb0;\n  while (param_1 != param_3) {\n    if (param_1 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) break;\n    iVar3 = local_24;\n    iVar1 = local_1c;\n    if (param_3 < param_1) {\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + iVar1;\n    local_20 = local_20 + iVar3;\n    if (param_1 == param_3) break;\nLAB_00058cb0:\n    if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) break;\n    if (param_1 < param_3) {\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }\n  goto LAB_00058c82;\nLAB_00058bcc:\n  uVar5 = uVar5 - uVar6;\n  if (0x1ffff < uVar5) {\n    if (uVar6 < uVar5) {\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar6 = uVar6 - uVar5;\n    if (uVar6 < 0x20000) goto LAB_00058c82;\n    if (uVar5 < uVar6) {\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }\nLAB_00058c82:\n  *param_5 = local_24;\n  param_5[1] = local_20;\n  param_5[2] = local_1c;\n  param_5[3] = local_18;\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (declaration "int local_18;" primitive_type identifier ;) (declaration "int local_14;" primitive_type identifier ;) (if_statement "if ((param_1 < 2) || (param_3 < 2)) {\n    return 0;\n  }" if (parenthesized_expression "((param_1 < 2) || (param_3 < 2))" ( (binary_expression "(param_1 < 2) || (param_3 < 2)" (parenthesized_expression "(param_1 < 2)" ( (binary_expression "param_1 < 2" identifier < number_literal) )) || (parenthesized_expression "(param_3 < 2)" ( (binary_expression "param_3 < 2" identifier < number_literal) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2)))) {\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }\n  else {\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }" if (parenthesized_expression "((param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2))))" ( (binary_expression "(param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2)))" (parenthesized_expression "(param_3 < param_1)" ( (binary_expression "param_3 < param_1" identifier < identifier) )) || (parenthesized_expression "((param_1 == param_3 && (param_4 < param_2)))" ( (parenthesized_expression "(param_1 == param_3 && (param_4 < param_2))" ( (binary_expression "param_1 == param_3 && (param_4 < param_2)" (binary_expression "param_1 == param_3" identifier == identifier) && (parenthesized_expression "(param_4 < param_2)" ( (binary_expression "param_4 < param_2" identifier < identifier) ))) )) ))) )) (compound_statement "{\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }" { (expression_statement "bVar7 = param_2 < param_4;" (assignment_expression "bVar7 = param_2 < param_4" identifier = (binary_expression "param_2 < param_4" identifier < identifier)) ;) (expression_statement "param_2 = param_2 - param_4;" (assignment_expression "param_2 = param_2 - param_4" identifier = (binary_expression "param_2 - param_4" identifier - identifier)) ;) (expression_statement "param_1 = (param_1 - param_3) - (uint)bVar7;" (assignment_expression "param_1 = (param_1 - param_3) - (uint)bVar7" identifier = (binary_expression "(param_1 - param_3) - (uint)bVar7" (parenthesized_expression "(param_1 - param_3)" ( (binary_expression "param_1 - param_3" identifier - identifier) )) - (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (param_1 < 2) {\n      return 0;\n    }" if (parenthesized_expression "(param_1 < 2)" ( (binary_expression "param_1 < 2" identifier < number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" identifier = number_literal) ;) (expression_statement "local_20 = 1;" (assignment_expression "local_20 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }" else (compound_statement "{\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }" { (expression_statement "bVar7 = param_4 < param_2;" (assignment_expression "bVar7 = param_4 < param_2" identifier = (binary_expression "param_4 < param_2" identifier < identifier)) ;) (expression_statement "param_4 = param_4 - param_2;" (assignment_expression "param_4 = param_4 - param_2" identifier = (binary_expression "param_4 - param_2" identifier - identifier)) ;) (expression_statement "param_3 = (param_3 - param_1) - (uint)bVar7;" (assignment_expression "param_3 = (param_3 - param_1) - (uint)bVar7" identifier = (binary_expression "(param_3 - param_1) - (uint)bVar7" (parenthesized_expression "(param_3 - param_1)" ( (binary_expression "param_3 - param_1" identifier - identifier) )) - (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (param_3 < 2) {\n      return 0;\n    }" if (parenthesized_expression "(param_3 < 2)" ( (binary_expression "param_3 < 2" identifier < number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_1c = 1;" (assignment_expression "local_1c = 1" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) }))) (expression_statement "local_18 = 1;" (assignment_expression "local_18 = 1" identifier = number_literal) ;) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (if_statement "if (param_1 < param_3) goto LAB_00058cb0;" if (parenthesized_expression "(param_1 < param_3)" ( (binary_expression "param_1 < param_3" identifier < identifier) )) (goto_statement "goto LAB_00058cb0;" goto statement_identifier ;)) (while_statement "while (param_1 != param_3) {\n    if (param_1 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) break;\n    iVar3 = local_24;\n    iVar1 = local_1c;\n    if (param_3 < param_1) {\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + iVar1;\n    local_20 = local_20 + iVar3;\n    if (param_1 == param_3) break;\nLAB_00058cb0:\n    if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) break;\n    if (param_1 < param_3) {\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }" while (parenthesized_expression "(param_1 != param_3)" ( (binary_expression "param_1 != param_3" identifier != identifier) )) (compound_statement "{\n    if (param_1 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) break;\n    iVar3 = local_24;\n    iVar1 = local_1c;\n    if (param_3 < param_1) {\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + iVar1;\n    local_20 = local_20 + iVar3;\n    if (param_1 == param_3) break;\nLAB_00058cb0:\n    if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) break;\n    if (param_1 < param_3) {\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }" { (if_statement "if (param_1 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }" if (parenthesized_expression "(param_1 < 0x10000)" ( (binary_expression "param_1 < 0x10000" identifier < number_literal) )) (compound_statement "{\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }" { (expression_statement "uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;" (assignment_expression "uVar6 = (param_2 >> 0x10) + param_1 * 0x10000" identifier = (binary_expression "(param_2 >> 0x10) + param_1 * 0x10000" (parenthesized_expression "(param_2 >> 0x10)" ( (binary_expression "param_2 >> 0x10" identifier >> number_literal) )) + (binary_expression "param_1 * 0x10000" identifier * number_literal))) ;) (expression_statement "uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;" (assignment_expression "uVar5 = (param_4 >> 0x10) + param_3 * 0x10000" identifier = (binary_expression "(param_4 >> 0x10) + param_3 * 0x10000" (parenthesized_expression "(param_4 >> 0x10)" ( (binary_expression "param_4 >> 0x10" identifier >> number_literal) )) + (binary_expression "param_3 * 0x10000" identifier * number_literal))) ;) (goto_statement "goto LAB_00058ba7;" goto statement_identifier ;) })) (expression_statement "bVar7 = param_2 < param_4;" (assignment_expression "bVar7 = param_2 < param_4" identifier = (binary_expression "param_2 < param_4" identifier < identifier)) ;) (expression_statement "param_2 = param_2 - param_4;" (assignment_expression "param_2 = param_2 - param_4" identifier = (binary_expression "param_2 - param_4" identifier - identifier)) ;) (expression_statement "param_1 = (param_1 - param_3) - (uint)bVar7;" (assignment_expression "param_1 = (param_1 - param_3) - (uint)bVar7" identifier = (binary_expression "(param_1 - param_3) - (uint)bVar7" (parenthesized_expression "(param_1 - param_3)" ( (binary_expression "param_1 - param_3" identifier - identifier) )) - (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (param_1 < 2) break;" if (parenthesized_expression "(param_1 < 2)" ( (binary_expression "param_1 < 2" identifier < number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = local_24;" (assignment_expression "iVar3 = local_24" identifier = identifier) ;) (expression_statement "iVar1 = local_1c;" (assignment_expression "iVar1 = local_1c" identifier = identifier) ;) (if_statement "if (param_3 < param_1) {\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }" if (parenthesized_expression "(param_3 < param_1)" ( (binary_expression "param_3 < param_1" identifier < identifier) )) (compound_statement "{\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }" { (if_statement "if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\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        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (expression_statement "uVar5 = param_3;" (assignment_expression "uVar5 = param_3" identifier = identifier) ;) (expression_statement "uVar6 = param_4;" (assignment_expression "uVar6 = param_4" identifier = identifier) ;) (while_statement "while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }" while (parenthesized_expression "(-1 < (int)uVar5)" ( (binary_expression "-1 < (int)uVar5" number_literal < (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 * 2 | uVar6 >> 0x1f;" (assignment_expression "uVar5 = uVar5 * 2 | uVar6 >> 0x1f" identifier = (binary_expression "uVar5 * 2 | uVar6 >> 0x1f" (binary_expression "uVar5 * 2" identifier * number_literal) | (binary_expression "uVar6 >> 0x1f" identifier >> number_literal))) ;) (expression_statement "uVar6 = uVar6 * 2;" (assignment_expression "uVar6 = uVar6 * 2" identifier = (binary_expression "uVar6 * 2" identifier * number_literal)) ;) })) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" do (compound_statement "{\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        }" { (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (if_statement "if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }" if (parenthesized_expression "((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2))))" ( (binary_expression "(uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))" (parenthesized_expression "(uVar5 < param_1)" ( (binary_expression "uVar5 < param_1" identifier < identifier) )) || (parenthesized_expression "((param_1 == uVar5 && (uVar6 <= param_2)))" ( (parenthesized_expression "(param_1 == uVar5 && (uVar6 <= param_2))" ( (binary_expression "param_1 == uVar5 && (uVar6 <= param_2)" (binary_expression "param_1 == uVar5" identifier == identifier) && (parenthesized_expression "(uVar6 <= param_2)" ( (binary_expression "uVar6 <= param_2" identifier <= identifier) ))) )) ))) )) (compound_statement "{\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }" { (expression_statement "uVar2 = uVar2 | 1;" (assignment_expression "uVar2 = uVar2 | 1" identifier = (binary_expression "uVar2 | 1" identifier | number_literal)) ;) (expression_statement "bVar7 = param_2 < uVar6;" (assignment_expression "bVar7 = param_2 < uVar6" identifier = (binary_expression "param_2 < uVar6" identifier < identifier)) ;) (expression_statement "param_2 = param_2 - uVar6;" (assignment_expression "param_2 = param_2 - uVar6" identifier = (binary_expression "param_2 - uVar6" identifier - identifier)) ;) (expression_statement "param_1 = (param_1 - uVar5) - (uint)bVar7;" (assignment_expression "param_1 = (param_1 - uVar5) - (uint)bVar7" identifier = (binary_expression "(param_1 - uVar5) - (uint)bVar7" (parenthesized_expression "(param_1 - uVar5)" ( (binary_expression "param_1 - uVar5" identifier - identifier) )) - (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) (expression_statement "uVar4 = uVar5 << 0x1f;" (assignment_expression "uVar4 = uVar5 << 0x1f" identifier = (binary_expression "uVar5 << 0x1f" identifier << number_literal)) ;) (expression_statement "uVar5 = uVar5 >> 1;" (assignment_expression "uVar5 = uVar5 >> 1" identifier = (binary_expression "uVar5 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar6 = uVar6 >> 1 | uVar4;" (assignment_expression "uVar6 = uVar6 >> 1 | uVar4" identifier = (binary_expression "uVar6 >> 1 | uVar4" (binary_expression "uVar6 >> 1" identifier >> number_literal) | identifier)) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) }) (else_clause "else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" else (compound_statement "{\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = param_3;" (assignment_expression "uVar5 = param_3" identifier = identifier) ;) (expression_statement "uVar6 = param_4;" (assignment_expression "uVar6 = param_4" identifier = identifier) ;) (do_statement "do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));" do (compound_statement "{\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        }" { (do_statement "do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);" do (compound_statement "{\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          }" { (expression_statement "uVar4 = uVar6 * 2;" (assignment_expression "uVar4 = uVar6 * 2" identifier = (binary_expression "uVar6 * 2" identifier * number_literal)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 * 2 | uVar6 >> 0x1f;" (assignment_expression "uVar5 = uVar5 * 2 | uVar6 >> 0x1f" identifier = (binary_expression "uVar5 * 2 | uVar6 >> 0x1f" (binary_expression "uVar5 * 2" identifier * number_literal) | (binary_expression "uVar6 >> 0x1f" identifier >> number_literal))) ;) (expression_statement "uVar6 = uVar4;" (assignment_expression "uVar6 = uVar4" identifier = identifier) ;) }) while (parenthesized_expression "(uVar5 < param_1)" ( (binary_expression "uVar5 < param_1" identifier < identifier) )) ;) }) while (parenthesized_expression "((param_1 == uVar5) && (uVar4 <= param_2))" ( (binary_expression "(param_1 == uVar5) && (uVar4 <= param_2)" (parenthesized_expression "(param_1 == uVar5)" ( (binary_expression "param_1 == uVar5" identifier == identifier) )) && (parenthesized_expression "(uVar4 <= param_2)" ( (binary_expression "uVar4 <= param_2" identifier <= identifier) ))) )) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" do (compound_statement "{\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        }" { (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "uVar6 = uVar5 << 0x1f;" (assignment_expression "uVar6 = uVar5 << 0x1f" identifier = (binary_expression "uVar5 << 0x1f" identifier << number_literal)) ;) (expression_statement "uVar5 = uVar5 >> 1;" (assignment_expression "uVar5 = uVar5 >> 1" identifier = (binary_expression "uVar5 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar4 = uVar4 >> 1 | uVar6;" (assignment_expression "uVar4 = uVar4 >> 1 | uVar6" identifier = (binary_expression "uVar4 >> 1 | uVar6" (binary_expression "uVar4 >> 1" identifier >> number_literal) | identifier)) ;) (if_statement "if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }" if (parenthesized_expression "((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2))))" ( (binary_expression "(uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))" (parenthesized_expression "(uVar5 < param_1)" ( (binary_expression "uVar5 < param_1" identifier < identifier) )) || (parenthesized_expression "((uVar5 == param_1 && (uVar4 <= param_2)))" ( (parenthesized_expression "(uVar5 == param_1 && (uVar4 <= param_2))" ( (binary_expression "uVar5 == param_1 && (uVar4 <= param_2)" (binary_expression "uVar5 == param_1" identifier == identifier) && (parenthesized_expression "(uVar4 <= param_2)" ( (binary_expression "uVar4 <= param_2" identifier <= identifier) ))) )) ))) )) (compound_statement "{\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }" { (expression_statement "uVar2 = uVar2 | 1;" (assignment_expression "uVar2 = uVar2 | 1" identifier = (binary_expression "uVar2 | 1" identifier | number_literal)) ;) (expression_statement "bVar7 = param_2 < uVar4;" (assignment_expression "bVar7 = param_2 < uVar4" identifier = (binary_expression "param_2 < uVar4" identifier < identifier)) ;) (expression_statement "param_2 = param_2 - uVar4;" (assignment_expression "param_2 = param_2 - uVar4" identifier = (binary_expression "param_2 - uVar4" identifier - identifier)) ;) (expression_statement "param_1 = (param_1 - uVar5) - (uint)bVar7;" (assignment_expression "param_1 = (param_1 - uVar5) - (uint)bVar7" identifier = (binary_expression "(param_1 - uVar5) - (uint)bVar7" (parenthesized_expression "(param_1 - uVar5)" ( (binary_expression "param_1 - uVar5" identifier - identifier) )) - (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) }))) (if_statement "if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }" if (parenthesized_expression "(param_1 < 2)" ( (binary_expression "param_1 < 2" identifier < number_literal) )) (compound_statement "{\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }" { (expression_statement "local_20 = local_20 + local_24 * uVar2;" (assignment_expression "local_20 = local_20 + local_24 * uVar2" identifier = (binary_expression "local_20 + local_24 * uVar2" identifier + (binary_expression "local_24 * uVar2" identifier * identifier))) ;) (expression_statement "local_18 = local_18 + uVar2 * local_1c;" (assignment_expression "local_18 = local_18 + uVar2 * local_1c" identifier = (binary_expression "local_18 + uVar2 * local_1c" identifier + (binary_expression "uVar2 * local_1c" identifier * identifier))) ;) (break_statement "break;" break ;) })) (expression_statement "iVar3 = local_24 * (uVar2 + 1);" (assignment_expression "iVar3 = local_24 * (uVar2 + 1)" identifier = (binary_expression "local_24 * (uVar2 + 1)" identifier * (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "iVar1 = (uVar2 + 1) * local_1c;" (assignment_expression "iVar1 = (uVar2 + 1) * local_1c" identifier = (binary_expression "(uVar2 + 1) * local_1c" (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) )) * identifier)) ;) })) (expression_statement "local_18 = local_18 + iVar1;" (assignment_expression "local_18 = local_18 + iVar1" identifier = (binary_expression "local_18 + iVar1" identifier + identifier)) ;) (expression_statement "local_20 = local_20 + iVar3;" (assignment_expression "local_20 = local_20 + iVar3" identifier = (binary_expression "local_20 + iVar3" identifier + identifier)) ;) (if_statement "if (param_1 == param_3) break;" if (parenthesized_expression "(param_1 == param_3)" ( (binary_expression "param_1 == param_3" identifier == identifier) )) (break_statement "break;" break ;)) (labeled_statement "LAB_00058cb0:\n    if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }" statement_identifier : (if_statement "if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }" if (parenthesized_expression "(param_3 < 0x10000)" ( (binary_expression "param_3 < 0x10000" identifier < number_literal) )) (compound_statement "{\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }" { (expression_statement "uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;" (assignment_expression "uVar6 = (param_2 >> 0x10) + param_1 * 0x10000" identifier = (binary_expression "(param_2 >> 0x10) + param_1 * 0x10000" (parenthesized_expression "(param_2 >> 0x10)" ( (binary_expression "param_2 >> 0x10" identifier >> number_literal) )) + (binary_expression "param_1 * 0x10000" identifier * number_literal))) ;) (expression_statement "uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;" (assignment_expression "uVar5 = (param_4 >> 0x10) + param_3 * 0x10000" identifier = (binary_expression "(param_4 >> 0x10) + param_3 * 0x10000" (parenthesized_expression "(param_4 >> 0x10)" ( (binary_expression "param_4 >> 0x10" identifier >> number_literal) )) + (binary_expression "param_3 * 0x10000" identifier * number_literal))) ;) (goto_statement "goto LAB_00058bcc;" goto statement_identifier ;) }))) (expression_statement "bVar7 = param_4 < param_2;" (assignment_expression "bVar7 = param_4 < param_2" identifier = (binary_expression "param_4 < param_2" identifier < identifier)) ;) (expression_statement "param_4 = param_4 - param_2;" (assignment_expression "param_4 = param_4 - param_2" identifier = (binary_expression "param_4 - param_2" identifier - identifier)) ;) (expression_statement "param_3 = (param_3 - param_1) - (uint)bVar7;" (assignment_expression "param_3 = (param_3 - param_1) - (uint)bVar7" identifier = (binary_expression "(param_3 - param_1) - (uint)bVar7" (parenthesized_expression "(param_3 - param_1)" ( (binary_expression "param_3 - param_1" identifier - identifier) )) - (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if (param_3 < 2) break;" if (parenthesized_expression "(param_3 < 2)" ( (binary_expression "param_3 < 2" identifier < number_literal) )) (break_statement "break;" break ;)) (if_statement "if (param_1 < param_3) {\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" if (parenthesized_expression "(param_1 < param_3)" ( (binary_expression "param_1 < param_3" identifier < identifier) )) (compound_statement "{\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }" { (if_statement "if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\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        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (expression_statement "uVar5 = param_1;" (assignment_expression "uVar5 = param_1" identifier = identifier) ;) (expression_statement "uVar6 = param_2;" (assignment_expression "uVar6 = param_2" identifier = identifier) ;) (while_statement "while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }" while (parenthesized_expression "(-1 < (int)uVar5)" ( (binary_expression "-1 < (int)uVar5" number_literal < (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 * 2 | uVar6 >> 0x1f;" (assignment_expression "uVar5 = uVar5 * 2 | uVar6 >> 0x1f" identifier = (binary_expression "uVar5 * 2 | uVar6 >> 0x1f" (binary_expression "uVar5 * 2" identifier * number_literal) | (binary_expression "uVar6 >> 0x1f" identifier >> number_literal))) ;) (expression_statement "uVar6 = uVar6 * 2;" (assignment_expression "uVar6 = uVar6 * 2" identifier = (binary_expression "uVar6 * 2" identifier * number_literal)) ;) })) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" do (compound_statement "{\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        }" { (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (if_statement "if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }" if (parenthesized_expression "((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4))))" ( (binary_expression "(uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))" (parenthesized_expression "(uVar5 < param_3)" ( (binary_expression "uVar5 < param_3" identifier < identifier) )) || (parenthesized_expression "((param_3 == uVar5 && (uVar6 <= param_4)))" ( (parenthesized_expression "(param_3 == uVar5 && (uVar6 <= param_4))" ( (binary_expression "param_3 == uVar5 && (uVar6 <= param_4)" (binary_expression "param_3 == uVar5" identifier == identifier) && (parenthesized_expression "(uVar6 <= param_4)" ( (binary_expression "uVar6 <= param_4" identifier <= identifier) ))) )) ))) )) (compound_statement "{\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }" { (expression_statement "uVar2 = uVar2 | 1;" (assignment_expression "uVar2 = uVar2 | 1" identifier = (binary_expression "uVar2 | 1" identifier | number_literal)) ;) (expression_statement "bVar7 = param_4 < uVar6;" (assignment_expression "bVar7 = param_4 < uVar6" identifier = (binary_expression "param_4 < uVar6" identifier < identifier)) ;) (expression_statement "param_4 = param_4 - uVar6;" (assignment_expression "param_4 = param_4 - uVar6" identifier = (binary_expression "param_4 - uVar6" identifier - identifier)) ;) (expression_statement "param_3 = (param_3 - uVar5) - (uint)bVar7;" (assignment_expression "param_3 = (param_3 - uVar5) - (uint)bVar7" identifier = (binary_expression "(param_3 - uVar5) - (uint)bVar7" (parenthesized_expression "(param_3 - uVar5)" ( (binary_expression "param_3 - uVar5" identifier - identifier) )) - (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) (expression_statement "uVar4 = uVar5 << 0x1f;" (assignment_expression "uVar4 = uVar5 << 0x1f" identifier = (binary_expression "uVar5 << 0x1f" identifier << number_literal)) ;) (expression_statement "uVar5 = uVar5 >> 1;" (assignment_expression "uVar5 = uVar5 >> 1" identifier = (binary_expression "uVar5 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar6 = uVar6 >> 1 | uVar4;" (assignment_expression "uVar6 = uVar6 >> 1 | uVar4" identifier = (binary_expression "uVar6 >> 1 | uVar4" (binary_expression "uVar6 >> 1" identifier >> number_literal) | identifier)) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) }) (else_clause "else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }" else (compound_statement "{\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }" { (expression_statement "local_14 = 0;" (assignment_expression "local_14 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = param_1;" (assignment_expression "uVar5 = param_1" identifier = identifier) ;) (expression_statement "uVar6 = param_2;" (assignment_expression "uVar6 = param_2" identifier = identifier) ;) (do_statement "do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));" do (compound_statement "{\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        }" { (do_statement "do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);" do (compound_statement "{\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          }" { (expression_statement "uVar4 = uVar6 * 2;" (assignment_expression "uVar4 = uVar6 * 2" identifier = (binary_expression "uVar6 * 2" identifier * number_literal)) ;) (expression_statement "local_14 = local_14 + 1;" (assignment_expression "local_14 = local_14 + 1" identifier = (binary_expression "local_14 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 * 2 | uVar6 >> 0x1f;" (assignment_expression "uVar5 = uVar5 * 2 | uVar6 >> 0x1f" identifier = (binary_expression "uVar5 * 2 | uVar6 >> 0x1f" (binary_expression "uVar5 * 2" identifier * number_literal) | (binary_expression "uVar6 >> 0x1f" identifier >> number_literal))) ;) (expression_statement "uVar6 = uVar4;" (assignment_expression "uVar6 = uVar4" identifier = identifier) ;) }) while (parenthesized_expression "(uVar5 < param_3)" ( (binary_expression "uVar5 < param_3" identifier < identifier) )) ;) }) while (parenthesized_expression "((param_3 == uVar5) && (uVar4 <= param_4))" ( (binary_expression "(param_3 == uVar5) && (uVar4 <= param_4)" (parenthesized_expression "(param_3 == uVar5)" ( (binary_expression "param_3 == uVar5" identifier == identifier) )) && (parenthesized_expression "(uVar4 <= param_4)" ( (binary_expression "uVar4 <= param_4" identifier <= identifier) ))) )) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);" do (compound_statement "{\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        }" { (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "uVar6 = uVar5 << 0x1f;" (assignment_expression "uVar6 = uVar5 << 0x1f" identifier = (binary_expression "uVar5 << 0x1f" identifier << number_literal)) ;) (expression_statement "uVar5 = uVar5 >> 1;" (assignment_expression "uVar5 = uVar5 >> 1" identifier = (binary_expression "uVar5 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar4 = uVar4 >> 1 | uVar6;" (assignment_expression "uVar4 = uVar4 >> 1 | uVar6" identifier = (binary_expression "uVar4 >> 1 | uVar6" (binary_expression "uVar4 >> 1" identifier >> number_literal) | identifier)) ;) (if_statement "if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }" if (parenthesized_expression "((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4))))" ( (binary_expression "(uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))" (parenthesized_expression "(uVar5 < param_3)" ( (binary_expression "uVar5 < param_3" identifier < identifier) )) || (parenthesized_expression "((uVar5 == param_3 && (uVar4 <= param_4)))" ( (parenthesized_expression "(uVar5 == param_3 && (uVar4 <= param_4))" ( (binary_expression "uVar5 == param_3 && (uVar4 <= param_4)" (binary_expression "uVar5 == param_3" identifier == identifier) && (parenthesized_expression "(uVar4 <= param_4)" ( (binary_expression "uVar4 <= param_4" identifier <= identifier) ))) )) ))) )) (compound_statement "{\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }" { (expression_statement "uVar2 = uVar2 | 1;" (assignment_expression "uVar2 = uVar2 | 1" identifier = (binary_expression "uVar2 | 1" identifier | number_literal)) ;) (expression_statement "bVar7 = param_4 < uVar4;" (assignment_expression "bVar7 = param_4 < uVar4" identifier = (binary_expression "param_4 < uVar4" identifier < identifier)) ;) (expression_statement "param_4 = param_4 - uVar4;" (assignment_expression "param_4 = param_4 - uVar4" identifier = (binary_expression "param_4 - uVar4" identifier - identifier)) ;) (expression_statement "param_3 = (param_3 - uVar5) - (uint)bVar7;" (assignment_expression "param_3 = (param_3 - uVar5) - (uint)bVar7" identifier = (binary_expression "(param_3 - uVar5) - (uint)bVar7" (parenthesized_expression "(param_3 - uVar5)" ( (binary_expression "param_3 - uVar5" identifier - identifier) )) - (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) (expression_statement "local_14 = local_14 + -1;" (assignment_expression "local_14 = local_14 + -1" identifier = (binary_expression "local_14 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_14 != 0)" ( (binary_expression "local_14 != 0" identifier != number_literal) )) ;) }))) (if_statement "if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }" if (parenthesized_expression "(param_3 < 2)" ( (binary_expression "param_3 < 2" identifier < number_literal) )) (compound_statement "{\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }" { (expression_statement "local_24 = local_24 + local_20 * uVar2;" (assignment_expression "local_24 = local_24 + local_20 * uVar2" identifier = (binary_expression "local_24 + local_20 * uVar2" identifier + (binary_expression "local_20 * uVar2" identifier * identifier))) ;) (expression_statement "local_1c = local_1c + uVar2 * local_18;" (assignment_expression "local_1c = local_1c + uVar2 * local_18" identifier = (binary_expression "local_1c + uVar2 * local_18" identifier + (binary_expression "uVar2 * local_18" identifier * identifier))) ;) (break_statement "break;" break ;) })) (expression_statement "local_24 = local_24 + local_20 * (uVar2 + 1);" (assignment_expression "local_24 = local_24 + local_20 * (uVar2 + 1)" identifier = (binary_expression "local_24 + local_20 * (uVar2 + 1)" identifier + (binary_expression "local_20 * (uVar2 + 1)" identifier * (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) ))))) ;) (expression_statement "local_1c = local_1c + (uVar2 + 1) * local_18;" (assignment_expression "local_1c = local_1c + (uVar2 + 1) * local_18" identifier = (binary_expression "local_1c + (uVar2 + 1) * local_18" identifier + (binary_expression "(uVar2 + 1) * local_18" (parenthesized_expression "(uVar2 + 1)" ( (binary_expression "uVar2 + 1" identifier + number_literal) )) * identifier))) ;) }) (else_clause "else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" else (compound_statement "{\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" { (expression_statement "local_24 = local_24 + local_20;" (assignment_expression "local_24 = local_24 + local_20" identifier = (binary_expression "local_24 + local_20" identifier + identifier)) ;) (expression_statement "local_1c = local_1c + local_18;" (assignment_expression "local_1c = local_1c + local_18" identifier = (binary_expression "local_1c + local_18" identifier + identifier)) ;) }))) })) (goto_statement "goto LAB_00058c82;" goto statement_identifier ;) (labeled_statement "LAB_00058bcc:\n  uVar5 = uVar5 - uVar6;" statement_identifier : (expression_statement "uVar5 = uVar5 - uVar6;" (assignment_expression "uVar5 = uVar5 - uVar6" identifier = (binary_expression "uVar5 - uVar6" identifier - identifier)) ;)) (if_statement "if (0x1ffff < uVar5) {\n    if (uVar6 < uVar5) {\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar6 = uVar6 - uVar5;\n    if (uVar6 < 0x20000) goto LAB_00058c82;\n    if (uVar5 < uVar6) {\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }" if (parenthesized_expression "(0x1ffff < uVar5)" ( (binary_expression "0x1ffff < uVar5" number_literal < identifier) )) (compound_statement "{\n    if (uVar6 < uVar5) {\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar6 = uVar6 - uVar5;\n    if (uVar6 < 0x20000) goto LAB_00058c82;\n    if (uVar5 < uVar6) {\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }" { (if_statement "if (uVar6 < uVar5) {\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" if (parenthesized_expression "(uVar6 < uVar5)" ( (binary_expression "uVar6 < uVar5" identifier < identifier) )) (compound_statement "{\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = uVar6;" (assignment_expression "uVar2 = uVar6" identifier = identifier) ;) (if_statement "if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" if (parenthesized_expression "((int)uVar5 < 0)" ( (binary_expression "(int)uVar5 < 0" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" { (if_statement "if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" if (parenthesized_expression "((int)uVar6 < 0)" ( (binary_expression "(int)uVar6 < 0" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          iVar3 = 1;\n        }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) }) (else_clause "else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" else (compound_statement "{\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (do_statement "do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);" do (compound_statement "{\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) }) while (parenthesized_expression "(-1 < (int)uVar2)" ( (binary_expression "-1 < (int)uVar2" number_literal < (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) }))) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" do (compound_statement "{\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        }" { (expression_statement "uVar4 = uVar4 * 2;" (assignment_expression "uVar4 = uVar4 * 2" identifier = (binary_expression "uVar4 * 2" identifier * number_literal)) ;) (if_statement "if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" if (parenthesized_expression "(uVar2 <= uVar5)" ( (binary_expression "uVar2 <= uVar5" identifier <= identifier) )) (compound_statement "{\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" { (expression_statement "uVar5 = uVar5 - uVar2;" (assignment_expression "uVar5 = uVar5 - uVar2" identifier = (binary_expression "uVar5 - uVar2" identifier - identifier)) ;) (expression_statement "uVar4 = uVar4 | 1;" (assignment_expression "uVar4 = uVar4 | 1" identifier = (binary_expression "uVar4 | 1" identifier | number_literal)) ;) })) (expression_statement "uVar2 = uVar2 >> 1;" (assignment_expression "uVar2 = uVar2 >> 1" identifier = (binary_expression "uVar2 >> 1" identifier >> number_literal)) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) }) (else_clause "else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" else (compound_statement "{\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" { (do_statement "do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);" do (compound_statement "{\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        }" { (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 <= uVar5)" ( (binary_expression "uVar2 <= uVar5" identifier <= identifier) )) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" do (compound_statement "{\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        }" { (expression_statement "uVar2 = uVar2 >> 1;" (assignment_expression "uVar2 = uVar2 >> 1" identifier = (binary_expression "uVar2 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar4 = uVar4 * 2;" (assignment_expression "uVar4 = uVar4 * 2" identifier = (binary_expression "uVar4 * 2" identifier * number_literal)) ;) (if_statement "if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" if (parenthesized_expression "(uVar2 <= uVar5)" ( (binary_expression "uVar2 <= uVar5" identifier <= identifier) )) (compound_statement "{\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" { (expression_statement "uVar5 = uVar5 - uVar2;" (assignment_expression "uVar5 = uVar5 - uVar2" identifier = (binary_expression "uVar5 - uVar2" identifier - identifier)) ;) (expression_statement "uVar4 = uVar4 | 1;" (assignment_expression "uVar4 = uVar4 | 1" identifier = (binary_expression "uVar4 | 1" identifier | number_literal)) ;) })) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) }))) (if_statement "if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }" if (parenthesized_expression "(uVar5 < 0x20000)" ( (binary_expression "uVar5 < 0x20000" identifier < number_literal) )) (compound_statement "{\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }" { (expression_statement "local_24 = local_24 + local_20 * uVar4;" (assignment_expression "local_24 = local_24 + local_20 * uVar4" identifier = (binary_expression "local_24 + local_20 * uVar4" identifier + (binary_expression "local_20 * uVar4" identifier * identifier))) ;) (expression_statement "local_1c = local_1c + uVar4 * local_18;" (assignment_expression "local_1c = local_1c + uVar4 * local_18" identifier = (binary_expression "local_1c + uVar4 * local_18" identifier + (binary_expression "uVar4 * local_18" identifier * identifier))) ;) (goto_statement "goto LAB_00058c82;" goto statement_identifier ;) })) (expression_statement "local_24 = local_24 + local_20 * (uVar4 + 1);" (assignment_expression "local_24 = local_24 + local_20 * (uVar4 + 1)" identifier = (binary_expression "local_24 + local_20 * (uVar4 + 1)" identifier + (binary_expression "local_20 * (uVar4 + 1)" identifier * (parenthesized_expression "(uVar4 + 1)" ( (binary_expression "uVar4 + 1" identifier + number_literal) ))))) ;) (expression_statement "local_1c = local_1c + (uVar4 + 1) * local_18;" (assignment_expression "local_1c = local_1c + (uVar4 + 1) * local_18" identifier = (binary_expression "local_1c + (uVar4 + 1) * local_18" identifier + (binary_expression "(uVar4 + 1) * local_18" (parenthesized_expression "(uVar4 + 1)" ( (binary_expression "uVar4 + 1" identifier + number_literal) )) * identifier))) ;) }) (else_clause "else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" else (compound_statement "{\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" { (expression_statement "local_24 = local_24 + local_20;" (assignment_expression "local_24 = local_24 + local_20" identifier = (binary_expression "local_24 + local_20" identifier + identifier)) ;) (expression_statement "local_1c = local_1c + local_18;" (assignment_expression "local_1c = local_1c + local_18" identifier = (binary_expression "local_1c + local_18" identifier + identifier)) ;) }))) (labeled_statement "LAB_00058ba7:\n    uVar6 = uVar6 - uVar5;" statement_identifier : (expression_statement "uVar6 = uVar6 - uVar5;" (assignment_expression "uVar6 = uVar6 - uVar5" identifier = (binary_expression "uVar6 - uVar5" identifier - identifier)) ;)) (if_statement "if (uVar6 < 0x20000) goto LAB_00058c82;" if (parenthesized_expression "(uVar6 < 0x20000)" ( (binary_expression "uVar6 < 0x20000" identifier < number_literal) )) (goto_statement "goto LAB_00058c82;" goto statement_identifier ;)) (if_statement "if (uVar5 < uVar6) {\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }" if (parenthesized_expression "(uVar5 < uVar6)" ( (binary_expression "uVar5 < uVar6" identifier < identifier) )) (compound_statement "{\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = uVar5;" (assignment_expression "uVar2 = uVar5" identifier = identifier) ;) (if_statement "if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" if (parenthesized_expression "((int)uVar6 < 0)" ( (binary_expression "(int)uVar6 < 0" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" { (if_statement "if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" if (parenthesized_expression "((int)uVar5 < 0)" ( (binary_expression "(int)uVar5 < 0" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          iVar3 = 1;\n        }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) }) (else_clause "else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" else (compound_statement "{\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" { (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" identifier = number_literal) ;) (do_statement "do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);" do (compound_statement "{\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) }) while (parenthesized_expression "(-1 < (int)uVar2)" ( (binary_expression "-1 < (int)uVar2" number_literal < (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) }))) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" do (compound_statement "{\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        }" { (expression_statement "uVar4 = uVar4 * 2;" (assignment_expression "uVar4 = uVar4 * 2" identifier = (binary_expression "uVar4 * 2" identifier * number_literal)) ;) (if_statement "if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" if (parenthesized_expression "(uVar2 <= uVar6)" ( (binary_expression "uVar2 <= uVar6" identifier <= identifier) )) (compound_statement "{\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" { (expression_statement "uVar6 = uVar6 - uVar2;" (assignment_expression "uVar6 = uVar6 - uVar2" identifier = (binary_expression "uVar6 - uVar2" identifier - identifier)) ;) (expression_statement "uVar4 = uVar4 | 1;" (assignment_expression "uVar4 = uVar4 | 1" identifier = (binary_expression "uVar4 | 1" identifier | number_literal)) ;) })) (expression_statement "uVar2 = uVar2 >> 1;" (assignment_expression "uVar2 = uVar2 >> 1" identifier = (binary_expression "uVar2 >> 1" identifier >> number_literal)) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) }) (else_clause "else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" else (compound_statement "{\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" { (do_statement "do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);" do (compound_statement "{\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        }" { (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" identifier = (binary_expression "uVar2 * 2" identifier * number_literal)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 <= uVar6)" ( (binary_expression "uVar2 <= uVar6" identifier <= identifier) )) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" do (compound_statement "{\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        }" { (expression_statement "uVar2 = uVar2 >> 1;" (assignment_expression "uVar2 = uVar2 >> 1" identifier = (binary_expression "uVar2 >> 1" identifier >> number_literal)) ;) (expression_statement "uVar4 = uVar4 * 2;" (assignment_expression "uVar4 = uVar4 * 2" identifier = (binary_expression "uVar4 * 2" identifier * number_literal)) ;) (if_statement "if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" if (parenthesized_expression "(uVar2 <= uVar6)" ( (binary_expression "uVar2 <= uVar6" identifier <= identifier) )) (compound_statement "{\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" { (expression_statement "uVar6 = uVar6 - uVar2;" (assignment_expression "uVar6 = uVar6 - uVar2" identifier = (binary_expression "uVar6 - uVar2" identifier - identifier)) ;) (expression_statement "uVar4 = uVar4 | 1;" (assignment_expression "uVar4 = uVar4 | 1" identifier = (binary_expression "uVar4 | 1" identifier | number_literal)) ;) })) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) }))) (if_statement "if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }" if (parenthesized_expression "(uVar6 < 0x20000)" ( (binary_expression "uVar6 < 0x20000" identifier < number_literal) )) (compound_statement "{\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }" { (expression_statement "local_20 = local_20 + local_24 * uVar4;" (assignment_expression "local_20 = local_20 + local_24 * uVar4" identifier = (binary_expression "local_20 + local_24 * uVar4" identifier + (binary_expression "local_24 * uVar4" identifier * identifier))) ;) (expression_statement "local_18 = local_18 + uVar4 * local_1c;" (assignment_expression "local_18 = local_18 + uVar4 * local_1c" identifier = (binary_expression "local_18 + uVar4 * local_1c" identifier + (binary_expression "uVar4 * local_1c" identifier * identifier))) ;) (goto_statement "goto LAB_00058c82;" goto statement_identifier ;) })) (expression_statement "local_20 = local_20 + local_24 * (uVar4 + 1);" (assignment_expression "local_20 = local_20 + local_24 * (uVar4 + 1)" identifier = (binary_expression "local_20 + local_24 * (uVar4 + 1)" identifier + (binary_expression "local_24 * (uVar4 + 1)" identifier * (parenthesized_expression "(uVar4 + 1)" ( (binary_expression "uVar4 + 1" identifier + number_literal) ))))) ;) (expression_statement "local_18 = local_18 + (uVar4 + 1) * local_1c;" (assignment_expression "local_18 = local_18 + (uVar4 + 1) * local_1c" identifier = (binary_expression "local_18 + (uVar4 + 1) * local_1c" identifier + (binary_expression "(uVar4 + 1) * local_1c" (parenthesized_expression "(uVar4 + 1)" ( (binary_expression "uVar4 + 1" identifier + number_literal) )) * identifier))) ;) }) (else_clause "else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }" else (compound_statement "{\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }" { (expression_statement "local_20 = local_20 + local_24;" (assignment_expression "local_20 = local_20 + local_24" identifier = (binary_expression "local_20 + local_24" identifier + identifier)) ;) (expression_statement "local_18 = local_18 + local_1c;" (assignment_expression "local_18 = local_18 + local_1c" identifier = (binary_expression "local_18 + local_1c" identifier + identifier)) ;) }))) (goto_statement "goto LAB_00058bcc;" goto statement_identifier ;) })) (labeled_statement "LAB_00058c82:\n  *param_5 = local_24;" statement_identifier : (expression_statement "*param_5 = local_24;" (assignment_expression "*param_5 = local_24" (pointer_expression "*param_5" * identifier) = identifier) ;)) (expression_statement "param_5[1] = local_20;" (assignment_expression "param_5[1] = local_20" (subscript_expression "param_5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_5[2] = local_1c;" (assignment_expression "param_5[2] = local_1c" (subscript_expression "param_5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_5[3] = local_18;" (assignment_expression "param_5[3] = local_18" (subscript_expression "param_5[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 1;" return number_literal ;) })))
(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) , (parameter_declaration TYPE (pointer_declarator * 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 ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (binary_expression IDENT < LIT) ))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_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 - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (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 (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (while_statement while (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 (parenthesized_expression ( (binary_expression IDENT >> LIT) )) + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) + (binary_expression IDENT * LIT))) ;) (goto_statement goto statement_identifier ;) })) (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 (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) | (binary_expression IDENT >> LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_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 (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> LIT) | IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) | (binary_expression IDENT >> LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) && (parenthesized_expression ( (binary_expression IDENT <= IDENT) ))) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> LIT) | IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_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 (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * IDENT))) ;) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (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 IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) + (binary_expression IDENT * LIT))) ;) (goto_statement goto statement_identifier ;) }))) (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 (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) | (binary_expression IDENT >> LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_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 (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> LIT) | IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) | (binary_expression IDENT >> LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) && (parenthesized_expression ( (binary_expression IDENT <= IDENT) ))) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> LIT) | IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_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 (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * IDENT))) ;) (break_statement break ;) })) (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 + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }))) })) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (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 { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) }) while (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (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 + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * IDENT))) ;) (goto_statement goto statement_identifier ;) })) (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 + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (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 { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) }) while (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (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 + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * IDENT))) ;) (goto_statement goto statement_identifier ;) })) (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 + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }))) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 __gmpn_hgcd2(uint param_1,uint param_2,uint param_3,uint param_4,int *param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  int local_24;\n  int local_20;\n  int local_1c;\n  int local_18;\n  int local_14;\n  \n  if ((param_1 < 2) || (param_3 < 2)) {\n    return 0;\n  }\n  if ((param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2)))) {\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }\n  else {\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }\n  local_18 = 1;\n  local_24 = 1;\n  if (param_1 < param_3) goto LAB_00058cb0;\n  while (param_1 != param_3) {\n    if (param_1 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) break;\n    iVar3 = local_24;\n    iVar1 = local_1c;\n    if (param_3 < param_1) {\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + iVar1;\n    local_20 = local_20 + iVar3;\n    if (param_1 == param_3) break;\nLAB_00058cb0:\n    if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) break;\n    if (param_1 < param_3) {\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }\n  goto LAB_00058c82;\nLAB_00058bcc:\n  uVar5 = uVar5 - uVar6;\n  if (0x1ffff < uVar5) {\n    if (uVar6 < uVar5) {\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar6 = uVar6 - uVar5;\n    if (uVar6 < 0x20000) goto LAB_00058c82;\n    if (uVar5 < uVar6) {\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }\nLAB_00058c82:\n  *param_5 = local_24;\n  param_5[1] = local_20;\n  param_5[2] = local_1c;\n  param_5[3] = local_18;\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "__gmpn_hgcd2(uint param_1,uint param_2,uint param_3,uint param_4,int *param_5)" (identifier "__gmpn_hgcd2") (parameter_list "(uint param_1,uint param_2,uint param_3,uint param_4,int *param_5)" (( "(") (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")) (, ",") (parameter_declaration "int *param_5" (primitive_type "int") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  uint uVar5;\n  uint uVar6;\n  bool bVar7;\n  int local_24;\n  int local_20;\n  int local_1c;\n  int local_18;\n  int local_14;\n  \n  if ((param_1 < 2) || (param_3 < 2)) {\n    return 0;\n  }\n  if ((param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2)))) {\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }\n  else {\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }\n  local_18 = 1;\n  local_24 = 1;\n  if (param_1 < param_3) goto LAB_00058cb0;\n  while (param_1 != param_3) {\n    if (param_1 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) break;\n    iVar3 = local_24;\n    iVar1 = local_1c;\n    if (param_3 < param_1) {\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + iVar1;\n    local_20 = local_20 + iVar3;\n    if (param_1 == param_3) break;\nLAB_00058cb0:\n    if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) break;\n    if (param_1 < param_3) {\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }\n  goto LAB_00058c82;\nLAB_00058bcc:\n  uVar5 = uVar5 - uVar6;\n  if (0x1ffff < uVar5) {\n    if (uVar6 < uVar5) {\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar6 = uVar6 - uVar5;\n    if (uVar6 < 0x20000) goto LAB_00058c82;\n    if (uVar5 < uVar6) {\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }\nLAB_00058c82:\n  *param_5 = local_24;\n  param_5[1] = local_20;\n  param_5[2] = local_1c;\n  param_5[3] = local_18;\n  return 1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (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 "bool bVar7;" (primitive_type "bool") (identifier "bVar7") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "int local_1c;" (primitive_type "int") (identifier "local_1c") (; ";")) (declaration "int local_18;" (primitive_type "int") (identifier "local_18") (; ";")) (declaration "int local_14;" (primitive_type "int") (identifier "local_14") (; ";")) (if_statement "if ((param_1 < 2) || (param_3 < 2)) {\n    return 0;\n  }" (if "if") (parenthesized_expression "((param_1 < 2) || (param_3 < 2))" (( "(") (binary_expression "(param_1 < 2) || (param_3 < 2)" (parenthesized_expression "(param_1 < 2)" (( "(") (binary_expression "param_1 < 2" (identifier "param_1") (< "<") (number_literal "2")) () ")")) (|| "||") (parenthesized_expression "(param_3 < 2)" (( "(") (binary_expression "param_3 < 2" (identifier "param_3") (< "<") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if ((param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2)))) {\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }\n  else {\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }" (if "if") (parenthesized_expression "((param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2))))" (( "(") (binary_expression "(param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2)))" (parenthesized_expression "(param_3 < param_1)" (( "(") (binary_expression "param_3 < param_1" (identifier "param_3") (< "<") (identifier "param_1")) () ")")) (|| "||") (parenthesized_expression "((param_1 == param_3 && (param_4 < param_2)))" (( "(") (parenthesized_expression "(param_1 == param_3 && (param_4 < param_2))" (( "(") (binary_expression "param_1 == param_3 && (param_4 < param_2)" (binary_expression "param_1 == param_3" (identifier "param_1") (== "==") (identifier "param_3")) (&& "&&") (parenthesized_expression "(param_4 < param_2)" (( "(") (binary_expression "param_4 < param_2" (identifier "param_4") (< "<") (identifier "param_2")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) {\n      return 0;\n    }\n    local_1c = 0;\n    local_20 = 1;\n  }" ({ "{") (expression_statement "bVar7 = param_2 < param_4;" (assignment_expression "bVar7 = param_2 < param_4" (identifier "bVar7") (= "=") (binary_expression "param_2 < param_4" (identifier "param_2") (< "<") (identifier "param_4"))) (; ";")) (expression_statement "param_2 = param_2 - param_4;" (assignment_expression "param_2 = param_2 - param_4" (identifier "param_2") (= "=") (binary_expression "param_2 - param_4" (identifier "param_2") (- "-") (identifier "param_4"))) (; ";")) (expression_statement "param_1 = (param_1 - param_3) - (uint)bVar7;" (assignment_expression "param_1 = (param_1 - param_3) - (uint)bVar7" (identifier "param_1") (= "=") (binary_expression "(param_1 - param_3) - (uint)bVar7" (parenthesized_expression "(param_1 - param_3)" (( "(") (binary_expression "param_1 - param_3" (identifier "param_1") (- "-") (identifier "param_3")) () ")")) (- "-") (cast_expression "(uint)bVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar7")))) (; ";")) (if_statement "if (param_1 < 2) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(param_1 < 2)" (( "(") (binary_expression "param_1 < 2" (identifier "param_1") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" (identifier "local_1c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_20 = 1;" (assignment_expression "local_20 = 1" (identifier "local_20") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }" (else "else") (compound_statement "{\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) {\n      return 0;\n    }\n    local_1c = 1;\n    local_20 = 0;\n  }" ({ "{") (expression_statement "bVar7 = param_4 < param_2;" (assignment_expression "bVar7 = param_4 < param_2" (identifier "bVar7") (= "=") (binary_expression "param_4 < param_2" (identifier "param_4") (< "<") (identifier "param_2"))) (; ";")) (expression_statement "param_4 = param_4 - param_2;" (assignment_expression "param_4 = param_4 - param_2" (identifier "param_4") (= "=") (binary_expression "param_4 - param_2" (identifier "param_4") (- "-") (identifier "param_2"))) (; ";")) (expression_statement "param_3 = (param_3 - param_1) - (uint)bVar7;" (assignment_expression "param_3 = (param_3 - param_1) - (uint)bVar7" (identifier "param_3") (= "=") (binary_expression "(param_3 - param_1) - (uint)bVar7" (parenthesized_expression "(param_3 - param_1)" (( "(") (binary_expression "param_3 - param_1" (identifier "param_3") (- "-") (identifier "param_1")) () ")")) (- "-") (cast_expression "(uint)bVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar7")))) (; ";")) (if_statement "if (param_3 < 2) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(param_3 < 2)" (( "(") (binary_expression "param_3 < 2" (identifier "param_3") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "local_1c = 1;" (assignment_expression "local_1c = 1" (identifier "local_1c") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" (identifier "local_20") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "local_18 = 1;" (assignment_expression "local_18 = 1" (identifier "local_18") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" (identifier "local_24") (= "=") (number_literal "1")) (; ";")) (if_statement "if (param_1 < param_3) goto LAB_00058cb0;" (if "if") (parenthesized_expression "(param_1 < param_3)" (( "(") (binary_expression "param_1 < param_3" (identifier "param_1") (< "<") (identifier "param_3")) () ")")) (goto_statement "goto LAB_00058cb0;" (goto "goto") (statement_identifier "LAB_00058cb0") (; ";"))) (while_statement "while (param_1 != param_3) {\n    if (param_1 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) break;\n    iVar3 = local_24;\n    iVar1 = local_1c;\n    if (param_3 < param_1) {\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + iVar1;\n    local_20 = local_20 + iVar3;\n    if (param_1 == param_3) break;\nLAB_00058cb0:\n    if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) break;\n    if (param_1 < param_3) {\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }" (while "while") (parenthesized_expression "(param_1 != param_3)" (( "(") (binary_expression "param_1 != param_3" (identifier "param_1") (!= "!=") (identifier "param_3")) () ")")) (compound_statement "{\n    if (param_1 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }\n    bVar7 = param_2 < param_4;\n    param_2 = param_2 - param_4;\n    param_1 = (param_1 - param_3) - (uint)bVar7;\n    if (param_1 < 2) break;\n    iVar3 = local_24;\n    iVar1 = local_1c;\n    if (param_3 < param_1) {\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }\n    local_18 = local_18 + iVar1;\n    local_20 = local_20 + iVar3;\n    if (param_1 == param_3) break;\nLAB_00058cb0:\n    if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }\n    bVar7 = param_4 < param_2;\n    param_4 = param_4 - param_2;\n    param_3 = (param_3 - param_1) - (uint)bVar7;\n    if (param_3 < 2) break;\n    if (param_1 < param_3) {\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\n  }" ({ "{") (if_statement "if (param_1 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }" (if "if") (parenthesized_expression "(param_1 < 0x10000)" (( "(") (binary_expression "param_1 < 0x10000" (identifier "param_1") (< "<") (number_literal "0x10000")) () ")")) (compound_statement "{\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058ba7;\n    }" ({ "{") (expression_statement "uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;" (assignment_expression "uVar6 = (param_2 >> 0x10) + param_1 * 0x10000" (identifier "uVar6") (= "=") (binary_expression "(param_2 >> 0x10) + param_1 * 0x10000" (parenthesized_expression "(param_2 >> 0x10)" (( "(") (binary_expression "param_2 >> 0x10" (identifier "param_2") (>> ">>") (number_literal "0x10")) () ")")) (+ "+") (binary_expression "param_1 * 0x10000" (identifier "param_1") (* "*") (number_literal "0x10000")))) (; ";")) (expression_statement "uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;" (assignment_expression "uVar5 = (param_4 >> 0x10) + param_3 * 0x10000" (identifier "uVar5") (= "=") (binary_expression "(param_4 >> 0x10) + param_3 * 0x10000" (parenthesized_expression "(param_4 >> 0x10)" (( "(") (binary_expression "param_4 >> 0x10" (identifier "param_4") (>> ">>") (number_literal "0x10")) () ")")) (+ "+") (binary_expression "param_3 * 0x10000" (identifier "param_3") (* "*") (number_literal "0x10000")))) (; ";")) (goto_statement "goto LAB_00058ba7;" (goto "goto") (statement_identifier "LAB_00058ba7") (; ";")) (} "}"))) (expression_statement "bVar7 = param_2 < param_4;" (assignment_expression "bVar7 = param_2 < param_4" (identifier "bVar7") (= "=") (binary_expression "param_2 < param_4" (identifier "param_2") (< "<") (identifier "param_4"))) (; ";")) (expression_statement "param_2 = param_2 - param_4;" (assignment_expression "param_2 = param_2 - param_4" (identifier "param_2") (= "=") (binary_expression "param_2 - param_4" (identifier "param_2") (- "-") (identifier "param_4"))) (; ";")) (expression_statement "param_1 = (param_1 - param_3) - (uint)bVar7;" (assignment_expression "param_1 = (param_1 - param_3) - (uint)bVar7" (identifier "param_1") (= "=") (binary_expression "(param_1 - param_3) - (uint)bVar7" (parenthesized_expression "(param_1 - param_3)" (( "(") (binary_expression "param_1 - param_3" (identifier "param_1") (- "-") (identifier "param_3")) () ")")) (- "-") (cast_expression "(uint)bVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar7")))) (; ";")) (if_statement "if (param_1 < 2) break;" (if "if") (parenthesized_expression "(param_1 < 2)" (( "(") (binary_expression "param_1 < 2" (identifier "param_1") (< "<") (number_literal "2")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar3 = local_24;" (assignment_expression "iVar3 = local_24" (identifier "iVar3") (= "=") (identifier "local_24")) (; ";")) (expression_statement "iVar1 = local_1c;" (assignment_expression "iVar1 = local_1c" (identifier "iVar1") (= "=") (identifier "local_1c")) (; ";")) (if_statement "if (param_3 < param_1) {\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }" (if "if") (parenthesized_expression "(param_3 < param_1)" (( "(") (binary_expression "param_3 < param_1" (identifier "param_3") (< "<") (identifier "param_1")) () ")")) (compound_statement "{\n      if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }\n      iVar3 = local_24 * (uVar2 + 1);\n      iVar1 = (uVar2 + 1) * local_1c;\n    }" ({ "{") (if_statement "if ((int)param_1 < 0) {\n        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\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        iVar3 = 1;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" ({ "{") (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" (identifier "iVar3") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar5 = param_3;" (assignment_expression "uVar5 = param_3" (identifier "uVar5") (= "=") (identifier "param_3")) (; ";")) (expression_statement "uVar6 = param_4;" (assignment_expression "uVar6 = param_4" (identifier "uVar6") (= "=") (identifier "param_4")) (; ";")) (while_statement "while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }" (while "while") (parenthesized_expression "(-1 < (int)uVar5)" (( "(") (binary_expression "-1 < (int)uVar5" (number_literal "-1") (< "<") (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5"))) () ")")) (compound_statement "{\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }" ({ "{") (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar5 = uVar5 * 2 | uVar6 >> 0x1f;" (assignment_expression "uVar5 = uVar5 * 2 | uVar6 >> 0x1f" (identifier "uVar5") (= "=") (binary_expression "uVar5 * 2 | uVar6 >> 0x1f" (binary_expression "uVar5 * 2" (identifier "uVar5") (* "*") (number_literal "2")) (| "|") (binary_expression "uVar6 >> 0x1f" (identifier "uVar6") (>> ">>") (number_literal "0x1f")))) (; ";")) (expression_statement "uVar6 = uVar6 * 2;" (assignment_expression "uVar6 = uVar6 * 2" (identifier "uVar6") (= "=") (binary_expression "uVar6 * 2" (identifier "uVar6") (* "*") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" (do "do") (compound_statement "{\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        }" ({ "{") (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" (identifier "uVar2") (= "=") (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2"))) (; ";")) (if_statement "if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }" (if "if") (parenthesized_expression "((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2))))" (( "(") (binary_expression "(uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))" (parenthesized_expression "(uVar5 < param_1)" (( "(") (binary_expression "uVar5 < param_1" (identifier "uVar5") (< "<") (identifier "param_1")) () ")")) (|| "||") (parenthesized_expression "((param_1 == uVar5 && (uVar6 <= param_2)))" (( "(") (parenthesized_expression "(param_1 == uVar5 && (uVar6 <= param_2))" (( "(") (binary_expression "param_1 == uVar5 && (uVar6 <= param_2)" (binary_expression "param_1 == uVar5" (identifier "param_1") (== "==") (identifier "uVar5")) (&& "&&") (parenthesized_expression "(uVar6 <= param_2)" (( "(") (binary_expression "uVar6 <= param_2" (identifier "uVar6") (<= "<=") (identifier "param_2")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar6;\n            param_2 = param_2 - uVar6;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }" ({ "{") (expression_statement "uVar2 = uVar2 | 1;" (assignment_expression "uVar2 = uVar2 | 1" (identifier "uVar2") (= "=") (binary_expression "uVar2 | 1" (identifier "uVar2") (| "|") (number_literal "1"))) (; ";")) (expression_statement "bVar7 = param_2 < uVar6;" (assignment_expression "bVar7 = param_2 < uVar6" (identifier "bVar7") (= "=") (binary_expression "param_2 < uVar6" (identifier "param_2") (< "<") (identifier "uVar6"))) (; ";")) (expression_statement "param_2 = param_2 - uVar6;" (assignment_expression "param_2 = param_2 - uVar6" (identifier "param_2") (= "=") (binary_expression "param_2 - uVar6" (identifier "param_2") (- "-") (identifier "uVar6"))) (; ";")) (expression_statement "param_1 = (param_1 - uVar5) - (uint)bVar7;" (assignment_expression "param_1 = (param_1 - uVar5) - (uint)bVar7" (identifier "param_1") (= "=") (binary_expression "(param_1 - uVar5) - (uint)bVar7" (parenthesized_expression "(param_1 - uVar5)" (( "(") (binary_expression "param_1 - uVar5" (identifier "param_1") (- "-") (identifier "uVar5")) () ")")) (- "-") (cast_expression "(uint)bVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar7")))) (; ";")) (} "}"))) (expression_statement "uVar4 = uVar5 << 0x1f;" (assignment_expression "uVar4 = uVar5 << 0x1f" (identifier "uVar4") (= "=") (binary_expression "uVar5 << 0x1f" (identifier "uVar5") (<< "<<") (number_literal "0x1f"))) (; ";")) (expression_statement "uVar5 = uVar5 >> 1;" (assignment_expression "uVar5 = uVar5 >> 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 >> 1" (identifier "uVar5") (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "uVar6 = uVar6 >> 1 | uVar4;" (assignment_expression "uVar6 = uVar6 >> 1 | uVar4" (identifier "uVar6") (= "=") (binary_expression "uVar6 >> 1 | uVar4" (binary_expression "uVar6 >> 1" (identifier "uVar6") (>> ">>") (number_literal "1")) (| "|") (identifier "uVar4"))) (; ";")) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")) (else_clause "else {\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" (else "else") (compound_statement "{\n        iVar3 = 0;\n        uVar5 = param_3;\n        uVar6 = param_4;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar5 = param_3;" (assignment_expression "uVar5 = param_3" (identifier "uVar5") (= "=") (identifier "param_3")) (; ";")) (expression_statement "uVar6 = param_4;" (assignment_expression "uVar6 = param_4" (identifier "uVar6") (= "=") (identifier "param_4")) (; ";")) (do_statement "do {\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        } while ((param_1 == uVar5) && (uVar4 <= param_2));" (do "do") (compound_statement "{\n          do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);\n        }" ({ "{") (do_statement "do {\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_1);" (do "do") (compound_statement "{\n            uVar4 = uVar6 * 2;\n            iVar3 = iVar3 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          }" ({ "{") (expression_statement "uVar4 = uVar6 * 2;" (assignment_expression "uVar4 = uVar6 * 2" (identifier "uVar4") (= "=") (binary_expression "uVar6 * 2" (identifier "uVar6") (* "*") (number_literal "2"))) (; ";")) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar5 = uVar5 * 2 | uVar6 >> 0x1f;" (assignment_expression "uVar5 = uVar5 * 2 | uVar6 >> 0x1f" (identifier "uVar5") (= "=") (binary_expression "uVar5 * 2 | uVar6 >> 0x1f" (binary_expression "uVar5 * 2" (identifier "uVar5") (* "*") (number_literal "2")) (| "|") (binary_expression "uVar6 >> 0x1f" (identifier "uVar6") (>> ">>") (number_literal "0x1f")))) (; ";")) (expression_statement "uVar6 = uVar4;" (assignment_expression "uVar6 = uVar4" (identifier "uVar6") (= "=") (identifier "uVar4")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar5 < param_1)" (( "(") (binary_expression "uVar5 < param_1" (identifier "uVar5") (< "<") (identifier "param_1")) () ")")) (; ";")) (} "}")) (while "while") (parenthesized_expression "((param_1 == uVar5) && (uVar4 <= param_2))" (( "(") (binary_expression "(param_1 == uVar5) && (uVar4 <= param_2)" (parenthesized_expression "(param_1 == uVar5)" (( "(") (binary_expression "param_1 == uVar5" (identifier "param_1") (== "==") (identifier "uVar5")) () ")")) (&& "&&") (parenthesized_expression "(uVar4 <= param_2)" (( "(") (binary_expression "uVar4 <= param_2" (identifier "uVar4") (<= "<=") (identifier "param_2")) () ")"))) () ")")) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" (do "do") (compound_statement "{\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }\n          iVar3 = iVar3 + -1;\n        }" ({ "{") (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" (identifier "uVar2") (= "=") (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2"))) (; ";")) (expression_statement "uVar6 = uVar5 << 0x1f;" (assignment_expression "uVar6 = uVar5 << 0x1f" (identifier "uVar6") (= "=") (binary_expression "uVar5 << 0x1f" (identifier "uVar5") (<< "<<") (number_literal "0x1f"))) (; ";")) (expression_statement "uVar5 = uVar5 >> 1;" (assignment_expression "uVar5 = uVar5 >> 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 >> 1" (identifier "uVar5") (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = uVar4 >> 1 | uVar6;" (assignment_expression "uVar4 = uVar4 >> 1 | uVar6" (identifier "uVar4") (= "=") (binary_expression "uVar4 >> 1 | uVar6" (binary_expression "uVar4 >> 1" (identifier "uVar4") (>> ">>") (number_literal "1")) (| "|") (identifier "uVar6"))) (; ";")) (if_statement "if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }" (if "if") (parenthesized_expression "((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2))))" (( "(") (binary_expression "(uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))" (parenthesized_expression "(uVar5 < param_1)" (( "(") (binary_expression "uVar5 < param_1" (identifier "uVar5") (< "<") (identifier "param_1")) () ")")) (|| "||") (parenthesized_expression "((uVar5 == param_1 && (uVar4 <= param_2)))" (( "(") (parenthesized_expression "(uVar5 == param_1 && (uVar4 <= param_2))" (( "(") (binary_expression "uVar5 == param_1 && (uVar4 <= param_2)" (binary_expression "uVar5 == param_1" (identifier "uVar5") (== "==") (identifier "param_1")) (&& "&&") (parenthesized_expression "(uVar4 <= param_2)" (( "(") (binary_expression "uVar4 <= param_2" (identifier "uVar4") (<= "<=") (identifier "param_2")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n            uVar2 = uVar2 | 1;\n            bVar7 = param_2 < uVar4;\n            param_2 = param_2 - uVar4;\n            param_1 = (param_1 - uVar5) - (uint)bVar7;\n          }" ({ "{") (expression_statement "uVar2 = uVar2 | 1;" (assignment_expression "uVar2 = uVar2 | 1" (identifier "uVar2") (= "=") (binary_expression "uVar2 | 1" (identifier "uVar2") (| "|") (number_literal "1"))) (; ";")) (expression_statement "bVar7 = param_2 < uVar4;" (assignment_expression "bVar7 = param_2 < uVar4" (identifier "bVar7") (= "=") (binary_expression "param_2 < uVar4" (identifier "param_2") (< "<") (identifier "uVar4"))) (; ";")) (expression_statement "param_2 = param_2 - uVar4;" (assignment_expression "param_2 = param_2 - uVar4" (identifier "param_2") (= "=") (binary_expression "param_2 - uVar4" (identifier "param_2") (- "-") (identifier "uVar4"))) (; ";")) (expression_statement "param_1 = (param_1 - uVar5) - (uint)bVar7;" (assignment_expression "param_1 = (param_1 - uVar5) - (uint)bVar7" (identifier "param_1") (= "=") (binary_expression "(param_1 - uVar5) - (uint)bVar7" (parenthesized_expression "(param_1 - uVar5)" (( "(") (binary_expression "param_1 - uVar5" (identifier "param_1") (- "-") (identifier "uVar5")) () ")")) (- "-") (cast_expression "(uint)bVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar7")))) (; ";")) (} "}"))) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")))) (if_statement "if (param_1 < 2) {\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }" (if "if") (parenthesized_expression "(param_1 < 2)" (( "(") (binary_expression "param_1 < 2" (identifier "param_1") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n        local_20 = local_20 + local_24 * uVar2;\n        local_18 = local_18 + uVar2 * local_1c;\n        break;\n      }" ({ "{") (expression_statement "local_20 = local_20 + local_24 * uVar2;" (assignment_expression "local_20 = local_20 + local_24 * uVar2" (identifier "local_20") (= "=") (binary_expression "local_20 + local_24 * uVar2" (identifier "local_20") (+ "+") (binary_expression "local_24 * uVar2" (identifier "local_24") (* "*") (identifier "uVar2")))) (; ";")) (expression_statement "local_18 = local_18 + uVar2 * local_1c;" (assignment_expression "local_18 = local_18 + uVar2 * local_1c" (identifier "local_18") (= "=") (binary_expression "local_18 + uVar2 * local_1c" (identifier "local_18") (+ "+") (binary_expression "uVar2 * local_1c" (identifier "uVar2") (* "*") (identifier "local_1c")))) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "iVar3 = local_24 * (uVar2 + 1);" (assignment_expression "iVar3 = local_24 * (uVar2 + 1)" (identifier "iVar3") (= "=") (binary_expression "local_24 * (uVar2 + 1)" (identifier "local_24") (* "*") (parenthesized_expression "(uVar2 + 1)" (( "(") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "iVar1 = (uVar2 + 1) * local_1c;" (assignment_expression "iVar1 = (uVar2 + 1) * local_1c" (identifier "iVar1") (= "=") (binary_expression "(uVar2 + 1) * local_1c" (parenthesized_expression "(uVar2 + 1)" (( "(") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1")) () ")")) (* "*") (identifier "local_1c"))) (; ";")) (} "}"))) (expression_statement "local_18 = local_18 + iVar1;" (assignment_expression "local_18 = local_18 + iVar1" (identifier "local_18") (= "=") (binary_expression "local_18 + iVar1" (identifier "local_18") (+ "+") (identifier "iVar1"))) (; ";")) (expression_statement "local_20 = local_20 + iVar3;" (assignment_expression "local_20 = local_20 + iVar3" (identifier "local_20") (= "=") (binary_expression "local_20 + iVar3" (identifier "local_20") (+ "+") (identifier "iVar3"))) (; ";")) (if_statement "if (param_1 == param_3) break;" (if "if") (parenthesized_expression "(param_1 == param_3)" (( "(") (binary_expression "param_1 == param_3" (identifier "param_1") (== "==") (identifier "param_3")) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_00058cb0:\n    if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }" (statement_identifier "LAB_00058cb0") (: ":") (if_statement "if (param_3 < 0x10000) {\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }" (if "if") (parenthesized_expression "(param_3 < 0x10000)" (( "(") (binary_expression "param_3 < 0x10000" (identifier "param_3") (< "<") (number_literal "0x10000")) () ")")) (compound_statement "{\n      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;\n      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;\n      goto LAB_00058bcc;\n    }" ({ "{") (expression_statement "uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;" (assignment_expression "uVar6 = (param_2 >> 0x10) + param_1 * 0x10000" (identifier "uVar6") (= "=") (binary_expression "(param_2 >> 0x10) + param_1 * 0x10000" (parenthesized_expression "(param_2 >> 0x10)" (( "(") (binary_expression "param_2 >> 0x10" (identifier "param_2") (>> ">>") (number_literal "0x10")) () ")")) (+ "+") (binary_expression "param_1 * 0x10000" (identifier "param_1") (* "*") (number_literal "0x10000")))) (; ";")) (expression_statement "uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;" (assignment_expression "uVar5 = (param_4 >> 0x10) + param_3 * 0x10000" (identifier "uVar5") (= "=") (binary_expression "(param_4 >> 0x10) + param_3 * 0x10000" (parenthesized_expression "(param_4 >> 0x10)" (( "(") (binary_expression "param_4 >> 0x10" (identifier "param_4") (>> ">>") (number_literal "0x10")) () ")")) (+ "+") (binary_expression "param_3 * 0x10000" (identifier "param_3") (* "*") (number_literal "0x10000")))) (; ";")) (goto_statement "goto LAB_00058bcc;" (goto "goto") (statement_identifier "LAB_00058bcc") (; ";")) (} "}")))) (expression_statement "bVar7 = param_4 < param_2;" (assignment_expression "bVar7 = param_4 < param_2" (identifier "bVar7") (= "=") (binary_expression "param_4 < param_2" (identifier "param_4") (< "<") (identifier "param_2"))) (; ";")) (expression_statement "param_4 = param_4 - param_2;" (assignment_expression "param_4 = param_4 - param_2" (identifier "param_4") (= "=") (binary_expression "param_4 - param_2" (identifier "param_4") (- "-") (identifier "param_2"))) (; ";")) (expression_statement "param_3 = (param_3 - param_1) - (uint)bVar7;" (assignment_expression "param_3 = (param_3 - param_1) - (uint)bVar7" (identifier "param_3") (= "=") (binary_expression "(param_3 - param_1) - (uint)bVar7" (parenthesized_expression "(param_3 - param_1)" (( "(") (binary_expression "param_3 - param_1" (identifier "param_3") (- "-") (identifier "param_1")) () ")")) (- "-") (cast_expression "(uint)bVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar7")))) (; ";")) (if_statement "if (param_3 < 2) break;" (if "if") (parenthesized_expression "(param_3 < 2)" (( "(") (binary_expression "param_3 < 2" (identifier "param_3") (< "<") (number_literal "2")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (param_1 < param_3) {\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" (if "if") (parenthesized_expression "(param_1 < param_3)" (( "(") (binary_expression "param_1 < param_3" (identifier "param_1") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n      if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }\n      if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }\n      local_24 = local_24 + local_20 * (uVar2 + 1);\n      local_1c = local_1c + (uVar2 + 1) * local_18;\n    }" ({ "{") (if_statement "if ((int)param_3 < 0) {\n        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\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        iVar3 = 1;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" ({ "{") (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" (identifier "iVar3") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar5 = param_1;" (assignment_expression "uVar5 = param_1" (identifier "uVar5") (= "=") (identifier "param_1")) (; ";")) (expression_statement "uVar6 = param_2;" (assignment_expression "uVar6 = param_2" (identifier "uVar6") (= "=") (identifier "param_2")) (; ";")) (while_statement "while (-1 < (int)uVar5) {\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }" (while "while") (parenthesized_expression "(-1 < (int)uVar5)" (( "(") (binary_expression "-1 < (int)uVar5" (number_literal "-1") (< "<") (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5"))) () ")")) (compound_statement "{\n          iVar3 = iVar3 + 1;\n          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n          uVar6 = uVar6 * 2;\n        }" ({ "{") (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar5 = uVar5 * 2 | uVar6 >> 0x1f;" (assignment_expression "uVar5 = uVar5 * 2 | uVar6 >> 0x1f" (identifier "uVar5") (= "=") (binary_expression "uVar5 * 2 | uVar6 >> 0x1f" (binary_expression "uVar5 * 2" (identifier "uVar5") (* "*") (number_literal "2")) (| "|") (binary_expression "uVar6 >> 0x1f" (identifier "uVar6") (>> ">>") (number_literal "0x1f")))) (; ";")) (expression_statement "uVar6 = uVar6 * 2;" (assignment_expression "uVar6 = uVar6 * 2" (identifier "uVar6") (= "=") (binary_expression "uVar6 * 2" (identifier "uVar6") (* "*") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" (do "do") (compound_statement "{\n          uVar2 = uVar2 * 2;\n          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          uVar4 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar6 = uVar6 >> 1 | uVar4;\n          iVar3 = iVar3 + -1;\n        }" ({ "{") (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" (identifier "uVar2") (= "=") (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2"))) (; ";")) (if_statement "if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }" (if "if") (parenthesized_expression "((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4))))" (( "(") (binary_expression "(uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))" (parenthesized_expression "(uVar5 < param_3)" (( "(") (binary_expression "uVar5 < param_3" (identifier "uVar5") (< "<") (identifier "param_3")) () ")")) (|| "||") (parenthesized_expression "((param_3 == uVar5 && (uVar6 <= param_4)))" (( "(") (parenthesized_expression "(param_3 == uVar5 && (uVar6 <= param_4))" (( "(") (binary_expression "param_3 == uVar5 && (uVar6 <= param_4)" (binary_expression "param_3 == uVar5" (identifier "param_3") (== "==") (identifier "uVar5")) (&& "&&") (parenthesized_expression "(uVar6 <= param_4)" (( "(") (binary_expression "uVar6 <= param_4" (identifier "uVar6") (<= "<=") (identifier "param_4")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar6;\n            param_4 = param_4 - uVar6;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }" ({ "{") (expression_statement "uVar2 = uVar2 | 1;" (assignment_expression "uVar2 = uVar2 | 1" (identifier "uVar2") (= "=") (binary_expression "uVar2 | 1" (identifier "uVar2") (| "|") (number_literal "1"))) (; ";")) (expression_statement "bVar7 = param_4 < uVar6;" (assignment_expression "bVar7 = param_4 < uVar6" (identifier "bVar7") (= "=") (binary_expression "param_4 < uVar6" (identifier "param_4") (< "<") (identifier "uVar6"))) (; ";")) (expression_statement "param_4 = param_4 - uVar6;" (assignment_expression "param_4 = param_4 - uVar6" (identifier "param_4") (= "=") (binary_expression "param_4 - uVar6" (identifier "param_4") (- "-") (identifier "uVar6"))) (; ";")) (expression_statement "param_3 = (param_3 - uVar5) - (uint)bVar7;" (assignment_expression "param_3 = (param_3 - uVar5) - (uint)bVar7" (identifier "param_3") (= "=") (binary_expression "(param_3 - uVar5) - (uint)bVar7" (parenthesized_expression "(param_3 - uVar5)" (( "(") (binary_expression "param_3 - uVar5" (identifier "param_3") (- "-") (identifier "uVar5")) () ")")) (- "-") (cast_expression "(uint)bVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar7")))) (; ";")) (} "}"))) (expression_statement "uVar4 = uVar5 << 0x1f;" (assignment_expression "uVar4 = uVar5 << 0x1f" (identifier "uVar4") (= "=") (binary_expression "uVar5 << 0x1f" (identifier "uVar5") (<< "<<") (number_literal "0x1f"))) (; ";")) (expression_statement "uVar5 = uVar5 >> 1;" (assignment_expression "uVar5 = uVar5 >> 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 >> 1" (identifier "uVar5") (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "uVar6 = uVar6 >> 1 | uVar4;" (assignment_expression "uVar6 = uVar6 >> 1 | uVar4" (identifier "uVar6") (= "=") (binary_expression "uVar6 >> 1 | uVar4" (binary_expression "uVar6 >> 1" (identifier "uVar6") (>> ">>") (number_literal "1")) (| "|") (identifier "uVar4"))) (; ";")) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")) (else_clause "else {\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }" (else "else") (compound_statement "{\n        local_14 = 0;\n        uVar5 = param_1;\n        uVar6 = param_2;\n        do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));\n        uVar2 = 0;\n        do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);\n      }" ({ "{") (expression_statement "local_14 = 0;" (assignment_expression "local_14 = 0" (identifier "local_14") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar5 = param_1;" (assignment_expression "uVar5 = param_1" (identifier "uVar5") (= "=") (identifier "param_1")) (; ";")) (expression_statement "uVar6 = param_2;" (assignment_expression "uVar6 = param_2" (identifier "uVar6") (= "=") (identifier "param_2")) (; ";")) (do_statement "do {\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        } while ((param_3 == uVar5) && (uVar4 <= param_4));" (do "do") (compound_statement "{\n          do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);\n        }" ({ "{") (do_statement "do {\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          } while (uVar5 < param_3);" (do "do") (compound_statement "{\n            uVar4 = uVar6 * 2;\n            local_14 = local_14 + 1;\n            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;\n            uVar6 = uVar4;\n          }" ({ "{") (expression_statement "uVar4 = uVar6 * 2;" (assignment_expression "uVar4 = uVar6 * 2" (identifier "uVar4") (= "=") (binary_expression "uVar6 * 2" (identifier "uVar6") (* "*") (number_literal "2"))) (; ";")) (expression_statement "local_14 = local_14 + 1;" (assignment_expression "local_14 = local_14 + 1" (identifier "local_14") (= "=") (binary_expression "local_14 + 1" (identifier "local_14") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar5 = uVar5 * 2 | uVar6 >> 0x1f;" (assignment_expression "uVar5 = uVar5 * 2 | uVar6 >> 0x1f" (identifier "uVar5") (= "=") (binary_expression "uVar5 * 2 | uVar6 >> 0x1f" (binary_expression "uVar5 * 2" (identifier "uVar5") (* "*") (number_literal "2")) (| "|") (binary_expression "uVar6 >> 0x1f" (identifier "uVar6") (>> ">>") (number_literal "0x1f")))) (; ";")) (expression_statement "uVar6 = uVar4;" (assignment_expression "uVar6 = uVar4" (identifier "uVar6") (= "=") (identifier "uVar4")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar5 < param_3)" (( "(") (binary_expression "uVar5 < param_3" (identifier "uVar5") (< "<") (identifier "param_3")) () ")")) (; ";")) (} "}")) (while "while") (parenthesized_expression "((param_3 == uVar5) && (uVar4 <= param_4))" (( "(") (binary_expression "(param_3 == uVar5) && (uVar4 <= param_4)" (parenthesized_expression "(param_3 == uVar5)" (( "(") (binary_expression "param_3 == uVar5" (identifier "param_3") (== "==") (identifier "uVar5")) () ")")) (&& "&&") (parenthesized_expression "(uVar4 <= param_4)" (( "(") (binary_expression "uVar4 <= param_4" (identifier "uVar4") (<= "<=") (identifier "param_4")) () ")"))) () ")")) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        } while (local_14 != 0);" (do "do") (compound_statement "{\n          uVar2 = uVar2 * 2;\n          uVar6 = uVar5 << 0x1f;\n          uVar5 = uVar5 >> 1;\n          uVar4 = uVar4 >> 1 | uVar6;\n          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }\n          local_14 = local_14 + -1;\n        }" ({ "{") (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" (identifier "uVar2") (= "=") (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2"))) (; ";")) (expression_statement "uVar6 = uVar5 << 0x1f;" (assignment_expression "uVar6 = uVar5 << 0x1f" (identifier "uVar6") (= "=") (binary_expression "uVar5 << 0x1f" (identifier "uVar5") (<< "<<") (number_literal "0x1f"))) (; ";")) (expression_statement "uVar5 = uVar5 >> 1;" (assignment_expression "uVar5 = uVar5 >> 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 >> 1" (identifier "uVar5") (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = uVar4 >> 1 | uVar6;" (assignment_expression "uVar4 = uVar4 >> 1 | uVar6" (identifier "uVar4") (= "=") (binary_expression "uVar4 >> 1 | uVar6" (binary_expression "uVar4 >> 1" (identifier "uVar4") (>> ">>") (number_literal "1")) (| "|") (identifier "uVar6"))) (; ";")) (if_statement "if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }" (if "if") (parenthesized_expression "((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4))))" (( "(") (binary_expression "(uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))" (parenthesized_expression "(uVar5 < param_3)" (( "(") (binary_expression "uVar5 < param_3" (identifier "uVar5") (< "<") (identifier "param_3")) () ")")) (|| "||") (parenthesized_expression "((uVar5 == param_3 && (uVar4 <= param_4)))" (( "(") (parenthesized_expression "(uVar5 == param_3 && (uVar4 <= param_4))" (( "(") (binary_expression "uVar5 == param_3 && (uVar4 <= param_4)" (binary_expression "uVar5 == param_3" (identifier "uVar5") (== "==") (identifier "param_3")) (&& "&&") (parenthesized_expression "(uVar4 <= param_4)" (( "(") (binary_expression "uVar4 <= param_4" (identifier "uVar4") (<= "<=") (identifier "param_4")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n            uVar2 = uVar2 | 1;\n            bVar7 = param_4 < uVar4;\n            param_4 = param_4 - uVar4;\n            param_3 = (param_3 - uVar5) - (uint)bVar7;\n          }" ({ "{") (expression_statement "uVar2 = uVar2 | 1;" (assignment_expression "uVar2 = uVar2 | 1" (identifier "uVar2") (= "=") (binary_expression "uVar2 | 1" (identifier "uVar2") (| "|") (number_literal "1"))) (; ";")) (expression_statement "bVar7 = param_4 < uVar4;" (assignment_expression "bVar7 = param_4 < uVar4" (identifier "bVar7") (= "=") (binary_expression "param_4 < uVar4" (identifier "param_4") (< "<") (identifier "uVar4"))) (; ";")) (expression_statement "param_4 = param_4 - uVar4;" (assignment_expression "param_4 = param_4 - uVar4" (identifier "param_4") (= "=") (binary_expression "param_4 - uVar4" (identifier "param_4") (- "-") (identifier "uVar4"))) (; ";")) (expression_statement "param_3 = (param_3 - uVar5) - (uint)bVar7;" (assignment_expression "param_3 = (param_3 - uVar5) - (uint)bVar7" (identifier "param_3") (= "=") (binary_expression "(param_3 - uVar5) - (uint)bVar7" (parenthesized_expression "(param_3 - uVar5)" (( "(") (binary_expression "param_3 - uVar5" (identifier "param_3") (- "-") (identifier "uVar5")) () ")")) (- "-") (cast_expression "(uint)bVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar7")))) (; ";")) (} "}"))) (expression_statement "local_14 = local_14 + -1;" (assignment_expression "local_14 = local_14 + -1" (identifier "local_14") (= "=") (binary_expression "local_14 + -1" (identifier "local_14") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_14 != 0)" (( "(") (binary_expression "local_14 != 0" (identifier "local_14") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")))) (if_statement "if (param_3 < 2) {\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }" (if "if") (parenthesized_expression "(param_3 < 2)" (( "(") (binary_expression "param_3 < 2" (identifier "param_3") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n        local_24 = local_24 + local_20 * uVar2;\n        local_1c = local_1c + uVar2 * local_18;\n        break;\n      }" ({ "{") (expression_statement "local_24 = local_24 + local_20 * uVar2;" (assignment_expression "local_24 = local_24 + local_20 * uVar2" (identifier "local_24") (= "=") (binary_expression "local_24 + local_20 * uVar2" (identifier "local_24") (+ "+") (binary_expression "local_20 * uVar2" (identifier "local_20") (* "*") (identifier "uVar2")))) (; ";")) (expression_statement "local_1c = local_1c + uVar2 * local_18;" (assignment_expression "local_1c = local_1c + uVar2 * local_18" (identifier "local_1c") (= "=") (binary_expression "local_1c + uVar2 * local_18" (identifier "local_1c") (+ "+") (binary_expression "uVar2 * local_18" (identifier "uVar2") (* "*") (identifier "local_18")))) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "local_24 = local_24 + local_20 * (uVar2 + 1);" (assignment_expression "local_24 = local_24 + local_20 * (uVar2 + 1)" (identifier "local_24") (= "=") (binary_expression "local_24 + local_20 * (uVar2 + 1)" (identifier "local_24") (+ "+") (binary_expression "local_20 * (uVar2 + 1)" (identifier "local_20") (* "*") (parenthesized_expression "(uVar2 + 1)" (( "(") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "local_1c = local_1c + (uVar2 + 1) * local_18;" (assignment_expression "local_1c = local_1c + (uVar2 + 1) * local_18" (identifier "local_1c") (= "=") (binary_expression "local_1c + (uVar2 + 1) * local_18" (identifier "local_1c") (+ "+") (binary_expression "(uVar2 + 1) * local_18" (parenthesized_expression "(uVar2 + 1)" (( "(") (binary_expression "uVar2 + 1" (identifier "uVar2") (+ "+") (number_literal "1")) () ")")) (* "*") (identifier "local_18")))) (; ";")) (} "}")) (else_clause "else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" (else "else") (compound_statement "{\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" ({ "{") (expression_statement "local_24 = local_24 + local_20;" (assignment_expression "local_24 = local_24 + local_20" (identifier "local_24") (= "=") (binary_expression "local_24 + local_20" (identifier "local_24") (+ "+") (identifier "local_20"))) (; ";")) (expression_statement "local_1c = local_1c + local_18;" (assignment_expression "local_1c = local_1c + local_18" (identifier "local_1c") (= "=") (binary_expression "local_1c + local_18" (identifier "local_1c") (+ "+") (identifier "local_18"))) (; ";")) (} "}")))) (} "}"))) (goto_statement "goto LAB_00058c82;" (goto "goto") (statement_identifier "LAB_00058c82") (; ";")) (labeled_statement "LAB_00058bcc:\n  uVar5 = uVar5 - uVar6;" (statement_identifier "LAB_00058bcc") (: ":") (expression_statement "uVar5 = uVar5 - uVar6;" (assignment_expression "uVar5 = uVar5 - uVar6" (identifier "uVar5") (= "=") (binary_expression "uVar5 - uVar6" (identifier "uVar5") (- "-") (identifier "uVar6"))) (; ";"))) (if_statement "if (0x1ffff < uVar5) {\n    if (uVar6 < uVar5) {\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar6 = uVar6 - uVar5;\n    if (uVar6 < 0x20000) goto LAB_00058c82;\n    if (uVar5 < uVar6) {\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }" (if "if") (parenthesized_expression "(0x1ffff < uVar5)" (( "(") (binary_expression "0x1ffff < uVar5" (number_literal "0x1ffff") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n    if (uVar6 < uVar5) {\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }\nLAB_00058ba7:\n    uVar6 = uVar6 - uVar5;\n    if (uVar6 < 0x20000) goto LAB_00058c82;\n    if (uVar5 < uVar6) {\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }\n    goto LAB_00058bcc;\n  }" ({ "{") (if_statement "if (uVar6 < uVar5) {\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }\n    else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" (if "if") (parenthesized_expression "(uVar6 < uVar5)" (( "(") (binary_expression "uVar6 < uVar5" (identifier "uVar6") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n      iVar3 = 0;\n      uVar2 = uVar6;\n      if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }\n      local_24 = local_24 + local_20 * (uVar4 + 1);\n      local_1c = local_1c + (uVar4 + 1) * local_18;\n    }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = uVar6;" (assignment_expression "uVar2 = uVar6" (identifier "uVar2") (= "=") (identifier "uVar6")) (; ";")) (if_statement "if ((int)uVar5 < 0) {\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" (if "if") (parenthesized_expression "((int)uVar5 < 0)" (( "(") (binary_expression "(int)uVar5 < 0" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" ({ "{") (if_statement "if ((int)uVar6 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" (if "if") (parenthesized_expression "((int)uVar6 < 0)" (( "(") (binary_expression "(int)uVar6 < 0" (cast_expression "(int)uVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar6")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          iVar3 = 1;\n        }" ({ "{") (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" (identifier "iVar3") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" (else "else") (compound_statement "{\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" ({ "{") (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" (identifier "iVar3") (= "=") (number_literal "1")) (; ";")) (do_statement "do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);" (do "do") (compound_statement "{\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          }" ({ "{") (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" (identifier "uVar2") (= "=") (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(-1 < (int)uVar2)" (( "(") (binary_expression "-1 < (int)uVar2" (number_literal "-1") (< "<") (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2"))) () ")")) (; ";")) (} "}")))) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" (do "do") (compound_statement "{\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        }" ({ "{") (expression_statement "uVar4 = uVar4 * 2;" (assignment_expression "uVar4 = uVar4 * 2" (identifier "uVar4") (= "=") (binary_expression "uVar4 * 2" (identifier "uVar4") (* "*") (number_literal "2"))) (; ";")) (if_statement "if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" (if "if") (parenthesized_expression "(uVar2 <= uVar5)" (( "(") (binary_expression "uVar2 <= uVar5" (identifier "uVar2") (<= "<=") (identifier "uVar5")) () ")")) (compound_statement "{\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" ({ "{") (expression_statement "uVar5 = uVar5 - uVar2;" (assignment_expression "uVar5 = uVar5 - uVar2" (identifier "uVar5") (= "=") (binary_expression "uVar5 - uVar2" (identifier "uVar5") (- "-") (identifier "uVar2"))) (; ";")) (expression_statement "uVar4 = uVar4 | 1;" (assignment_expression "uVar4 = uVar4 | 1" (identifier "uVar4") (= "=") (binary_expression "uVar4 | 1" (identifier "uVar4") (| "|") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar2 = uVar2 >> 1;" (assignment_expression "uVar2 = uVar2 >> 1" (identifier "uVar2") (= "=") (binary_expression "uVar2 >> 1" (identifier "uVar2") (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")) (else_clause "else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" (else "else") (compound_statement "{\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" ({ "{") (do_statement "do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar5);" (do "do") (compound_statement "{\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        }" ({ "{") (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" (identifier "uVar2") (= "=") (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2"))) (; ";")) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar2 <= uVar5)" (( "(") (binary_expression "uVar2 <= uVar5" (identifier "uVar2") (<= "<=") (identifier "uVar5")) () ")")) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" (do "do") (compound_statement "{\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        }" ({ "{") (expression_statement "uVar2 = uVar2 >> 1;" (assignment_expression "uVar2 = uVar2 >> 1" (identifier "uVar2") (= "=") (binary_expression "uVar2 >> 1" (identifier "uVar2") (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = uVar4 * 2;" (assignment_expression "uVar4 = uVar4 * 2" (identifier "uVar4") (= "=") (binary_expression "uVar4 * 2" (identifier "uVar4") (* "*") (number_literal "2"))) (; ";")) (if_statement "if (uVar2 <= uVar5) {\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" (if "if") (parenthesized_expression "(uVar2 <= uVar5)" (( "(") (binary_expression "uVar2 <= uVar5" (identifier "uVar2") (<= "<=") (identifier "uVar5")) () ")")) (compound_statement "{\n            uVar5 = uVar5 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" ({ "{") (expression_statement "uVar5 = uVar5 - uVar2;" (assignment_expression "uVar5 = uVar5 - uVar2" (identifier "uVar5") (= "=") (binary_expression "uVar5 - uVar2" (identifier "uVar5") (- "-") (identifier "uVar2"))) (; ";")) (expression_statement "uVar4 = uVar4 | 1;" (assignment_expression "uVar4 = uVar4 | 1" (identifier "uVar4") (= "=") (binary_expression "uVar4 | 1" (identifier "uVar4") (| "|") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")))) (if_statement "if (uVar5 < 0x20000) {\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }" (if "if") (parenthesized_expression "(uVar5 < 0x20000)" (( "(") (binary_expression "uVar5 < 0x20000" (identifier "uVar5") (< "<") (number_literal "0x20000")) () ")")) (compound_statement "{\n        local_24 = local_24 + local_20 * uVar4;\n        local_1c = local_1c + uVar4 * local_18;\n        goto LAB_00058c82;\n      }" ({ "{") (expression_statement "local_24 = local_24 + local_20 * uVar4;" (assignment_expression "local_24 = local_24 + local_20 * uVar4" (identifier "local_24") (= "=") (binary_expression "local_24 + local_20 * uVar4" (identifier "local_24") (+ "+") (binary_expression "local_20 * uVar4" (identifier "local_20") (* "*") (identifier "uVar4")))) (; ";")) (expression_statement "local_1c = local_1c + uVar4 * local_18;" (assignment_expression "local_1c = local_1c + uVar4 * local_18" (identifier "local_1c") (= "=") (binary_expression "local_1c + uVar4 * local_18" (identifier "local_1c") (+ "+") (binary_expression "uVar4 * local_18" (identifier "uVar4") (* "*") (identifier "local_18")))) (; ";")) (goto_statement "goto LAB_00058c82;" (goto "goto") (statement_identifier "LAB_00058c82") (; ";")) (} "}"))) (expression_statement "local_24 = local_24 + local_20 * (uVar4 + 1);" (assignment_expression "local_24 = local_24 + local_20 * (uVar4 + 1)" (identifier "local_24") (= "=") (binary_expression "local_24 + local_20 * (uVar4 + 1)" (identifier "local_24") (+ "+") (binary_expression "local_20 * (uVar4 + 1)" (identifier "local_20") (* "*") (parenthesized_expression "(uVar4 + 1)" (( "(") (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "local_1c = local_1c + (uVar4 + 1) * local_18;" (assignment_expression "local_1c = local_1c + (uVar4 + 1) * local_18" (identifier "local_1c") (= "=") (binary_expression "local_1c + (uVar4 + 1) * local_18" (identifier "local_1c") (+ "+") (binary_expression "(uVar4 + 1) * local_18" (parenthesized_expression "(uVar4 + 1)" (( "(") (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1")) () ")")) (* "*") (identifier "local_18")))) (; ";")) (} "}")) (else_clause "else {\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" (else "else") (compound_statement "{\n      local_24 = local_24 + local_20;\n      local_1c = local_1c + local_18;\n    }" ({ "{") (expression_statement "local_24 = local_24 + local_20;" (assignment_expression "local_24 = local_24 + local_20" (identifier "local_24") (= "=") (binary_expression "local_24 + local_20" (identifier "local_24") (+ "+") (identifier "local_20"))) (; ";")) (expression_statement "local_1c = local_1c + local_18;" (assignment_expression "local_1c = local_1c + local_18" (identifier "local_1c") (= "=") (binary_expression "local_1c + local_18" (identifier "local_1c") (+ "+") (identifier "local_18"))) (; ";")) (} "}")))) (labeled_statement "LAB_00058ba7:\n    uVar6 = uVar6 - uVar5;" (statement_identifier "LAB_00058ba7") (: ":") (expression_statement "uVar6 = uVar6 - uVar5;" (assignment_expression "uVar6 = uVar6 - uVar5" (identifier "uVar6") (= "=") (binary_expression "uVar6 - uVar5" (identifier "uVar6") (- "-") (identifier "uVar5"))) (; ";"))) (if_statement "if (uVar6 < 0x20000) goto LAB_00058c82;" (if "if") (parenthesized_expression "(uVar6 < 0x20000)" (( "(") (binary_expression "uVar6 < 0x20000" (identifier "uVar6") (< "<") (number_literal "0x20000")) () ")")) (goto_statement "goto LAB_00058c82;" (goto "goto") (statement_identifier "LAB_00058c82") (; ";"))) (if_statement "if (uVar5 < uVar6) {\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }\n    else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }" (if "if") (parenthesized_expression "(uVar5 < uVar6)" (( "(") (binary_expression "uVar5 < uVar6" (identifier "uVar5") (< "<") (identifier "uVar6")) () ")")) (compound_statement "{\n      iVar3 = 0;\n      uVar2 = uVar5;\n      if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }\n      local_20 = local_20 + local_24 * (uVar4 + 1);\n      local_18 = local_18 + (uVar4 + 1) * local_1c;\n    }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = uVar5;" (assignment_expression "uVar2 = uVar5" (identifier "uVar2") (= "=") (identifier "uVar5")) (; ";")) (if_statement "if ((int)uVar6 < 0) {\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }\n      else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" (if "if") (parenthesized_expression "((int)uVar6 < 0)" (( "(") (binary_expression "(int)uVar6 < 0" (cast_expression "(int)uVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar6")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }\n        uVar4 = 0;\n        do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" ({ "{") (if_statement "if ((int)uVar5 < 0) {\n          iVar3 = 1;\n        }\n        else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" (if "if") (parenthesized_expression "((int)uVar5 < 0)" (( "(") (binary_expression "(int)uVar5 < 0" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          iVar3 = 1;\n        }" ({ "{") (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" (identifier "iVar3") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" (else "else") (compound_statement "{\n          iVar3 = 1;\n          do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);\n        }" ({ "{") (expression_statement "iVar3 = 1;" (assignment_expression "iVar3 = 1" (identifier "iVar3") (= "=") (number_literal "1")) (; ";")) (do_statement "do {\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          } while (-1 < (int)uVar2);" (do "do") (compound_statement "{\n            iVar3 = iVar3 + 1;\n            uVar2 = uVar2 * 2;\n          }" ({ "{") (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" (identifier "uVar2") (= "=") (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(-1 < (int)uVar2)" (( "(") (binary_expression "-1 < (int)uVar2" (number_literal "-1") (< "<") (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2"))) () ")")) (; ";")) (} "}")))) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" (do "do") (compound_statement "{\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          uVar2 = uVar2 >> 1;\n          iVar3 = iVar3 + -1;\n        }" ({ "{") (expression_statement "uVar4 = uVar4 * 2;" (assignment_expression "uVar4 = uVar4 * 2" (identifier "uVar4") (= "=") (binary_expression "uVar4 * 2" (identifier "uVar4") (* "*") (number_literal "2"))) (; ";")) (if_statement "if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" (if "if") (parenthesized_expression "(uVar2 <= uVar6)" (( "(") (binary_expression "uVar2 <= uVar6" (identifier "uVar2") (<= "<=") (identifier "uVar6")) () ")")) (compound_statement "{\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" ({ "{") (expression_statement "uVar6 = uVar6 - uVar2;" (assignment_expression "uVar6 = uVar6 - uVar2" (identifier "uVar6") (= "=") (binary_expression "uVar6 - uVar2" (identifier "uVar6") (- "-") (identifier "uVar2"))) (; ";")) (expression_statement "uVar4 = uVar4 | 1;" (assignment_expression "uVar4 = uVar4 | 1" (identifier "uVar4") (= "=") (binary_expression "uVar4 | 1" (identifier "uVar4") (| "|") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar2 = uVar2 >> 1;" (assignment_expression "uVar2 = uVar2 >> 1" (identifier "uVar2") (= "=") (binary_expression "uVar2 >> 1" (identifier "uVar2") (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")) (else_clause "else {\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" (else "else") (compound_statement "{\n        do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);\n        uVar4 = 0;\n        do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);\n      }" ({ "{") (do_statement "do {\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        } while (uVar2 <= uVar6);" (do "do") (compound_statement "{\n          uVar2 = uVar2 * 2;\n          iVar3 = iVar3 + 1;\n        }" ({ "{") (expression_statement "uVar2 = uVar2 * 2;" (assignment_expression "uVar2 = uVar2 * 2" (identifier "uVar2") (= "=") (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2"))) (; ";")) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar2 <= uVar6)" (( "(") (binary_expression "uVar2 <= uVar6" (identifier "uVar2") (<= "<=") (identifier "uVar6")) () ")")) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        } while (iVar3 != 0);" (do "do") (compound_statement "{\n          uVar2 = uVar2 >> 1;\n          uVar4 = uVar4 * 2;\n          if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }\n          iVar3 = iVar3 + -1;\n        }" ({ "{") (expression_statement "uVar2 = uVar2 >> 1;" (assignment_expression "uVar2 = uVar2 >> 1" (identifier "uVar2") (= "=") (binary_expression "uVar2 >> 1" (identifier "uVar2") (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = uVar4 * 2;" (assignment_expression "uVar4 = uVar4 * 2" (identifier "uVar4") (= "=") (binary_expression "uVar4 * 2" (identifier "uVar4") (* "*") (number_literal "2"))) (; ";")) (if_statement "if (uVar2 <= uVar6) {\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" (if "if") (parenthesized_expression "(uVar2 <= uVar6)" (( "(") (binary_expression "uVar2 <= uVar6" (identifier "uVar2") (<= "<=") (identifier "uVar6")) () ")")) (compound_statement "{\n            uVar6 = uVar6 - uVar2;\n            uVar4 = uVar4 | 1;\n          }" ({ "{") (expression_statement "uVar6 = uVar6 - uVar2;" (assignment_expression "uVar6 = uVar6 - uVar2" (identifier "uVar6") (= "=") (binary_expression "uVar6 - uVar2" (identifier "uVar6") (- "-") (identifier "uVar2"))) (; ";")) (expression_statement "uVar4 = uVar4 | 1;" (assignment_expression "uVar4 = uVar4 | 1" (identifier "uVar4") (= "=") (binary_expression "uVar4 | 1" (identifier "uVar4") (| "|") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")))) (if_statement "if (uVar6 < 0x20000) {\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }" (if "if") (parenthesized_expression "(uVar6 < 0x20000)" (( "(") (binary_expression "uVar6 < 0x20000" (identifier "uVar6") (< "<") (number_literal "0x20000")) () ")")) (compound_statement "{\n        local_20 = local_20 + local_24 * uVar4;\n        local_18 = local_18 + uVar4 * local_1c;\n        goto LAB_00058c82;\n      }" ({ "{") (expression_statement "local_20 = local_20 + local_24 * uVar4;" (assignment_expression "local_20 = local_20 + local_24 * uVar4" (identifier "local_20") (= "=") (binary_expression "local_20 + local_24 * uVar4" (identifier "local_20") (+ "+") (binary_expression "local_24 * uVar4" (identifier "local_24") (* "*") (identifier "uVar4")))) (; ";")) (expression_statement "local_18 = local_18 + uVar4 * local_1c;" (assignment_expression "local_18 = local_18 + uVar4 * local_1c" (identifier "local_18") (= "=") (binary_expression "local_18 + uVar4 * local_1c" (identifier "local_18") (+ "+") (binary_expression "uVar4 * local_1c" (identifier "uVar4") (* "*") (identifier "local_1c")))) (; ";")) (goto_statement "goto LAB_00058c82;" (goto "goto") (statement_identifier "LAB_00058c82") (; ";")) (} "}"))) (expression_statement "local_20 = local_20 + local_24 * (uVar4 + 1);" (assignment_expression "local_20 = local_20 + local_24 * (uVar4 + 1)" (identifier "local_20") (= "=") (binary_expression "local_20 + local_24 * (uVar4 + 1)" (identifier "local_20") (+ "+") (binary_expression "local_24 * (uVar4 + 1)" (identifier "local_24") (* "*") (parenthesized_expression "(uVar4 + 1)" (( "(") (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "local_18 = local_18 + (uVar4 + 1) * local_1c;" (assignment_expression "local_18 = local_18 + (uVar4 + 1) * local_1c" (identifier "local_18") (= "=") (binary_expression "local_18 + (uVar4 + 1) * local_1c" (identifier "local_18") (+ "+") (binary_expression "(uVar4 + 1) * local_1c" (parenthesized_expression "(uVar4 + 1)" (( "(") (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1")) () ")")) (* "*") (identifier "local_1c")))) (; ";")) (} "}")) (else_clause "else {\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }" (else "else") (compound_statement "{\n      local_20 = local_20 + local_24;\n      local_18 = local_18 + local_1c;\n    }" ({ "{") (expression_statement "local_20 = local_20 + local_24;" (assignment_expression "local_20 = local_20 + local_24" (identifier "local_20") (= "=") (binary_expression "local_20 + local_24" (identifier "local_20") (+ "+") (identifier "local_24"))) (; ";")) (expression_statement "local_18 = local_18 + local_1c;" (assignment_expression "local_18 = local_18 + local_1c" (identifier "local_18") (= "=") (binary_expression "local_18 + local_1c" (identifier "local_18") (+ "+") (identifier "local_1c"))) (; ";")) (} "}")))) (goto_statement "goto LAB_00058bcc;" (goto "goto") (statement_identifier "LAB_00058bcc") (; ";")) (} "}"))) (labeled_statement "LAB_00058c82:\n  *param_5 = local_24;" (statement_identifier "LAB_00058c82") (: ":") (expression_statement "*param_5 = local_24;" (assignment_expression "*param_5 = local_24" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (= "=") (identifier "local_24")) (; ";"))) (expression_statement "param_5[1] = local_20;" (assignment_expression "param_5[1] = local_20" (subscript_expression "param_5[1]" (identifier "param_5") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_20")) (; ";")) (expression_statement "param_5[2] = local_1c;" (assignment_expression "param_5[2] = local_1c" (subscript_expression "param_5[2]" (identifier "param_5") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_1c")) (; ";")) (expression_statement "param_5[3] = local_18;" (assignment_expression "param_5[3] = local_18" (subscript_expression "param_5[3]" (identifier "param_5") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "local_18")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

int function_1(type_1 var_1,type_1 var_4,type_1 var_2,type_1 var_3,type_2 *M)

{
  type_1 var_15;
  type_3 var_8;
  type_1 var_10;
  int var_5;
  type_3 var_9;
  type_3 var_6;
  type_3 var_7;
  bool bVar8;
  type_1 var_12;
  type_1 var_11;
  type_1 var_14;
  type_1 var_13;
  int var_16;
  
  if ((var_1 < 2) || (var_2 < 2)) {
    return 0;
  }
  if ((var_2 < var_1) || ((var_1 == var_2 && (var_3 < var_4)))) {
    bVar8 = var_4 < var_3;
    var_4 = var_4 - var_3;
    var_1 = (var_1 - var_2) - (type_3)bVar8;
    if (var_1 < 2) {
      return 0;
    }
    var_14 = 0;
    var_11 = 1;
  }
  else {
    bVar8 = var_3 < var_4;
    var_3 = var_3 - var_4;
    var_2 = (var_2 - var_1) - (type_3)bVar8;
    if (var_2 < 2) {
      return 0;
    }
    var_14 = 1;
    var_11 = 0;
  }
  var_13 = 1;
  var_12 = 1;
  if (var_1 < var_2) goto LAB_00058cb0;
  while (var_1 != var_2) {
    if (var_1 < 0x10000) {
      var_7 = (var_4 >> 0x10) + var_1 * 0x10000;
      var_6 = (var_3 >> 0x10) + var_2 * 0x10000;
      goto LAB_00058ba7;
    }
    bVar8 = var_4 < var_3;
    var_4 = var_4 - var_3;
    var_1 = (var_1 - var_2) - (type_3)bVar8;
    if (var_1 < 2) break;
    var_10 = var_12;
    var_15 = var_14;
    if (var_2 < var_1) {
      if ((int)var_1 < 0) {
        var_5 = 1;
        var_6 = var_2;
        var_7 = var_3;
        while (-1 < (int)var_6) {
          var_5 = var_5 + 1;
          var_6 = var_6 * 2 | var_7 >> 0x1f;
          var_7 = var_7 * 2;
        }
        var_8 = 0;
        do {
          var_8 = var_8 * 2;
          if ((var_6 < var_1) || ((var_1 == var_6 && (var_7 <= var_4)))) {
            var_8 = var_8 | 1;
            bVar8 = var_4 < var_7;
            var_4 = var_4 - var_7;
            var_1 = (var_1 - var_6) - (type_3)bVar8;
          }
          var_9 = var_6 << 0x1f;
          var_6 = var_6 >> 1;
          var_7 = var_7 >> 1 | var_9;
          var_5 = var_5 + -1;
        } while (var_5 != 0);
      }
      else {
        var_5 = 0;
        var_6 = var_2;
        var_10 = var_3;
        do {
          do {
            var_7 = var_10 * 2;
            var_5 = var_5 + 1;
            var_6 = var_6 * 2 | var_10 >> 0x1f;
            var_10 = var_7;
          } while (var_6 < var_1);
        } while ((var_1 == var_6) && (var_7 <= var_4));
        var_8 = 0;
        do {
          var_8 = var_8 * 2;
          var_9 = var_6 << 0x1f;
          var_6 = var_6 >> 1;
          var_7 = var_7 >> 1 | var_9;
          if ((var_6 < var_1) || ((var_6 == var_1 && (var_7 <= var_4)))) {
            var_8 = var_8 | 1;
            bVar8 = var_4 < var_7;
            var_4 = var_4 - var_7;
            var_1 = (var_1 - var_6) - (type_3)bVar8;
          }
          var_5 = var_5 + -1;
        } while (var_5 != 0);
      }
      if (var_1 < 2) {
        var_11 = var_11 + var_12 * var_8;
        var_13 = var_13 + var_8 * var_14;
        break;
      }
      var_10 = var_12 * (var_8 + 1);
      var_15 = (var_8 + 1) * var_14;
    }
    var_13 = var_13 + var_15;
    var_11 = var_11 + var_10;
    if (var_1 == var_2) break;
LAB_00058cb0:
    if (var_2 < 0x10000) {
      var_7 = (var_4 >> 0x10) + var_1 * 0x10000;
      var_6 = (var_3 >> 0x10) + var_2 * 0x10000;
      goto LAB_00058bcc;
    }
    bVar8 = var_3 < var_4;
    var_3 = var_3 - var_4;
    var_2 = (var_2 - var_1) - (type_3)bVar8;
    if (var_2 < 2) break;
    if (var_1 < var_2) {
      if ((int)var_2 < 0) {
        var_5 = 1;
        var_6 = var_1;
        var_7 = var_4;
        while (-1 < (int)var_6) {
          var_5 = var_5 + 1;
          var_6 = var_6 * 2 | var_7 >> 0x1f;
          var_7 = var_7 * 2;
        }
        var_8 = 0;
        do {
          var_8 = var_8 * 2;
          if ((var_6 < var_2) || ((var_2 == var_6 && (var_7 <= var_3)))) {
            var_8 = var_8 | 1;
            bVar8 = var_3 < var_7;
            var_3 = var_3 - var_7;
            var_2 = (var_2 - var_6) - (type_3)bVar8;
          }
          var_9 = var_6 << 0x1f;
          var_6 = var_6 >> 1;
          var_7 = var_7 >> 1 | var_9;
          var_5 = var_5 + -1;
        } while (var_5 != 0);
      }
      else {
        var_16 = 0;
        var_6 = var_1;
        var_10 = var_4;
        do {
          do {
            var_7 = var_10 * 2;
            var_16 = var_16 + 1;
            var_6 = var_6 * 2 | var_10 >> 0x1f;
            var_10 = var_7;
          } while (var_6 < var_2);
        } while ((var_2 == var_6) && (var_7 <= var_3));
        var_8 = 0;
        do {
          var_8 = var_8 * 2;
          var_9 = var_6 << 0x1f;
          var_6 = var_6 >> 1;
          var_7 = var_7 >> 1 | var_9;
          if ((var_6 < var_2) || ((var_6 == var_2 && (var_7 <= var_3)))) {
            var_8 = var_8 | 1;
            bVar8 = var_3 < var_7;
            var_3 = var_3 - var_7;
            var_2 = (var_2 - var_6) - (type_3)bVar8;
          }
          var_16 = var_16 + -1;
        } while (var_16 != 0);
      }
      if (var_2 < 2) {
        var_12 = var_12 + var_11 * var_8;
        var_14 = var_14 + var_8 * var_13;
        break;
      }
      var_12 = var_12 + var_11 * (var_8 + 1);
      var_14 = var_14 + (var_8 + 1) * var_13;
    }
    else {
      var_12 = var_12 + var_11;
      var_14 = var_14 + var_13;
    }
  }
  goto LAB_00058c82;
LAB_00058bcc:
  var_6 = var_6 - var_7;
  if (0x1ffff < var_6) {
    if (var_7 < var_6) {
      var_5 = 0;
      var_8 = var_7;
      if ((int)var_6 < 0) {
        if ((int)var_7 < 0) {
          var_5 = 1;
        }
        else {
          var_5 = 1;
          do {
            var_5 = var_5 + 1;
            var_8 = var_8 * 2;
          } while (-1 < (int)var_8);
        }
        var_9 = 0;
        do {
          var_9 = var_9 * 2;
          if (var_8 <= var_6) {
            var_6 = var_6 - var_8;
            var_9 = var_9 | 1;
          }
          var_8 = var_8 >> 1;
          var_5 = var_5 + -1;
        } while (var_5 != 0);
      }
      else {
        do {
          var_8 = var_8 * 2;
          var_5 = var_5 + 1;
        } while (var_8 <= var_6);
        var_9 = 0;
        do {
          var_8 = var_8 >> 1;
          var_9 = var_9 * 2;
          if (var_8 <= var_6) {
            var_6 = var_6 - var_8;
            var_9 = var_9 | 1;
          }
          var_5 = var_5 + -1;
        } while (var_5 != 0);
      }
      if (var_6 < 0x20000) {
        var_12 = var_12 + var_11 * var_9;
        var_14 = var_14 + var_9 * var_13;
        goto LAB_00058c82;
      }
      var_12 = var_12 + var_11 * (var_9 + 1);
      var_14 = var_14 + (var_9 + 1) * var_13;
    }
    else {
      var_12 = var_12 + var_11;
      var_14 = var_14 + var_13;
    }
LAB_00058ba7:
    var_7 = var_7 - var_6;
    if (var_7 < 0x20000) goto LAB_00058c82;
    if (var_6 < var_7) {
      var_5 = 0;
      var_8 = var_6;
      if ((int)var_7 < 0) {
        if ((int)var_6 < 0) {
          var_5 = 1;
        }
        else {
          var_5 = 1;
          do {
            var_5 = var_5 + 1;
            var_8 = var_8 * 2;
          } while (-1 < (int)var_8);
        }
        var_9 = 0;
        do {
          var_9 = var_9 * 2;
          if (var_8 <= var_7) {
            var_7 = var_7 - var_8;
            var_9 = var_9 | 1;
          }
          var_8 = var_8 >> 1;
          var_5 = var_5 + -1;
        } while (var_5 != 0);
      }
      else {
        do {
          var_8 = var_8 * 2;
          var_5 = var_5 + 1;
        } while (var_8 <= var_7);
        var_9 = 0;
        do {
          var_8 = var_8 >> 1;
          var_9 = var_9 * 2;
          if (var_8 <= var_7) {
            var_7 = var_7 - var_8;
            var_9 = var_9 | 1;
          }
          var_5 = var_5 + -1;
        } while (var_5 != 0);
      }
      if (var_7 < 0x20000) {
        var_11 = var_11 + var_12 * var_9;
        var_13 = var_13 + var_9 * var_14;
        goto LAB_00058c82;
      }
      var_11 = var_11 + var_12 * (var_9 + 1);
      var_13 = var_13 + (var_9 + 1) * var_14;
    }
    else {
      var_11 = var_11 + var_12;
      var_13 = var_13 + var_14;
    }
    goto LAB_00058bcc;
  }
LAB_00058c82:
  M->u[0][0] = var_12;
  M->u[0][1] = var_11;
  M->u[1][0] = var_14;
  M->u[1][1] = var_13;
  return 1;
}


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

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

{
  int iVar1;
  uint uVar2;
  int iVar3;
  uint uVar4;
  uint uVar5;
  uint uVar6;
  bool bVar7;
  int local_24;
  int local_20;
  int local_1c;
  int local_18;
  int local_14;
  
  if ((param_1 < 2) || (param_3 < 2)) {
    return 0;
  }
  if ((param_3 < param_1) || ((param_1 == param_3 && (param_4 < param_2)))) {
    bVar7 = param_2 < param_4;
    param_2 = param_2 - param_4;
    param_1 = (param_1 - param_3) - (uint)bVar7;
    if (param_1 < 2) {
      return 0;
    }
    local_1c = 0;
    local_20 = 1;
  }
  else {
    bVar7 = param_4 < param_2;
    param_4 = param_4 - param_2;
    param_3 = (param_3 - param_1) - (uint)bVar7;
    if (param_3 < 2) {
      return 0;
    }
    local_1c = 1;
    local_20 = 0;
  }
  local_18 = 1;
  local_24 = 1;
  if (param_1 < param_3) goto LAB_00058cb0;
  while (param_1 != param_3) {
    if (param_1 < 0x10000) {
      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;
      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;
      goto LAB_00058ba7;
    }
    bVar7 = param_2 < param_4;
    param_2 = param_2 - param_4;
    param_1 = (param_1 - param_3) - (uint)bVar7;
    if (param_1 < 2) break;
    iVar3 = local_24;
    iVar1 = local_1c;
    if (param_3 < param_1) {
      if ((int)param_1 < 0) {
        iVar3 = 1;
        uVar5 = param_3;
        uVar6 = param_4;
        while (-1 < (int)uVar5) {
          iVar3 = iVar3 + 1;
          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;
          uVar6 = uVar6 * 2;
        }
        uVar2 = 0;
        do {
          uVar2 = uVar2 * 2;
          if ((uVar5 < param_1) || ((param_1 == uVar5 && (uVar6 <= param_2)))) {
            uVar2 = uVar2 | 1;
            bVar7 = param_2 < uVar6;
            param_2 = param_2 - uVar6;
            param_1 = (param_1 - uVar5) - (uint)bVar7;
          }
          uVar4 = uVar5 << 0x1f;
          uVar5 = uVar5 >> 1;
          uVar6 = uVar6 >> 1 | uVar4;
          iVar3 = iVar3 + -1;
        } while (iVar3 != 0);
      }
      else {
        iVar3 = 0;
        uVar5 = param_3;
        uVar6 = param_4;
        do {
          do {
            uVar4 = uVar6 * 2;
            iVar3 = iVar3 + 1;
            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;
            uVar6 = uVar4;
          } while (uVar5 < param_1);
        } while ((param_1 == uVar5) && (uVar4 <= param_2));
        uVar2 = 0;
        do {
          uVar2 = uVar2 * 2;
          uVar6 = uVar5 << 0x1f;
          uVar5 = uVar5 >> 1;
          uVar4 = uVar4 >> 1 | uVar6;
          if ((uVar5 < param_1) || ((uVar5 == param_1 && (uVar4 <= param_2)))) {
            uVar2 = uVar2 | 1;
            bVar7 = param_2 < uVar4;
            param_2 = param_2 - uVar4;
            param_1 = (param_1 - uVar5) - (uint)bVar7;
          }
          iVar3 = iVar3 + -1;
        } while (iVar3 != 0);
      }
      if (param_1 < 2) {
        local_20 = local_20 + local_24 * uVar2;
        local_18 = local_18 + uVar2 * local_1c;
        break;
      }
      iVar3 = local_24 * (uVar2 + 1);
      iVar1 = (uVar2 + 1) * local_1c;
    }
    local_18 = local_18 + iVar1;
    local_20 = local_20 + iVar3;
    if (param_1 == param_3) break;
LAB_00058cb0:
    if (param_3 < 0x10000) {
      uVar6 = (param_2 >> 0x10) + param_1 * 0x10000;
      uVar5 = (param_4 >> 0x10) + param_3 * 0x10000;
      goto LAB_00058bcc;
    }
    bVar7 = param_4 < param_2;
    param_4 = param_4 - param_2;
    param_3 = (param_3 - param_1) - (uint)bVar7;
    if (param_3 < 2) break;
    if (param_1 < param_3) {
      if ((int)param_3 < 0) {
        iVar3 = 1;
        uVar5 = param_1;
        uVar6 = param_2;
        while (-1 < (int)uVar5) {
          iVar3 = iVar3 + 1;
          uVar5 = uVar5 * 2 | uVar6 >> 0x1f;
          uVar6 = uVar6 * 2;
        }
        uVar2 = 0;
        do {
          uVar2 = uVar2 * 2;
          if ((uVar5 < param_3) || ((param_3 == uVar5 && (uVar6 <= param_4)))) {
            uVar2 = uVar2 | 1;
            bVar7 = param_4 < uVar6;
            param_4 = param_4 - uVar6;
            param_3 = (param_3 - uVar5) - (uint)bVar7;
          }
          uVar4 = uVar5 << 0x1f;
          uVar5 = uVar5 >> 1;
          uVar6 = uVar6 >> 1 | uVar4;
          iVar3 = iVar3 + -1;
        } while (iVar3 != 0);
      }
      else {
        local_14 = 0;
        uVar5 = param_1;
        uVar6 = param_2;
        do {
          do {
            uVar4 = uVar6 * 2;
            local_14 = local_14 + 1;
            uVar5 = uVar5 * 2 | uVar6 >> 0x1f;
            uVar6 = uVar4;
          } while (uVar5 < param_3);
        } while ((param_3 == uVar5) && (uVar4 <= param_4));
        uVar2 = 0;
        do {
          uVar2 = uVar2 * 2;
          uVar6 = uVar5 << 0x1f;
          uVar5 = uVar5 >> 1;
          uVar4 = uVar4 >> 1 | uVar6;
          if ((uVar5 < param_3) || ((uVar5 == param_3 && (uVar4 <= param_4)))) {
            uVar2 = uVar2 | 1;
            bVar7 = param_4 < uVar4;
            param_4 = param_4 - uVar4;
            param_3 = (param_3 - uVar5) - (uint)bVar7;
          }
          local_14 = local_14 + -1;
        } while (local_14 != 0);
      }
      if (param_3 < 2) {
        local_24 = local_24 + local_20 * uVar2;
        local_1c = local_1c + uVar2 * local_18;
        break;
      }
      local_24 = local_24 + local_20 * (uVar2 + 1);
      local_1c = local_1c + (uVar2 + 1) * local_18;
    }
    else {
      local_24 = local_24 + local_20;
      local_1c = local_1c + local_18;
    }
  }
  goto LAB_00058c82;
LAB_00058bcc:
  uVar5 = uVar5 - uVar6;
  if (0x1ffff < uVar5) {
    if (uVar6 < uVar5) {
      iVar3 = 0;
      uVar2 = uVar6;
      if ((int)uVar5 < 0) {
        if ((int)uVar6 < 0) {
          iVar3 = 1;
        }
        else {
          iVar3 = 1;
          do {
            iVar3 = iVar3 + 1;
            uVar2 = uVar2 * 2;
          } while (-1 < (int)uVar2);
        }
        uVar4 = 0;
        do {
          uVar4 = uVar4 * 2;
          if (uVar2 <= uVar5) {
            uVar5 = uVar5 - uVar2;
            uVar4 = uVar4 | 1;
          }
          uVar2 = uVar2 >> 1;
          iVar3 = iVar3 + -1;
        } while (iVar3 != 0);
      }
      else {
        do {
          uVar2 = uVar2 * 2;
          iVar3 = iVar3 + 1;
        } while (uVar2 <= uVar5);
        uVar4 = 0;
        do {
          uVar2 = uVar2 >> 1;
          uVar4 = uVar4 * 2;
          if (uVar2 <= uVar5) {
            uVar5 = uVar5 - uVar2;
            uVar4 = uVar4 | 1;
          }
          iVar3 = iVar3 + -1;
        } while (iVar3 != 0);
      }
      if (uVar5 < 0x20000) {
        local_24 = local_24 + local_20 * uVar4;
        local_1c = local_1c + uVar4 * local_18;
        goto LAB_00058c82;
      }
      local_24 = local_24 + local_20 * (uVar4 + 1);
      local_1c = local_1c + (uVar4 + 1) * local_18;
    }
    else {
      local_24 = local_24 + local_20;
      local_1c = local_1c + local_18;
    }
LAB_00058ba7:
    uVar6 = uVar6 - uVar5;
    if (uVar6 < 0x20000) goto LAB_00058c82;
    if (uVar5 < uVar6) {
      iVar3 = 0;
      uVar2 = uVar5;
      if ((int)uVar6 < 0) {
        if ((int)uVar5 < 0) {
          iVar3 = 1;
        }
        else {
          iVar3 = 1;
          do {
            iVar3 = iVar3 + 1;
            uVar2 = uVar2 * 2;
          } while (-1 < (int)uVar2);
        }
        uVar4 = 0;
        do {
          uVar4 = uVar4 * 2;
          if (uVar2 <= uVar6) {
            uVar6 = uVar6 - uVar2;
            uVar4 = uVar4 | 1;
          }
          uVar2 = uVar2 >> 1;
          iVar3 = iVar3 + -1;
        } while (iVar3 != 0);
      }
      else {
        do {
          uVar2 = uVar2 * 2;
          iVar3 = iVar3 + 1;
        } while (uVar2 <= uVar6);
        uVar4 = 0;
        do {
          uVar2 = uVar2 >> 1;
          uVar4 = uVar4 * 2;
          if (uVar2 <= uVar6) {
            uVar6 = uVar6 - uVar2;
            uVar4 = uVar4 | 1;
          }
          iVar3 = iVar3 + -1;
        } while (iVar3 != 0);
      }
      if (uVar6 < 0x20000) {
        local_20 = local_20 + local_24 * uVar4;
        local_18 = local_18 + uVar4 * local_1c;
        goto LAB_00058c82;
      }
      local_20 = local_20 + local_24 * (uVar4 + 1);
      local_18 = local_18 + (uVar4 + 1) * local_1c;
    }
    else {
      local_20 = local_20 + local_24;
      local_18 = local_18 + local_1c;
    }
    goto LAB_00058bcc;
  }
LAB_00058c82:
  *param_5 = local_24;
  param_5[1] = local_20;
  param_5[2] = local_1c;
  param_5[3] = local_18;
  return 1;
}

