
void __gmpq_div_2exp(mpq_ptr dst,mpq_srcptr src,mp_bitcnt_t n)

{
  int iVar1;
  uint uVar2;
  mp_limb_t *pmVar3;
  mp_limb_t *pmVar4;
  mp_limb_t mVar5;
  mp_limb_t *pmVar6;
  uint uVar7;
  uint uVar8;
  int iVar9;
  __mpz_struct *p_Var10;
  int iVar11;
  __mpz_struct *p_Var12;
  
  iVar11 = (src->_mp_num)._mp_size;
  if (iVar11 == 0) {
    pmVar3 = (dst->_mp_den)._mp_d;
    (dst->_mp_num)._mp_size = 0;
    (dst->_mp_den)._mp_size = 1;
    *pmVar3 = 1;
    return;
  }
  p_Var12 = &dst->_mp_den;
  pmVar3 = (src->_mp_num)._mp_d;
  p_Var10 = &src->_mp_den;
  iVar9 = iVar11;
  if (iVar11 < 0) {
    iVar9 = -iVar11;
  }
  uVar8 = *pmVar3;
  pmVar6 = pmVar3;
  uVar7 = n;
  if (0x1f < n) {
    uVar7 = n - 0x20;
    if (uVar8 != 0) {
      iVar1 = (dst->_mp_num)._mp_alloc;
      uVar7 = n;
      goto LAB_00039d78;
    }
    while( true ) {
      uVar8 = pmVar6[1];
      pmVar6 = pmVar6 + 1;
      if ((uVar7 < 0x20) || (uVar8 != 0)) break;
      uVar7 = uVar7 - 0x20;
    }
    iVar9 = iVar9 - ((int)pmVar6 - (int)pmVar3 >> 2);
  }
  iVar1 = (dst->_mp_num)._mp_alloc;
LAB_00039d78:
  if (iVar1 < iVar9) {
    pmVar3 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_0009d5c0)(dst,iVar9);
  }
  else {
    pmVar3 = (dst->_mp_num)._mp_d;
  }
  if (((uVar8 & 1) == 0) && (uVar7 != 0)) {
    if (uVar8 == 0) {
      uVar8 = 0;
    }
    else {
      if ((uVar8 & 0xff) == 0) {
        uVar2 = uVar8 >> 8;
        iVar1 = 6;
        if ((uVar2 & 0xff) == 0) {
          uVar2 = uVar8 >> 0x10;
          iVar1 = 0xe;
          if ((uVar2 & 0xff) == 0) {
            uVar2 = uVar8 >> 0x18;
            iVar1 = 0x1e;
            if (uVar2 != 0) {
              iVar1 = 0x16;
            }
          }
        }
        uVar2 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar2 & uVar2] + iVar1;
      }
      else {
        uVar2 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] - 2;
      }
      if (uVar7 < uVar2) {
        uVar2 = uVar7;
      }
      uVar8 = uVar7 - uVar2;
      uVar7 = uVar2;
    }
    (*(code *)PTR___gmpn_rshift_0009d560)(pmVar3,pmVar6,iVar9,uVar7);
    iVar9 = iVar9 - (uint)(pmVar3[iVar9 + -1] == 0);
    uVar7 = uVar8;
  }
  else if ((pmVar3 != pmVar6) && (iVar1 = iVar9 + -1, iVar9 != 0)) {
    mVar5 = *pmVar6;
    pmVar4 = pmVar3;
    if (iVar1 != 0) {
      do {
        pmVar6 = pmVar6 + 1;
        *pmVar4 = mVar5;
        iVar1 = iVar1 + -1;
        mVar5 = *pmVar6;
        pmVar4 = pmVar4 + 1;
      } while (iVar1 != 0);
      pmVar3 = pmVar3 + iVar9 + -1;
    }
    *pmVar3 = mVar5;
  }
  if (iVar11 < 0) {
    iVar9 = -iVar9;
  }
  (dst->_mp_num)._mp_size = iVar9;
  if (uVar7 == 0) {
    if (p_Var12 == p_Var10) {
      return;
    }
    (*(code *)PTR___gmpz_set_0009d4b8)(p_Var12,p_Var10);
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x00039ed8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR___gmpz_mul_2exp_0009d418)(p_Var12,p_Var10,uVar7);
  return;
}



void __gmpq_div_2exp(int *param_1,int param_2,uint param_3)

{
  uint *puVar1;
  int iVar2;
  uint uVar3;
  uint *puVar4;
  uint *puVar5;
  uint uVar6;
  uint uVar7;
  int iVar8;
  int *piVar9;
  int iVar10;
  int *piVar11;
  
  iVar10 = *(int *)(param_2 + 4);
  if (iVar10 == 0) {
    param_1[1] = 0;
    param_1[4] = 1;
    *(undefined4 *)param_1[5] = 1;
    return;
  }
  piVar11 = param_1 + 3;
  puVar1 = *(uint **)(param_2 + 8);
  piVar9 = (int *)(param_2 + 0xc);
  iVar8 = iVar10;
  if (iVar10 < 0) {
    iVar8 = -iVar10;
  }
  uVar7 = *puVar1;
  puVar5 = puVar1;
  uVar6 = param_3;
  if (0x1f < param_3) {
    uVar6 = param_3 - 0x20;
    if (uVar7 != 0) {
      iVar2 = *param_1;
      uVar6 = param_3;
      goto LAB_00039d78;
    }
    while( true ) {
      uVar7 = puVar5[1];
      puVar5 = puVar5 + 1;
      if ((uVar6 < 0x20) || (uVar7 != 0)) break;
      uVar6 = uVar6 - 0x20;
    }
    iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);
  }
  iVar2 = *param_1;
LAB_00039d78:
  if (iVar2 < iVar8) {
    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);
  }
  else {
    puVar1 = (uint *)param_1[2];
  }
  if (((uVar7 & 1) == 0) && (uVar6 != 0)) {
    if (uVar7 == 0) {
      uVar7 = 0;
    }
    else {
      if ((uVar7 & 0xff) == 0) {
        uVar3 = uVar7 >> 8;
        iVar2 = 6;
        if ((uVar3 & 0xff) == 0) {
          uVar3 = uVar7 >> 0x10;
          iVar2 = 0xe;
          if ((uVar3 & 0xff) == 0) {
            uVar3 = uVar7 >> 0x18;
            iVar2 = 0x1e;
            if (uVar3 != 0) {
              iVar2 = 0x16;
            }
          }
        }
        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;
      }
      else {
        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;
      }
      if (uVar6 < uVar3) {
        uVar3 = uVar6;
      }
      uVar7 = uVar6 - uVar3;
      uVar6 = uVar3;
    }
    (*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);
    iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);
    uVar6 = uVar7;
  }
  else if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {
    uVar7 = *puVar5;
    puVar4 = puVar1;
    if (iVar2 != 0) {
      do {
        puVar5 = puVar5 + 1;
        *puVar4 = uVar7;
        iVar2 = iVar2 + -1;
        uVar7 = *puVar5;
        puVar4 = puVar4 + 1;
      } while (iVar2 != 0);
      puVar1 = puVar1 + iVar8 + -1;
    }
    *puVar1 = uVar7;
  }
  if (iVar10 < 0) {
    iVar8 = -iVar8;
  }
  param_1[1] = iVar8;
  if (uVar6 == 0) {
    if (piVar11 == piVar9) {
      return;
    }
                    /* WARNING: Could not recover jumptable at 0x00039e4c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x00039ed8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR___gmpz_mul_2exp_0009d418)(piVar11,piVar9,uVar6);
  return;
}


lui gp,0x7
addiu gp,gp,-0x4c3c
addu gp,gp,t9
addiu sp,sp,-0x40
sw s6,0x30(sp)
sw gp,0x10(sp)
sw s2,0x20(sp)
sw ra,0x3c(sp)
sw s8,0x38(sp)
sw s7,0x34(sp)
sw s5,0x2c(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
lw s6,0x4(a1)
bne s6,zero,0x00039d08
_or s2,a0,zero
lw v1,0x14(a0)
li v0,0x1
sw zero,0x4(a0)
sw v0,0x10(a0)
sw v0,0x0(v1)
lw ra,0x3c(sp)
lw s8,0x38(sp)
lw s7,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x40
addiu s7,a0,0xc
lw v0,0x8(a1)
or s1,a2,zero
addiu s5,a1,0xc
bgez s6,0x00039d24
_or a0,s6,zero
subu a0,zero,s6
sltiu v1,s1,0x20
lw s3,0x0(v0)
or s0,v0,zero
bne v1,zero,0x00039d74
_or s4,a0,zero
beq s3,zero,0x00039d58
_addiu s1,s1,-0x20
addiu s1,s1,0x20
b 0x00039d78
_lw v0,0x0(s2)
bne s3,zero,0x00039d68
_nop
addiu s1,s1,-0x20
lw s3,0x4(s0)
sltiu v1,s1,0x20
beq v1,zero,0x00039d4c
_addiu s0,s0,0x4
subu v0,s0,v0
sra v0,v0,0x2
subu s4,a0,v0
lw v0,0x0(s2)
slt v0,v0,s4
bne v0,zero,0x00039ee8
_lw t9,-0x7a80(gp)
lw s8,0x8(s2)
andi v0,s3,0x1
bne v0,zero,0x00039e54
_nop
beq s1,zero,0x00039e54
_nop
beq s3,zero,0x00039ee0
_or a3,s1,zero
andi v0,s3,0xff
beq v0,zero,0x00039f00
_subu v0,zero,s3
and v0,v0,s3
lw s3,-0x7eb4(gp)
addu s3,s3,v0
lbu a3,0x0(s3)
addiu v0,a3,-0x2
sltu a3,s1,v0
movn v0,s1,a3
subu s1,s1,v0
or a3,v0,zero
lw t9,-0x7ae0(gp)
or a2,s4,zero
or a0,s8,zero
jalr t9
_or a1,s0,zero
sll v0,s4,0x2
lw gp,0x10(sp)
addu s8,s8,v0
lw v0,-0x4(s8)
sltiu v0,v0,0x1
subu s4,s4,v0
bgez s6,0x00039e0c
_nop
subu s4,zero,s4
bne s1,zero,0x00039ea0
_sw s4,0x4(s2)
beq s7,s5,0x00039cd8
_lw ra,0x3c(sp)
or a1,s5,zero
lw s8,0x38(sp)
or a0,s7,zero
lw s6,0x30(sp)
lw s7,0x34(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7b88(gp)
jr t9
_addiu sp,sp,0x40
beq s8,s0,0x00039e00
_nop
beq s4,zero,0x00039e00
_addiu v0,s4,-0x1
beq v0,zero,0x00039e98
_lw a0,0x0(s0)
addiu s0,s0,0x4
or v1,s8,zero
addiu v1,v1,0x4
sw a0,-0x4(v1)
addiu s0,s0,0x4
addiu v0,v0,-0x1
bne v0,zero,0x00039e74
_lw a0,-0x4(s0)
sll v0,s4,0x2
addiu v0,v0,-0x4
addu s8,s8,v0
b 0x00039e00
_sw a0,0x0(s8)
lw ra,0x3c(sp)
or a2,s1,zero
lw s8,0x38(sp)
or a1,s5,zero
lw s6,0x30(sp)
or a0,s7,zero
lw s5,0x2c(sp)
lw s7,0x34(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7c28(gp)
jr t9
_addiu sp,sp,0x40
b 0x00039dd4
_or s1,zero,zero
or a1,s4,zero
jalr t9
_or a0,s2,zero
lw gp,0x10(sp)
b 0x00039d88
_or s8,v0,zero
srl v0,s3,0x8
andi v1,v0,0xff
beq v1,zero,0x00039f2c
_li a3,0x6
subu v1,zero,v0
and v1,v1,v0
lw v0,-0x7eb4(gp)
addu v0,v0,v1
lbu v0,0x0(v0)
b 0x00039dc4
_addu v0,v0,a3
srl v0,s3,0x10
andi v1,v0,0xff
bne v1,zero,0x00039f10
_li a3,0xe
srl v0,s3,0x18
li a3,0x1e
li v1,0x16
b 0x00039f10
_movn a3,v1,v0
(translation_unit "void __gmpq_div_2exp(int *param_1,int param_2,uint param_3)\n\n{\n  uint *puVar1;\n  int iVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  int *piVar9;\n  int iVar10;\n  int *piVar11;\n  \n  iVar10 = *(int *)(param_2 + 4);\n  if (iVar10 == 0) {\n    param_1[1] = 0;\n    param_1[4] = 1;\n    *(undefined4 *)param_1[5] = 1;\n    return;\n  }\n  piVar11 = param_1 + 3;\n  puVar1 = *(uint **)(param_2 + 8);\n  piVar9 = (int *)(param_2 + 0xc);\n  iVar8 = iVar10;\n  if (iVar10 < 0) {\n    iVar8 = -iVar10;\n  }\n  uVar7 = *puVar1;\n  puVar5 = puVar1;\n  uVar6 = param_3;\n  if (0x1f < param_3) {\n    uVar6 = param_3 - 0x20;\n    if (uVar7 != 0) {\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }\n    iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);\n  }\n  iVar2 = *param_1;\nLAB_00039d78:\n  if (iVar2 < iVar8) {\n    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);\n  }\n  else {\n    puVar1 = (uint *)param_1[2];\n  }\n  if (((uVar7 & 1) == 0) && (uVar6 != 0)) {\n    if (uVar7 == 0) {\n      uVar7 = 0;\n    }\n    else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);\n    iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);\n    uVar6 = uVar7;\n  }\n  else if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }\n  if (iVar10 < 0) {\n    iVar8 = -iVar8;\n  }\n  param_1[1] = iVar8;\n  if (uVar6 == 0) {\n    if (piVar11 == piVar9) {\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x00039e4c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00039ed8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR___gmpz_mul_2exp_0009d418)(piVar11,piVar9,uVar6);\n  return;\n}\n\n" (function_definition "void __gmpq_div_2exp(int *param_1,int param_2,uint param_3)\n\n{\n  uint *puVar1;\n  int iVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  int *piVar9;\n  int iVar10;\n  int *piVar11;\n  \n  iVar10 = *(int *)(param_2 + 4);\n  if (iVar10 == 0) {\n    param_1[1] = 0;\n    param_1[4] = 1;\n    *(undefined4 *)param_1[5] = 1;\n    return;\n  }\n  piVar11 = param_1 + 3;\n  puVar1 = *(uint **)(param_2 + 8);\n  piVar9 = (int *)(param_2 + 0xc);\n  iVar8 = iVar10;\n  if (iVar10 < 0) {\n    iVar8 = -iVar10;\n  }\n  uVar7 = *puVar1;\n  puVar5 = puVar1;\n  uVar6 = param_3;\n  if (0x1f < param_3) {\n    uVar6 = param_3 - 0x20;\n    if (uVar7 != 0) {\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }\n    iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);\n  }\n  iVar2 = *param_1;\nLAB_00039d78:\n  if (iVar2 < iVar8) {\n    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);\n  }\n  else {\n    puVar1 = (uint *)param_1[2];\n  }\n  if (((uVar7 & 1) == 0) && (uVar6 != 0)) {\n    if (uVar7 == 0) {\n      uVar7 = 0;\n    }\n    else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);\n    iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);\n    uVar6 = uVar7;\n  }\n  else if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }\n  if (iVar10 < 0) {\n    iVar8 = -iVar8;\n  }\n  param_1[1] = iVar8;\n  if (uVar6 == 0) {\n    if (piVar11 == piVar9) {\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x00039e4c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00039ed8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR___gmpz_mul_2exp_0009d418)(piVar11,piVar9,uVar6);\n  return;\n}" primitive_type (function_declarator "__gmpq_div_2exp(int *param_1,int param_2,uint param_3)" identifier (parameter_list "(int *param_1,int param_2,uint param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  int iVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  int *piVar9;\n  int iVar10;\n  int *piVar11;\n  \n  iVar10 = *(int *)(param_2 + 4);\n  if (iVar10 == 0) {\n    param_1[1] = 0;\n    param_1[4] = 1;\n    *(undefined4 *)param_1[5] = 1;\n    return;\n  }\n  piVar11 = param_1 + 3;\n  puVar1 = *(uint **)(param_2 + 8);\n  piVar9 = (int *)(param_2 + 0xc);\n  iVar8 = iVar10;\n  if (iVar10 < 0) {\n    iVar8 = -iVar10;\n  }\n  uVar7 = *puVar1;\n  puVar5 = puVar1;\n  uVar6 = param_3;\n  if (0x1f < param_3) {\n    uVar6 = param_3 - 0x20;\n    if (uVar7 != 0) {\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }\n    iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);\n  }\n  iVar2 = *param_1;\nLAB_00039d78:\n  if (iVar2 < iVar8) {\n    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);\n  }\n  else {\n    puVar1 = (uint *)param_1[2];\n  }\n  if (((uVar7 & 1) == 0) && (uVar6 != 0)) {\n    if (uVar7 == 0) {\n      uVar7 = 0;\n    }\n    else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);\n    iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);\n    uVar6 = uVar7;\n  }\n  else if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }\n  if (iVar10 < 0) {\n    iVar8 = -iVar8;\n  }\n  param_1[1] = iVar8;\n  if (uVar6 == 0) {\n    if (piVar11 == piVar9) {\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x00039e4c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00039ed8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR___gmpz_mul_2exp_0009d418)(piVar11,piVar9,uVar6);\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (expression_statement "iVar10 = *(int *)(param_2 + 4);" (assignment_expression "iVar10 = *(int *)(param_2 + 4)" identifier = (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar10 == 0) {\n    param_1[1] = 0;\n    param_1[4] = 1;\n    *(undefined4 *)param_1[5] = 1;\n    return;\n  }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n    param_1[1] = 0;\n    param_1[4] = 1;\n    *(undefined4 *)param_1[5] = 1;\n    return;\n  }" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 1;" (assignment_expression "param_1[4] = 1" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)param_1[5] = 1;" (assignment_expression "*(undefined4 *)param_1[5] = 1" (pointer_expression "*(undefined4 *)param_1[5]" * (cast_expression "(undefined4 *)param_1[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "piVar11 = param_1 + 3;" (assignment_expression "piVar11 = param_1 + 3" identifier = (binary_expression "param_1 + 3" identifier + number_literal)) ;) (expression_statement "puVar1 = *(uint **)(param_2 + 8);" (assignment_expression "puVar1 = *(uint **)(param_2 + 8)" identifier = (pointer_expression "*(uint **)(param_2 + 8)" * (cast_expression "(uint **)(param_2 + 8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "piVar9 = (int *)(param_2 + 0xc);" (assignment_expression "piVar9 = (int *)(param_2 + 0xc)" identifier = (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) ;) (expression_statement "iVar8 = iVar10;" (assignment_expression "iVar8 = iVar10" identifier = identifier) ;) (if_statement "if (iVar10 < 0) {\n    iVar8 = -iVar10;\n  }" if (parenthesized_expression "(iVar10 < 0)" ( (binary_expression "iVar10 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar8 = -iVar10;\n  }" { (expression_statement "iVar8 = -iVar10;" (assignment_expression "iVar8 = -iVar10" identifier = (unary_expression "-iVar10" - identifier)) ;) })) (expression_statement "uVar7 = *puVar1;" (assignment_expression "uVar7 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "puVar5 = puVar1;" (assignment_expression "puVar5 = puVar1" identifier = identifier) ;) (expression_statement "uVar6 = param_3;" (assignment_expression "uVar6 = param_3" identifier = identifier) ;) (if_statement "if (0x1f < param_3) {\n    uVar6 = param_3 - 0x20;\n    if (uVar7 != 0) {\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }\n    iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);\n  }" if (parenthesized_expression "(0x1f < param_3)" ( (binary_expression "0x1f < param_3" number_literal < identifier) )) (compound_statement "{\n    uVar6 = param_3 - 0x20;\n    if (uVar7 != 0) {\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }\n    iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);\n  }" { (expression_statement "uVar6 = param_3 - 0x20;" (assignment_expression "uVar6 = param_3 - 0x20" identifier = (binary_expression "param_3 - 0x20" identifier - number_literal)) ;) (if_statement "if (uVar7 != 0) {\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }" { (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar6 = param_3;" (assignment_expression "uVar6 = param_3" identifier = identifier) ;) (goto_statement "goto LAB_00039d78;" goto statement_identifier ;) })) (while_statement "while( true ) {\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }" { (expression_statement "uVar7 = puVar5[1];" (assignment_expression "uVar7 = puVar5[1]" identifier = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (if_statement "if ((uVar6 < 0x20) || (uVar7 != 0)) break;" if (parenthesized_expression "((uVar6 < 0x20) || (uVar7 != 0))" ( (binary_expression "(uVar6 < 0x20) || (uVar7 != 0)" (parenthesized_expression "(uVar6 < 0x20)" ( (binary_expression "uVar6 < 0x20" identifier < number_literal) )) || (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "uVar6 = uVar6 - 0x20;" (assignment_expression "uVar6 = uVar6 - 0x20" identifier = (binary_expression "uVar6 - 0x20" identifier - number_literal)) ;) })) (expression_statement "iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);" (assignment_expression "iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2)" identifier = (binary_expression "iVar8 - ((int)puVar5 - (int)puVar1 >> 2)" identifier - (parenthesized_expression "((int)puVar5 - (int)puVar1 >> 2)" ( (binary_expression "(int)puVar5 - (int)puVar1 >> 2" (binary_expression "(int)puVar5 - (int)puVar1" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )))) ;) })) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (labeled_statement "LAB_00039d78:\n  if (iVar2 < iVar8) {\n    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);\n  }\n  else {\n    puVar1 = (uint *)param_1[2];\n  }" statement_identifier : (if_statement "if (iVar2 < iVar8) {\n    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);\n  }\n  else {\n    puVar1 = (uint *)param_1[2];\n  }" if (parenthesized_expression "(iVar2 < iVar8)" ( (binary_expression "iVar2 < iVar8" identifier < identifier) )) (compound_statement "{\n    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);\n  }" { (expression_statement "puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);" (assignment_expression "puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8)" identifier = (cast_expression "(uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8)" (parenthesized_expression "(*(code *)PTR___gmpz_realloc_0009d5c0)" ( (pointer_expression "*(code *)PTR___gmpz_realloc_0009d5c0" * (cast_expression "(code *)PTR___gmpz_realloc_0009d5c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,iVar8)" ( identifier , identifier ))))) ;) }) (else_clause "else {\n    puVar1 = (uint *)param_1[2];\n  }" else (compound_statement "{\n    puVar1 = (uint *)param_1[2];\n  }" { (expression_statement "puVar1 = (uint *)param_1[2];" (assignment_expression "puVar1 = (uint *)param_1[2]" identifier = (cast_expression "(uint *)param_1[2]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) })))) (if_statement "if (((uVar7 & 1) == 0) && (uVar6 != 0)) {\n    if (uVar7 == 0) {\n      uVar7 = 0;\n    }\n    else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);\n    iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);\n    uVar6 = uVar7;\n  }\n  else if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }" if (parenthesized_expression "(((uVar7 & 1) == 0) && (uVar6 != 0))" ( (binary_expression "((uVar7 & 1) == 0) && (uVar6 != 0)" (parenthesized_expression "((uVar7 & 1) == 0)" ( (binary_expression "(uVar7 & 1) == 0" (parenthesized_expression "(uVar7 & 1)" ( (binary_expression "uVar7 & 1" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    if (uVar7 == 0) {\n      uVar7 = 0;\n    }\n    else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);\n    iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);\n    uVar6 = uVar7;\n  }" { (if_statement "if (uVar7 == 0) {\n      uVar7 = 0;\n    }\n    else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar7 = 0;\n    }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }" else (compound_statement "{\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }" { (if_statement "if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }" if (parenthesized_expression "((uVar7 & 0xff) == 0)" ( (binary_expression "(uVar7 & 0xff) == 0" (parenthesized_expression "(uVar7 & 0xff)" ( (binary_expression "uVar7 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }" { (expression_statement "uVar3 = uVar7 >> 8;" (assignment_expression "uVar3 = uVar7 >> 8" identifier = (binary_expression "uVar7 >> 8" identifier >> number_literal)) ;) (expression_statement "iVar2 = 6;" (assignment_expression "iVar2 = 6" identifier = number_literal) ;) (if_statement "if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }" if (parenthesized_expression "((uVar3 & 0xff) == 0)" ( (binary_expression "(uVar3 & 0xff) == 0" (parenthesized_expression "(uVar3 & 0xff)" ( (binary_expression "uVar3 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }" { (expression_statement "uVar3 = uVar7 >> 0x10;" (assignment_expression "uVar3 = uVar7 >> 0x10" identifier = (binary_expression "uVar7 >> 0x10" identifier >> number_literal)) ;) (expression_statement "iVar2 = 0xe;" (assignment_expression "iVar2 = 0xe" identifier = number_literal) ;) (if_statement "if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }" if (parenthesized_expression "((uVar3 & 0xff) == 0)" ( (binary_expression "(uVar3 & 0xff) == 0" (parenthesized_expression "(uVar3 & 0xff)" ( (binary_expression "uVar3 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }" { (expression_statement "uVar3 = uVar7 >> 0x18;" (assignment_expression "uVar3 = uVar7 >> 0x18" identifier = (binary_expression "uVar7 >> 0x18" identifier >> number_literal)) ;) (expression_statement "iVar2 = 0x1e;" (assignment_expression "iVar2 = 0x1e" identifier = number_literal) ;) (if_statement "if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n              iVar2 = 0x16;\n            }" { (expression_statement "iVar2 = 0x16;" (assignment_expression "iVar2 = 0x16" identifier = number_literal) ;) })) })) })) (expression_statement "uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;" (assignment_expression "uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2" identifier = (binary_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2" (cast_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3]" identifier [ (binary_expression "-uVar3 & uVar3" (unary_expression "-uVar3" - identifier) & identifier) ]))) + identifier)) ;) }) (else_clause "else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }" else (compound_statement "{\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }" { (expression_statement "uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;" (assignment_expression "uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2" identifier = (binary_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2" (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7]" identifier [ (binary_expression "-uVar7 & uVar7" (unary_expression "-uVar7" - identifier) & identifier) ])) - number_literal)) ;) }))) (if_statement "if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }" if (parenthesized_expression "(uVar6 < uVar3)" ( (binary_expression "uVar6 < uVar3" identifier < identifier) )) (compound_statement "{\n        uVar3 = uVar6;\n      }" { (expression_statement "uVar3 = uVar6;" (assignment_expression "uVar3 = uVar6" identifier = identifier) ;) })) (expression_statement "uVar7 = uVar6 - uVar3;" (assignment_expression "uVar7 = uVar6 - uVar3" identifier = (binary_expression "uVar6 - uVar3" identifier - identifier)) ;) (expression_statement "uVar6 = uVar3;" (assignment_expression "uVar6 = uVar3" identifier = identifier) ;) }))) (expression_statement "(*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);" (call_expression "(*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6)" (parenthesized_expression "(*(code *)PTR___gmpn_rshift_0009d560)" ( (pointer_expression "*(code *)PTR___gmpn_rshift_0009d560" * (cast_expression "(code *)PTR___gmpn_rshift_0009d560" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1,puVar5,iVar8,uVar6)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);" (assignment_expression "iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0)" identifier = (binary_expression "iVar8 - (uint)(puVar1[iVar8 + -1] == 0)" identifier - (call_expression "(uint)(puVar1[iVar8 + -1] == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar1[iVar8 + -1] == 0)" ( (binary_expression "puVar1[iVar8 + -1] == 0" (subscript_expression "puVar1[iVar8 + -1]" identifier [ (binary_expression "iVar8 + -1" identifier + number_literal) ]) == number_literal) ))))) ;) (expression_statement "uVar6 = uVar7;" (assignment_expression "uVar6 = uVar7" identifier = identifier) ;) }) (else_clause "else if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }" else (if_statement "if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }" if (parenthesized_expression "((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0))" ( (binary_expression "(puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)" (parenthesized_expression "(puVar1 != puVar5)" ( (binary_expression "puVar1 != puVar5" identifier != identifier) )) && (parenthesized_expression "(iVar2 = iVar8 + -1, iVar8 != 0)" ( (comma_expression "iVar2 = iVar8 + -1, iVar8 != 0" (assignment_expression "iVar2 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) , (binary_expression "iVar8 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }" { (expression_statement "uVar7 = *puVar5;" (assignment_expression "uVar7 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) (if_statement "if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }" { (do_statement "do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);" do (compound_statement "{\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      }" { (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar4 = uVar7;" (assignment_expression "*puVar4 = uVar7" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "uVar7 = *puVar5;" (assignment_expression "uVar7 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) ;) (expression_statement "puVar1 = puVar1 + iVar8 + -1;" (assignment_expression "puVar1 = puVar1 + iVar8 + -1" identifier = (binary_expression "puVar1 + iVar8 + -1" (binary_expression "puVar1 + iVar8" identifier + identifier) + number_literal)) ;) })) (expression_statement "*puVar1 = uVar7;" (assignment_expression "*puVar1 = uVar7" (pointer_expression "*puVar1" * identifier) = identifier) ;) })))) (if_statement "if (iVar10 < 0) {\n    iVar8 = -iVar8;\n  }" if (parenthesized_expression "(iVar10 < 0)" ( (binary_expression "iVar10 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar8 = -iVar8;\n  }" { (expression_statement "iVar8 = -iVar8;" (assignment_expression "iVar8 = -iVar8" identifier = (unary_expression "-iVar8" - identifier)) ;) })) (expression_statement "param_1[1] = iVar8;" (assignment_expression "param_1[1] = iVar8" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar6 == 0) {\n    if (piVar11 == piVar9) {\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x00039e4c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);\n    return;\n  }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    if (piVar11 == piVar9) {\n      return;\n    }\n                    /* WARNING: Could not recover jumptable at 0x00039e4c. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);\n    return;\n  }" { (if_statement "if (piVar11 == piVar9) {\n      return;\n    }" if (parenthesized_expression "(piVar11 == piVar9)" ( (binary_expression "piVar11 == piVar9" identifier == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) comment comment (expression_statement "(*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);" (call_expression "(*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9)" (parenthesized_expression "(*(code *)PTR___gmpz_set_0009d4b8)" ( (pointer_expression "*(code *)PTR___gmpz_set_0009d4b8" * (cast_expression "(code *)PTR___gmpz_set_0009d4b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar11,piVar9)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) comment comment (expression_statement "(*(code *)PTR___gmpz_mul_2exp_0009d418)(piVar11,piVar9,uVar6);" (call_expression "(*(code *)PTR___gmpz_mul_2exp_0009d418)(piVar11,piVar9,uVar6)" (parenthesized_expression "(*(code *)PTR___gmpz_mul_2exp_0009d418)" ( (pointer_expression "*(code *)PTR___gmpz_mul_2exp_0009d418" * (cast_expression "(code *)PTR___gmpz_mul_2exp_0009d418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar11,piVar9,uVar6)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __gmpq_div_2exp(mpq_ptr dst,mpq_srcptr src,mp_bitcnt_t n)\n\n{\n  int iVar1;\n  uint uVar2;\n  mp_limb_t *pmVar3;\n  mp_limb_t *pmVar4;\n  mp_limb_t mVar5;\n  mp_limb_t *pmVar6;\n  uint uVar7;\n  uint uVar8;\n  int iVar9;\n  __mpz_struct *p_Var10;\n  int iVar11;\n  __mpz_struct *p_Var12;\n  \n  iVar11 = (src->_mp_num)._mp_size;\n  if (iVar11 == 0) {\n    pmVar3 = (dst->_mp_den)._mp_d;\n    (dst->_mp_num)._mp_size = 0;\n    (dst->_mp_den)._mp_size = 1;\n    *pmVar3 = 1;\n    return;\n  }\n  p_Var12 = &dst->_mp_den;\n  pmVar3 = (src->_mp_num)._mp_d;\n  p_Var10 = &src->_mp_den;\n  iVar9 = iVar11;\n  if (iVar11 < 0) {\n    iVar9 = -iVar11;\n  }\n  uVar8 = *pmVar3;\n  pmVar6 = pmVar3;\n  uVar7 = n;\n  if (0x1f < n) {\n    uVar7 = n - 0x20;\n    if (uVar8 != 0) {\n      iVar1 = (dst->_mp_num)._mp_alloc;\n      uVar7 = n;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar8 = pmVar6[1];\n      pmVar6 = pmVar6 + 1;\n      if ((uVar7 < 0x20) || (uVar8 != 0)) break;\n      uVar7 = uVar7 - 0x20;\n    }\n    iVar9 = iVar9 - ((int)pmVar6 - (int)pmVar3 >> 2);\n  }\n  iVar1 = (dst->_mp_num)._mp_alloc;\nLAB_00039d78:\n  if (iVar1 < iVar9) {\n    pmVar3 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_0009d5c0)(dst,iVar9);\n  }\n  else {\n    pmVar3 = (dst->_mp_num)._mp_d;\n  }\n  if (((uVar8 & 1) == 0) && (uVar7 != 0)) {\n    if (uVar8 == 0) {\n      uVar8 = 0;\n    }\n    else {\n      if ((uVar8 & 0xff) == 0) {\n        uVar2 = uVar8 >> 8;\n        iVar1 = 6;\n        if ((uVar2 & 0xff) == 0) {\n          uVar2 = uVar8 >> 0x10;\n          iVar1 = 0xe;\n          if ((uVar2 & 0xff) == 0) {\n            uVar2 = uVar8 >> 0x18;\n            iVar1 = 0x1e;\n            if (uVar2 != 0) {\n              iVar1 = 0x16;\n            }\n          }\n        }\n        uVar2 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar2 & uVar2] + iVar1;\n      }\n      else {\n        uVar2 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] - 2;\n      }\n      if (uVar7 < uVar2) {\n        uVar2 = uVar7;\n      }\n      uVar8 = uVar7 - uVar2;\n      uVar7 = uVar2;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(pmVar3,pmVar6,iVar9,uVar7);\n    iVar9 = iVar9 - (uint)(pmVar3[iVar9 + -1] == 0);\n    uVar7 = uVar8;\n  }\n  else if ((pmVar3 != pmVar6) && (iVar1 = iVar9 + -1, iVar9 != 0)) {\n    mVar5 = *pmVar6;\n    pmVar4 = pmVar3;\n    if (iVar1 != 0) {\n      do {\n        pmVar6 = pmVar6 + 1;\n        *pmVar4 = mVar5;\n        iVar1 = iVar1 + -1;\n        mVar5 = *pmVar6;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar1 != 0);\n      pmVar3 = pmVar3 + iVar9 + -1;\n    }\n    *pmVar3 = mVar5;\n  }\n  if (iVar11 < 0) {\n    iVar9 = -iVar9;\n  }\n  (dst->_mp_num)._mp_size = iVar9;\n  if (uVar7 == 0) {\n    if (p_Var12 == p_Var10) {\n      return;\n    }\n    (*(code *)PTR___gmpz_set_0009d4b8)(p_Var12,p_Var10);\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00039ed8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR___gmpz_mul_2exp_0009d418)(p_Var12,p_Var10,uVar7);\n  return;\n}\n\n" (function_definition "void __gmpq_div_2exp(mpq_ptr dst,mpq_srcptr src,mp_bitcnt_t n)\n\n{\n  int iVar1;\n  uint uVar2;\n  mp_limb_t *pmVar3;\n  mp_limb_t *pmVar4;\n  mp_limb_t mVar5;\n  mp_limb_t *pmVar6;\n  uint uVar7;\n  uint uVar8;\n  int iVar9;\n  __mpz_struct *p_Var10;\n  int iVar11;\n  __mpz_struct *p_Var12;\n  \n  iVar11 = (src->_mp_num)._mp_size;\n  if (iVar11 == 0) {\n    pmVar3 = (dst->_mp_den)._mp_d;\n    (dst->_mp_num)._mp_size = 0;\n    (dst->_mp_den)._mp_size = 1;\n    *pmVar3 = 1;\n    return;\n  }\n  p_Var12 = &dst->_mp_den;\n  pmVar3 = (src->_mp_num)._mp_d;\n  p_Var10 = &src->_mp_den;\n  iVar9 = iVar11;\n  if (iVar11 < 0) {\n    iVar9 = -iVar11;\n  }\n  uVar8 = *pmVar3;\n  pmVar6 = pmVar3;\n  uVar7 = n;\n  if (0x1f < n) {\n    uVar7 = n - 0x20;\n    if (uVar8 != 0) {\n      iVar1 = (dst->_mp_num)._mp_alloc;\n      uVar7 = n;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar8 = pmVar6[1];\n      pmVar6 = pmVar6 + 1;\n      if ((uVar7 < 0x20) || (uVar8 != 0)) break;\n      uVar7 = uVar7 - 0x20;\n    }\n    iVar9 = iVar9 - ((int)pmVar6 - (int)pmVar3 >> 2);\n  }\n  iVar1 = (dst->_mp_num)._mp_alloc;\nLAB_00039d78:\n  if (iVar1 < iVar9) {\n    pmVar3 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_0009d5c0)(dst,iVar9);\n  }\n  else {\n    pmVar3 = (dst->_mp_num)._mp_d;\n  }\n  if (((uVar8 & 1) == 0) && (uVar7 != 0)) {\n    if (uVar8 == 0) {\n      uVar8 = 0;\n    }\n    else {\n      if ((uVar8 & 0xff) == 0) {\n        uVar2 = uVar8 >> 8;\n        iVar1 = 6;\n        if ((uVar2 & 0xff) == 0) {\n          uVar2 = uVar8 >> 0x10;\n          iVar1 = 0xe;\n          if ((uVar2 & 0xff) == 0) {\n            uVar2 = uVar8 >> 0x18;\n            iVar1 = 0x1e;\n            if (uVar2 != 0) {\n              iVar1 = 0x16;\n            }\n          }\n        }\n        uVar2 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar2 & uVar2] + iVar1;\n      }\n      else {\n        uVar2 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] - 2;\n      }\n      if (uVar7 < uVar2) {\n        uVar2 = uVar7;\n      }\n      uVar8 = uVar7 - uVar2;\n      uVar7 = uVar2;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(pmVar3,pmVar6,iVar9,uVar7);\n    iVar9 = iVar9 - (uint)(pmVar3[iVar9 + -1] == 0);\n    uVar7 = uVar8;\n  }\n  else if ((pmVar3 != pmVar6) && (iVar1 = iVar9 + -1, iVar9 != 0)) {\n    mVar5 = *pmVar6;\n    pmVar4 = pmVar3;\n    if (iVar1 != 0) {\n      do {\n        pmVar6 = pmVar6 + 1;\n        *pmVar4 = mVar5;\n        iVar1 = iVar1 + -1;\n        mVar5 = *pmVar6;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar1 != 0);\n      pmVar3 = pmVar3 + iVar9 + -1;\n    }\n    *pmVar3 = mVar5;\n  }\n  if (iVar11 < 0) {\n    iVar9 = -iVar9;\n  }\n  (dst->_mp_num)._mp_size = iVar9;\n  if (uVar7 == 0) {\n    if (p_Var12 == p_Var10) {\n      return;\n    }\n    (*(code *)PTR___gmpz_set_0009d4b8)(p_Var12,p_Var10);\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00039ed8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR___gmpz_mul_2exp_0009d418)(p_Var12,p_Var10,uVar7);\n  return;\n}" primitive_type (function_declarator "__gmpq_div_2exp(mpq_ptr dst,mpq_srcptr src,mp_bitcnt_t n)" identifier (parameter_list "(mpq_ptr dst,mpq_srcptr src,mp_bitcnt_t n)" ( (parameter_declaration "mpq_ptr dst" type_identifier identifier) , (parameter_declaration "mpq_srcptr src" type_identifier identifier) , (parameter_declaration "mp_bitcnt_t n" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  mp_limb_t *pmVar3;\n  mp_limb_t *pmVar4;\n  mp_limb_t mVar5;\n  mp_limb_t *pmVar6;\n  uint uVar7;\n  uint uVar8;\n  int iVar9;\n  __mpz_struct *p_Var10;\n  int iVar11;\n  __mpz_struct *p_Var12;\n  \n  iVar11 = (src->_mp_num)._mp_size;\n  if (iVar11 == 0) {\n    pmVar3 = (dst->_mp_den)._mp_d;\n    (dst->_mp_num)._mp_size = 0;\n    (dst->_mp_den)._mp_size = 1;\n    *pmVar3 = 1;\n    return;\n  }\n  p_Var12 = &dst->_mp_den;\n  pmVar3 = (src->_mp_num)._mp_d;\n  p_Var10 = &src->_mp_den;\n  iVar9 = iVar11;\n  if (iVar11 < 0) {\n    iVar9 = -iVar11;\n  }\n  uVar8 = *pmVar3;\n  pmVar6 = pmVar3;\n  uVar7 = n;\n  if (0x1f < n) {\n    uVar7 = n - 0x20;\n    if (uVar8 != 0) {\n      iVar1 = (dst->_mp_num)._mp_alloc;\n      uVar7 = n;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar8 = pmVar6[1];\n      pmVar6 = pmVar6 + 1;\n      if ((uVar7 < 0x20) || (uVar8 != 0)) break;\n      uVar7 = uVar7 - 0x20;\n    }\n    iVar9 = iVar9 - ((int)pmVar6 - (int)pmVar3 >> 2);\n  }\n  iVar1 = (dst->_mp_num)._mp_alloc;\nLAB_00039d78:\n  if (iVar1 < iVar9) {\n    pmVar3 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_0009d5c0)(dst,iVar9);\n  }\n  else {\n    pmVar3 = (dst->_mp_num)._mp_d;\n  }\n  if (((uVar8 & 1) == 0) && (uVar7 != 0)) {\n    if (uVar8 == 0) {\n      uVar8 = 0;\n    }\n    else {\n      if ((uVar8 & 0xff) == 0) {\n        uVar2 = uVar8 >> 8;\n        iVar1 = 6;\n        if ((uVar2 & 0xff) == 0) {\n          uVar2 = uVar8 >> 0x10;\n          iVar1 = 0xe;\n          if ((uVar2 & 0xff) == 0) {\n            uVar2 = uVar8 >> 0x18;\n            iVar1 = 0x1e;\n            if (uVar2 != 0) {\n              iVar1 = 0x16;\n            }\n          }\n        }\n        uVar2 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar2 & uVar2] + iVar1;\n      }\n      else {\n        uVar2 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] - 2;\n      }\n      if (uVar7 < uVar2) {\n        uVar2 = uVar7;\n      }\n      uVar8 = uVar7 - uVar2;\n      uVar7 = uVar2;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(pmVar3,pmVar6,iVar9,uVar7);\n    iVar9 = iVar9 - (uint)(pmVar3[iVar9 + -1] == 0);\n    uVar7 = uVar8;\n  }\n  else if ((pmVar3 != pmVar6) && (iVar1 = iVar9 + -1, iVar9 != 0)) {\n    mVar5 = *pmVar6;\n    pmVar4 = pmVar3;\n    if (iVar1 != 0) {\n      do {\n        pmVar6 = pmVar6 + 1;\n        *pmVar4 = mVar5;\n        iVar1 = iVar1 + -1;\n        mVar5 = *pmVar6;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar1 != 0);\n      pmVar3 = pmVar3 + iVar9 + -1;\n    }\n    *pmVar3 = mVar5;\n  }\n  if (iVar11 < 0) {\n    iVar9 = -iVar9;\n  }\n  (dst->_mp_num)._mp_size = iVar9;\n  if (uVar7 == 0) {\n    if (p_Var12 == p_Var10) {\n      return;\n    }\n    (*(code *)PTR___gmpz_set_0009d4b8)(p_Var12,p_Var10);\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00039ed8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR___gmpz_mul_2exp_0009d418)(p_Var12,p_Var10,uVar7);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "mp_limb_t *pmVar3;" type_identifier (pointer_declarator "*pmVar3" * identifier) ;) (declaration "mp_limb_t *pmVar4;" type_identifier (pointer_declarator "*pmVar4" * identifier) ;) (declaration "mp_limb_t mVar5;" type_identifier identifier ;) (declaration "mp_limb_t *pmVar6;" type_identifier (pointer_declarator "*pmVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "__mpz_struct *p_Var10;" type_identifier (pointer_declarator "*p_Var10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "__mpz_struct *p_Var12;" type_identifier (pointer_declarator "*p_Var12" * identifier) ;) (expression_statement "iVar11 = (src->_mp_num)._mp_size;" (assignment_expression "iVar11 = (src->_mp_num)._mp_size" identifier = (field_expression "(src->_mp_num)._mp_size" (parenthesized_expression "(src->_mp_num)" ( (field_expression "src->_mp_num" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (iVar11 == 0) {\n    pmVar3 = (dst->_mp_den)._mp_d;\n    (dst->_mp_num)._mp_size = 0;\n    (dst->_mp_den)._mp_size = 1;\n    *pmVar3 = 1;\n    return;\n  }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n    pmVar3 = (dst->_mp_den)._mp_d;\n    (dst->_mp_num)._mp_size = 0;\n    (dst->_mp_den)._mp_size = 1;\n    *pmVar3 = 1;\n    return;\n  }" { (expression_statement "pmVar3 = (dst->_mp_den)._mp_d;" (assignment_expression "pmVar3 = (dst->_mp_den)._mp_d" identifier = (field_expression "(dst->_mp_den)._mp_d" (parenthesized_expression "(dst->_mp_den)" ( (field_expression "dst->_mp_den" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "(dst->_mp_num)._mp_size = 0;" (assignment_expression "(dst->_mp_num)._mp_size = 0" (field_expression "(dst->_mp_num)._mp_size" (parenthesized_expression "(dst->_mp_num)" ( (field_expression "dst->_mp_num" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(dst->_mp_den)._mp_size = 1;" (assignment_expression "(dst->_mp_den)._mp_size = 1" (field_expression "(dst->_mp_den)._mp_size" (parenthesized_expression "(dst->_mp_den)" ( (field_expression "dst->_mp_den" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "*pmVar3 = 1;" (assignment_expression "*pmVar3 = 1" (pointer_expression "*pmVar3" * identifier) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "p_Var12 = &dst->_mp_den;" (assignment_expression "p_Var12 = &dst->_mp_den" identifier = (pointer_expression "&dst->_mp_den" & (field_expression "dst->_mp_den" identifier -> field_identifier))) ;) (expression_statement "pmVar3 = (src->_mp_num)._mp_d;" (assignment_expression "pmVar3 = (src->_mp_num)._mp_d" identifier = (field_expression "(src->_mp_num)._mp_d" (parenthesized_expression "(src->_mp_num)" ( (field_expression "src->_mp_num" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "p_Var10 = &src->_mp_den;" (assignment_expression "p_Var10 = &src->_mp_den" identifier = (pointer_expression "&src->_mp_den" & (field_expression "src->_mp_den" identifier -> field_identifier))) ;) (expression_statement "iVar9 = iVar11;" (assignment_expression "iVar9 = iVar11" identifier = identifier) ;) (if_statement "if (iVar11 < 0) {\n    iVar9 = -iVar11;\n  }" if (parenthesized_expression "(iVar11 < 0)" ( (binary_expression "iVar11 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar9 = -iVar11;\n  }" { (expression_statement "iVar9 = -iVar11;" (assignment_expression "iVar9 = -iVar11" identifier = (unary_expression "-iVar11" - identifier)) ;) })) (expression_statement "uVar8 = *pmVar3;" (assignment_expression "uVar8 = *pmVar3" identifier = (pointer_expression "*pmVar3" * identifier)) ;) (expression_statement "pmVar6 = pmVar3;" (assignment_expression "pmVar6 = pmVar3" identifier = identifier) ;) (expression_statement "uVar7 = n;" (assignment_expression "uVar7 = n" identifier = identifier) ;) (if_statement "if (0x1f < n) {\n    uVar7 = n - 0x20;\n    if (uVar8 != 0) {\n      iVar1 = (dst->_mp_num)._mp_alloc;\n      uVar7 = n;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar8 = pmVar6[1];\n      pmVar6 = pmVar6 + 1;\n      if ((uVar7 < 0x20) || (uVar8 != 0)) break;\n      uVar7 = uVar7 - 0x20;\n    }\n    iVar9 = iVar9 - ((int)pmVar6 - (int)pmVar3 >> 2);\n  }" if (parenthesized_expression "(0x1f < n)" ( (binary_expression "0x1f < n" number_literal < identifier) )) (compound_statement "{\n    uVar7 = n - 0x20;\n    if (uVar8 != 0) {\n      iVar1 = (dst->_mp_num)._mp_alloc;\n      uVar7 = n;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar8 = pmVar6[1];\n      pmVar6 = pmVar6 + 1;\n      if ((uVar7 < 0x20) || (uVar8 != 0)) break;\n      uVar7 = uVar7 - 0x20;\n    }\n    iVar9 = iVar9 - ((int)pmVar6 - (int)pmVar3 >> 2);\n  }" { (expression_statement "uVar7 = n - 0x20;" (assignment_expression "uVar7 = n - 0x20" identifier = (binary_expression "n - 0x20" identifier - number_literal)) ;) (if_statement "if (uVar8 != 0) {\n      iVar1 = (dst->_mp_num)._mp_alloc;\n      uVar7 = n;\n      goto LAB_00039d78;\n    }" if (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = (dst->_mp_num)._mp_alloc;\n      uVar7 = n;\n      goto LAB_00039d78;\n    }" { (expression_statement "iVar1 = (dst->_mp_num)._mp_alloc;" (assignment_expression "iVar1 = (dst->_mp_num)._mp_alloc" identifier = (field_expression "(dst->_mp_num)._mp_alloc" (parenthesized_expression "(dst->_mp_num)" ( (field_expression "dst->_mp_num" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "uVar7 = n;" (assignment_expression "uVar7 = n" identifier = identifier) ;) (goto_statement "goto LAB_00039d78;" goto statement_identifier ;) })) (while_statement "while( true ) {\n      uVar8 = pmVar6[1];\n      pmVar6 = pmVar6 + 1;\n      if ((uVar7 < 0x20) || (uVar8 != 0)) break;\n      uVar7 = uVar7 - 0x20;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      uVar8 = pmVar6[1];\n      pmVar6 = pmVar6 + 1;\n      if ((uVar7 < 0x20) || (uVar8 != 0)) break;\n      uVar7 = uVar7 - 0x20;\n    }" { (expression_statement "uVar8 = pmVar6[1];" (assignment_expression "uVar8 = pmVar6[1]" identifier = (subscript_expression "pmVar6[1]" identifier [ number_literal ])) ;) (expression_statement "pmVar6 = pmVar6 + 1;" (assignment_expression "pmVar6 = pmVar6 + 1" identifier = (binary_expression "pmVar6 + 1" identifier + number_literal)) ;) (if_statement "if ((uVar7 < 0x20) || (uVar8 != 0)) break;" if (parenthesized_expression "((uVar7 < 0x20) || (uVar8 != 0))" ( (binary_expression "(uVar7 < 0x20) || (uVar8 != 0)" (parenthesized_expression "(uVar7 < 0x20)" ( (binary_expression "uVar7 < 0x20" identifier < number_literal) )) || (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "uVar7 = uVar7 - 0x20;" (assignment_expression "uVar7 = uVar7 - 0x20" identifier = (binary_expression "uVar7 - 0x20" identifier - number_literal)) ;) })) (expression_statement "iVar9 = iVar9 - ((int)pmVar6 - (int)pmVar3 >> 2);" (assignment_expression "iVar9 = iVar9 - ((int)pmVar6 - (int)pmVar3 >> 2)" identifier = (binary_expression "iVar9 - ((int)pmVar6 - (int)pmVar3 >> 2)" identifier - (parenthesized_expression "((int)pmVar6 - (int)pmVar3 >> 2)" ( (binary_expression "(int)pmVar6 - (int)pmVar3 >> 2" (binary_expression "(int)pmVar6 - (int)pmVar3" (cast_expression "(int)pmVar6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pmVar3" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )))) ;) })) (expression_statement "iVar1 = (dst->_mp_num)._mp_alloc;" (assignment_expression "iVar1 = (dst->_mp_num)._mp_alloc" identifier = (field_expression "(dst->_mp_num)._mp_alloc" (parenthesized_expression "(dst->_mp_num)" ( (field_expression "dst->_mp_num" identifier -> field_identifier) )) . field_identifier)) ;) (labeled_statement "LAB_00039d78:\n  if (iVar1 < iVar9) {\n    pmVar3 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_0009d5c0)(dst,iVar9);\n  }\n  else {\n    pmVar3 = (dst->_mp_num)._mp_d;\n  }" statement_identifier : (if_statement "if (iVar1 < iVar9) {\n    pmVar3 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_0009d5c0)(dst,iVar9);\n  }\n  else {\n    pmVar3 = (dst->_mp_num)._mp_d;\n  }" if (parenthesized_expression "(iVar1 < iVar9)" ( (binary_expression "iVar1 < iVar9" identifier < identifier) )) (compound_statement "{\n    pmVar3 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_0009d5c0)(dst,iVar9);\n  }" { (expression_statement "pmVar3 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_0009d5c0)(dst,iVar9);" (assignment_expression "pmVar3 = (mp_limb_t *)(*(code *)PTR___gmpz_realloc_0009d5c0)(dst,iVar9)" identifier = (cast_expression "(mp_limb_t *)(*(code *)PTR___gmpz_realloc_0009d5c0)(dst,iVar9)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmpz_realloc_0009d5c0)(dst,iVar9)" (parenthesized_expression "(*(code *)PTR___gmpz_realloc_0009d5c0)" ( (pointer_expression "*(code *)PTR___gmpz_realloc_0009d5c0" * (cast_expression "(code *)PTR___gmpz_realloc_0009d5c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(dst,iVar9)" ( identifier , identifier ))))) ;) }) (else_clause "else {\n    pmVar3 = (dst->_mp_num)._mp_d;\n  }" else (compound_statement "{\n    pmVar3 = (dst->_mp_num)._mp_d;\n  }" { (expression_statement "pmVar3 = (dst->_mp_num)._mp_d;" (assignment_expression "pmVar3 = (dst->_mp_num)._mp_d" identifier = (field_expression "(dst->_mp_num)._mp_d" (parenthesized_expression "(dst->_mp_num)" ( (field_expression "dst->_mp_num" identifier -> field_identifier) )) . field_identifier)) ;) })))) (if_statement "if (((uVar8 & 1) == 0) && (uVar7 != 0)) {\n    if (uVar8 == 0) {\n      uVar8 = 0;\n    }\n    else {\n      if ((uVar8 & 0xff) == 0) {\n        uVar2 = uVar8 >> 8;\n        iVar1 = 6;\n        if ((uVar2 & 0xff) == 0) {\n          uVar2 = uVar8 >> 0x10;\n          iVar1 = 0xe;\n          if ((uVar2 & 0xff) == 0) {\n            uVar2 = uVar8 >> 0x18;\n            iVar1 = 0x1e;\n            if (uVar2 != 0) {\n              iVar1 = 0x16;\n            }\n          }\n        }\n        uVar2 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar2 & uVar2] + iVar1;\n      }\n      else {\n        uVar2 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] - 2;\n      }\n      if (uVar7 < uVar2) {\n        uVar2 = uVar7;\n      }\n      uVar8 = uVar7 - uVar2;\n      uVar7 = uVar2;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(pmVar3,pmVar6,iVar9,uVar7);\n    iVar9 = iVar9 - (uint)(pmVar3[iVar9 + -1] == 0);\n    uVar7 = uVar8;\n  }\n  else if ((pmVar3 != pmVar6) && (iVar1 = iVar9 + -1, iVar9 != 0)) {\n    mVar5 = *pmVar6;\n    pmVar4 = pmVar3;\n    if (iVar1 != 0) {\n      do {\n        pmVar6 = pmVar6 + 1;\n        *pmVar4 = mVar5;\n        iVar1 = iVar1 + -1;\n        mVar5 = *pmVar6;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar1 != 0);\n      pmVar3 = pmVar3 + iVar9 + -1;\n    }\n    *pmVar3 = mVar5;\n  }" if (parenthesized_expression "(((uVar8 & 1) == 0) && (uVar7 != 0))" ( (binary_expression "((uVar8 & 1) == 0) && (uVar7 != 0)" (parenthesized_expression "((uVar8 & 1) == 0)" ( (binary_expression "(uVar8 & 1) == 0" (parenthesized_expression "(uVar8 & 1)" ( (binary_expression "uVar8 & 1" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    if (uVar8 == 0) {\n      uVar8 = 0;\n    }\n    else {\n      if ((uVar8 & 0xff) == 0) {\n        uVar2 = uVar8 >> 8;\n        iVar1 = 6;\n        if ((uVar2 & 0xff) == 0) {\n          uVar2 = uVar8 >> 0x10;\n          iVar1 = 0xe;\n          if ((uVar2 & 0xff) == 0) {\n            uVar2 = uVar8 >> 0x18;\n            iVar1 = 0x1e;\n            if (uVar2 != 0) {\n              iVar1 = 0x16;\n            }\n          }\n        }\n        uVar2 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar2 & uVar2] + iVar1;\n      }\n      else {\n        uVar2 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] - 2;\n      }\n      if (uVar7 < uVar2) {\n        uVar2 = uVar7;\n      }\n      uVar8 = uVar7 - uVar2;\n      uVar7 = uVar2;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(pmVar3,pmVar6,iVar9,uVar7);\n    iVar9 = iVar9 - (uint)(pmVar3[iVar9 + -1] == 0);\n    uVar7 = uVar8;\n  }" { (if_statement "if (uVar8 == 0) {\n      uVar8 = 0;\n    }\n    else {\n      if ((uVar8 & 0xff) == 0) {\n        uVar2 = uVar8 >> 8;\n        iVar1 = 6;\n        if ((uVar2 & 0xff) == 0) {\n          uVar2 = uVar8 >> 0x10;\n          iVar1 = 0xe;\n          if ((uVar2 & 0xff) == 0) {\n            uVar2 = uVar8 >> 0x18;\n            iVar1 = 0x1e;\n            if (uVar2 != 0) {\n              iVar1 = 0x16;\n            }\n          }\n        }\n        uVar2 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar2 & uVar2] + iVar1;\n      }\n      else {\n        uVar2 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] - 2;\n      }\n      if (uVar7 < uVar2) {\n        uVar2 = uVar7;\n      }\n      uVar8 = uVar7 - uVar2;\n      uVar7 = uVar2;\n    }" if (parenthesized_expression "(uVar8 == 0)" ( (binary_expression "uVar8 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar8 = 0;\n    }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      if ((uVar8 & 0xff) == 0) {\n        uVar2 = uVar8 >> 8;\n        iVar1 = 6;\n        if ((uVar2 & 0xff) == 0) {\n          uVar2 = uVar8 >> 0x10;\n          iVar1 = 0xe;\n          if ((uVar2 & 0xff) == 0) {\n            uVar2 = uVar8 >> 0x18;\n            iVar1 = 0x1e;\n            if (uVar2 != 0) {\n              iVar1 = 0x16;\n            }\n          }\n        }\n        uVar2 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar2 & uVar2] + iVar1;\n      }\n      else {\n        uVar2 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] - 2;\n      }\n      if (uVar7 < uVar2) {\n        uVar2 = uVar7;\n      }\n      uVar8 = uVar7 - uVar2;\n      uVar7 = uVar2;\n    }" else (compound_statement "{\n      if ((uVar8 & 0xff) == 0) {\n        uVar2 = uVar8 >> 8;\n        iVar1 = 6;\n        if ((uVar2 & 0xff) == 0) {\n          uVar2 = uVar8 >> 0x10;\n          iVar1 = 0xe;\n          if ((uVar2 & 0xff) == 0) {\n            uVar2 = uVar8 >> 0x18;\n            iVar1 = 0x1e;\n            if (uVar2 != 0) {\n              iVar1 = 0x16;\n            }\n          }\n        }\n        uVar2 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar2 & uVar2] + iVar1;\n      }\n      else {\n        uVar2 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] - 2;\n      }\n      if (uVar7 < uVar2) {\n        uVar2 = uVar7;\n      }\n      uVar8 = uVar7 - uVar2;\n      uVar7 = uVar2;\n    }" { (if_statement "if ((uVar8 & 0xff) == 0) {\n        uVar2 = uVar8 >> 8;\n        iVar1 = 6;\n        if ((uVar2 & 0xff) == 0) {\n          uVar2 = uVar8 >> 0x10;\n          iVar1 = 0xe;\n          if ((uVar2 & 0xff) == 0) {\n            uVar2 = uVar8 >> 0x18;\n            iVar1 = 0x1e;\n            if (uVar2 != 0) {\n              iVar1 = 0x16;\n            }\n          }\n        }\n        uVar2 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar2 & uVar2] + iVar1;\n      }\n      else {\n        uVar2 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] - 2;\n      }" if (parenthesized_expression "((uVar8 & 0xff) == 0)" ( (binary_expression "(uVar8 & 0xff) == 0" (parenthesized_expression "(uVar8 & 0xff)" ( (binary_expression "uVar8 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar2 = uVar8 >> 8;\n        iVar1 = 6;\n        if ((uVar2 & 0xff) == 0) {\n          uVar2 = uVar8 >> 0x10;\n          iVar1 = 0xe;\n          if ((uVar2 & 0xff) == 0) {\n            uVar2 = uVar8 >> 0x18;\n            iVar1 = 0x1e;\n            if (uVar2 != 0) {\n              iVar1 = 0x16;\n            }\n          }\n        }\n        uVar2 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar2 & uVar2] + iVar1;\n      }" { (expression_statement "uVar2 = uVar8 >> 8;" (assignment_expression "uVar2 = uVar8 >> 8" identifier = (binary_expression "uVar8 >> 8" identifier >> number_literal)) ;) (expression_statement "iVar1 = 6;" (assignment_expression "iVar1 = 6" identifier = number_literal) ;) (if_statement "if ((uVar2 & 0xff) == 0) {\n          uVar2 = uVar8 >> 0x10;\n          iVar1 = 0xe;\n          if ((uVar2 & 0xff) == 0) {\n            uVar2 = uVar8 >> 0x18;\n            iVar1 = 0x1e;\n            if (uVar2 != 0) {\n              iVar1 = 0x16;\n            }\n          }\n        }" if (parenthesized_expression "((uVar2 & 0xff) == 0)" ( (binary_expression "(uVar2 & 0xff) == 0" (parenthesized_expression "(uVar2 & 0xff)" ( (binary_expression "uVar2 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          uVar2 = uVar8 >> 0x10;\n          iVar1 = 0xe;\n          if ((uVar2 & 0xff) == 0) {\n            uVar2 = uVar8 >> 0x18;\n            iVar1 = 0x1e;\n            if (uVar2 != 0) {\n              iVar1 = 0x16;\n            }\n          }\n        }" { (expression_statement "uVar2 = uVar8 >> 0x10;" (assignment_expression "uVar2 = uVar8 >> 0x10" identifier = (binary_expression "uVar8 >> 0x10" identifier >> number_literal)) ;) (expression_statement "iVar1 = 0xe;" (assignment_expression "iVar1 = 0xe" identifier = number_literal) ;) (if_statement "if ((uVar2 & 0xff) == 0) {\n            uVar2 = uVar8 >> 0x18;\n            iVar1 = 0x1e;\n            if (uVar2 != 0) {\n              iVar1 = 0x16;\n            }\n          }" if (parenthesized_expression "((uVar2 & 0xff) == 0)" ( (binary_expression "(uVar2 & 0xff) == 0" (parenthesized_expression "(uVar2 & 0xff)" ( (binary_expression "uVar2 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            uVar2 = uVar8 >> 0x18;\n            iVar1 = 0x1e;\n            if (uVar2 != 0) {\n              iVar1 = 0x16;\n            }\n          }" { (expression_statement "uVar2 = uVar8 >> 0x18;" (assignment_expression "uVar2 = uVar8 >> 0x18" identifier = (binary_expression "uVar8 >> 0x18" identifier >> number_literal)) ;) (expression_statement "iVar1 = 0x1e;" (assignment_expression "iVar1 = 0x1e" identifier = number_literal) ;) (if_statement "if (uVar2 != 0) {\n              iVar1 = 0x16;\n            }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n              iVar1 = 0x16;\n            }" { (expression_statement "iVar1 = 0x16;" (assignment_expression "iVar1 = 0x16" identifier = number_literal) ;) })) })) })) (expression_statement "uVar2 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar2 & uVar2] + iVar1;" (assignment_expression "uVar2 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar2 & uVar2] + iVar1" identifier = (binary_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar2 & uVar2] + iVar1" (cast_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar2 & uVar2]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar2 & uVar2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmpn_clz_tab_0009d18c[-uVar2 & uVar2]" identifier [ (binary_expression "-uVar2 & uVar2" (unary_expression "-uVar2" - identifier) & identifier) ]))) + identifier)) ;) }) (else_clause "else {\n        uVar2 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] - 2;\n      }" else (compound_statement "{\n        uVar2 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] - 2;\n      }" { (expression_statement "uVar2 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] - 2;" (assignment_expression "uVar2 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] - 2" identifier = (binary_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8] - 2" (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmpn_clz_tab_0009d18c[-uVar8 & uVar8]" identifier [ (binary_expression "-uVar8 & uVar8" (unary_expression "-uVar8" - identifier) & identifier) ])) - number_literal)) ;) }))) (if_statement "if (uVar7 < uVar2) {\n        uVar2 = uVar7;\n      }" if (parenthesized_expression "(uVar7 < uVar2)" ( (binary_expression "uVar7 < uVar2" identifier < identifier) )) (compound_statement "{\n        uVar2 = uVar7;\n      }" { (expression_statement "uVar2 = uVar7;" (assignment_expression "uVar2 = uVar7" identifier = identifier) ;) })) (expression_statement "uVar8 = uVar7 - uVar2;" (assignment_expression "uVar8 = uVar7 - uVar2" identifier = (binary_expression "uVar7 - uVar2" identifier - identifier)) ;) (expression_statement "uVar7 = uVar2;" (assignment_expression "uVar7 = uVar2" identifier = identifier) ;) }))) (expression_statement "(*(code *)PTR___gmpn_rshift_0009d560)(pmVar3,pmVar6,iVar9,uVar7);" (call_expression "(*(code *)PTR___gmpn_rshift_0009d560)(pmVar3,pmVar6,iVar9,uVar7)" (parenthesized_expression "(*(code *)PTR___gmpn_rshift_0009d560)" ( (pointer_expression "*(code *)PTR___gmpn_rshift_0009d560" * (cast_expression "(code *)PTR___gmpn_rshift_0009d560" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pmVar3,pmVar6,iVar9,uVar7)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "iVar9 = iVar9 - (uint)(pmVar3[iVar9 + -1] == 0);" (assignment_expression "iVar9 = iVar9 - (uint)(pmVar3[iVar9 + -1] == 0)" identifier = (binary_expression "iVar9 - (uint)(pmVar3[iVar9 + -1] == 0)" identifier - (call_expression "(uint)(pmVar3[iVar9 + -1] == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pmVar3[iVar9 + -1] == 0)" ( (binary_expression "pmVar3[iVar9 + -1] == 0" (subscript_expression "pmVar3[iVar9 + -1]" identifier [ (binary_expression "iVar9 + -1" identifier + number_literal) ]) == number_literal) ))))) ;) (expression_statement "uVar7 = uVar8;" (assignment_expression "uVar7 = uVar8" identifier = identifier) ;) }) (else_clause "else if ((pmVar3 != pmVar6) && (iVar1 = iVar9 + -1, iVar9 != 0)) {\n    mVar5 = *pmVar6;\n    pmVar4 = pmVar3;\n    if (iVar1 != 0) {\n      do {\n        pmVar6 = pmVar6 + 1;\n        *pmVar4 = mVar5;\n        iVar1 = iVar1 + -1;\n        mVar5 = *pmVar6;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar1 != 0);\n      pmVar3 = pmVar3 + iVar9 + -1;\n    }\n    *pmVar3 = mVar5;\n  }" else (if_statement "if ((pmVar3 != pmVar6) && (iVar1 = iVar9 + -1, iVar9 != 0)) {\n    mVar5 = *pmVar6;\n    pmVar4 = pmVar3;\n    if (iVar1 != 0) {\n      do {\n        pmVar6 = pmVar6 + 1;\n        *pmVar4 = mVar5;\n        iVar1 = iVar1 + -1;\n        mVar5 = *pmVar6;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar1 != 0);\n      pmVar3 = pmVar3 + iVar9 + -1;\n    }\n    *pmVar3 = mVar5;\n  }" if (parenthesized_expression "((pmVar3 != pmVar6) && (iVar1 = iVar9 + -1, iVar9 != 0))" ( (binary_expression "(pmVar3 != pmVar6) && (iVar1 = iVar9 + -1, iVar9 != 0)" (parenthesized_expression "(pmVar3 != pmVar6)" ( (binary_expression "pmVar3 != pmVar6" identifier != identifier) )) && (parenthesized_expression "(iVar1 = iVar9 + -1, iVar9 != 0)" ( (comma_expression "iVar1 = iVar9 + -1, iVar9 != 0" (assignment_expression "iVar1 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) , (binary_expression "iVar9 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    mVar5 = *pmVar6;\n    pmVar4 = pmVar3;\n    if (iVar1 != 0) {\n      do {\n        pmVar6 = pmVar6 + 1;\n        *pmVar4 = mVar5;\n        iVar1 = iVar1 + -1;\n        mVar5 = *pmVar6;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar1 != 0);\n      pmVar3 = pmVar3 + iVar9 + -1;\n    }\n    *pmVar3 = mVar5;\n  }" { (expression_statement "mVar5 = *pmVar6;" (assignment_expression "mVar5 = *pmVar6" identifier = (pointer_expression "*pmVar6" * identifier)) ;) (expression_statement "pmVar4 = pmVar3;" (assignment_expression "pmVar4 = pmVar3" identifier = identifier) ;) (if_statement "if (iVar1 != 0) {\n      do {\n        pmVar6 = pmVar6 + 1;\n        *pmVar4 = mVar5;\n        iVar1 = iVar1 + -1;\n        mVar5 = *pmVar6;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar1 != 0);\n      pmVar3 = pmVar3 + iVar9 + -1;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        pmVar6 = pmVar6 + 1;\n        *pmVar4 = mVar5;\n        iVar1 = iVar1 + -1;\n        mVar5 = *pmVar6;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar1 != 0);\n      pmVar3 = pmVar3 + iVar9 + -1;\n    }" { (do_statement "do {\n        pmVar6 = pmVar6 + 1;\n        *pmVar4 = mVar5;\n        iVar1 = iVar1 + -1;\n        mVar5 = *pmVar6;\n        pmVar4 = pmVar4 + 1;\n      } while (iVar1 != 0);" do (compound_statement "{\n        pmVar6 = pmVar6 + 1;\n        *pmVar4 = mVar5;\n        iVar1 = iVar1 + -1;\n        mVar5 = *pmVar6;\n        pmVar4 = pmVar4 + 1;\n      }" { (expression_statement "pmVar6 = pmVar6 + 1;" (assignment_expression "pmVar6 = pmVar6 + 1" identifier = (binary_expression "pmVar6 + 1" identifier + number_literal)) ;) (expression_statement "*pmVar4 = mVar5;" (assignment_expression "*pmVar4 = mVar5" (pointer_expression "*pmVar4" * identifier) = identifier) ;) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "mVar5 = *pmVar6;" (assignment_expression "mVar5 = *pmVar6" identifier = (pointer_expression "*pmVar6" * identifier)) ;) (expression_statement "pmVar4 = pmVar4 + 1;" (assignment_expression "pmVar4 = pmVar4 + 1" identifier = (binary_expression "pmVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) (expression_statement "pmVar3 = pmVar3 + iVar9 + -1;" (assignment_expression "pmVar3 = pmVar3 + iVar9 + -1" identifier = (binary_expression "pmVar3 + iVar9 + -1" (binary_expression "pmVar3 + iVar9" identifier + identifier) + number_literal)) ;) })) (expression_statement "*pmVar3 = mVar5;" (assignment_expression "*pmVar3 = mVar5" (pointer_expression "*pmVar3" * identifier) = identifier) ;) })))) (if_statement "if (iVar11 < 0) {\n    iVar9 = -iVar9;\n  }" if (parenthesized_expression "(iVar11 < 0)" ( (binary_expression "iVar11 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar9 = -iVar9;\n  }" { (expression_statement "iVar9 = -iVar9;" (assignment_expression "iVar9 = -iVar9" identifier = (unary_expression "-iVar9" - identifier)) ;) })) (expression_statement "(dst->_mp_num)._mp_size = iVar9;" (assignment_expression "(dst->_mp_num)._mp_size = iVar9" (field_expression "(dst->_mp_num)._mp_size" (parenthesized_expression "(dst->_mp_num)" ( (field_expression "dst->_mp_num" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (if_statement "if (uVar7 == 0) {\n    if (p_Var12 == p_Var10) {\n      return;\n    }\n    (*(code *)PTR___gmpz_set_0009d4b8)(p_Var12,p_Var10);\n    return;\n  }" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (compound_statement "{\n    if (p_Var12 == p_Var10) {\n      return;\n    }\n    (*(code *)PTR___gmpz_set_0009d4b8)(p_Var12,p_Var10);\n    return;\n  }" { (if_statement "if (p_Var12 == p_Var10) {\n      return;\n    }" if (parenthesized_expression "(p_Var12 == p_Var10)" ( (binary_expression "p_Var12 == p_Var10" identifier == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___gmpz_set_0009d4b8)(p_Var12,p_Var10);" (call_expression "(*(code *)PTR___gmpz_set_0009d4b8)(p_Var12,p_Var10)" (parenthesized_expression "(*(code *)PTR___gmpz_set_0009d4b8)" ( (pointer_expression "*(code *)PTR___gmpz_set_0009d4b8" * (cast_expression "(code *)PTR___gmpz_set_0009d4b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(p_Var12,p_Var10)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) comment comment (expression_statement "(*(code *)PTR___gmpz_mul_2exp_0009d418)(p_Var12,p_Var10,uVar7);" (call_expression "(*(code *)PTR___gmpz_mul_2exp_0009d418)(p_Var12,p_Var10,uVar7)" (parenthesized_expression "(*(code *)PTR___gmpz_mul_2exp_0009d418)" ( (pointer_expression "*(code *)PTR___gmpz_mul_2exp_0009d418" * (cast_expression "(code *)PTR___gmpz_mul_2exp_0009d418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(p_Var12,p_Var10,uVar7)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __gmpq_div_2exp(int *param_1,int param_2,uint param_3)\n\n{\n  uint *puVar1;\n  int iVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  int *piVar9;\n  int iVar10;\n  int *piVar11;\n  \n  iVar10 = *(int *)(param_2 + 4);\n  if (iVar10 == 0) {\n    param_1[1] = 0;\n    param_1[4] = 1;\n    *(undefined4 *)param_1[5] = 1;\n    return;\n  }\n  piVar11 = param_1 + 3;\n  puVar1 = *(uint **)(param_2 + 8);\n  piVar9 = (int *)(param_2 + 0xc);\n  iVar8 = iVar10;\n  if (iVar10 < 0) {\n    iVar8 = -iVar10;\n  }\n  uVar7 = *puVar1;\n  puVar5 = puVar1;\n  uVar6 = param_3;\n  if (0x1f < param_3) {\n    uVar6 = param_3 - 0x20;\n    if (uVar7 != 0) {\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }\n    iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);\n  }\n  iVar2 = *param_1;\nLAB_00039d78:\n  if (iVar2 < iVar8) {\n    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);\n  }\n  else {\n    puVar1 = (uint *)param_1[2];\n  }\n  if (((uVar7 & 1) == 0) && (uVar6 != 0)) {\n    if (uVar7 == 0) {\n      uVar7 = 0;\n    }\n    else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);\n    iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);\n    uVar6 = uVar7;\n  }\n  else if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }\n  if (iVar10 < 0) {\n    iVar8 = -iVar8;\n  }\n  param_1[1] = iVar8;\n  if (uVar6 == 0) {\n    if (piVar11 == piVar9) {\n      return;\n    }\n                    \n                    \n    (*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);\n    return;\n  }\n                    \n                    \n  (*(code *)PTR___gmpz_mul_2exp_0009d418)(piVar11,piVar9,uVar6);\n  return;\n}\n\n" (function_definition "void __gmpq_div_2exp(int *param_1,int param_2,uint param_3)\n\n{\n  uint *puVar1;\n  int iVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  int *piVar9;\n  int iVar10;\n  int *piVar11;\n  \n  iVar10 = *(int *)(param_2 + 4);\n  if (iVar10 == 0) {\n    param_1[1] = 0;\n    param_1[4] = 1;\n    *(undefined4 *)param_1[5] = 1;\n    return;\n  }\n  piVar11 = param_1 + 3;\n  puVar1 = *(uint **)(param_2 + 8);\n  piVar9 = (int *)(param_2 + 0xc);\n  iVar8 = iVar10;\n  if (iVar10 < 0) {\n    iVar8 = -iVar10;\n  }\n  uVar7 = *puVar1;\n  puVar5 = puVar1;\n  uVar6 = param_3;\n  if (0x1f < param_3) {\n    uVar6 = param_3 - 0x20;\n    if (uVar7 != 0) {\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }\n    iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);\n  }\n  iVar2 = *param_1;\nLAB_00039d78:\n  if (iVar2 < iVar8) {\n    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);\n  }\n  else {\n    puVar1 = (uint *)param_1[2];\n  }\n  if (((uVar7 & 1) == 0) && (uVar6 != 0)) {\n    if (uVar7 == 0) {\n      uVar7 = 0;\n    }\n    else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);\n    iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);\n    uVar6 = uVar7;\n  }\n  else if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }\n  if (iVar10 < 0) {\n    iVar8 = -iVar8;\n  }\n  param_1[1] = iVar8;\n  if (uVar6 == 0) {\n    if (piVar11 == piVar9) {\n      return;\n    }\n                    \n                    \n    (*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);\n    return;\n  }\n                    \n                    \n  (*(code *)PTR___gmpz_mul_2exp_0009d418)(piVar11,piVar9,uVar6);\n  return;\n}" primitive_type (function_declarator "__gmpq_div_2exp(int *param_1,int param_2,uint param_3)" identifier (parameter_list "(int *param_1,int param_2,uint param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  int iVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  int *piVar9;\n  int iVar10;\n  int *piVar11;\n  \n  iVar10 = *(int *)(param_2 + 4);\n  if (iVar10 == 0) {\n    param_1[1] = 0;\n    param_1[4] = 1;\n    *(undefined4 *)param_1[5] = 1;\n    return;\n  }\n  piVar11 = param_1 + 3;\n  puVar1 = *(uint **)(param_2 + 8);\n  piVar9 = (int *)(param_2 + 0xc);\n  iVar8 = iVar10;\n  if (iVar10 < 0) {\n    iVar8 = -iVar10;\n  }\n  uVar7 = *puVar1;\n  puVar5 = puVar1;\n  uVar6 = param_3;\n  if (0x1f < param_3) {\n    uVar6 = param_3 - 0x20;\n    if (uVar7 != 0) {\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }\n    iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);\n  }\n  iVar2 = *param_1;\nLAB_00039d78:\n  if (iVar2 < iVar8) {\n    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);\n  }\n  else {\n    puVar1 = (uint *)param_1[2];\n  }\n  if (((uVar7 & 1) == 0) && (uVar6 != 0)) {\n    if (uVar7 == 0) {\n      uVar7 = 0;\n    }\n    else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);\n    iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);\n    uVar6 = uVar7;\n  }\n  else if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }\n  if (iVar10 < 0) {\n    iVar8 = -iVar8;\n  }\n  param_1[1] = iVar8;\n  if (uVar6 == 0) {\n    if (piVar11 == piVar9) {\n      return;\n    }\n                    \n                    \n    (*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);\n    return;\n  }\n                    \n                    \n  (*(code *)PTR___gmpz_mul_2exp_0009d418)(piVar11,piVar9,uVar6);\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (expression_statement "iVar10 = *(int *)(param_2 + 4);" (assignment_expression "iVar10 = *(int *)(param_2 + 4)" identifier = (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar10 == 0) {\n    param_1[1] = 0;\n    param_1[4] = 1;\n    *(undefined4 *)param_1[5] = 1;\n    return;\n  }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n    param_1[1] = 0;\n    param_1[4] = 1;\n    *(undefined4 *)param_1[5] = 1;\n    return;\n  }" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 1;" (assignment_expression "param_1[4] = 1" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)param_1[5] = 1;" (assignment_expression "*(undefined4 *)param_1[5] = 1" (pointer_expression "*(undefined4 *)param_1[5]" * (cast_expression "(undefined4 *)param_1[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "piVar11 = param_1 + 3;" (assignment_expression "piVar11 = param_1 + 3" identifier = (binary_expression "param_1 + 3" identifier + number_literal)) ;) (expression_statement "puVar1 = *(uint **)(param_2 + 8);" (assignment_expression "puVar1 = *(uint **)(param_2 + 8)" identifier = (pointer_expression "*(uint **)(param_2 + 8)" * (cast_expression "(uint **)(param_2 + 8)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "piVar9 = (int *)(param_2 + 0xc);" (assignment_expression "piVar9 = (int *)(param_2 + 0xc)" identifier = (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) ;) (expression_statement "iVar8 = iVar10;" (assignment_expression "iVar8 = iVar10" identifier = identifier) ;) (if_statement "if (iVar10 < 0) {\n    iVar8 = -iVar10;\n  }" if (parenthesized_expression "(iVar10 < 0)" ( (binary_expression "iVar10 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar8 = -iVar10;\n  }" { (expression_statement "iVar8 = -iVar10;" (assignment_expression "iVar8 = -iVar10" identifier = (unary_expression "-iVar10" - identifier)) ;) })) (expression_statement "uVar7 = *puVar1;" (assignment_expression "uVar7 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "puVar5 = puVar1;" (assignment_expression "puVar5 = puVar1" identifier = identifier) ;) (expression_statement "uVar6 = param_3;" (assignment_expression "uVar6 = param_3" identifier = identifier) ;) (if_statement "if (0x1f < param_3) {\n    uVar6 = param_3 - 0x20;\n    if (uVar7 != 0) {\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }\n    iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);\n  }" if (parenthesized_expression "(0x1f < param_3)" ( (binary_expression "0x1f < param_3" number_literal < identifier) )) (compound_statement "{\n    uVar6 = param_3 - 0x20;\n    if (uVar7 != 0) {\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }\n    iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);\n  }" { (expression_statement "uVar6 = param_3 - 0x20;" (assignment_expression "uVar6 = param_3 - 0x20" identifier = (binary_expression "param_3 - 0x20" identifier - number_literal)) ;) (if_statement "if (uVar7 != 0) {\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }" { (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar6 = param_3;" (assignment_expression "uVar6 = param_3" identifier = identifier) ;) (goto_statement "goto LAB_00039d78;" goto statement_identifier ;) })) (while_statement "while( true ) {\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }" { (expression_statement "uVar7 = puVar5[1];" (assignment_expression "uVar7 = puVar5[1]" identifier = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (if_statement "if ((uVar6 < 0x20) || (uVar7 != 0)) break;" if (parenthesized_expression "((uVar6 < 0x20) || (uVar7 != 0))" ( (binary_expression "(uVar6 < 0x20) || (uVar7 != 0)" (parenthesized_expression "(uVar6 < 0x20)" ( (binary_expression "uVar6 < 0x20" identifier < number_literal) )) || (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "uVar6 = uVar6 - 0x20;" (assignment_expression "uVar6 = uVar6 - 0x20" identifier = (binary_expression "uVar6 - 0x20" identifier - number_literal)) ;) })) (expression_statement "iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);" (assignment_expression "iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2)" identifier = (binary_expression "iVar8 - ((int)puVar5 - (int)puVar1 >> 2)" identifier - (parenthesized_expression "((int)puVar5 - (int)puVar1 >> 2)" ( (binary_expression "(int)puVar5 - (int)puVar1 >> 2" (binary_expression "(int)puVar5 - (int)puVar1" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )))) ;) })) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (labeled_statement "LAB_00039d78:\n  if (iVar2 < iVar8) {\n    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);\n  }\n  else {\n    puVar1 = (uint *)param_1[2];\n  }" statement_identifier : (if_statement "if (iVar2 < iVar8) {\n    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);\n  }\n  else {\n    puVar1 = (uint *)param_1[2];\n  }" if (parenthesized_expression "(iVar2 < iVar8)" ( (binary_expression "iVar2 < iVar8" identifier < identifier) )) (compound_statement "{\n    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);\n  }" { (expression_statement "puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);" (assignment_expression "puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8)" identifier = (cast_expression "(uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8)" (parenthesized_expression "(*(code *)PTR___gmpz_realloc_0009d5c0)" ( (pointer_expression "*(code *)PTR___gmpz_realloc_0009d5c0" * (cast_expression "(code *)PTR___gmpz_realloc_0009d5c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,iVar8)" ( identifier , identifier ))))) ;) }) (else_clause "else {\n    puVar1 = (uint *)param_1[2];\n  }" else (compound_statement "{\n    puVar1 = (uint *)param_1[2];\n  }" { (expression_statement "puVar1 = (uint *)param_1[2];" (assignment_expression "puVar1 = (uint *)param_1[2]" identifier = (cast_expression "(uint *)param_1[2]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) })))) (if_statement "if (((uVar7 & 1) == 0) && (uVar6 != 0)) {\n    if (uVar7 == 0) {\n      uVar7 = 0;\n    }\n    else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);\n    iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);\n    uVar6 = uVar7;\n  }\n  else if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }" if (parenthesized_expression "(((uVar7 & 1) == 0) && (uVar6 != 0))" ( (binary_expression "((uVar7 & 1) == 0) && (uVar6 != 0)" (parenthesized_expression "((uVar7 & 1) == 0)" ( (binary_expression "(uVar7 & 1) == 0" (parenthesized_expression "(uVar7 & 1)" ( (binary_expression "uVar7 & 1" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    if (uVar7 == 0) {\n      uVar7 = 0;\n    }\n    else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);\n    iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);\n    uVar6 = uVar7;\n  }" { (if_statement "if (uVar7 == 0) {\n      uVar7 = 0;\n    }\n    else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar7 = 0;\n    }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }" else (compound_statement "{\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }" { (if_statement "if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }" if (parenthesized_expression "((uVar7 & 0xff) == 0)" ( (binary_expression "(uVar7 & 0xff) == 0" (parenthesized_expression "(uVar7 & 0xff)" ( (binary_expression "uVar7 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }" { (expression_statement "uVar3 = uVar7 >> 8;" (assignment_expression "uVar3 = uVar7 >> 8" identifier = (binary_expression "uVar7 >> 8" identifier >> number_literal)) ;) (expression_statement "iVar2 = 6;" (assignment_expression "iVar2 = 6" identifier = number_literal) ;) (if_statement "if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }" if (parenthesized_expression "((uVar3 & 0xff) == 0)" ( (binary_expression "(uVar3 & 0xff) == 0" (parenthesized_expression "(uVar3 & 0xff)" ( (binary_expression "uVar3 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }" { (expression_statement "uVar3 = uVar7 >> 0x10;" (assignment_expression "uVar3 = uVar7 >> 0x10" identifier = (binary_expression "uVar7 >> 0x10" identifier >> number_literal)) ;) (expression_statement "iVar2 = 0xe;" (assignment_expression "iVar2 = 0xe" identifier = number_literal) ;) (if_statement "if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }" if (parenthesized_expression "((uVar3 & 0xff) == 0)" ( (binary_expression "(uVar3 & 0xff) == 0" (parenthesized_expression "(uVar3 & 0xff)" ( (binary_expression "uVar3 & 0xff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }" { (expression_statement "uVar3 = uVar7 >> 0x18;" (assignment_expression "uVar3 = uVar7 >> 0x18" identifier = (binary_expression "uVar7 >> 0x18" identifier >> number_literal)) ;) (expression_statement "iVar2 = 0x1e;" (assignment_expression "iVar2 = 0x1e" identifier = number_literal) ;) (if_statement "if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n              iVar2 = 0x16;\n            }" { (expression_statement "iVar2 = 0x16;" (assignment_expression "iVar2 = 0x16" identifier = number_literal) ;) })) })) })) (expression_statement "uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;" (assignment_expression "uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2" identifier = (binary_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2" (cast_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3]" identifier [ (binary_expression "-uVar3 & uVar3" (unary_expression "-uVar3" - identifier) & identifier) ]))) + identifier)) ;) }) (else_clause "else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }" else (compound_statement "{\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }" { (expression_statement "uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;" (assignment_expression "uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2" identifier = (binary_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2" (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7]" identifier [ (binary_expression "-uVar7 & uVar7" (unary_expression "-uVar7" - identifier) & identifier) ])) - number_literal)) ;) }))) (if_statement "if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }" if (parenthesized_expression "(uVar6 < uVar3)" ( (binary_expression "uVar6 < uVar3" identifier < identifier) )) (compound_statement "{\n        uVar3 = uVar6;\n      }" { (expression_statement "uVar3 = uVar6;" (assignment_expression "uVar3 = uVar6" identifier = identifier) ;) })) (expression_statement "uVar7 = uVar6 - uVar3;" (assignment_expression "uVar7 = uVar6 - uVar3" identifier = (binary_expression "uVar6 - uVar3" identifier - identifier)) ;) (expression_statement "uVar6 = uVar3;" (assignment_expression "uVar6 = uVar3" identifier = identifier) ;) }))) (expression_statement "(*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);" (call_expression "(*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6)" (parenthesized_expression "(*(code *)PTR___gmpn_rshift_0009d560)" ( (pointer_expression "*(code *)PTR___gmpn_rshift_0009d560" * (cast_expression "(code *)PTR___gmpn_rshift_0009d560" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1,puVar5,iVar8,uVar6)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);" (assignment_expression "iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0)" identifier = (binary_expression "iVar8 - (uint)(puVar1[iVar8 + -1] == 0)" identifier - (call_expression "(uint)(puVar1[iVar8 + -1] == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar1[iVar8 + -1] == 0)" ( (binary_expression "puVar1[iVar8 + -1] == 0" (subscript_expression "puVar1[iVar8 + -1]" identifier [ (binary_expression "iVar8 + -1" identifier + number_literal) ]) == number_literal) ))))) ;) (expression_statement "uVar6 = uVar7;" (assignment_expression "uVar6 = uVar7" identifier = identifier) ;) }) (else_clause "else if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }" else (if_statement "if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }" if (parenthesized_expression "((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0))" ( (binary_expression "(puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)" (parenthesized_expression "(puVar1 != puVar5)" ( (binary_expression "puVar1 != puVar5" identifier != identifier) )) && (parenthesized_expression "(iVar2 = iVar8 + -1, iVar8 != 0)" ( (comma_expression "iVar2 = iVar8 + -1, iVar8 != 0" (assignment_expression "iVar2 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) , (binary_expression "iVar8 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }" { (expression_statement "uVar7 = *puVar5;" (assignment_expression "uVar7 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) (if_statement "if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }" { (do_statement "do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);" do (compound_statement "{\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      }" { (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar4 = uVar7;" (assignment_expression "*puVar4 = uVar7" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "uVar7 = *puVar5;" (assignment_expression "uVar7 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) ;) (expression_statement "puVar1 = puVar1 + iVar8 + -1;" (assignment_expression "puVar1 = puVar1 + iVar8 + -1" identifier = (binary_expression "puVar1 + iVar8 + -1" (binary_expression "puVar1 + iVar8" identifier + identifier) + number_literal)) ;) })) (expression_statement "*puVar1 = uVar7;" (assignment_expression "*puVar1 = uVar7" (pointer_expression "*puVar1" * identifier) = identifier) ;) })))) (if_statement "if (iVar10 < 0) {\n    iVar8 = -iVar8;\n  }" if (parenthesized_expression "(iVar10 < 0)" ( (binary_expression "iVar10 < 0" identifier < number_literal) )) (compound_statement "{\n    iVar8 = -iVar8;\n  }" { (expression_statement "iVar8 = -iVar8;" (assignment_expression "iVar8 = -iVar8" identifier = (unary_expression "-iVar8" - identifier)) ;) })) (expression_statement "param_1[1] = iVar8;" (assignment_expression "param_1[1] = iVar8" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar6 == 0) {\n    if (piVar11 == piVar9) {\n      return;\n    }\n                    \n                    \n    (*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);\n    return;\n  }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    if (piVar11 == piVar9) {\n      return;\n    }\n                    \n                    \n    (*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);\n    return;\n  }" { (if_statement "if (piVar11 == piVar9) {\n      return;\n    }" if (parenthesized_expression "(piVar11 == piVar9)" ( (binary_expression "piVar11 == piVar9" identifier == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);" (call_expression "(*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9)" (parenthesized_expression "(*(code *)PTR___gmpz_set_0009d4b8)" ( (pointer_expression "*(code *)PTR___gmpz_set_0009d4b8" * (cast_expression "(code *)PTR___gmpz_set_0009d4b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar11,piVar9)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___gmpz_mul_2exp_0009d418)(piVar11,piVar9,uVar6);" (call_expression "(*(code *)PTR___gmpz_mul_2exp_0009d418)(piVar11,piVar9,uVar6)" (parenthesized_expression "(*(code *)PTR___gmpz_mul_2exp_0009d418)" ( (pointer_expression "*(code *)PTR___gmpz_mul_2exp_0009d418" * (cast_expression "(code *)PTR___gmpz_mul_2exp_0009d418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar11,piVar9,uVar6)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = LIT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) })))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) })) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression (unary_expression - IDENT) & IDENT) ]))) + IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression (unary_expression - IDENT) & IDENT) ])) - LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) == LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - IDENT)) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __gmpq_div_2exp(int *param_1,int param_2,uint param_3)\n\n{\n  uint *puVar1;\n  int iVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  int *piVar9;\n  int iVar10;\n  int *piVar11;\n  \n  iVar10 = *(int *)(param_2 + 4);\n  if (iVar10 == 0) {\n    param_1[1] = 0;\n    param_1[4] = 1;\n    *(undefined4 *)param_1[5] = 1;\n    return;\n  }\n  piVar11 = param_1 + 3;\n  puVar1 = *(uint **)(param_2 + 8);\n  piVar9 = (int *)(param_2 + 0xc);\n  iVar8 = iVar10;\n  if (iVar10 < 0) {\n    iVar8 = -iVar10;\n  }\n  uVar7 = *puVar1;\n  puVar5 = puVar1;\n  uVar6 = param_3;\n  if (0x1f < param_3) {\n    uVar6 = param_3 - 0x20;\n    if (uVar7 != 0) {\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }\n    iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);\n  }\n  iVar2 = *param_1;\nLAB_00039d78:\n  if (iVar2 < iVar8) {\n    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);\n  }\n  else {\n    puVar1 = (uint *)param_1[2];\n  }\n  if (((uVar7 & 1) == 0) && (uVar6 != 0)) {\n    if (uVar7 == 0) {\n      uVar7 = 0;\n    }\n    else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);\n    iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);\n    uVar6 = uVar7;\n  }\n  else if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }\n  if (iVar10 < 0) {\n    iVar8 = -iVar8;\n  }\n  param_1[1] = iVar8;\n  if (uVar6 == 0) {\n    if (piVar11 == piVar9) {\n      return;\n    }\n                    \n                    \n    (*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);\n    return;\n  }\n                    \n                    \n  (*(code *)PTR___gmpz_mul_2exp_0009d418)(piVar11,piVar9,uVar6);\n  return;\n}" (primitive_type "void") (function_declarator "__gmpq_div_2exp(int *param_1,int param_2,uint param_3)" (identifier "__gmpq_div_2exp") (parameter_list "(int *param_1,int param_2,uint param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint *puVar1;\n  int iVar2;\n  uint uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  uint uVar6;\n  uint uVar7;\n  int iVar8;\n  int *piVar9;\n  int iVar10;\n  int *piVar11;\n  \n  iVar10 = *(int *)(param_2 + 4);\n  if (iVar10 == 0) {\n    param_1[1] = 0;\n    param_1[4] = 1;\n    *(undefined4 *)param_1[5] = 1;\n    return;\n  }\n  piVar11 = param_1 + 3;\n  puVar1 = *(uint **)(param_2 + 8);\n  piVar9 = (int *)(param_2 + 0xc);\n  iVar8 = iVar10;\n  if (iVar10 < 0) {\n    iVar8 = -iVar10;\n  }\n  uVar7 = *puVar1;\n  puVar5 = puVar1;\n  uVar6 = param_3;\n  if (0x1f < param_3) {\n    uVar6 = param_3 - 0x20;\n    if (uVar7 != 0) {\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }\n    iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);\n  }\n  iVar2 = *param_1;\nLAB_00039d78:\n  if (iVar2 < iVar8) {\n    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);\n  }\n  else {\n    puVar1 = (uint *)param_1[2];\n  }\n  if (((uVar7 & 1) == 0) && (uVar6 != 0)) {\n    if (uVar7 == 0) {\n      uVar7 = 0;\n    }\n    else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);\n    iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);\n    uVar6 = uVar7;\n  }\n  else if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }\n  if (iVar10 < 0) {\n    iVar8 = -iVar8;\n  }\n  param_1[1] = iVar8;\n  if (uVar6 == 0) {\n    if (piVar11 == piVar9) {\n      return;\n    }\n                    \n                    \n    (*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);\n    return;\n  }\n                    \n                    \n  (*(code *)PTR___gmpz_mul_2exp_0009d418)(piVar11,piVar9,uVar6);\n  return;\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint *puVar4;" (type_identifier "uint") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "uint *puVar5;" (type_identifier "uint") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int *piVar9;" (primitive_type "int") (pointer_declarator "*piVar9" (* "*") (identifier "piVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int *piVar11;" (primitive_type "int") (pointer_declarator "*piVar11" (* "*") (identifier "piVar11")) (; ";")) (expression_statement "iVar10 = *(int *)(param_2 + 4);" (assignment_expression "iVar10 = *(int *)(param_2 + 4)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (iVar10 == 0) {\n    param_1[1] = 0;\n    param_1[4] = 1;\n    *(undefined4 *)param_1[5] = 1;\n    return;\n  }" (if "if") (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    param_1[1] = 0;\n    param_1[4] = 1;\n    *(undefined4 *)param_1[5] = 1;\n    return;\n  }" ({ "{") (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[4] = 1;" (assignment_expression "param_1[4] = 1" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)param_1[5] = 1;" (assignment_expression "*(undefined4 *)param_1[5] = 1" (pointer_expression "*(undefined4 *)param_1[5]" (* "*") (cast_expression "(undefined4 *)param_1[5]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "piVar11 = param_1 + 3;" (assignment_expression "piVar11 = param_1 + 3" (identifier "piVar11") (= "=") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "puVar1 = *(uint **)(param_2 + 8);" (assignment_expression "puVar1 = *(uint **)(param_2 + 8)" (identifier "puVar1") (= "=") (pointer_expression "*(uint **)(param_2 + 8)" (* "*") (cast_expression "(uint **)(param_2 + 8)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "piVar9 = (int *)(param_2 + 0xc);" (assignment_expression "piVar9 = (int *)(param_2 + 0xc)" (identifier "piVar9") (= "=") (cast_expression "(int *)(param_2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) (; ";")) (expression_statement "iVar8 = iVar10;" (assignment_expression "iVar8 = iVar10" (identifier "iVar8") (= "=") (identifier "iVar10")) (; ";")) (if_statement "if (iVar10 < 0) {\n    iVar8 = -iVar10;\n  }" (if "if") (parenthesized_expression "(iVar10 < 0)" (( "(") (binary_expression "iVar10 < 0" (identifier "iVar10") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    iVar8 = -iVar10;\n  }" ({ "{") (expression_statement "iVar8 = -iVar10;" (assignment_expression "iVar8 = -iVar10" (identifier "iVar8") (= "=") (unary_expression "-iVar10" (- "-") (identifier "iVar10"))) (; ";")) (} "}"))) (expression_statement "uVar7 = *puVar1;" (assignment_expression "uVar7 = *puVar1" (identifier "uVar7") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "puVar5 = puVar1;" (assignment_expression "puVar5 = puVar1" (identifier "puVar5") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "uVar6 = param_3;" (assignment_expression "uVar6 = param_3" (identifier "uVar6") (= "=") (identifier "param_3")) (; ";")) (if_statement "if (0x1f < param_3) {\n    uVar6 = param_3 - 0x20;\n    if (uVar7 != 0) {\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }\n    iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);\n  }" (if "if") (parenthesized_expression "(0x1f < param_3)" (( "(") (binary_expression "0x1f < param_3" (number_literal "0x1f") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n    uVar6 = param_3 - 0x20;\n    if (uVar7 != 0) {\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }\n    while( true ) {\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }\n    iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);\n  }" ({ "{") (expression_statement "uVar6 = param_3 - 0x20;" (assignment_expression "uVar6 = param_3 - 0x20" (identifier "uVar6") (= "=") (binary_expression "param_3 - 0x20" (identifier "param_3") (- "-") (number_literal "0x20"))) (; ";")) (if_statement "if (uVar7 != 0) {\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }" (if "if") (parenthesized_expression "(uVar7 != 0)" (( "(") (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar2 = *param_1;\n      uVar6 = param_3;\n      goto LAB_00039d78;\n    }" ({ "{") (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar6 = param_3;" (assignment_expression "uVar6 = param_3" (identifier "uVar6") (= "=") (identifier "param_3")) (; ";")) (goto_statement "goto LAB_00039d78;" (goto "goto") (statement_identifier "LAB_00039d78") (; ";")) (} "}"))) (while_statement "while( true ) {\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      uVar7 = puVar5[1];\n      puVar5 = puVar5 + 1;\n      if ((uVar6 < 0x20) || (uVar7 != 0)) break;\n      uVar6 = uVar6 - 0x20;\n    }" ({ "{") (expression_statement "uVar7 = puVar5[1];" (assignment_expression "uVar7 = puVar5[1]" (identifier "uVar7") (= "=") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((uVar6 < 0x20) || (uVar7 != 0)) break;" (if "if") (parenthesized_expression "((uVar6 < 0x20) || (uVar7 != 0))" (( "(") (binary_expression "(uVar6 < 0x20) || (uVar7 != 0)" (parenthesized_expression "(uVar6 < 0x20)" (( "(") (binary_expression "uVar6 < 0x20" (identifier "uVar6") (< "<") (number_literal "0x20")) () ")")) (|| "||") (parenthesized_expression "(uVar7 != 0)" (( "(") (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar6 = uVar6 - 0x20;" (assignment_expression "uVar6 = uVar6 - 0x20" (identifier "uVar6") (= "=") (binary_expression "uVar6 - 0x20" (identifier "uVar6") (- "-") (number_literal "0x20"))) (; ";")) (} "}"))) (expression_statement "iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);" (assignment_expression "iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2)" (identifier "iVar8") (= "=") (binary_expression "iVar8 - ((int)puVar5 - (int)puVar1 >> 2)" (identifier "iVar8") (- "-") (parenthesized_expression "((int)puVar5 - (int)puVar1 >> 2)" (( "(") (binary_expression "(int)puVar5 - (int)puVar1 >> 2" (binary_expression "(int)puVar5 - (int)puVar1" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (- "-") (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1"))) (>> ">>") (number_literal "2")) () ")")))) (; ";")) (} "}"))) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (labeled_statement "LAB_00039d78:\n  if (iVar2 < iVar8) {\n    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);\n  }\n  else {\n    puVar1 = (uint *)param_1[2];\n  }" (statement_identifier "LAB_00039d78") (: ":") (if_statement "if (iVar2 < iVar8) {\n    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);\n  }\n  else {\n    puVar1 = (uint *)param_1[2];\n  }" (if "if") (parenthesized_expression "(iVar2 < iVar8)" (( "(") (binary_expression "iVar2 < iVar8" (identifier "iVar2") (< "<") (identifier "iVar8")) () ")")) (compound_statement "{\n    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);\n  }" ({ "{") (expression_statement "puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);" (assignment_expression "puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8)" (identifier "puVar1") (= "=") (cast_expression "(uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8)" (parenthesized_expression "(*(code *)PTR___gmpz_realloc_0009d5c0)" (( "(") (pointer_expression "*(code *)PTR___gmpz_realloc_0009d5c0" (* "*") (cast_expression "(code *)PTR___gmpz_realloc_0009d5c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpz_realloc_0009d5c0"))) () ")")) (argument_list "(param_1,iVar8)" (( "(") (identifier "param_1") (, ",") (identifier "iVar8") () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    puVar1 = (uint *)param_1[2];\n  }" (else "else") (compound_statement "{\n    puVar1 = (uint *)param_1[2];\n  }" ({ "{") (expression_statement "puVar1 = (uint *)param_1[2];" (assignment_expression "puVar1 = (uint *)param_1[2]" (identifier "puVar1") (= "=") (cast_expression "(uint *)param_1[2]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (} "}"))))) (if_statement "if (((uVar7 & 1) == 0) && (uVar6 != 0)) {\n    if (uVar7 == 0) {\n      uVar7 = 0;\n    }\n    else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);\n    iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);\n    uVar6 = uVar7;\n  }\n  else if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }" (if "if") (parenthesized_expression "(((uVar7 & 1) == 0) && (uVar6 != 0))" (( "(") (binary_expression "((uVar7 & 1) == 0) && (uVar6 != 0)" (parenthesized_expression "((uVar7 & 1) == 0)" (( "(") (binary_expression "(uVar7 & 1) == 0" (parenthesized_expression "(uVar7 & 1)" (( "(") (binary_expression "uVar7 & 1" (identifier "uVar7") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar6 != 0)" (( "(") (binary_expression "uVar6 != 0" (identifier "uVar6") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    if (uVar7 == 0) {\n      uVar7 = 0;\n    }\n    else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }\n    (*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);\n    iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);\n    uVar6 = uVar7;\n  }" ({ "{") (if_statement "if (uVar7 == 0) {\n      uVar7 = 0;\n    }\n    else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }" (if "if") (parenthesized_expression "(uVar7 == 0)" (( "(") (binary_expression "uVar7 == 0" (identifier "uVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar7 = 0;\n    }" ({ "{") (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }" (else "else") (compound_statement "{\n      if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }\n      if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }\n      uVar7 = uVar6 - uVar3;\n      uVar6 = uVar3;\n    }" ({ "{") (if_statement "if ((uVar7 & 0xff) == 0) {\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }\n      else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }" (if "if") (parenthesized_expression "((uVar7 & 0xff) == 0)" (( "(") (binary_expression "(uVar7 & 0xff) == 0" (parenthesized_expression "(uVar7 & 0xff)" (( "(") (binary_expression "uVar7 & 0xff" (identifier "uVar7") (& "&") (number_literal "0xff")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar3 = uVar7 >> 8;\n        iVar2 = 6;\n        if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }\n        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;\n      }" ({ "{") (expression_statement "uVar3 = uVar7 >> 8;" (assignment_expression "uVar3 = uVar7 >> 8" (identifier "uVar3") (= "=") (binary_expression "uVar7 >> 8" (identifier "uVar7") (>> ">>") (number_literal "8"))) (; ";")) (expression_statement "iVar2 = 6;" (assignment_expression "iVar2 = 6" (identifier "iVar2") (= "=") (number_literal "6")) (; ";")) (if_statement "if ((uVar3 & 0xff) == 0) {\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }" (if "if") (parenthesized_expression "((uVar3 & 0xff) == 0)" (( "(") (binary_expression "(uVar3 & 0xff) == 0" (parenthesized_expression "(uVar3 & 0xff)" (( "(") (binary_expression "uVar3 & 0xff" (identifier "uVar3") (& "&") (number_literal "0xff")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          uVar3 = uVar7 >> 0x10;\n          iVar2 = 0xe;\n          if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }\n        }" ({ "{") (expression_statement "uVar3 = uVar7 >> 0x10;" (assignment_expression "uVar3 = uVar7 >> 0x10" (identifier "uVar3") (= "=") (binary_expression "uVar7 >> 0x10" (identifier "uVar7") (>> ">>") (number_literal "0x10"))) (; ";")) (expression_statement "iVar2 = 0xe;" (assignment_expression "iVar2 = 0xe" (identifier "iVar2") (= "=") (number_literal "0xe")) (; ";")) (if_statement "if ((uVar3 & 0xff) == 0) {\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }" (if "if") (parenthesized_expression "((uVar3 & 0xff) == 0)" (( "(") (binary_expression "(uVar3 & 0xff) == 0" (parenthesized_expression "(uVar3 & 0xff)" (( "(") (binary_expression "uVar3 & 0xff" (identifier "uVar3") (& "&") (number_literal "0xff")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            uVar3 = uVar7 >> 0x18;\n            iVar2 = 0x1e;\n            if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }\n          }" ({ "{") (expression_statement "uVar3 = uVar7 >> 0x18;" (assignment_expression "uVar3 = uVar7 >> 0x18" (identifier "uVar3") (= "=") (binary_expression "uVar7 >> 0x18" (identifier "uVar7") (>> ">>") (number_literal "0x18"))) (; ";")) (expression_statement "iVar2 = 0x1e;" (assignment_expression "iVar2 = 0x1e" (identifier "iVar2") (= "=") (number_literal "0x1e")) (; ";")) (if_statement "if (uVar3 != 0) {\n              iVar2 = 0x16;\n            }" (if "if") (parenthesized_expression "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              iVar2 = 0x16;\n            }" ({ "{") (expression_statement "iVar2 = 0x16;" (assignment_expression "iVar2 = 0x16" (identifier "iVar2") (= "=") (number_literal "0x16")) (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;" (assignment_expression "uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2" (identifier "uVar3") (= "=") (binary_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2" (cast_expression "(uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3]" (identifier "PTR___gmpn_clz_tab_0009d18c") ([ "[") (binary_expression "-uVar3 & uVar3" (unary_expression "-uVar3" (- "-") (identifier "uVar3")) (& "&") (identifier "uVar3")) (] "]")))) (+ "+") (identifier "iVar2"))) (; ";")) (} "}")) (else_clause "else {\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }" (else "else") (compound_statement "{\n        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;\n      }" ({ "{") (expression_statement "uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;" (assignment_expression "uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2" (identifier "uVar3") (= "=") (binary_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2" (cast_expression "(byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7]" (identifier "PTR___gmpn_clz_tab_0009d18c") ([ "[") (binary_expression "-uVar7 & uVar7" (unary_expression "-uVar7" (- "-") (identifier "uVar7")) (& "&") (identifier "uVar7")) (] "]"))) (- "-") (number_literal "2"))) (; ";")) (} "}")))) (if_statement "if (uVar6 < uVar3) {\n        uVar3 = uVar6;\n      }" (if "if") (parenthesized_expression "(uVar6 < uVar3)" (( "(") (binary_expression "uVar6 < uVar3" (identifier "uVar6") (< "<") (identifier "uVar3")) () ")")) (compound_statement "{\n        uVar3 = uVar6;\n      }" ({ "{") (expression_statement "uVar3 = uVar6;" (assignment_expression "uVar3 = uVar6" (identifier "uVar3") (= "=") (identifier "uVar6")) (; ";")) (} "}"))) (expression_statement "uVar7 = uVar6 - uVar3;" (assignment_expression "uVar7 = uVar6 - uVar3" (identifier "uVar7") (= "=") (binary_expression "uVar6 - uVar3" (identifier "uVar6") (- "-") (identifier "uVar3"))) (; ";")) (expression_statement "uVar6 = uVar3;" (assignment_expression "uVar6 = uVar3" (identifier "uVar6") (= "=") (identifier "uVar3")) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);" (call_expression "(*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6)" (parenthesized_expression "(*(code *)PTR___gmpn_rshift_0009d560)" (( "(") (pointer_expression "*(code *)PTR___gmpn_rshift_0009d560" (* "*") (cast_expression "(code *)PTR___gmpn_rshift_0009d560" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_rshift_0009d560"))) () ")")) (argument_list "(puVar1,puVar5,iVar8,uVar6)" (( "(") (identifier "puVar1") (, ",") (identifier "puVar5") (, ",") (identifier "iVar8") (, ",") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);" (assignment_expression "iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0)" (identifier "iVar8") (= "=") (binary_expression "iVar8 - (uint)(puVar1[iVar8 + -1] == 0)" (identifier "iVar8") (- "-") (call_expression "(uint)(puVar1[iVar8 + -1] == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar1[iVar8 + -1] == 0)" (( "(") (binary_expression "puVar1[iVar8 + -1] == 0" (subscript_expression "puVar1[iVar8 + -1]" (identifier "puVar1") ([ "[") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1")) (] "]")) (== "==") (number_literal "0")) () ")"))))) (; ";")) (expression_statement "uVar6 = uVar7;" (assignment_expression "uVar6 = uVar7" (identifier "uVar6") (= "=") (identifier "uVar7")) (; ";")) (} "}")) (else_clause "else if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }" (else "else") (if_statement "if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }" (if "if") (parenthesized_expression "((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0))" (( "(") (binary_expression "(puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)" (parenthesized_expression "(puVar1 != puVar5)" (( "(") (binary_expression "puVar1 != puVar5" (identifier "puVar1") (!= "!=") (identifier "puVar5")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = iVar8 + -1, iVar8 != 0)" (( "(") (comma_expression "iVar2 = iVar8 + -1, iVar8 != 0" (assignment_expression "iVar2 = iVar8 + -1" (identifier "iVar2") (= "=") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1"))) (, ",") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    uVar7 = *puVar5;\n    puVar4 = puVar1;\n    if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }\n    *puVar1 = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = *puVar5;" (assignment_expression "uVar7 = *puVar5" (identifier "uVar7") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" (identifier "puVar4") (= "=") (identifier "puVar1")) (; ";")) (if_statement "if (iVar2 != 0) {\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);\n      puVar1 = puVar1 + iVar8 + -1;\n    }" ({ "{") (do_statement "do {\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      } while (iVar2 != 0);" (do "do") (compound_statement "{\n        puVar5 = puVar5 + 1;\n        *puVar4 = uVar7;\n        iVar2 = iVar2 + -1;\n        uVar7 = *puVar5;\n        puVar4 = puVar4 + 1;\n      }" ({ "{") (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar4 = uVar7;" (assignment_expression "*puVar4 = uVar7" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar7 = *puVar5;" (assignment_expression "uVar7 = *puVar5" (identifier "uVar7") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "puVar1 = puVar1 + iVar8 + -1;" (assignment_expression "puVar1 = puVar1 + iVar8 + -1" (identifier "puVar1") (= "=") (binary_expression "puVar1 + iVar8 + -1" (binary_expression "puVar1 + iVar8" (identifier "puVar1") (+ "+") (identifier "iVar8")) (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "*puVar1 = uVar7;" (assignment_expression "*puVar1 = uVar7" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "uVar7")) (; ";")) (} "}"))))) (if_statement "if (iVar10 < 0) {\n    iVar8 = -iVar8;\n  }" (if "if") (parenthesized_expression "(iVar10 < 0)" (( "(") (binary_expression "iVar10 < 0" (identifier "iVar10") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    iVar8 = -iVar8;\n  }" ({ "{") (expression_statement "iVar8 = -iVar8;" (assignment_expression "iVar8 = -iVar8" (identifier "iVar8") (= "=") (unary_expression "-iVar8" (- "-") (identifier "iVar8"))) (; ";")) (} "}"))) (expression_statement "param_1[1] = iVar8;" (assignment_expression "param_1[1] = iVar8" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (if_statement "if (uVar6 == 0) {\n    if (piVar11 == piVar9) {\n      return;\n    }\n                    \n                    \n    (*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);\n    return;\n  }" (if "if") (parenthesized_expression "(uVar6 == 0)" (( "(") (binary_expression "uVar6 == 0" (identifier "uVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (piVar11 == piVar9) {\n      return;\n    }\n                    \n                    \n    (*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);\n    return;\n  }" ({ "{") (if_statement "if (piVar11 == piVar9) {\n      return;\n    }" (if "if") (parenthesized_expression "(piVar11 == piVar9)" (( "(") (binary_expression "piVar11 == piVar9" (identifier "piVar11") (== "==") (identifier "piVar9")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);" (call_expression "(*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9)" (parenthesized_expression "(*(code *)PTR___gmpz_set_0009d4b8)" (( "(") (pointer_expression "*(code *)PTR___gmpz_set_0009d4b8" (* "*") (cast_expression "(code *)PTR___gmpz_set_0009d4b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpz_set_0009d4b8"))) () ")")) (argument_list "(piVar11,piVar9)" (( "(") (identifier "piVar11") (, ",") (identifier "piVar9") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___gmpz_mul_2exp_0009d418)(piVar11,piVar9,uVar6);" (call_expression "(*(code *)PTR___gmpz_mul_2exp_0009d418)(piVar11,piVar9,uVar6)" (parenthesized_expression "(*(code *)PTR___gmpz_mul_2exp_0009d418)" (( "(") (pointer_expression "*(code *)PTR___gmpz_mul_2exp_0009d418" (* "*") (cast_expression "(code *)PTR___gmpz_mul_2exp_0009d418" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpz_mul_2exp_0009d418"))) () ")")) (argument_list "(piVar11,piVar9,uVar6)" (( "(") (identifier "piVar11") (, ",") (identifier "piVar9") (, ",") (identifier "uVar6") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (number_literal))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier)))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (break_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: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (labeled_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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (binary_expression left: (unary_expression argument: (identifier)) right: (identifier))))) right: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (binary_expression left: (unary_expression argument: (identifier)) right: (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: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (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: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier)))) (return_statement))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))))

void MASKED(int *param_1,int param_2,uint param_3)

{
  uint *puVar1;
  int iVar2;
  uint uVar3;
  uint *puVar4;
  uint *puVar5;
  uint uVar6;
  uint uVar7;
  int iVar8;
  int *piVar9;
  int iVar10;
  int *piVar11;
  
  iVar10 = *(int *)(param_2 + 4);
  if (iVar10 == 0) {
    param_1[1] = 0;
    param_1[4] = 1;
    *(undefined4 *)param_1[5] = 1;
    return;
  }
  piVar11 = param_1 + 3;
  puVar1 = *(uint **)(param_2 + 8);
  piVar9 = (int *)(param_2 + 0xc);
  iVar8 = iVar10;
  if (iVar10 < 0) {
    iVar8 = -iVar10;
  }
  uVar7 = *puVar1;
  puVar5 = puVar1;
  uVar6 = param_3;
  if (0x1f < param_3) {
    uVar6 = param_3 - 0x20;
    if (uVar7 != 0) {
      iVar2 = *param_1;
      uVar6 = param_3;
      goto LAB_00039d78;
    }
    while( true ) {
      uVar7 = puVar5[1];
      puVar5 = puVar5 + 1;
      if ((uVar6 < 0x20) || (uVar7 != 0)) break;
      uVar6 = uVar6 - 0x20;
    }
    iVar8 = iVar8 - ((int)puVar5 - (int)puVar1 >> 2);
  }
  iVar2 = *param_1;
LAB_00039d78:
  if (iVar2 < iVar8) {
    puVar1 = (uint *)(*(code *)PTR___gmpz_realloc_0009d5c0)(param_1,iVar8);
  }
  else {
    puVar1 = (uint *)param_1[2];
  }
  if (((uVar7 & 1) == 0) && (uVar6 != 0)) {
    if (uVar7 == 0) {
      uVar7 = 0;
    }
    else {
      if ((uVar7 & 0xff) == 0) {
        uVar3 = uVar7 >> 8;
        iVar2 = 6;
        if ((uVar3 & 0xff) == 0) {
          uVar3 = uVar7 >> 0x10;
          iVar2 = 0xe;
          if ((uVar3 & 0xff) == 0) {
            uVar3 = uVar7 >> 0x18;
            iVar2 = 0x1e;
            if (uVar3 != 0) {
              iVar2 = 0x16;
            }
          }
        }
        uVar3 = (uint)(byte)PTR___gmpn_clz_tab_0009d18c[-uVar3 & uVar3] + iVar2;
      }
      else {
        uVar3 = (byte)PTR___gmpn_clz_tab_0009d18c[-uVar7 & uVar7] - 2;
      }
      if (uVar6 < uVar3) {
        uVar3 = uVar6;
      }
      uVar7 = uVar6 - uVar3;
      uVar6 = uVar3;
    }
    (*(code *)PTR___gmpn_rshift_0009d560)(puVar1,puVar5,iVar8,uVar6);
    iVar8 = iVar8 - (uint)(puVar1[iVar8 + -1] == 0);
    uVar6 = uVar7;
  }
  else if ((puVar1 != puVar5) && (iVar2 = iVar8 + -1, iVar8 != 0)) {
    uVar7 = *puVar5;
    puVar4 = puVar1;
    if (iVar2 != 0) {
      do {
        puVar5 = puVar5 + 1;
        *puVar4 = uVar7;
        iVar2 = iVar2 + -1;
        uVar7 = *puVar5;
        puVar4 = puVar4 + 1;
      } while (iVar2 != 0);
      puVar1 = puVar1 + iVar8 + -1;
    }
    *puVar1 = uVar7;
  }
  if (iVar10 < 0) {
    iVar8 = -iVar8;
  }
  param_1[1] = iVar8;
  if (uVar6 == 0) {
    if (piVar11 == piVar9) {
      return;
    }
                    /* WARNING: Could not recover jumptable at 0x00039e4c. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*(code *)PTR___gmpz_set_0009d4b8)(piVar11,piVar9);
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x00039ed8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR___gmpz_mul_2exp_0009d418)(piVar11,piVar9,uVar6);
  return;
}

