
void mpn_fft_fft(mp_ptr *Ap,mp_size_t K,int **ll,mp_size_t omega,mp_size_t n,mp_size_t inc,mp_ptr tp
                )

{
  mp_limb_t *pmVar1;
  int iVar2;
  code *pcVar3;
  int iVar4;
  uint *puVar5;
  mp_limb_t *pmVar6;
  mp_ptr pmVar7;
  mp_ptr pmVar8;
  int iVar9;
  uint uVar10;
  int iVar11;
  uint uVar12;
  mp_limb_t mVar13;
  int *piVar14;
  mp_ptr *Ap_00;
  mp_limb_t mVar15;
  
  Ap_00 = Ap + inc;
  if (K != 2) {
    iVar2 = K >> 1;
    piVar14 = *ll;
    mpn_fft_fft(Ap,iVar2,ll + -1,omega << 1,n,inc << 1,tp);
    mpn_fft_fft(Ap_00,iVar2,ll + -1,omega << 1,n,inc << 1,tp);
    if (iVar2 < 1) {
      return;
    }
    iVar4 = 0;
    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);
    do {
      (*pcVar3)(tp,*Ap_00,omega * *piVar14,n);
      pmVar8 = *Ap_00;
      mVar13 = tp[n];
      mVar15 = (*Ap)[n];
      iVar11 = (*(code *)PTR___gmpn_sub_n_0009d514)(pmVar8,*Ap,tp,n);
      iVar11 = mVar13 + iVar11;
      iVar9 = mVar15 - iVar11;
      uVar10 = iVar9 >> 0x1f & iVar11 - mVar15;
      pmVar8[n] = iVar9 + uVar10;
      mVar13 = *pmVar8;
      *pmVar8 = uVar10 + mVar13;
      if (uVar10 + mVar13 < uVar10) {
        do {
          mVar13 = pmVar8[1] + 1;
          pmVar8[1] = mVar13;
          if (mVar13 != 0) goto LAB_00041758;
          pmVar8 = pmVar8 + 2;
          mVar13 = *pmVar8;
          *pmVar8 = mVar13 + 1;
        } while (mVar13 + 1 == 0);
        puVar5 = *Ap;
      }
      else {
LAB_00041758:
        puVar5 = *Ap;
      }
      mVar13 = tp[n];
      uVar10 = puVar5[n];
      iVar11 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar5,puVar5,tp,n);
      iVar11 = uVar10 + mVar13 + iVar11;
      uVar10 = iVar11 - 1;
      if (iVar11 == 0) {
        uVar10 = 0;
      }
      puVar5[n] = iVar11 - uVar10;
      uVar12 = *puVar5;
      *puVar5 = uVar12 - uVar10;
      if (uVar12 < uVar10) {
        do {
          uVar10 = puVar5[1];
          puVar5[1] = uVar10 - 1;
          if (uVar10 != 0) break;
          puVar5 = puVar5 + 2;
          uVar10 = *puVar5;
          *puVar5 = uVar10 - 1;
        } while (uVar10 == 0);
      }
      iVar4 = iVar4 + 1;
      Ap = Ap + inc * 2;
      piVar14 = piVar14 + 2;
      if (iVar2 == iVar4) {
        return;
      }
      Ap_00 = Ap + inc;
    } while( true );
  }
  pmVar8 = *Ap;
  if (n == -1) {
    iVar2 = -4;
  }
  else {
    mVar13 = *pmVar8;
    iVar2 = n;
    pmVar6 = tp;
    pmVar1 = pmVar8;
    if (n == 0) {
      iVar2 = 0;
      *tp = mVar13;
    }
    else {
      do {
        *pmVar6 = mVar13;
        iVar2 = iVar2 + -1;
        mVar13 = pmVar1[1];
        pmVar6 = pmVar6 + 1;
        pmVar1 = pmVar1 + 1;
      } while (iVar2 != 0);
      iVar2 = n * 4;
      tp[n] = mVar13;
    }
  }
  (*(code *)PTR___gmpn_add_n_0009d334)(pmVar8,pmVar8,*Ap_00,n + 1);
  iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*Ap_00,tp,*Ap_00,n + 1);
  pmVar8 = *Ap;
  uVar10 = *(uint *)((int)pmVar8 + iVar2);
  if (1 < uVar10) {
    uVar12 = *pmVar8;
    uVar10 = uVar10 - 1;
    *pmVar8 = uVar12 - uVar10;
    if (uVar12 < uVar10) {
      if (1 < n) {
        mVar13 = pmVar8[1];
        pmVar8[1] = mVar13 - 1;
        if (mVar13 == 0) {
          if (n == 2) goto LAB_000419c4;
          mVar13 = pmVar8[2];
          pmVar8[2] = mVar13 - 1;
          if (mVar13 == 0) {
            iVar11 = 3;
            pmVar7 = pmVar8 + 3;
            do {
              if (n == iVar11) goto LAB_000419c4;
              mVar13 = *pmVar7;
              iVar11 = iVar11 + 1;
              *pmVar7 = mVar13 - 1;
              pmVar7 = pmVar7 + 1;
            } while (mVar13 == 0);
          }
        }
        goto LAB_00041a78;
      }
LAB_000419c4:
      uVar10 = 0;
    }
    else {
LAB_00041a78:
      uVar10 = 1;
    }
    *(uint *)((int)pmVar8 + iVar2) = uVar10;
  }
  if (iVar4 == 0) {
    return;
  }
  puVar5 = *Ap_00;
  piVar14 = (int *)((int)puVar5 + iVar2);
  iVar2 = *piVar14;
  uVar10 = *puVar5 - iVar2;
  *puVar5 = uVar10;
  if (uVar10 < (uint)-iVar2) {
    if (n < 2) {
LAB_00041a5c:
      *piVar14 = 1;
      return;
    }
    uVar10 = puVar5[1];
    puVar5[1] = uVar10 + 1;
    if (uVar10 + 1 == 0) {
      if (n == 2) goto LAB_00041a5c;
      uVar10 = puVar5[2];
      puVar5[2] = uVar10 + 1;
      if (uVar10 + 1 == 0) {
        iVar2 = 3;
        puVar5 = puVar5 + 3;
        do {
          if (n == iVar2) goto LAB_00041a5c;
          uVar10 = *puVar5;
          iVar2 = iVar2 + 1;
          *puVar5 = uVar10 + 1;
          puVar5 = puVar5 + 1;
        } while (uVar10 + 1 == 0);
      }
    }
  }
  *piVar14 = 0;
  return;
}



void FUN_00041610(int *param_1,int param_2,undefined4 *param_3,int param_4,int param_5,int param_6,
                 undefined4 *param_7)

{
  undefined4 *puVar1;
  int iVar2;
  code *pcVar3;
  int iVar4;
  undefined4 *puVar5;
  uint *puVar6;
  uint *puVar7;
  undefined4 *puVar8;
  uint uVar9;
  int iVar10;
  uint uVar11;
  undefined4 uVar12;
  int *piVar13;
  int *piVar14;
  int iVar15;
  
  piVar13 = param_1 + param_6;
  if (param_2 != 2) {
    param_2 = param_2 >> 1;
    piVar14 = (int *)*param_3;
    FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);
    FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);
    if (param_2 < 1) {
      return;
    }
    iVar2 = 0;
    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);
    do {
      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);
      puVar6 = (uint *)*piVar13;
      iVar10 = param_7[param_5];
      iVar15 = *(int *)(*param_1 + param_5 * 4);
      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);
      iVar10 = iVar10 + iVar4;
      iVar4 = iVar15 - iVar10;
      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;
      puVar6[param_5] = iVar4 + uVar9;
      uVar11 = *puVar6;
      *puVar6 = uVar9 + uVar11;
      if (uVar9 + uVar11 < uVar9) {
        do {
          uVar9 = puVar6[1] + 1;
          puVar6[1] = uVar9;
          if (uVar9 != 0) goto LAB_00041758;
          puVar6 = puVar6 + 2;
          uVar9 = *puVar6;
          *puVar6 = uVar9 + 1;
        } while (uVar9 + 1 == 0);
        puVar6 = (uint *)*param_1;
      }
      else {
LAB_00041758:
        puVar6 = (uint *)*param_1;
      }
      iVar10 = param_7[param_5];
      uVar9 = puVar6[param_5];
      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);
      iVar4 = uVar9 + iVar10 + iVar4;
      uVar9 = iVar4 - 1;
      if (iVar4 == 0) {
        uVar9 = 0;
      }
      puVar6[param_5] = iVar4 - uVar9;
      uVar11 = *puVar6;
      *puVar6 = uVar11 - uVar9;
      if (uVar11 < uVar9) {
        do {
          uVar9 = puVar6[1];
          puVar6[1] = uVar9 - 1;
          if (uVar9 != 0) break;
          puVar6 = puVar6 + 2;
          uVar9 = *puVar6;
          *puVar6 = uVar9 - 1;
        } while (uVar9 == 0);
      }
      iVar2 = iVar2 + 1;
      param_1 = param_1 + param_6 * 2;
      piVar14 = piVar14 + 2;
      if (param_2 == iVar2) {
        return;
      }
      piVar13 = param_1 + param_6;
    } while( true );
  }
  puVar8 = (undefined4 *)*param_1;
  if (param_5 == -1) {
    iVar2 = -4;
  }
  else {
    uVar12 = *puVar8;
    iVar2 = param_5;
    puVar5 = param_7;
    puVar1 = puVar8;
    if (param_5 == 0) {
      iVar2 = 0;
      *param_7 = uVar12;
    }
    else {
      do {
        *puVar5 = uVar12;
        iVar2 = iVar2 + -1;
        uVar12 = puVar1[1];
        puVar5 = puVar5 + 1;
        puVar1 = puVar1 + 1;
      } while (iVar2 != 0);
      iVar2 = param_5 * 4;
      param_7[param_5] = uVar12;
    }
  }
  (*(code *)PTR___gmpn_add_n_0009d334)(puVar8,puVar8,*piVar13,param_5 + 1);
  iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1);
  puVar6 = (uint *)*param_1;
  uVar9 = *(uint *)((int)puVar6 + iVar2);
  if (1 < uVar9) {
    uVar11 = *puVar6;
    uVar9 = uVar9 - 1;
    *puVar6 = uVar11 - uVar9;
    if (uVar11 < uVar9) {
      if (1 < param_5) {
        uVar9 = puVar6[1];
        puVar6[1] = uVar9 - 1;
        if (uVar9 == 0) {
          if (param_5 == 2) goto LAB_000419c4;
          uVar9 = puVar6[2];
          puVar6[2] = uVar9 - 1;
          if (uVar9 == 0) {
            iVar10 = 3;
            puVar7 = puVar6 + 3;
            do {
              if (param_5 == iVar10) goto LAB_000419c4;
              uVar9 = *puVar7;
              iVar10 = iVar10 + 1;
              *puVar7 = uVar9 - 1;
              puVar7 = puVar7 + 1;
            } while (uVar9 == 0);
          }
        }
        goto LAB_00041a78;
      }
LAB_000419c4:
      uVar9 = 0;
    }
    else {
LAB_00041a78:
      uVar9 = 1;
    }
    *(uint *)((int)puVar6 + iVar2) = uVar9;
  }
  if (iVar4 == 0) {
    return;
  }
  puVar6 = (uint *)*piVar13;
  piVar13 = (int *)((int)puVar6 + iVar2);
  iVar2 = *piVar13;
  uVar9 = *puVar6 - iVar2;
  *puVar6 = uVar9;
  if (uVar9 < (uint)-iVar2) {
    if (param_5 < 2) {
LAB_00041a5c:
      *piVar13 = 1;
      return;
    }
    uVar9 = puVar6[1];
    puVar6[1] = uVar9 + 1;
    if (uVar9 + 1 == 0) {
      if (param_5 == 2) goto LAB_00041a5c;
      uVar9 = puVar6[2];
      puVar6[2] = uVar9 + 1;
      if (uVar9 + 1 == 0) {
        iVar2 = 3;
        puVar6 = puVar6 + 3;
        do {
          if (param_5 == iVar2) goto LAB_00041a5c;
          uVar9 = *puVar6;
          iVar2 = iVar2 + 1;
          *puVar6 = uVar9 + 1;
          puVar6 = puVar6 + 1;
        } while (uVar9 + 1 == 0);
      }
    }
  }
  *piVar13 = 0;
  return;
}


lui gp,0x6
addiu gp,gp,0x3a30
addu gp,gp,t9
addiu sp,sp,-0x68
li v0,0x2
sw s5,0x54(sp)
sw gp,0x20(sp)
lw s5,0x7c(sp)
sw s8,0x60(sp)
or s8,a0,zero
sw s7,0x5c(sp)
sll v1,s5,0x2
sw s1,0x44(sp)
sw s0,0x40(sp)
sw ra,0x64(sp)
addu s7,a0,v1
sw s6,0x58(sp)
sw s4,0x50(sp)
sw s3,0x4c(sp)
sw s2,0x48(sp)
sw v1,0x34(sp)
sw a3,0x74(sp)
lw s0,0x78(sp)
bne a1,v0,0x000416bc
_lw s1,0x80(sp)
li v0,-0x1
beq s0,v0,0x000418f8
_lw a1,0x0(a0)
beq s0,zero,0x00041a68
_lw a3,0x0(a1)
addiu a2,a1,0x4
or a0,s1,zero
or v0,s0,zero
addiu a0,a0,0x4
sw a3,-0x4(a0)
addiu a2,a2,0x4
addiu v0,v0,-0x1
bne v0,zero,0x00041694
_lw a3,-0x4(a2)
sll s2,s0,0x2
addu v0,s1,s2
b 0x000418fc
_sw a3,0x0(v0)
lw s2,-0x7fc8(gp)
sra v0,a1,0x1
sll t0,a3,0x1
lw s3,0x0(a2)
addiu s4,a2,-0x4
sw v0,0x30(sp)
sll s6,s5,0x1
sw t0,0x2c(sp)
addiu s2,s2,0x1610
sw s1,0x18(sp)
or a3,t0,zero
sw s0,0x10(sp)
or a2,s4,zero
sw s6,0x14(sp)
or t9,s2,zero
bal 0x00041610
_or a1,v0,zero
or a2,s4,zero
lw t0,0x2c(sp)
or a0,s7,zero
lw s4,0x30(sp)
or t9,s2,zero
sw s1,0x18(sp)
or a3,t0,zero
sw s6,0x14(sp)
or a1,s4,zero
bal 0x00041610
_sw s0,0x10(sp)
blez s4,0x000418c8
_lw gp,0x20(sp)
sll v0,s5,0x3
sll s2,s0,0x2
sw v0,0x38(sp)
or s4,zero,zero
lw v0,-0x7fc8(gp)
addu s6,s1,s2
addiu v0,v0,0x790
b 0x000417d4
_sw v0,0x3c(sp)
lw s7,0x0(s8)
or a3,s0,zero
lw t0,0x0(s6)
or a2,s1,zero
lw t9,-0x7d0c(gp)
addu s5,s7,s2
or a1,s7,zero
or a0,s7,zero
lw v0,0x0(s5)
addu t0,v0,t0
jalr t9
_sw t0,0x2c(sp)
lw t0,0x2c(sp)
addu v0,t0,v0
addiu a0,v0,-0x1
movz a0,zero,v0
subu v0,v0,a0
sw v0,0x0(s5)
lw v0,0x0(s7)
subu a1,v0,a0
sltu a0,v0,a0
bne a0,zero,0x00041890
_sw a1,0x0(s7)
lw v0,0x38(sp)
addiu s4,s4,0x1
addu s8,s8,v0
lw v0,0x30(sp)
beq v0,s4,0x000418c8
_addiu s3,s3,0x8
lw v0,0x34(sp)
addu s7,s8,v0
lw v0,0x74(sp)
or a3,s0,zero
lw a2,0x0(s3)
or a0,s1,zero
lw a1,0x0(s7)
lw t9,0x3c(sp)
jalr t9
_mul a2,v0,a2
or a2,s1,zero
lw gp,0x20(sp)
or a3,s0,zero
lw a1,0x0(s8)
lw s5,0x0(s7)
lw t0,0x0(s6)
lw t9,-0x7b2c(gp)
addu v0,a1,s2
or a0,s5,zero
sw t0,0x2c(sp)
jalr t9
_lw s7,0x0(v0)
addu a2,s5,s2
lw t0,0x2c(sp)
lw gp,0x20(sp)
addu v0,t0,v0
subu a1,s7,v0
subu a0,v0,s7
sra v0,a1,0x1f
and v0,v0,a0
addu a1,a1,v0
sw a1,0x0(a2)
lw a0,0x0(s5)
addu a0,v0,a0
sltu v0,a0,v0
beq v0,zero,0x00041758
_sw a0,0x0(s5)
addiu s5,s5,0x4
lw v0,0x0(s5)
addiu v0,v0,0x1
bne v0,zero,0x00041758
_sw v0,0x0(s5)
addiu s5,s5,0x4
lw v0,0x0(s5)
addiu v0,v0,0x1
beq v0,zero,0x00041860
_sw v0,0x0(s5)
b 0x0004175c
_lw s7,0x0(s8)
addiu s7,s7,0x4
lw v0,0x0(s7)
addiu a0,v0,-0x1
bne v0,zero,0x000417b4
_sw a0,0x0(s7)
addiu s7,s7,0x4
lw v0,0x0(s7)
addiu a0,v0,-0x1
beq v0,zero,0x00041890
_sw a0,0x0(s7)
b 0x000417b8
_lw v0,0x38(sp)
or v0,zero,zero
sw v0,0x0(s2)
lw ra,0x64(sp)
lw s8,0x60(sp)
lw s7,0x5c(sp)
lw s6,0x58(sp)
lw s5,0x54(sp)
lw s4,0x50(sp)
lw s3,0x4c(sp)
lw s2,0x48(sp)
lw s1,0x44(sp)
lw s0,0x40(sp)
jr ra
_addiu sp,sp,0x68
li s2,-0x4
lw t9,-0x7d0c(gp)
addiu s3,s0,0x1
lw a2,0x0(s7)
or a0,a1,zero
jalr t9
_or a3,s3,zero
or a1,s1,zero
lw gp,0x20(sp)
or a3,s3,zero
lw a2,0x0(s7)
lw t9,-0x7b2c(gp)
jalr t9
_or a0,a2,zero
lw a0,0x0(s8)
addu t0,a0,s2
lw a1,0x0(t0)
sltiu a2,a1,0x2
bne a2,zero,0x000419cc
_nop
lw a2,0x0(a0)
addiu a1,a1,-0x1
subu a3,a2,a1
sltu a1,a2,a1
beq a1,zero,0x00041a78
_sw a3,0x0(a0)
slti a1,s0,0x2
bne a1,zero,0x000419c4
_nop
lw a1,0x4(a0)
addiu a2,a1,-0x1
bne a1,zero,0x00041a78
_sw a2,0x4(a0)
li a1,0x2
beq s0,a1,0x000419c4
_nop
lw a1,0x8(a0)
addiu a2,a1,-0x1
bne a1,zero,0x00041a78
_sw a2,0x8(a0)
addiu a0,a0,0xc
b 0x000419bc
_li a1,0x3
lw a2,0x0(a0)
addiu a0,a0,0x4
addiu a1,a1,0x1
addiu a3,a2,-0x1
bne a2,zero,0x00041a78
_sw a3,-0x4(a0)
bne s0,a1,0x000419a4
_nop
or a0,zero,zero
sw a0,0x0(t0)
beq v0,zero,0x000418cc
_lw ra,0x64(sp)
lw v0,0x0(s7)
addu s2,v0,s2
lw a0,0x0(v0)
lw v1,0x0(s2)
subu a0,a0,v1
subu v1,zero,v1
sltu v1,a0,v1
beq v1,zero,0x000418c0
_sw a0,0x0(v0)
slti v1,s0,0x2
bne v1,zero,0x00041a5c
_nop
lw v1,0x4(v0)
addiu v1,v1,0x1
bne v1,zero,0x000418c0
_sw v1,0x4(v0)
li v1,0x2
beq s0,v1,0x00041a5c
_nop
lw v1,0x8(v0)
addiu v1,v1,0x1
bne v1,zero,0x000418c0
_sw v1,0x8(v0)
addiu v0,v0,0xc
b 0x00041a54
_li a0,0x3
lw v1,0x0(v0)
addiu v0,v0,0x4
addiu a0,a0,0x1
addiu v1,v1,0x1
bne v1,zero,0x000418c0
_sw v1,-0x4(v0)
bne s0,a0,0x00041a3c
_nop
li v0,0x1
b 0x000418c8
_sw v0,0x0(s2)
or v0,s1,zero
or s2,zero,zero
b 0x000418fc
_sw a3,0x0(v0)
b 0x000419c8
_li a0,0x1
(translation_unit "void FUN_00041610(int *param_1,int param_2,undefined4 *param_3,int param_4,int param_5,int param_6,\n                 undefined4 *param_7)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  code *pcVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  uint *puVar6;\n  uint *puVar7;\n  undefined4 *puVar8;\n  uint uVar9;\n  int iVar10;\n  uint uVar11;\n  undefined4 uVar12;\n  int *piVar13;\n  int *piVar14;\n  int iVar15;\n  \n  piVar13 = param_1 + param_6;\n  if (param_2 != 2) {\n    param_2 = param_2 >> 1;\n    piVar14 = (int *)*param_3;\n    FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    if (param_2 < 1) {\n      return;\n    }\n    iVar2 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    } while( true );\n  }\n  puVar8 = (undefined4 *)*param_1;\n  if (param_5 == -1) {\n    iVar2 = -4;\n  }\n  else {\n    uVar12 = *puVar8;\n    iVar2 = param_5;\n    puVar5 = param_7;\n    puVar1 = puVar8;\n    if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_0009d334)(puVar8,puVar8,*piVar13,param_5 + 1);\n  iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1);\n  puVar6 = (uint *)*param_1;\n  uVar9 = *(uint *)((int)puVar6 + iVar2);\n  if (1 < uVar9) {\n    uVar11 = *puVar6;\n    uVar9 = uVar9 - 1;\n    *puVar6 = uVar11 - uVar9;\n    if (uVar11 < uVar9) {\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar9 = 1;\n    }\n    *(uint *)((int)puVar6 + iVar2) = uVar9;\n  }\n  if (iVar4 == 0) {\n    return;\n  }\n  puVar6 = (uint *)*piVar13;\n  piVar13 = (int *)((int)puVar6 + iVar2);\n  iVar2 = *piVar13;\n  uVar9 = *puVar6 - iVar2;\n  *puVar6 = uVar9;\n  if (uVar9 < (uint)-iVar2) {\n    if (param_5 < 2) {\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }\n    uVar9 = puVar6[1];\n    puVar6[1] = uVar9 + 1;\n    if (uVar9 + 1 == 0) {\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }\n  }\n  *piVar13 = 0;\n  return;\n}\n\n" (function_definition "void FUN_00041610(int *param_1,int param_2,undefined4 *param_3,int param_4,int param_5,int param_6,\n                 undefined4 *param_7)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  code *pcVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  uint *puVar6;\n  uint *puVar7;\n  undefined4 *puVar8;\n  uint uVar9;\n  int iVar10;\n  uint uVar11;\n  undefined4 uVar12;\n  int *piVar13;\n  int *piVar14;\n  int iVar15;\n  \n  piVar13 = param_1 + param_6;\n  if (param_2 != 2) {\n    param_2 = param_2 >> 1;\n    piVar14 = (int *)*param_3;\n    FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    if (param_2 < 1) {\n      return;\n    }\n    iVar2 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    } while( true );\n  }\n  puVar8 = (undefined4 *)*param_1;\n  if (param_5 == -1) {\n    iVar2 = -4;\n  }\n  else {\n    uVar12 = *puVar8;\n    iVar2 = param_5;\n    puVar5 = param_7;\n    puVar1 = puVar8;\n    if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_0009d334)(puVar8,puVar8,*piVar13,param_5 + 1);\n  iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1);\n  puVar6 = (uint *)*param_1;\n  uVar9 = *(uint *)((int)puVar6 + iVar2);\n  if (1 < uVar9) {\n    uVar11 = *puVar6;\n    uVar9 = uVar9 - 1;\n    *puVar6 = uVar11 - uVar9;\n    if (uVar11 < uVar9) {\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar9 = 1;\n    }\n    *(uint *)((int)puVar6 + iVar2) = uVar9;\n  }\n  if (iVar4 == 0) {\n    return;\n  }\n  puVar6 = (uint *)*piVar13;\n  piVar13 = (int *)((int)puVar6 + iVar2);\n  iVar2 = *piVar13;\n  uVar9 = *puVar6 - iVar2;\n  *puVar6 = uVar9;\n  if (uVar9 < (uint)-iVar2) {\n    if (param_5 < 2) {\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }\n    uVar9 = puVar6[1];\n    puVar6[1] = uVar9 + 1;\n    if (uVar9 + 1 == 0) {\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }\n  }\n  *piVar13 = 0;\n  return;\n}" primitive_type (function_declarator "FUN_00041610(int *param_1,int param_2,undefined4 *param_3,int param_4,int param_5,int param_6,\n                 undefined4 *param_7)" identifier (parameter_list "(int *param_1,int param_2,undefined4 *param_3,int param_4,int param_5,int param_6,\n                 undefined4 *param_7)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "undefined4 *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  code *pcVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  uint *puVar6;\n  uint *puVar7;\n  undefined4 *puVar8;\n  uint uVar9;\n  int iVar10;\n  uint uVar11;\n  undefined4 uVar12;\n  int *piVar13;\n  int *piVar14;\n  int iVar15;\n  \n  piVar13 = param_1 + param_6;\n  if (param_2 != 2) {\n    param_2 = param_2 >> 1;\n    piVar14 = (int *)*param_3;\n    FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    if (param_2 < 1) {\n      return;\n    }\n    iVar2 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    } while( true );\n  }\n  puVar8 = (undefined4 *)*param_1;\n  if (param_5 == -1) {\n    iVar2 = -4;\n  }\n  else {\n    uVar12 = *puVar8;\n    iVar2 = param_5;\n    puVar5 = param_7;\n    puVar1 = puVar8;\n    if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_0009d334)(puVar8,puVar8,*piVar13,param_5 + 1);\n  iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1);\n  puVar6 = (uint *)*param_1;\n  uVar9 = *(uint *)((int)puVar6 + iVar2);\n  if (1 < uVar9) {\n    uVar11 = *puVar6;\n    uVar9 = uVar9 - 1;\n    *puVar6 = uVar11 - uVar9;\n    if (uVar11 < uVar9) {\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar9 = 1;\n    }\n    *(uint *)((int)puVar6 + iVar2) = uVar9;\n  }\n  if (iVar4 == 0) {\n    return;\n  }\n  puVar6 = (uint *)*piVar13;\n  piVar13 = (int *)((int)puVar6 + iVar2);\n  iVar2 = *piVar13;\n  uVar9 = *puVar6 - iVar2;\n  *puVar6 = uVar9;\n  if (uVar9 < (uint)-iVar2) {\n    if (param_5 < 2) {\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }\n    uVar9 = puVar6[1];\n    puVar6[1] = uVar9 + 1;\n    if (uVar9 + 1 == 0) {\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }\n  }\n  *piVar13 = 0;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "int iVar15;" primitive_type identifier ;) (expression_statement "piVar13 = param_1 + param_6;" (assignment_expression "piVar13 = param_1 + param_6" identifier = (binary_expression "param_1 + param_6" identifier + identifier)) ;) (if_statement "if (param_2 != 2) {\n    param_2 = param_2 >> 1;\n    piVar14 = (int *)*param_3;\n    FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    if (param_2 < 1) {\n      return;\n    }\n    iVar2 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    } while( true );\n  }" if (parenthesized_expression "(param_2 != 2)" ( (binary_expression "param_2 != 2" identifier != number_literal) )) (compound_statement "{\n    param_2 = param_2 >> 1;\n    piVar14 = (int *)*param_3;\n    FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    if (param_2 < 1) {\n      return;\n    }\n    iVar2 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    } while( true );\n  }" { (expression_statement "param_2 = param_2 >> 1;" (assignment_expression "param_2 = param_2 >> 1" identifier = (binary_expression "param_2 >> 1" identifier >> number_literal)) ;) (expression_statement "piVar14 = (int *)*param_3;" (assignment_expression "piVar14 = (int *)*param_3" identifier = (cast_expression "(int *)*param_3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (expression_statement "FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);" (call_expression "FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7)" identifier (argument_list "(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7)" ( identifier , identifier , (binary_expression "param_3 + -1" identifier + number_literal) , (binary_expression "param_4 << 1" identifier << number_literal) , identifier , (binary_expression "param_6 << 1" identifier << number_literal) , identifier ))) ;) (expression_statement "FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);" (call_expression "FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7)" identifier (argument_list "(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7)" ( identifier , identifier , (binary_expression "param_3 + -1" identifier + number_literal) , (binary_expression "param_4 << 1" identifier << number_literal) , identifier , (binary_expression "param_6 << 1" identifier << number_literal) , identifier ))) ;) (if_statement "if (param_2 < 1) {\n      return;\n    }" if (parenthesized_expression "(param_2 < 1)" ( (binary_expression "param_2 < 1" identifier < number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790)" identifier = (cast_expression "(code *)(PTR_LAB_0009d078 + 0x790)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0009d078 + 0x790)" ( (binary_expression "PTR_LAB_0009d078 + 0x790" identifier + number_literal) )))) ;) (do_statement "do {\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    } while( true );" do (compound_statement "{\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    }" { (expression_statement "(*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);" (call_expression "(*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(param_7,*piVar13,param_4 * *piVar14,param_5)" ( identifier , (pointer_expression "*piVar13" * identifier) , (binary_expression "param_4 * *piVar14" identifier * (pointer_expression "*piVar14" * identifier)) , identifier ))) ;) (expression_statement "puVar6 = (uint *)*piVar13;" (assignment_expression "puVar6 = (uint *)*piVar13" identifier = (cast_expression "(uint *)*piVar13" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar13" * identifier))) ;) (expression_statement "iVar10 = param_7[param_5];" (assignment_expression "iVar10 = param_7[param_5]" identifier = (subscript_expression "param_7[param_5]" identifier [ identifier ])) ;) (expression_statement "iVar15 = *(int *)(*param_1 + param_5 * 4);" (assignment_expression "iVar15 = *(int *)(*param_1 + param_5 * 4)" identifier = (pointer_expression "*(int *)(*param_1 + param_5 * 4)" * (cast_expression "(int *)(*param_1 + param_5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + param_5 * 4)" ( (binary_expression "*param_1 + param_5 * 4" (pointer_expression "*param_1" * identifier) + (binary_expression "param_5 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5)" identifier = (call_expression "(*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5)" (parenthesized_expression "(*(code *)PTR___gmpn_sub_n_0009d514)" ( (pointer_expression "*(code *)PTR___gmpn_sub_n_0009d514" * (cast_expression "(code *)PTR___gmpn_sub_n_0009d514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6,*param_1,param_7,param_5)" ( identifier , (pointer_expression "*param_1" * identifier) , identifier , identifier )))) ;) (expression_statement "iVar10 = iVar10 + iVar4;" (assignment_expression "iVar10 = iVar10 + iVar4" identifier = (binary_expression "iVar10 + iVar4" identifier + identifier)) ;) (expression_statement "iVar4 = iVar15 - iVar10;" (assignment_expression "iVar4 = iVar15 - iVar10" identifier = (binary_expression "iVar15 - iVar10" identifier - identifier)) ;) (expression_statement "uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;" (assignment_expression "uVar9 = iVar4 >> 0x1f & iVar10 - iVar15" identifier = (binary_expression "iVar4 >> 0x1f & iVar10 - iVar15" (binary_expression "iVar4 >> 0x1f" identifier >> number_literal) & (binary_expression "iVar10 - iVar15" identifier - identifier))) ;) (expression_statement "puVar6[param_5] = iVar4 + uVar9;" (assignment_expression "puVar6[param_5] = iVar4 + uVar9" (subscript_expression "puVar6[param_5]" identifier [ identifier ]) = (binary_expression "iVar4 + uVar9" identifier + identifier)) ;) (expression_statement "uVar11 = *puVar6;" (assignment_expression "uVar11 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "*puVar6 = uVar9 + uVar11;" (assignment_expression "*puVar6 = uVar9 + uVar11" (pointer_expression "*puVar6" * identifier) = (binary_expression "uVar9 + uVar11" identifier + identifier)) ;) (if_statement "if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }" if (parenthesized_expression "(uVar9 + uVar11 < uVar9)" ( (binary_expression "uVar9 + uVar11 < uVar9" (binary_expression "uVar9 + uVar11" identifier + identifier) < identifier) )) (compound_statement "{\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }" { (do_statement "do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);" do (compound_statement "{\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        }" { (expression_statement "uVar9 = puVar6[1] + 1;" (assignment_expression "uVar9 = puVar6[1] + 1" identifier = (binary_expression "puVar6[1] + 1" (subscript_expression "puVar6[1]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar6[1] = uVar9;" (assignment_expression "puVar6[1] = uVar9" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar9 != 0) goto LAB_00041758;" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00041758;" goto statement_identifier ;)) (expression_statement "puVar6 = puVar6 + 2;" (assignment_expression "puVar6 = puVar6 + 2" identifier = (binary_expression "puVar6 + 2" identifier + number_literal)) ;) (expression_statement "uVar9 = *puVar6;" (assignment_expression "uVar9 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "*puVar6 = uVar9 + 1;" (assignment_expression "*puVar6 = uVar9 + 1" (pointer_expression "*puVar6" * identifier) = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar9 + 1 == 0)" ( (binary_expression "uVar9 + 1 == 0" (binary_expression "uVar9 + 1" identifier + number_literal) == number_literal) )) ;) (expression_statement "puVar6 = (uint *)*param_1;" (assignment_expression "puVar6 = (uint *)*param_1" identifier = (cast_expression "(uint *)*param_1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) }) (else_clause "else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }" else (compound_statement "{\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }" { (labeled_statement "LAB_00041758:\n        puVar6 = (uint *)*param_1;" statement_identifier : (expression_statement "puVar6 = (uint *)*param_1;" (assignment_expression "puVar6 = (uint *)*param_1" identifier = (cast_expression "(uint *)*param_1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;)) }))) (expression_statement "iVar10 = param_7[param_5];" (assignment_expression "iVar10 = param_7[param_5]" identifier = (subscript_expression "param_7[param_5]" identifier [ identifier ])) ;) (expression_statement "uVar9 = puVar6[param_5];" (assignment_expression "uVar9 = puVar6[param_5]" identifier = (subscript_expression "puVar6[param_5]" identifier [ identifier ])) ;) (expression_statement "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5)" identifier = (call_expression "(*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_0009d334)" ( (pointer_expression "*(code *)PTR___gmpn_add_n_0009d334" * (cast_expression "(code *)PTR___gmpn_add_n_0009d334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6,puVar6,param_7,param_5)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "iVar4 = uVar9 + iVar10 + iVar4;" (assignment_expression "iVar4 = uVar9 + iVar10 + iVar4" identifier = (binary_expression "uVar9 + iVar10 + iVar4" (binary_expression "uVar9 + iVar10" identifier + identifier) + identifier)) ;) (expression_statement "uVar9 = iVar4 - 1;" (assignment_expression "uVar9 = iVar4 - 1" identifier = (binary_expression "iVar4 - 1" identifier - number_literal)) ;) (if_statement "if (iVar4 == 0) {\n        uVar9 = 0;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar9 = 0;\n      }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) })) (expression_statement "puVar6[param_5] = iVar4 - uVar9;" (assignment_expression "puVar6[param_5] = iVar4 - uVar9" (subscript_expression "puVar6[param_5]" identifier [ identifier ]) = (binary_expression "iVar4 - uVar9" identifier - identifier)) ;) (expression_statement "uVar11 = *puVar6;" (assignment_expression "uVar11 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "*puVar6 = uVar11 - uVar9;" (assignment_expression "*puVar6 = uVar11 - uVar9" (pointer_expression "*puVar6" * identifier) = (binary_expression "uVar11 - uVar9" identifier - identifier)) ;) (if_statement "if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }" if (parenthesized_expression "(uVar11 < uVar9)" ( (binary_expression "uVar11 < uVar9" identifier < identifier) )) (compound_statement "{\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }" { (do_statement "do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);" do (compound_statement "{\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        }" { (expression_statement "uVar9 = puVar6[1];" (assignment_expression "uVar9 = puVar6[1]" identifier = (subscript_expression "puVar6[1]" identifier [ number_literal ])) ;) (expression_statement "puVar6[1] = uVar9 - 1;" (assignment_expression "puVar6[1] = uVar9 - 1" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 != 0) break;" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar6 = puVar6 + 2;" (assignment_expression "puVar6 = puVar6 + 2" identifier = (binary_expression "puVar6 + 2" identifier + number_literal)) ;) (expression_statement "uVar9 = *puVar6;" (assignment_expression "uVar9 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "*puVar6 = uVar9 - 1;" (assignment_expression "*puVar6 = uVar9 - 1" (pointer_expression "*puVar6" * identifier) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) }) while (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "param_1 = param_1 + param_6 * 2;" (assignment_expression "param_1 = param_1 + param_6 * 2" identifier = (binary_expression "param_1 + param_6 * 2" identifier + (binary_expression "param_6 * 2" identifier * number_literal))) ;) (expression_statement "piVar14 = piVar14 + 2;" (assignment_expression "piVar14 = piVar14 + 2" identifier = (binary_expression "piVar14 + 2" identifier + number_literal)) ;) (if_statement "if (param_2 == iVar2) {\n        return;\n      }" if (parenthesized_expression "(param_2 == iVar2)" ( (binary_expression "param_2 == iVar2" identifier == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "piVar13 = param_1 + param_6;" (assignment_expression "piVar13 = param_1 + param_6" identifier = (binary_expression "param_1 + param_6" identifier + identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "puVar8 = (undefined4 *)*param_1;" (assignment_expression "puVar8 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (param_5 == -1) {\n    iVar2 = -4;\n  }\n  else {\n    uVar12 = *puVar8;\n    iVar2 = param_5;\n    puVar5 = param_7;\n    puVar1 = puVar8;\n    if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }\n  }" if (parenthesized_expression "(param_5 == -1)" ( (binary_expression "param_5 == -1" identifier == number_literal) )) (compound_statement "{\n    iVar2 = -4;\n  }" { (expression_statement "iVar2 = -4;" (assignment_expression "iVar2 = -4" identifier = number_literal) ;) }) (else_clause "else {\n    uVar12 = *puVar8;\n    iVar2 = param_5;\n    puVar5 = param_7;\n    puVar1 = puVar8;\n    if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }\n  }" else (compound_statement "{\n    uVar12 = *puVar8;\n    iVar2 = param_5;\n    puVar5 = param_7;\n    puVar1 = puVar8;\n    if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }\n  }" { (expression_statement "uVar12 = *puVar8;" (assignment_expression "uVar12 = *puVar8" identifier = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "iVar2 = param_5;" (assignment_expression "iVar2 = param_5" identifier = identifier) ;) (expression_statement "puVar5 = param_7;" (assignment_expression "puVar5 = param_7" identifier = identifier) ;) (expression_statement "puVar1 = puVar8;" (assignment_expression "puVar1 = puVar8" identifier = identifier) ;) (if_statement "if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "*param_7 = uVar12;" (assignment_expression "*param_7 = uVar12" (pointer_expression "*param_7" * identifier) = identifier) ;) }) (else_clause "else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }" else (compound_statement "{\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }" { (do_statement "do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);" do (compound_statement "{\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      }" { (expression_statement "*puVar5 = uVar12;" (assignment_expression "*puVar5 = uVar12" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "uVar12 = puVar1[1];" (assignment_expression "uVar12 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "puVar1 = puVar1 + 1;" (assignment_expression "puVar1 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) ;) (expression_statement "iVar2 = param_5 * 4;" (assignment_expression "iVar2 = param_5 * 4" identifier = (binary_expression "param_5 * 4" identifier * number_literal)) ;) (expression_statement "param_7[param_5] = uVar12;" (assignment_expression "param_7[param_5] = uVar12" (subscript_expression "param_7[param_5]" identifier [ identifier ]) = identifier) ;) }))) }))) (expression_statement "(*(code *)PTR___gmpn_add_n_0009d334)(puVar8,puVar8,*piVar13,param_5 + 1);" (call_expression "(*(code *)PTR___gmpn_add_n_0009d334)(puVar8,puVar8,*piVar13,param_5 + 1)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_0009d334)" ( (pointer_expression "*(code *)PTR___gmpn_add_n_0009d334" * (cast_expression "(code *)PTR___gmpn_add_n_0009d334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8,puVar8,*piVar13,param_5 + 1)" ( identifier , identifier , (pointer_expression "*piVar13" * identifier) , (binary_expression "param_5 + 1" identifier + number_literal) ))) ;) (expression_statement "iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1);" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1)" identifier = (call_expression "(*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1)" (parenthesized_expression "(*(code *)PTR___gmpn_sub_n_0009d514)" ( (pointer_expression "*(code *)PTR___gmpn_sub_n_0009d514" * (cast_expression "(code *)PTR___gmpn_sub_n_0009d514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*piVar13,param_7,*piVar13,param_5 + 1)" ( (pointer_expression "*piVar13" * identifier) , identifier , (pointer_expression "*piVar13" * identifier) , (binary_expression "param_5 + 1" identifier + number_literal) )))) ;) (expression_statement "puVar6 = (uint *)*param_1;" (assignment_expression "puVar6 = (uint *)*param_1" identifier = (cast_expression "(uint *)*param_1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "uVar9 = *(uint *)((int)puVar6 + iVar2);" (assignment_expression "uVar9 = *(uint *)((int)puVar6 + iVar2)" identifier = (pointer_expression "*(uint *)((int)puVar6 + iVar2)" * (cast_expression "(uint *)((int)puVar6 + iVar2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + iVar2)" ( (binary_expression "(int)puVar6 + iVar2" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (if_statement "if (1 < uVar9) {\n    uVar11 = *puVar6;\n    uVar9 = uVar9 - 1;\n    *puVar6 = uVar11 - uVar9;\n    if (uVar11 < uVar9) {\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar9 = 1;\n    }\n    *(uint *)((int)puVar6 + iVar2) = uVar9;\n  }" if (parenthesized_expression "(1 < uVar9)" ( (binary_expression "1 < uVar9" number_literal < identifier) )) (compound_statement "{\n    uVar11 = *puVar6;\n    uVar9 = uVar9 - 1;\n    *puVar6 = uVar11 - uVar9;\n    if (uVar11 < uVar9) {\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar9 = 1;\n    }\n    *(uint *)((int)puVar6 + iVar2) = uVar9;\n  }" { (expression_statement "uVar11 = *puVar6;" (assignment_expression "uVar11 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "uVar9 = uVar9 - 1;" (assignment_expression "uVar9 = uVar9 - 1" identifier = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (expression_statement "*puVar6 = uVar11 - uVar9;" (assignment_expression "*puVar6 = uVar11 - uVar9" (pointer_expression "*puVar6" * identifier) = (binary_expression "uVar11 - uVar9" identifier - identifier)) ;) (if_statement "if (uVar11 < uVar9) {\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar9 = 1;\n    }" if (parenthesized_expression "(uVar11 < uVar9)" ( (binary_expression "uVar11 < uVar9" identifier < identifier) )) (compound_statement "{\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }" { (if_statement "if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }" if (parenthesized_expression "(1 < param_5)" ( (binary_expression "1 < param_5" number_literal < identifier) )) (compound_statement "{\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }" { (expression_statement "uVar9 = puVar6[1];" (assignment_expression "uVar9 = puVar6[1]" identifier = (subscript_expression "puVar6[1]" identifier [ number_literal ])) ;) (expression_statement "puVar6[1] = uVar9 - 1;" (assignment_expression "puVar6[1] = uVar9 - 1" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }" { (if_statement "if (param_5 == 2) goto LAB_000419c4;" if (parenthesized_expression "(param_5 == 2)" ( (binary_expression "param_5 == 2" identifier == number_literal) )) (goto_statement "goto LAB_000419c4;" goto statement_identifier ;)) (expression_statement "uVar9 = puVar6[2];" (assignment_expression "uVar9 = puVar6[2]" identifier = (subscript_expression "puVar6[2]" identifier [ number_literal ])) ;) (expression_statement "puVar6[2] = uVar9 - 1;" (assignment_expression "puVar6[2] = uVar9 - 1" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }" { (expression_statement "iVar10 = 3;" (assignment_expression "iVar10 = 3" identifier = number_literal) ;) (expression_statement "puVar7 = puVar6 + 3;" (assignment_expression "puVar7 = puVar6 + 3" identifier = (binary_expression "puVar6 + 3" identifier + number_literal)) ;) (do_statement "do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);" do (compound_statement "{\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            }" { (if_statement "if (param_5 == iVar10) goto LAB_000419c4;" if (parenthesized_expression "(param_5 == iVar10)" ( (binary_expression "param_5 == iVar10" identifier == identifier) )) (goto_statement "goto LAB_000419c4;" goto statement_identifier ;)) (expression_statement "uVar9 = *puVar7;" (assignment_expression "uVar9 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar9 - 1;" (assignment_expression "*puVar7 = uVar9 - 1" (pointer_expression "*puVar7" * identifier) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) ;) })) })) (goto_statement "goto LAB_00041a78;" goto statement_identifier ;) })) (labeled_statement "LAB_000419c4:\n      uVar9 = 0;" statement_identifier : (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;)) }) (else_clause "else {\nLAB_00041a78:\n      uVar9 = 1;\n    }" else (compound_statement "{\nLAB_00041a78:\n      uVar9 = 1;\n    }" { (labeled_statement "LAB_00041a78:\n      uVar9 = 1;" statement_identifier : (expression_statement "uVar9 = 1;" (assignment_expression "uVar9 = 1" identifier = number_literal) ;)) }))) (expression_statement "*(uint *)((int)puVar6 + iVar2) = uVar9;" (assignment_expression "*(uint *)((int)puVar6 + iVar2) = uVar9" (pointer_expression "*(uint *)((int)puVar6 + iVar2)" * (cast_expression "(uint *)((int)puVar6 + iVar2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + iVar2)" ( (binary_expression "(int)puVar6 + iVar2" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = identifier) ;) })) (if_statement "if (iVar4 == 0) {\n    return;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar6 = (uint *)*piVar13;" (assignment_expression "puVar6 = (uint *)*piVar13" identifier = (cast_expression "(uint *)*piVar13" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar13" * identifier))) ;) (expression_statement "piVar13 = (int *)((int)puVar6 + iVar2);" (assignment_expression "piVar13 = (int *)((int)puVar6 + iVar2)" identifier = (cast_expression "(int *)((int)puVar6 + iVar2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + iVar2)" ( (binary_expression "(int)puVar6 + iVar2" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "iVar2 = *piVar13;" (assignment_expression "iVar2 = *piVar13" identifier = (pointer_expression "*piVar13" * identifier)) ;) (expression_statement "uVar9 = *puVar6 - iVar2;" (assignment_expression "uVar9 = *puVar6 - iVar2" identifier = (binary_expression "*puVar6 - iVar2" (pointer_expression "*puVar6" * identifier) - identifier)) ;) (expression_statement "*puVar6 = uVar9;" (assignment_expression "*puVar6 = uVar9" (pointer_expression "*puVar6" * identifier) = identifier) ;) (if_statement "if (uVar9 < (uint)-iVar2) {\n    if (param_5 < 2) {\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }\n    uVar9 = puVar6[1];\n    puVar6[1] = uVar9 + 1;\n    if (uVar9 + 1 == 0) {\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }\n  }" if (parenthesized_expression "(uVar9 < (uint)-iVar2)" ( (binary_expression "uVar9 < (uint)-iVar2" identifier < (binary_expression "(uint)-iVar2" (parenthesized_expression "(uint)" ( identifier )) - identifier)) )) (compound_statement "{\n    if (param_5 < 2) {\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }\n    uVar9 = puVar6[1];\n    puVar6[1] = uVar9 + 1;\n    if (uVar9 + 1 == 0) {\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }\n  }" { (if_statement "if (param_5 < 2) {\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }" if (parenthesized_expression "(param_5 < 2)" ( (binary_expression "param_5 < 2" identifier < number_literal) )) (compound_statement "{\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }" { (labeled_statement "LAB_00041a5c:\n      *piVar13 = 1;" statement_identifier : (expression_statement "*piVar13 = 1;" (assignment_expression "*piVar13 = 1" (pointer_expression "*piVar13" * identifier) = number_literal) ;)) (return_statement "return;" return ;) })) (expression_statement "uVar9 = puVar6[1];" (assignment_expression "uVar9 = puVar6[1]" identifier = (subscript_expression "puVar6[1]" identifier [ number_literal ])) ;) (expression_statement "puVar6[1] = uVar9 + 1;" (assignment_expression "puVar6[1] = uVar9 + 1" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (if_statement "if (uVar9 + 1 == 0) {\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }" if (parenthesized_expression "(uVar9 + 1 == 0)" ( (binary_expression "uVar9 + 1 == 0" (binary_expression "uVar9 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }" { (if_statement "if (param_5 == 2) goto LAB_00041a5c;" if (parenthesized_expression "(param_5 == 2)" ( (binary_expression "param_5 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00041a5c;" goto statement_identifier ;)) (expression_statement "uVar9 = puVar6[2];" (assignment_expression "uVar9 = puVar6[2]" identifier = (subscript_expression "puVar6[2]" identifier [ number_literal ])) ;) (expression_statement "puVar6[2] = uVar9 + 1;" (assignment_expression "puVar6[2] = uVar9 + 1" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (if_statement "if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }" if (parenthesized_expression "(uVar9 + 1 == 0)" ( (binary_expression "uVar9 + 1 == 0" (binary_expression "uVar9 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }" { (expression_statement "iVar2 = 3;" (assignment_expression "iVar2 = 3" identifier = number_literal) ;) (expression_statement "puVar6 = puVar6 + 3;" (assignment_expression "puVar6 = puVar6 + 3" identifier = (binary_expression "puVar6 + 3" identifier + number_literal)) ;) (do_statement "do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);" do (compound_statement "{\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        }" { (if_statement "if (param_5 == iVar2) goto LAB_00041a5c;" if (parenthesized_expression "(param_5 == iVar2)" ( (binary_expression "param_5 == iVar2" identifier == identifier) )) (goto_statement "goto LAB_00041a5c;" goto statement_identifier ;)) (expression_statement "uVar9 = *puVar6;" (assignment_expression "uVar9 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar6 = uVar9 + 1;" (assignment_expression "*puVar6 = uVar9 + 1" (pointer_expression "*puVar6" * identifier) = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar9 + 1 == 0)" ( (binary_expression "uVar9 + 1 == 0" (binary_expression "uVar9 + 1" identifier + number_literal) == number_literal) )) ;) })) })) })) (expression_statement "*piVar13 = 0;" (assignment_expression "*piVar13 = 0" (pointer_expression "*piVar13" * identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void mpn_fft_fft(mp_ptr *Ap,mp_size_t K,int **ll,mp_size_t omega,mp_size_t n,mp_size_t inc,mp_ptr tp\n                )\n\n{\n  mp_limb_t *pmVar1;\n  int iVar2;\n  code *pcVar3;\n  int iVar4;\n  uint *puVar5;\n  mp_limb_t *pmVar6;\n  mp_ptr pmVar7;\n  mp_ptr pmVar8;\n  int iVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  mp_limb_t mVar13;\n  int *piVar14;\n  mp_ptr *Ap_00;\n  mp_limb_t mVar15;\n  \n  Ap_00 = Ap + inc;\n  if (K != 2) {\n    iVar2 = K >> 1;\n    piVar14 = *ll;\n    mpn_fft_fft(Ap,iVar2,ll + -1,omega << 1,n,inc << 1,tp);\n    mpn_fft_fft(Ap_00,iVar2,ll + -1,omega << 1,n,inc << 1,tp);\n    if (iVar2 < 1) {\n      return;\n    }\n    iVar4 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(tp,*Ap_00,omega * *piVar14,n);\n      pmVar8 = *Ap_00;\n      mVar13 = tp[n];\n      mVar15 = (*Ap)[n];\n      iVar11 = (*(code *)PTR___gmpn_sub_n_0009d514)(pmVar8,*Ap,tp,n);\n      iVar11 = mVar13 + iVar11;\n      iVar9 = mVar15 - iVar11;\n      uVar10 = iVar9 >> 0x1f & iVar11 - mVar15;\n      pmVar8[n] = iVar9 + uVar10;\n      mVar13 = *pmVar8;\n      *pmVar8 = uVar10 + mVar13;\n      if (uVar10 + mVar13 < uVar10) {\n        do {\n          mVar13 = pmVar8[1] + 1;\n          pmVar8[1] = mVar13;\n          if (mVar13 != 0) goto LAB_00041758;\n          pmVar8 = pmVar8 + 2;\n          mVar13 = *pmVar8;\n          *pmVar8 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n        puVar5 = *Ap;\n      }\n      else {\nLAB_00041758:\n        puVar5 = *Ap;\n      }\n      mVar13 = tp[n];\n      uVar10 = puVar5[n];\n      iVar11 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar5,puVar5,tp,n);\n      iVar11 = uVar10 + mVar13 + iVar11;\n      uVar10 = iVar11 - 1;\n      if (iVar11 == 0) {\n        uVar10 = 0;\n      }\n      puVar5[n] = iVar11 - uVar10;\n      uVar12 = *puVar5;\n      *puVar5 = uVar12 - uVar10;\n      if (uVar12 < uVar10) {\n        do {\n          uVar10 = puVar5[1];\n          puVar5[1] = uVar10 - 1;\n          if (uVar10 != 0) break;\n          puVar5 = puVar5 + 2;\n          uVar10 = *puVar5;\n          *puVar5 = uVar10 - 1;\n        } while (uVar10 == 0);\n      }\n      iVar4 = iVar4 + 1;\n      Ap = Ap + inc * 2;\n      piVar14 = piVar14 + 2;\n      if (iVar2 == iVar4) {\n        return;\n      }\n      Ap_00 = Ap + inc;\n    } while( true );\n  }\n  pmVar8 = *Ap;\n  if (n == -1) {\n    iVar2 = -4;\n  }\n  else {\n    mVar13 = *pmVar8;\n    iVar2 = n;\n    pmVar6 = tp;\n    pmVar1 = pmVar8;\n    if (n == 0) {\n      iVar2 = 0;\n      *tp = mVar13;\n    }\n    else {\n      do {\n        *pmVar6 = mVar13;\n        iVar2 = iVar2 + -1;\n        mVar13 = pmVar1[1];\n        pmVar6 = pmVar6 + 1;\n        pmVar1 = pmVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = n * 4;\n      tp[n] = mVar13;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_0009d334)(pmVar8,pmVar8,*Ap_00,n + 1);\n  iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*Ap_00,tp,*Ap_00,n + 1);\n  pmVar8 = *Ap;\n  uVar10 = *(uint *)((int)pmVar8 + iVar2);\n  if (1 < uVar10) {\n    uVar12 = *pmVar8;\n    uVar10 = uVar10 - 1;\n    *pmVar8 = uVar12 - uVar10;\n    if (uVar12 < uVar10) {\n      if (1 < n) {\n        mVar13 = pmVar8[1];\n        pmVar8[1] = mVar13 - 1;\n        if (mVar13 == 0) {\n          if (n == 2) goto LAB_000419c4;\n          mVar13 = pmVar8[2];\n          pmVar8[2] = mVar13 - 1;\n          if (mVar13 == 0) {\n            iVar11 = 3;\n            pmVar7 = pmVar8 + 3;\n            do {\n              if (n == iVar11) goto LAB_000419c4;\n              mVar13 = *pmVar7;\n              iVar11 = iVar11 + 1;\n              *pmVar7 = mVar13 - 1;\n              pmVar7 = pmVar7 + 1;\n            } while (mVar13 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar10 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar10 = 1;\n    }\n    *(uint *)((int)pmVar8 + iVar2) = uVar10;\n  }\n  if (iVar4 == 0) {\n    return;\n  }\n  puVar5 = *Ap_00;\n  piVar14 = (int *)((int)puVar5 + iVar2);\n  iVar2 = *piVar14;\n  uVar10 = *puVar5 - iVar2;\n  *puVar5 = uVar10;\n  if (uVar10 < (uint)-iVar2) {\n    if (n < 2) {\nLAB_00041a5c:\n      *piVar14 = 1;\n      return;\n    }\n    uVar10 = puVar5[1];\n    puVar5[1] = uVar10 + 1;\n    if (uVar10 + 1 == 0) {\n      if (n == 2) goto LAB_00041a5c;\n      uVar10 = puVar5[2];\n      puVar5[2] = uVar10 + 1;\n      if (uVar10 + 1 == 0) {\n        iVar2 = 3;\n        puVar5 = puVar5 + 3;\n        do {\n          if (n == iVar2) goto LAB_00041a5c;\n          uVar10 = *puVar5;\n          iVar2 = iVar2 + 1;\n          *puVar5 = uVar10 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar10 + 1 == 0);\n      }\n    }\n  }\n  *piVar14 = 0;\n  return;\n}\n\n" (function_definition "void mpn_fft_fft(mp_ptr *Ap,mp_size_t K,int **ll,mp_size_t omega,mp_size_t n,mp_size_t inc,mp_ptr tp\n                )\n\n{\n  mp_limb_t *pmVar1;\n  int iVar2;\n  code *pcVar3;\n  int iVar4;\n  uint *puVar5;\n  mp_limb_t *pmVar6;\n  mp_ptr pmVar7;\n  mp_ptr pmVar8;\n  int iVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  mp_limb_t mVar13;\n  int *piVar14;\n  mp_ptr *Ap_00;\n  mp_limb_t mVar15;\n  \n  Ap_00 = Ap + inc;\n  if (K != 2) {\n    iVar2 = K >> 1;\n    piVar14 = *ll;\n    mpn_fft_fft(Ap,iVar2,ll + -1,omega << 1,n,inc << 1,tp);\n    mpn_fft_fft(Ap_00,iVar2,ll + -1,omega << 1,n,inc << 1,tp);\n    if (iVar2 < 1) {\n      return;\n    }\n    iVar4 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(tp,*Ap_00,omega * *piVar14,n);\n      pmVar8 = *Ap_00;\n      mVar13 = tp[n];\n      mVar15 = (*Ap)[n];\n      iVar11 = (*(code *)PTR___gmpn_sub_n_0009d514)(pmVar8,*Ap,tp,n);\n      iVar11 = mVar13 + iVar11;\n      iVar9 = mVar15 - iVar11;\n      uVar10 = iVar9 >> 0x1f & iVar11 - mVar15;\n      pmVar8[n] = iVar9 + uVar10;\n      mVar13 = *pmVar8;\n      *pmVar8 = uVar10 + mVar13;\n      if (uVar10 + mVar13 < uVar10) {\n        do {\n          mVar13 = pmVar8[1] + 1;\n          pmVar8[1] = mVar13;\n          if (mVar13 != 0) goto LAB_00041758;\n          pmVar8 = pmVar8 + 2;\n          mVar13 = *pmVar8;\n          *pmVar8 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n        puVar5 = *Ap;\n      }\n      else {\nLAB_00041758:\n        puVar5 = *Ap;\n      }\n      mVar13 = tp[n];\n      uVar10 = puVar5[n];\n      iVar11 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar5,puVar5,tp,n);\n      iVar11 = uVar10 + mVar13 + iVar11;\n      uVar10 = iVar11 - 1;\n      if (iVar11 == 0) {\n        uVar10 = 0;\n      }\n      puVar5[n] = iVar11 - uVar10;\n      uVar12 = *puVar5;\n      *puVar5 = uVar12 - uVar10;\n      if (uVar12 < uVar10) {\n        do {\n          uVar10 = puVar5[1];\n          puVar5[1] = uVar10 - 1;\n          if (uVar10 != 0) break;\n          puVar5 = puVar5 + 2;\n          uVar10 = *puVar5;\n          *puVar5 = uVar10 - 1;\n        } while (uVar10 == 0);\n      }\n      iVar4 = iVar4 + 1;\n      Ap = Ap + inc * 2;\n      piVar14 = piVar14 + 2;\n      if (iVar2 == iVar4) {\n        return;\n      }\n      Ap_00 = Ap + inc;\n    } while( true );\n  }\n  pmVar8 = *Ap;\n  if (n == -1) {\n    iVar2 = -4;\n  }\n  else {\n    mVar13 = *pmVar8;\n    iVar2 = n;\n    pmVar6 = tp;\n    pmVar1 = pmVar8;\n    if (n == 0) {\n      iVar2 = 0;\n      *tp = mVar13;\n    }\n    else {\n      do {\n        *pmVar6 = mVar13;\n        iVar2 = iVar2 + -1;\n        mVar13 = pmVar1[1];\n        pmVar6 = pmVar6 + 1;\n        pmVar1 = pmVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = n * 4;\n      tp[n] = mVar13;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_0009d334)(pmVar8,pmVar8,*Ap_00,n + 1);\n  iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*Ap_00,tp,*Ap_00,n + 1);\n  pmVar8 = *Ap;\n  uVar10 = *(uint *)((int)pmVar8 + iVar2);\n  if (1 < uVar10) {\n    uVar12 = *pmVar8;\n    uVar10 = uVar10 - 1;\n    *pmVar8 = uVar12 - uVar10;\n    if (uVar12 < uVar10) {\n      if (1 < n) {\n        mVar13 = pmVar8[1];\n        pmVar8[1] = mVar13 - 1;\n        if (mVar13 == 0) {\n          if (n == 2) goto LAB_000419c4;\n          mVar13 = pmVar8[2];\n          pmVar8[2] = mVar13 - 1;\n          if (mVar13 == 0) {\n            iVar11 = 3;\n            pmVar7 = pmVar8 + 3;\n            do {\n              if (n == iVar11) goto LAB_000419c4;\n              mVar13 = *pmVar7;\n              iVar11 = iVar11 + 1;\n              *pmVar7 = mVar13 - 1;\n              pmVar7 = pmVar7 + 1;\n            } while (mVar13 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar10 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar10 = 1;\n    }\n    *(uint *)((int)pmVar8 + iVar2) = uVar10;\n  }\n  if (iVar4 == 0) {\n    return;\n  }\n  puVar5 = *Ap_00;\n  piVar14 = (int *)((int)puVar5 + iVar2);\n  iVar2 = *piVar14;\n  uVar10 = *puVar5 - iVar2;\n  *puVar5 = uVar10;\n  if (uVar10 < (uint)-iVar2) {\n    if (n < 2) {\nLAB_00041a5c:\n      *piVar14 = 1;\n      return;\n    }\n    uVar10 = puVar5[1];\n    puVar5[1] = uVar10 + 1;\n    if (uVar10 + 1 == 0) {\n      if (n == 2) goto LAB_00041a5c;\n      uVar10 = puVar5[2];\n      puVar5[2] = uVar10 + 1;\n      if (uVar10 + 1 == 0) {\n        iVar2 = 3;\n        puVar5 = puVar5 + 3;\n        do {\n          if (n == iVar2) goto LAB_00041a5c;\n          uVar10 = *puVar5;\n          iVar2 = iVar2 + 1;\n          *puVar5 = uVar10 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar10 + 1 == 0);\n      }\n    }\n  }\n  *piVar14 = 0;\n  return;\n}" primitive_type (function_declarator "mpn_fft_fft(mp_ptr *Ap,mp_size_t K,int **ll,mp_size_t omega,mp_size_t n,mp_size_t inc,mp_ptr tp\n                )" identifier (parameter_list "(mp_ptr *Ap,mp_size_t K,int **ll,mp_size_t omega,mp_size_t n,mp_size_t inc,mp_ptr tp\n                )" ( (parameter_declaration "mp_ptr *Ap" type_identifier (pointer_declarator "*Ap" * identifier)) , (parameter_declaration "mp_size_t K" type_identifier identifier) , (parameter_declaration "int **ll" primitive_type (pointer_declarator "**ll" * (pointer_declarator "*ll" * identifier))) , (parameter_declaration "mp_size_t omega" type_identifier identifier) , (parameter_declaration "mp_size_t n" type_identifier identifier) , (parameter_declaration "mp_size_t inc" type_identifier identifier) , (parameter_declaration "mp_ptr tp" type_identifier identifier) ))) (compound_statement "{\n  mp_limb_t *pmVar1;\n  int iVar2;\n  code *pcVar3;\n  int iVar4;\n  uint *puVar5;\n  mp_limb_t *pmVar6;\n  mp_ptr pmVar7;\n  mp_ptr pmVar8;\n  int iVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  mp_limb_t mVar13;\n  int *piVar14;\n  mp_ptr *Ap_00;\n  mp_limb_t mVar15;\n  \n  Ap_00 = Ap + inc;\n  if (K != 2) {\n    iVar2 = K >> 1;\n    piVar14 = *ll;\n    mpn_fft_fft(Ap,iVar2,ll + -1,omega << 1,n,inc << 1,tp);\n    mpn_fft_fft(Ap_00,iVar2,ll + -1,omega << 1,n,inc << 1,tp);\n    if (iVar2 < 1) {\n      return;\n    }\n    iVar4 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(tp,*Ap_00,omega * *piVar14,n);\n      pmVar8 = *Ap_00;\n      mVar13 = tp[n];\n      mVar15 = (*Ap)[n];\n      iVar11 = (*(code *)PTR___gmpn_sub_n_0009d514)(pmVar8,*Ap,tp,n);\n      iVar11 = mVar13 + iVar11;\n      iVar9 = mVar15 - iVar11;\n      uVar10 = iVar9 >> 0x1f & iVar11 - mVar15;\n      pmVar8[n] = iVar9 + uVar10;\n      mVar13 = *pmVar8;\n      *pmVar8 = uVar10 + mVar13;\n      if (uVar10 + mVar13 < uVar10) {\n        do {\n          mVar13 = pmVar8[1] + 1;\n          pmVar8[1] = mVar13;\n          if (mVar13 != 0) goto LAB_00041758;\n          pmVar8 = pmVar8 + 2;\n          mVar13 = *pmVar8;\n          *pmVar8 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n        puVar5 = *Ap;\n      }\n      else {\nLAB_00041758:\n        puVar5 = *Ap;\n      }\n      mVar13 = tp[n];\n      uVar10 = puVar5[n];\n      iVar11 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar5,puVar5,tp,n);\n      iVar11 = uVar10 + mVar13 + iVar11;\n      uVar10 = iVar11 - 1;\n      if (iVar11 == 0) {\n        uVar10 = 0;\n      }\n      puVar5[n] = iVar11 - uVar10;\n      uVar12 = *puVar5;\n      *puVar5 = uVar12 - uVar10;\n      if (uVar12 < uVar10) {\n        do {\n          uVar10 = puVar5[1];\n          puVar5[1] = uVar10 - 1;\n          if (uVar10 != 0) break;\n          puVar5 = puVar5 + 2;\n          uVar10 = *puVar5;\n          *puVar5 = uVar10 - 1;\n        } while (uVar10 == 0);\n      }\n      iVar4 = iVar4 + 1;\n      Ap = Ap + inc * 2;\n      piVar14 = piVar14 + 2;\n      if (iVar2 == iVar4) {\n        return;\n      }\n      Ap_00 = Ap + inc;\n    } while( true );\n  }\n  pmVar8 = *Ap;\n  if (n == -1) {\n    iVar2 = -4;\n  }\n  else {\n    mVar13 = *pmVar8;\n    iVar2 = n;\n    pmVar6 = tp;\n    pmVar1 = pmVar8;\n    if (n == 0) {\n      iVar2 = 0;\n      *tp = mVar13;\n    }\n    else {\n      do {\n        *pmVar6 = mVar13;\n        iVar2 = iVar2 + -1;\n        mVar13 = pmVar1[1];\n        pmVar6 = pmVar6 + 1;\n        pmVar1 = pmVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = n * 4;\n      tp[n] = mVar13;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_0009d334)(pmVar8,pmVar8,*Ap_00,n + 1);\n  iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*Ap_00,tp,*Ap_00,n + 1);\n  pmVar8 = *Ap;\n  uVar10 = *(uint *)((int)pmVar8 + iVar2);\n  if (1 < uVar10) {\n    uVar12 = *pmVar8;\n    uVar10 = uVar10 - 1;\n    *pmVar8 = uVar12 - uVar10;\n    if (uVar12 < uVar10) {\n      if (1 < n) {\n        mVar13 = pmVar8[1];\n        pmVar8[1] = mVar13 - 1;\n        if (mVar13 == 0) {\n          if (n == 2) goto LAB_000419c4;\n          mVar13 = pmVar8[2];\n          pmVar8[2] = mVar13 - 1;\n          if (mVar13 == 0) {\n            iVar11 = 3;\n            pmVar7 = pmVar8 + 3;\n            do {\n              if (n == iVar11) goto LAB_000419c4;\n              mVar13 = *pmVar7;\n              iVar11 = iVar11 + 1;\n              *pmVar7 = mVar13 - 1;\n              pmVar7 = pmVar7 + 1;\n            } while (mVar13 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar10 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar10 = 1;\n    }\n    *(uint *)((int)pmVar8 + iVar2) = uVar10;\n  }\n  if (iVar4 == 0) {\n    return;\n  }\n  puVar5 = *Ap_00;\n  piVar14 = (int *)((int)puVar5 + iVar2);\n  iVar2 = *piVar14;\n  uVar10 = *puVar5 - iVar2;\n  *puVar5 = uVar10;\n  if (uVar10 < (uint)-iVar2) {\n    if (n < 2) {\nLAB_00041a5c:\n      *piVar14 = 1;\n      return;\n    }\n    uVar10 = puVar5[1];\n    puVar5[1] = uVar10 + 1;\n    if (uVar10 + 1 == 0) {\n      if (n == 2) goto LAB_00041a5c;\n      uVar10 = puVar5[2];\n      puVar5[2] = uVar10 + 1;\n      if (uVar10 + 1 == 0) {\n        iVar2 = 3;\n        puVar5 = puVar5 + 3;\n        do {\n          if (n == iVar2) goto LAB_00041a5c;\n          uVar10 = *puVar5;\n          iVar2 = iVar2 + 1;\n          *puVar5 = uVar10 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar10 + 1 == 0);\n      }\n    }\n  }\n  *piVar14 = 0;\n  return;\n}" { (declaration "mp_limb_t *pmVar1;" type_identifier (pointer_declarator "*pmVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "mp_limb_t *pmVar6;" type_identifier (pointer_declarator "*pmVar6" * identifier) ;) (declaration "mp_ptr pmVar7;" type_identifier identifier ;) (declaration "mp_ptr pmVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "mp_limb_t mVar13;" type_identifier identifier ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "mp_ptr *Ap_00;" type_identifier (pointer_declarator "*Ap_00" * identifier) ;) (declaration "mp_limb_t mVar15;" type_identifier identifier ;) (expression_statement "Ap_00 = Ap + inc;" (assignment_expression "Ap_00 = Ap + inc" identifier = (binary_expression "Ap + inc" identifier + identifier)) ;) (if_statement "if (K != 2) {\n    iVar2 = K >> 1;\n    piVar14 = *ll;\n    mpn_fft_fft(Ap,iVar2,ll + -1,omega << 1,n,inc << 1,tp);\n    mpn_fft_fft(Ap_00,iVar2,ll + -1,omega << 1,n,inc << 1,tp);\n    if (iVar2 < 1) {\n      return;\n    }\n    iVar4 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(tp,*Ap_00,omega * *piVar14,n);\n      pmVar8 = *Ap_00;\n      mVar13 = tp[n];\n      mVar15 = (*Ap)[n];\n      iVar11 = (*(code *)PTR___gmpn_sub_n_0009d514)(pmVar8,*Ap,tp,n);\n      iVar11 = mVar13 + iVar11;\n      iVar9 = mVar15 - iVar11;\n      uVar10 = iVar9 >> 0x1f & iVar11 - mVar15;\n      pmVar8[n] = iVar9 + uVar10;\n      mVar13 = *pmVar8;\n      *pmVar8 = uVar10 + mVar13;\n      if (uVar10 + mVar13 < uVar10) {\n        do {\n          mVar13 = pmVar8[1] + 1;\n          pmVar8[1] = mVar13;\n          if (mVar13 != 0) goto LAB_00041758;\n          pmVar8 = pmVar8 + 2;\n          mVar13 = *pmVar8;\n          *pmVar8 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n        puVar5 = *Ap;\n      }\n      else {\nLAB_00041758:\n        puVar5 = *Ap;\n      }\n      mVar13 = tp[n];\n      uVar10 = puVar5[n];\n      iVar11 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar5,puVar5,tp,n);\n      iVar11 = uVar10 + mVar13 + iVar11;\n      uVar10 = iVar11 - 1;\n      if (iVar11 == 0) {\n        uVar10 = 0;\n      }\n      puVar5[n] = iVar11 - uVar10;\n      uVar12 = *puVar5;\n      *puVar5 = uVar12 - uVar10;\n      if (uVar12 < uVar10) {\n        do {\n          uVar10 = puVar5[1];\n          puVar5[1] = uVar10 - 1;\n          if (uVar10 != 0) break;\n          puVar5 = puVar5 + 2;\n          uVar10 = *puVar5;\n          *puVar5 = uVar10 - 1;\n        } while (uVar10 == 0);\n      }\n      iVar4 = iVar4 + 1;\n      Ap = Ap + inc * 2;\n      piVar14 = piVar14 + 2;\n      if (iVar2 == iVar4) {\n        return;\n      }\n      Ap_00 = Ap + inc;\n    } while( true );\n  }" if (parenthesized_expression "(K != 2)" ( (binary_expression "K != 2" identifier != number_literal) )) (compound_statement "{\n    iVar2 = K >> 1;\n    piVar14 = *ll;\n    mpn_fft_fft(Ap,iVar2,ll + -1,omega << 1,n,inc << 1,tp);\n    mpn_fft_fft(Ap_00,iVar2,ll + -1,omega << 1,n,inc << 1,tp);\n    if (iVar2 < 1) {\n      return;\n    }\n    iVar4 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(tp,*Ap_00,omega * *piVar14,n);\n      pmVar8 = *Ap_00;\n      mVar13 = tp[n];\n      mVar15 = (*Ap)[n];\n      iVar11 = (*(code *)PTR___gmpn_sub_n_0009d514)(pmVar8,*Ap,tp,n);\n      iVar11 = mVar13 + iVar11;\n      iVar9 = mVar15 - iVar11;\n      uVar10 = iVar9 >> 0x1f & iVar11 - mVar15;\n      pmVar8[n] = iVar9 + uVar10;\n      mVar13 = *pmVar8;\n      *pmVar8 = uVar10 + mVar13;\n      if (uVar10 + mVar13 < uVar10) {\n        do {\n          mVar13 = pmVar8[1] + 1;\n          pmVar8[1] = mVar13;\n          if (mVar13 != 0) goto LAB_00041758;\n          pmVar8 = pmVar8 + 2;\n          mVar13 = *pmVar8;\n          *pmVar8 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n        puVar5 = *Ap;\n      }\n      else {\nLAB_00041758:\n        puVar5 = *Ap;\n      }\n      mVar13 = tp[n];\n      uVar10 = puVar5[n];\n      iVar11 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar5,puVar5,tp,n);\n      iVar11 = uVar10 + mVar13 + iVar11;\n      uVar10 = iVar11 - 1;\n      if (iVar11 == 0) {\n        uVar10 = 0;\n      }\n      puVar5[n] = iVar11 - uVar10;\n      uVar12 = *puVar5;\n      *puVar5 = uVar12 - uVar10;\n      if (uVar12 < uVar10) {\n        do {\n          uVar10 = puVar5[1];\n          puVar5[1] = uVar10 - 1;\n          if (uVar10 != 0) break;\n          puVar5 = puVar5 + 2;\n          uVar10 = *puVar5;\n          *puVar5 = uVar10 - 1;\n        } while (uVar10 == 0);\n      }\n      iVar4 = iVar4 + 1;\n      Ap = Ap + inc * 2;\n      piVar14 = piVar14 + 2;\n      if (iVar2 == iVar4) {\n        return;\n      }\n      Ap_00 = Ap + inc;\n    } while( true );\n  }" { (expression_statement "iVar2 = K >> 1;" (assignment_expression "iVar2 = K >> 1" identifier = (binary_expression "K >> 1" identifier >> number_literal)) ;) (expression_statement "piVar14 = *ll;" (assignment_expression "piVar14 = *ll" identifier = (pointer_expression "*ll" * identifier)) ;) (expression_statement "mpn_fft_fft(Ap,iVar2,ll + -1,omega << 1,n,inc << 1,tp);" (call_expression "mpn_fft_fft(Ap,iVar2,ll + -1,omega << 1,n,inc << 1,tp)" identifier (argument_list "(Ap,iVar2,ll + -1,omega << 1,n,inc << 1,tp)" ( identifier , identifier , (binary_expression "ll + -1" identifier + number_literal) , (binary_expression "omega << 1" identifier << number_literal) , identifier , (binary_expression "inc << 1" identifier << number_literal) , identifier ))) ;) (expression_statement "mpn_fft_fft(Ap_00,iVar2,ll + -1,omega << 1,n,inc << 1,tp);" (call_expression "mpn_fft_fft(Ap_00,iVar2,ll + -1,omega << 1,n,inc << 1,tp)" identifier (argument_list "(Ap_00,iVar2,ll + -1,omega << 1,n,inc << 1,tp)" ( identifier , identifier , (binary_expression "ll + -1" identifier + number_literal) , (binary_expression "omega << 1" identifier << number_literal) , identifier , (binary_expression "inc << 1" identifier << number_literal) , identifier ))) ;) (if_statement "if (iVar2 < 1) {\n      return;\n    }" if (parenthesized_expression "(iVar2 < 1)" ( (binary_expression "iVar2 < 1" identifier < number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790)" identifier = (cast_expression "(code *)(PTR_LAB_0009d078 + 0x790)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0009d078 + 0x790)" ( (binary_expression "PTR_LAB_0009d078 + 0x790" identifier + number_literal) )))) ;) (do_statement "do {\n      (*pcVar3)(tp,*Ap_00,omega * *piVar14,n);\n      pmVar8 = *Ap_00;\n      mVar13 = tp[n];\n      mVar15 = (*Ap)[n];\n      iVar11 = (*(code *)PTR___gmpn_sub_n_0009d514)(pmVar8,*Ap,tp,n);\n      iVar11 = mVar13 + iVar11;\n      iVar9 = mVar15 - iVar11;\n      uVar10 = iVar9 >> 0x1f & iVar11 - mVar15;\n      pmVar8[n] = iVar9 + uVar10;\n      mVar13 = *pmVar8;\n      *pmVar8 = uVar10 + mVar13;\n      if (uVar10 + mVar13 < uVar10) {\n        do {\n          mVar13 = pmVar8[1] + 1;\n          pmVar8[1] = mVar13;\n          if (mVar13 != 0) goto LAB_00041758;\n          pmVar8 = pmVar8 + 2;\n          mVar13 = *pmVar8;\n          *pmVar8 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n        puVar5 = *Ap;\n      }\n      else {\nLAB_00041758:\n        puVar5 = *Ap;\n      }\n      mVar13 = tp[n];\n      uVar10 = puVar5[n];\n      iVar11 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar5,puVar5,tp,n);\n      iVar11 = uVar10 + mVar13 + iVar11;\n      uVar10 = iVar11 - 1;\n      if (iVar11 == 0) {\n        uVar10 = 0;\n      }\n      puVar5[n] = iVar11 - uVar10;\n      uVar12 = *puVar5;\n      *puVar5 = uVar12 - uVar10;\n      if (uVar12 < uVar10) {\n        do {\n          uVar10 = puVar5[1];\n          puVar5[1] = uVar10 - 1;\n          if (uVar10 != 0) break;\n          puVar5 = puVar5 + 2;\n          uVar10 = *puVar5;\n          *puVar5 = uVar10 - 1;\n        } while (uVar10 == 0);\n      }\n      iVar4 = iVar4 + 1;\n      Ap = Ap + inc * 2;\n      piVar14 = piVar14 + 2;\n      if (iVar2 == iVar4) {\n        return;\n      }\n      Ap_00 = Ap + inc;\n    } while( true );" do (compound_statement "{\n      (*pcVar3)(tp,*Ap_00,omega * *piVar14,n);\n      pmVar8 = *Ap_00;\n      mVar13 = tp[n];\n      mVar15 = (*Ap)[n];\n      iVar11 = (*(code *)PTR___gmpn_sub_n_0009d514)(pmVar8,*Ap,tp,n);\n      iVar11 = mVar13 + iVar11;\n      iVar9 = mVar15 - iVar11;\n      uVar10 = iVar9 >> 0x1f & iVar11 - mVar15;\n      pmVar8[n] = iVar9 + uVar10;\n      mVar13 = *pmVar8;\n      *pmVar8 = uVar10 + mVar13;\n      if (uVar10 + mVar13 < uVar10) {\n        do {\n          mVar13 = pmVar8[1] + 1;\n          pmVar8[1] = mVar13;\n          if (mVar13 != 0) goto LAB_00041758;\n          pmVar8 = pmVar8 + 2;\n          mVar13 = *pmVar8;\n          *pmVar8 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n        puVar5 = *Ap;\n      }\n      else {\nLAB_00041758:\n        puVar5 = *Ap;\n      }\n      mVar13 = tp[n];\n      uVar10 = puVar5[n];\n      iVar11 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar5,puVar5,tp,n);\n      iVar11 = uVar10 + mVar13 + iVar11;\n      uVar10 = iVar11 - 1;\n      if (iVar11 == 0) {\n        uVar10 = 0;\n      }\n      puVar5[n] = iVar11 - uVar10;\n      uVar12 = *puVar5;\n      *puVar5 = uVar12 - uVar10;\n      if (uVar12 < uVar10) {\n        do {\n          uVar10 = puVar5[1];\n          puVar5[1] = uVar10 - 1;\n          if (uVar10 != 0) break;\n          puVar5 = puVar5 + 2;\n          uVar10 = *puVar5;\n          *puVar5 = uVar10 - 1;\n        } while (uVar10 == 0);\n      }\n      iVar4 = iVar4 + 1;\n      Ap = Ap + inc * 2;\n      piVar14 = piVar14 + 2;\n      if (iVar2 == iVar4) {\n        return;\n      }\n      Ap_00 = Ap + inc;\n    }" { (expression_statement "(*pcVar3)(tp,*Ap_00,omega * *piVar14,n);" (call_expression "(*pcVar3)(tp,*Ap_00,omega * *piVar14,n)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(tp,*Ap_00,omega * *piVar14,n)" ( identifier , (pointer_expression "*Ap_00" * identifier) , (binary_expression "omega * *piVar14" identifier * (pointer_expression "*piVar14" * identifier)) , identifier ))) ;) (expression_statement "pmVar8 = *Ap_00;" (assignment_expression "pmVar8 = *Ap_00" identifier = (pointer_expression "*Ap_00" * identifier)) ;) (expression_statement "mVar13 = tp[n];" (assignment_expression "mVar13 = tp[n]" identifier = (subscript_expression "tp[n]" identifier [ identifier ])) ;) (expression_statement "mVar15 = (*Ap)[n];" (assignment_expression "mVar15 = (*Ap)[n]" identifier = (subscript_expression "(*Ap)[n]" (parenthesized_expression "(*Ap)" ( (pointer_expression "*Ap" * identifier) )) [ identifier ])) ;) (expression_statement "iVar11 = (*(code *)PTR___gmpn_sub_n_0009d514)(pmVar8,*Ap,tp,n);" (assignment_expression "iVar11 = (*(code *)PTR___gmpn_sub_n_0009d514)(pmVar8,*Ap,tp,n)" identifier = (call_expression "(*(code *)PTR___gmpn_sub_n_0009d514)(pmVar8,*Ap,tp,n)" (parenthesized_expression "(*(code *)PTR___gmpn_sub_n_0009d514)" ( (pointer_expression "*(code *)PTR___gmpn_sub_n_0009d514" * (cast_expression "(code *)PTR___gmpn_sub_n_0009d514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pmVar8,*Ap,tp,n)" ( identifier , (pointer_expression "*Ap" * identifier) , identifier , identifier )))) ;) (expression_statement "iVar11 = mVar13 + iVar11;" (assignment_expression "iVar11 = mVar13 + iVar11" identifier = (binary_expression "mVar13 + iVar11" identifier + identifier)) ;) (expression_statement "iVar9 = mVar15 - iVar11;" (assignment_expression "iVar9 = mVar15 - iVar11" identifier = (binary_expression "mVar15 - iVar11" identifier - identifier)) ;) (expression_statement "uVar10 = iVar9 >> 0x1f & iVar11 - mVar15;" (assignment_expression "uVar10 = iVar9 >> 0x1f & iVar11 - mVar15" identifier = (binary_expression "iVar9 >> 0x1f & iVar11 - mVar15" (binary_expression "iVar9 >> 0x1f" identifier >> number_literal) & (binary_expression "iVar11 - mVar15" identifier - identifier))) ;) (expression_statement "pmVar8[n] = iVar9 + uVar10;" (assignment_expression "pmVar8[n] = iVar9 + uVar10" (subscript_expression "pmVar8[n]" identifier [ identifier ]) = (binary_expression "iVar9 + uVar10" identifier + identifier)) ;) (expression_statement "mVar13 = *pmVar8;" (assignment_expression "mVar13 = *pmVar8" identifier = (pointer_expression "*pmVar8" * identifier)) ;) (expression_statement "*pmVar8 = uVar10 + mVar13;" (assignment_expression "*pmVar8 = uVar10 + mVar13" (pointer_expression "*pmVar8" * identifier) = (binary_expression "uVar10 + mVar13" identifier + identifier)) ;) (if_statement "if (uVar10 + mVar13 < uVar10) {\n        do {\n          mVar13 = pmVar8[1] + 1;\n          pmVar8[1] = mVar13;\n          if (mVar13 != 0) goto LAB_00041758;\n          pmVar8 = pmVar8 + 2;\n          mVar13 = *pmVar8;\n          *pmVar8 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n        puVar5 = *Ap;\n      }\n      else {\nLAB_00041758:\n        puVar5 = *Ap;\n      }" if (parenthesized_expression "(uVar10 + mVar13 < uVar10)" ( (binary_expression "uVar10 + mVar13 < uVar10" (binary_expression "uVar10 + mVar13" identifier + identifier) < identifier) )) (compound_statement "{\n        do {\n          mVar13 = pmVar8[1] + 1;\n          pmVar8[1] = mVar13;\n          if (mVar13 != 0) goto LAB_00041758;\n          pmVar8 = pmVar8 + 2;\n          mVar13 = *pmVar8;\n          *pmVar8 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);\n        puVar5 = *Ap;\n      }" { (do_statement "do {\n          mVar13 = pmVar8[1] + 1;\n          pmVar8[1] = mVar13;\n          if (mVar13 != 0) goto LAB_00041758;\n          pmVar8 = pmVar8 + 2;\n          mVar13 = *pmVar8;\n          *pmVar8 = mVar13 + 1;\n        } while (mVar13 + 1 == 0);" do (compound_statement "{\n          mVar13 = pmVar8[1] + 1;\n          pmVar8[1] = mVar13;\n          if (mVar13 != 0) goto LAB_00041758;\n          pmVar8 = pmVar8 + 2;\n          mVar13 = *pmVar8;\n          *pmVar8 = mVar13 + 1;\n        }" { (expression_statement "mVar13 = pmVar8[1] + 1;" (assignment_expression "mVar13 = pmVar8[1] + 1" identifier = (binary_expression "pmVar8[1] + 1" (subscript_expression "pmVar8[1]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "pmVar8[1] = mVar13;" (assignment_expression "pmVar8[1] = mVar13" (subscript_expression "pmVar8[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (mVar13 != 0) goto LAB_00041758;" if (parenthesized_expression "(mVar13 != 0)" ( (binary_expression "mVar13 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00041758;" goto statement_identifier ;)) (expression_statement "pmVar8 = pmVar8 + 2;" (assignment_expression "pmVar8 = pmVar8 + 2" identifier = (binary_expression "pmVar8 + 2" identifier + number_literal)) ;) (expression_statement "mVar13 = *pmVar8;" (assignment_expression "mVar13 = *pmVar8" identifier = (pointer_expression "*pmVar8" * identifier)) ;) (expression_statement "*pmVar8 = mVar13 + 1;" (assignment_expression "*pmVar8 = mVar13 + 1" (pointer_expression "*pmVar8" * identifier) = (binary_expression "mVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(mVar13 + 1 == 0)" ( (binary_expression "mVar13 + 1 == 0" (binary_expression "mVar13 + 1" identifier + number_literal) == number_literal) )) ;) (expression_statement "puVar5 = *Ap;" (assignment_expression "puVar5 = *Ap" identifier = (pointer_expression "*Ap" * identifier)) ;) }) (else_clause "else {\nLAB_00041758:\n        puVar5 = *Ap;\n      }" else (compound_statement "{\nLAB_00041758:\n        puVar5 = *Ap;\n      }" { (labeled_statement "LAB_00041758:\n        puVar5 = *Ap;" statement_identifier : (expression_statement "puVar5 = *Ap;" (assignment_expression "puVar5 = *Ap" identifier = (pointer_expression "*Ap" * identifier)) ;)) }))) (expression_statement "mVar13 = tp[n];" (assignment_expression "mVar13 = tp[n]" identifier = (subscript_expression "tp[n]" identifier [ identifier ])) ;) (expression_statement "uVar10 = puVar5[n];" (assignment_expression "uVar10 = puVar5[n]" identifier = (subscript_expression "puVar5[n]" identifier [ identifier ])) ;) (expression_statement "iVar11 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar5,puVar5,tp,n);" (assignment_expression "iVar11 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar5,puVar5,tp,n)" identifier = (call_expression "(*(code *)PTR___gmpn_add_n_0009d334)(puVar5,puVar5,tp,n)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_0009d334)" ( (pointer_expression "*(code *)PTR___gmpn_add_n_0009d334" * (cast_expression "(code *)PTR___gmpn_add_n_0009d334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5,puVar5,tp,n)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "iVar11 = uVar10 + mVar13 + iVar11;" (assignment_expression "iVar11 = uVar10 + mVar13 + iVar11" identifier = (binary_expression "uVar10 + mVar13 + iVar11" (binary_expression "uVar10 + mVar13" identifier + identifier) + identifier)) ;) (expression_statement "uVar10 = iVar11 - 1;" (assignment_expression "uVar10 = iVar11 - 1" identifier = (binary_expression "iVar11 - 1" identifier - number_literal)) ;) (if_statement "if (iVar11 == 0) {\n        uVar10 = 0;\n      }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar10 = 0;\n      }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) })) (expression_statement "puVar5[n] = iVar11 - uVar10;" (assignment_expression "puVar5[n] = iVar11 - uVar10" (subscript_expression "puVar5[n]" identifier [ identifier ]) = (binary_expression "iVar11 - uVar10" identifier - identifier)) ;) (expression_statement "uVar12 = *puVar5;" (assignment_expression "uVar12 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "*puVar5 = uVar12 - uVar10;" (assignment_expression "*puVar5 = uVar12 - uVar10" (pointer_expression "*puVar5" * identifier) = (binary_expression "uVar12 - uVar10" identifier - identifier)) ;) (if_statement "if (uVar12 < uVar10) {\n        do {\n          uVar10 = puVar5[1];\n          puVar5[1] = uVar10 - 1;\n          if (uVar10 != 0) break;\n          puVar5 = puVar5 + 2;\n          uVar10 = *puVar5;\n          *puVar5 = uVar10 - 1;\n        } while (uVar10 == 0);\n      }" if (parenthesized_expression "(uVar12 < uVar10)" ( (binary_expression "uVar12 < uVar10" identifier < identifier) )) (compound_statement "{\n        do {\n          uVar10 = puVar5[1];\n          puVar5[1] = uVar10 - 1;\n          if (uVar10 != 0) break;\n          puVar5 = puVar5 + 2;\n          uVar10 = *puVar5;\n          *puVar5 = uVar10 - 1;\n        } while (uVar10 == 0);\n      }" { (do_statement "do {\n          uVar10 = puVar5[1];\n          puVar5[1] = uVar10 - 1;\n          if (uVar10 != 0) break;\n          puVar5 = puVar5 + 2;\n          uVar10 = *puVar5;\n          *puVar5 = uVar10 - 1;\n        } while (uVar10 == 0);" do (compound_statement "{\n          uVar10 = puVar5[1];\n          puVar5[1] = uVar10 - 1;\n          if (uVar10 != 0) break;\n          puVar5 = puVar5 + 2;\n          uVar10 = *puVar5;\n          *puVar5 = uVar10 - 1;\n        }" { (expression_statement "uVar10 = puVar5[1];" (assignment_expression "uVar10 = puVar5[1]" identifier = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (expression_statement "puVar5[1] = uVar10 - 1;" (assignment_expression "puVar5[1] = uVar10 - 1" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = (binary_expression "uVar10 - 1" identifier - number_literal)) ;) (if_statement "if (uVar10 != 0) break;" if (parenthesized_expression "(uVar10 != 0)" ( (binary_expression "uVar10 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar5 = puVar5 + 2;" (assignment_expression "puVar5 = puVar5 + 2" identifier = (binary_expression "puVar5 + 2" identifier + number_literal)) ;) (expression_statement "uVar10 = *puVar5;" (assignment_expression "uVar10 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "*puVar5 = uVar10 - 1;" (assignment_expression "*puVar5 = uVar10 - 1" (pointer_expression "*puVar5" * identifier) = (binary_expression "uVar10 - 1" identifier - number_literal)) ;) }) while (parenthesized_expression "(uVar10 == 0)" ( (binary_expression "uVar10 == 0" identifier == number_literal) )) ;) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "Ap = Ap + inc * 2;" (assignment_expression "Ap = Ap + inc * 2" identifier = (binary_expression "Ap + inc * 2" identifier + (binary_expression "inc * 2" identifier * number_literal))) ;) (expression_statement "piVar14 = piVar14 + 2;" (assignment_expression "piVar14 = piVar14 + 2" identifier = (binary_expression "piVar14 + 2" identifier + number_literal)) ;) (if_statement "if (iVar2 == iVar4) {\n        return;\n      }" if (parenthesized_expression "(iVar2 == iVar4)" ( (binary_expression "iVar2 == iVar4" identifier == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "Ap_00 = Ap + inc;" (assignment_expression "Ap_00 = Ap + inc" identifier = (binary_expression "Ap + inc" identifier + identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "pmVar8 = *Ap;" (assignment_expression "pmVar8 = *Ap" identifier = (pointer_expression "*Ap" * identifier)) ;) (if_statement "if (n == -1) {\n    iVar2 = -4;\n  }\n  else {\n    mVar13 = *pmVar8;\n    iVar2 = n;\n    pmVar6 = tp;\n    pmVar1 = pmVar8;\n    if (n == 0) {\n      iVar2 = 0;\n      *tp = mVar13;\n    }\n    else {\n      do {\n        *pmVar6 = mVar13;\n        iVar2 = iVar2 + -1;\n        mVar13 = pmVar1[1];\n        pmVar6 = pmVar6 + 1;\n        pmVar1 = pmVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = n * 4;\n      tp[n] = mVar13;\n    }\n  }" if (parenthesized_expression "(n == -1)" ( (binary_expression "n == -1" identifier == number_literal) )) (compound_statement "{\n    iVar2 = -4;\n  }" { (expression_statement "iVar2 = -4;" (assignment_expression "iVar2 = -4" identifier = number_literal) ;) }) (else_clause "else {\n    mVar13 = *pmVar8;\n    iVar2 = n;\n    pmVar6 = tp;\n    pmVar1 = pmVar8;\n    if (n == 0) {\n      iVar2 = 0;\n      *tp = mVar13;\n    }\n    else {\n      do {\n        *pmVar6 = mVar13;\n        iVar2 = iVar2 + -1;\n        mVar13 = pmVar1[1];\n        pmVar6 = pmVar6 + 1;\n        pmVar1 = pmVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = n * 4;\n      tp[n] = mVar13;\n    }\n  }" else (compound_statement "{\n    mVar13 = *pmVar8;\n    iVar2 = n;\n    pmVar6 = tp;\n    pmVar1 = pmVar8;\n    if (n == 0) {\n      iVar2 = 0;\n      *tp = mVar13;\n    }\n    else {\n      do {\n        *pmVar6 = mVar13;\n        iVar2 = iVar2 + -1;\n        mVar13 = pmVar1[1];\n        pmVar6 = pmVar6 + 1;\n        pmVar1 = pmVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = n * 4;\n      tp[n] = mVar13;\n    }\n  }" { (expression_statement "mVar13 = *pmVar8;" (assignment_expression "mVar13 = *pmVar8" identifier = (pointer_expression "*pmVar8" * identifier)) ;) (expression_statement "iVar2 = n;" (assignment_expression "iVar2 = n" identifier = identifier) ;) (expression_statement "pmVar6 = tp;" (assignment_expression "pmVar6 = tp" identifier = identifier) ;) (expression_statement "pmVar1 = pmVar8;" (assignment_expression "pmVar1 = pmVar8" identifier = identifier) ;) (if_statement "if (n == 0) {\n      iVar2 = 0;\n      *tp = mVar13;\n    }\n    else {\n      do {\n        *pmVar6 = mVar13;\n        iVar2 = iVar2 + -1;\n        mVar13 = pmVar1[1];\n        pmVar6 = pmVar6 + 1;\n        pmVar1 = pmVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = n * 4;\n      tp[n] = mVar13;\n    }" if (parenthesized_expression "(n == 0)" ( (binary_expression "n == 0" identifier == number_literal) )) (compound_statement "{\n      iVar2 = 0;\n      *tp = mVar13;\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "*tp = mVar13;" (assignment_expression "*tp = mVar13" (pointer_expression "*tp" * identifier) = identifier) ;) }) (else_clause "else {\n      do {\n        *pmVar6 = mVar13;\n        iVar2 = iVar2 + -1;\n        mVar13 = pmVar1[1];\n        pmVar6 = pmVar6 + 1;\n        pmVar1 = pmVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = n * 4;\n      tp[n] = mVar13;\n    }" else (compound_statement "{\n      do {\n        *pmVar6 = mVar13;\n        iVar2 = iVar2 + -1;\n        mVar13 = pmVar1[1];\n        pmVar6 = pmVar6 + 1;\n        pmVar1 = pmVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = n * 4;\n      tp[n] = mVar13;\n    }" { (do_statement "do {\n        *pmVar6 = mVar13;\n        iVar2 = iVar2 + -1;\n        mVar13 = pmVar1[1];\n        pmVar6 = pmVar6 + 1;\n        pmVar1 = pmVar1 + 1;\n      } while (iVar2 != 0);" do (compound_statement "{\n        *pmVar6 = mVar13;\n        iVar2 = iVar2 + -1;\n        mVar13 = pmVar1[1];\n        pmVar6 = pmVar6 + 1;\n        pmVar1 = pmVar1 + 1;\n      }" { (expression_statement "*pmVar6 = mVar13;" (assignment_expression "*pmVar6 = mVar13" (pointer_expression "*pmVar6" * identifier) = identifier) ;) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "mVar13 = pmVar1[1];" (assignment_expression "mVar13 = pmVar1[1]" identifier = (subscript_expression "pmVar1[1]" identifier [ number_literal ])) ;) (expression_statement "pmVar6 = pmVar6 + 1;" (assignment_expression "pmVar6 = pmVar6 + 1" identifier = (binary_expression "pmVar6 + 1" identifier + number_literal)) ;) (expression_statement "pmVar1 = pmVar1 + 1;" (assignment_expression "pmVar1 = pmVar1 + 1" identifier = (binary_expression "pmVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) ;) (expression_statement "iVar2 = n * 4;" (assignment_expression "iVar2 = n * 4" identifier = (binary_expression "n * 4" identifier * number_literal)) ;) (expression_statement "tp[n] = mVar13;" (assignment_expression "tp[n] = mVar13" (subscript_expression "tp[n]" identifier [ identifier ]) = identifier) ;) }))) }))) (expression_statement "(*(code *)PTR___gmpn_add_n_0009d334)(pmVar8,pmVar8,*Ap_00,n + 1);" (call_expression "(*(code *)PTR___gmpn_add_n_0009d334)(pmVar8,pmVar8,*Ap_00,n + 1)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_0009d334)" ( (pointer_expression "*(code *)PTR___gmpn_add_n_0009d334" * (cast_expression "(code *)PTR___gmpn_add_n_0009d334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pmVar8,pmVar8,*Ap_00,n + 1)" ( identifier , identifier , (pointer_expression "*Ap_00" * identifier) , (binary_expression "n + 1" identifier + number_literal) ))) ;) (expression_statement "iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*Ap_00,tp,*Ap_00,n + 1);" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*Ap_00,tp,*Ap_00,n + 1)" identifier = (call_expression "(*(code *)PTR___gmpn_sub_n_0009d514)(*Ap_00,tp,*Ap_00,n + 1)" (parenthesized_expression "(*(code *)PTR___gmpn_sub_n_0009d514)" ( (pointer_expression "*(code *)PTR___gmpn_sub_n_0009d514" * (cast_expression "(code *)PTR___gmpn_sub_n_0009d514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*Ap_00,tp,*Ap_00,n + 1)" ( (pointer_expression "*Ap_00" * identifier) , identifier , (pointer_expression "*Ap_00" * identifier) , (binary_expression "n + 1" identifier + number_literal) )))) ;) (expression_statement "pmVar8 = *Ap;" (assignment_expression "pmVar8 = *Ap" identifier = (pointer_expression "*Ap" * identifier)) ;) (expression_statement "uVar10 = *(uint *)((int)pmVar8 + iVar2);" (assignment_expression "uVar10 = *(uint *)((int)pmVar8 + iVar2)" identifier = (pointer_expression "*(uint *)((int)pmVar8 + iVar2)" * (cast_expression "(uint *)((int)pmVar8 + iVar2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pmVar8 + iVar2)" ( (binary_expression "(int)pmVar8 + iVar2" (cast_expression "(int)pmVar8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (if_statement "if (1 < uVar10) {\n    uVar12 = *pmVar8;\n    uVar10 = uVar10 - 1;\n    *pmVar8 = uVar12 - uVar10;\n    if (uVar12 < uVar10) {\n      if (1 < n) {\n        mVar13 = pmVar8[1];\n        pmVar8[1] = mVar13 - 1;\n        if (mVar13 == 0) {\n          if (n == 2) goto LAB_000419c4;\n          mVar13 = pmVar8[2];\n          pmVar8[2] = mVar13 - 1;\n          if (mVar13 == 0) {\n            iVar11 = 3;\n            pmVar7 = pmVar8 + 3;\n            do {\n              if (n == iVar11) goto LAB_000419c4;\n              mVar13 = *pmVar7;\n              iVar11 = iVar11 + 1;\n              *pmVar7 = mVar13 - 1;\n              pmVar7 = pmVar7 + 1;\n            } while (mVar13 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar10 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar10 = 1;\n    }\n    *(uint *)((int)pmVar8 + iVar2) = uVar10;\n  }" if (parenthesized_expression "(1 < uVar10)" ( (binary_expression "1 < uVar10" number_literal < identifier) )) (compound_statement "{\n    uVar12 = *pmVar8;\n    uVar10 = uVar10 - 1;\n    *pmVar8 = uVar12 - uVar10;\n    if (uVar12 < uVar10) {\n      if (1 < n) {\n        mVar13 = pmVar8[1];\n        pmVar8[1] = mVar13 - 1;\n        if (mVar13 == 0) {\n          if (n == 2) goto LAB_000419c4;\n          mVar13 = pmVar8[2];\n          pmVar8[2] = mVar13 - 1;\n          if (mVar13 == 0) {\n            iVar11 = 3;\n            pmVar7 = pmVar8 + 3;\n            do {\n              if (n == iVar11) goto LAB_000419c4;\n              mVar13 = *pmVar7;\n              iVar11 = iVar11 + 1;\n              *pmVar7 = mVar13 - 1;\n              pmVar7 = pmVar7 + 1;\n            } while (mVar13 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar10 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar10 = 1;\n    }\n    *(uint *)((int)pmVar8 + iVar2) = uVar10;\n  }" { (expression_statement "uVar12 = *pmVar8;" (assignment_expression "uVar12 = *pmVar8" identifier = (pointer_expression "*pmVar8" * identifier)) ;) (expression_statement "uVar10 = uVar10 - 1;" (assignment_expression "uVar10 = uVar10 - 1" identifier = (binary_expression "uVar10 - 1" identifier - number_literal)) ;) (expression_statement "*pmVar8 = uVar12 - uVar10;" (assignment_expression "*pmVar8 = uVar12 - uVar10" (pointer_expression "*pmVar8" * identifier) = (binary_expression "uVar12 - uVar10" identifier - identifier)) ;) (if_statement "if (uVar12 < uVar10) {\n      if (1 < n) {\n        mVar13 = pmVar8[1];\n        pmVar8[1] = mVar13 - 1;\n        if (mVar13 == 0) {\n          if (n == 2) goto LAB_000419c4;\n          mVar13 = pmVar8[2];\n          pmVar8[2] = mVar13 - 1;\n          if (mVar13 == 0) {\n            iVar11 = 3;\n            pmVar7 = pmVar8 + 3;\n            do {\n              if (n == iVar11) goto LAB_000419c4;\n              mVar13 = *pmVar7;\n              iVar11 = iVar11 + 1;\n              *pmVar7 = mVar13 - 1;\n              pmVar7 = pmVar7 + 1;\n            } while (mVar13 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar10 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar10 = 1;\n    }" if (parenthesized_expression "(uVar12 < uVar10)" ( (binary_expression "uVar12 < uVar10" identifier < identifier) )) (compound_statement "{\n      if (1 < n) {\n        mVar13 = pmVar8[1];\n        pmVar8[1] = mVar13 - 1;\n        if (mVar13 == 0) {\n          if (n == 2) goto LAB_000419c4;\n          mVar13 = pmVar8[2];\n          pmVar8[2] = mVar13 - 1;\n          if (mVar13 == 0) {\n            iVar11 = 3;\n            pmVar7 = pmVar8 + 3;\n            do {\n              if (n == iVar11) goto LAB_000419c4;\n              mVar13 = *pmVar7;\n              iVar11 = iVar11 + 1;\n              *pmVar7 = mVar13 - 1;\n              pmVar7 = pmVar7 + 1;\n            } while (mVar13 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar10 = 0;\n    }" { (if_statement "if (1 < n) {\n        mVar13 = pmVar8[1];\n        pmVar8[1] = mVar13 - 1;\n        if (mVar13 == 0) {\n          if (n == 2) goto LAB_000419c4;\n          mVar13 = pmVar8[2];\n          pmVar8[2] = mVar13 - 1;\n          if (mVar13 == 0) {\n            iVar11 = 3;\n            pmVar7 = pmVar8 + 3;\n            do {\n              if (n == iVar11) goto LAB_000419c4;\n              mVar13 = *pmVar7;\n              iVar11 = iVar11 + 1;\n              *pmVar7 = mVar13 - 1;\n              pmVar7 = pmVar7 + 1;\n            } while (mVar13 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }" if (parenthesized_expression "(1 < n)" ( (binary_expression "1 < n" number_literal < identifier) )) (compound_statement "{\n        mVar13 = pmVar8[1];\n        pmVar8[1] = mVar13 - 1;\n        if (mVar13 == 0) {\n          if (n == 2) goto LAB_000419c4;\n          mVar13 = pmVar8[2];\n          pmVar8[2] = mVar13 - 1;\n          if (mVar13 == 0) {\n            iVar11 = 3;\n            pmVar7 = pmVar8 + 3;\n            do {\n              if (n == iVar11) goto LAB_000419c4;\n              mVar13 = *pmVar7;\n              iVar11 = iVar11 + 1;\n              *pmVar7 = mVar13 - 1;\n              pmVar7 = pmVar7 + 1;\n            } while (mVar13 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }" { (expression_statement "mVar13 = pmVar8[1];" (assignment_expression "mVar13 = pmVar8[1]" identifier = (subscript_expression "pmVar8[1]" identifier [ number_literal ])) ;) (expression_statement "pmVar8[1] = mVar13 - 1;" (assignment_expression "pmVar8[1] = mVar13 - 1" (subscript_expression "pmVar8[1]" identifier [ number_literal ]) = (binary_expression "mVar13 - 1" identifier - number_literal)) ;) (if_statement "if (mVar13 == 0) {\n          if (n == 2) goto LAB_000419c4;\n          mVar13 = pmVar8[2];\n          pmVar8[2] = mVar13 - 1;\n          if (mVar13 == 0) {\n            iVar11 = 3;\n            pmVar7 = pmVar8 + 3;\n            do {\n              if (n == iVar11) goto LAB_000419c4;\n              mVar13 = *pmVar7;\n              iVar11 = iVar11 + 1;\n              *pmVar7 = mVar13 - 1;\n              pmVar7 = pmVar7 + 1;\n            } while (mVar13 == 0);\n          }\n        }" if (parenthesized_expression "(mVar13 == 0)" ( (binary_expression "mVar13 == 0" identifier == number_literal) )) (compound_statement "{\n          if (n == 2) goto LAB_000419c4;\n          mVar13 = pmVar8[2];\n          pmVar8[2] = mVar13 - 1;\n          if (mVar13 == 0) {\n            iVar11 = 3;\n            pmVar7 = pmVar8 + 3;\n            do {\n              if (n == iVar11) goto LAB_000419c4;\n              mVar13 = *pmVar7;\n              iVar11 = iVar11 + 1;\n              *pmVar7 = mVar13 - 1;\n              pmVar7 = pmVar7 + 1;\n            } while (mVar13 == 0);\n          }\n        }" { (if_statement "if (n == 2) goto LAB_000419c4;" if (parenthesized_expression "(n == 2)" ( (binary_expression "n == 2" identifier == number_literal) )) (goto_statement "goto LAB_000419c4;" goto statement_identifier ;)) (expression_statement "mVar13 = pmVar8[2];" (assignment_expression "mVar13 = pmVar8[2]" identifier = (subscript_expression "pmVar8[2]" identifier [ number_literal ])) ;) (expression_statement "pmVar8[2] = mVar13 - 1;" (assignment_expression "pmVar8[2] = mVar13 - 1" (subscript_expression "pmVar8[2]" identifier [ number_literal ]) = (binary_expression "mVar13 - 1" identifier - number_literal)) ;) (if_statement "if (mVar13 == 0) {\n            iVar11 = 3;\n            pmVar7 = pmVar8 + 3;\n            do {\n              if (n == iVar11) goto LAB_000419c4;\n              mVar13 = *pmVar7;\n              iVar11 = iVar11 + 1;\n              *pmVar7 = mVar13 - 1;\n              pmVar7 = pmVar7 + 1;\n            } while (mVar13 == 0);\n          }" if (parenthesized_expression "(mVar13 == 0)" ( (binary_expression "mVar13 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar11 = 3;\n            pmVar7 = pmVar8 + 3;\n            do {\n              if (n == iVar11) goto LAB_000419c4;\n              mVar13 = *pmVar7;\n              iVar11 = iVar11 + 1;\n              *pmVar7 = mVar13 - 1;\n              pmVar7 = pmVar7 + 1;\n            } while (mVar13 == 0);\n          }" { (expression_statement "iVar11 = 3;" (assignment_expression "iVar11 = 3" identifier = number_literal) ;) (expression_statement "pmVar7 = pmVar8 + 3;" (assignment_expression "pmVar7 = pmVar8 + 3" identifier = (binary_expression "pmVar8 + 3" identifier + number_literal)) ;) (do_statement "do {\n              if (n == iVar11) goto LAB_000419c4;\n              mVar13 = *pmVar7;\n              iVar11 = iVar11 + 1;\n              *pmVar7 = mVar13 - 1;\n              pmVar7 = pmVar7 + 1;\n            } while (mVar13 == 0);" do (compound_statement "{\n              if (n == iVar11) goto LAB_000419c4;\n              mVar13 = *pmVar7;\n              iVar11 = iVar11 + 1;\n              *pmVar7 = mVar13 - 1;\n              pmVar7 = pmVar7 + 1;\n            }" { (if_statement "if (n == iVar11) goto LAB_000419c4;" if (parenthesized_expression "(n == iVar11)" ( (binary_expression "n == iVar11" identifier == identifier) )) (goto_statement "goto LAB_000419c4;" goto statement_identifier ;)) (expression_statement "mVar13 = *pmVar7;" (assignment_expression "mVar13 = *pmVar7" identifier = (pointer_expression "*pmVar7" * identifier)) ;) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "*pmVar7 = mVar13 - 1;" (assignment_expression "*pmVar7 = mVar13 - 1" (pointer_expression "*pmVar7" * identifier) = (binary_expression "mVar13 - 1" identifier - number_literal)) ;) (expression_statement "pmVar7 = pmVar7 + 1;" (assignment_expression "pmVar7 = pmVar7 + 1" identifier = (binary_expression "pmVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(mVar13 == 0)" ( (binary_expression "mVar13 == 0" identifier == number_literal) )) ;) })) })) (goto_statement "goto LAB_00041a78;" goto statement_identifier ;) })) (labeled_statement "LAB_000419c4:\n      uVar10 = 0;" statement_identifier : (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;)) }) (else_clause "else {\nLAB_00041a78:\n      uVar10 = 1;\n    }" else (compound_statement "{\nLAB_00041a78:\n      uVar10 = 1;\n    }" { (labeled_statement "LAB_00041a78:\n      uVar10 = 1;" statement_identifier : (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;)) }))) (expression_statement "*(uint *)((int)pmVar8 + iVar2) = uVar10;" (assignment_expression "*(uint *)((int)pmVar8 + iVar2) = uVar10" (pointer_expression "*(uint *)((int)pmVar8 + iVar2)" * (cast_expression "(uint *)((int)pmVar8 + iVar2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pmVar8 + iVar2)" ( (binary_expression "(int)pmVar8 + iVar2" (cast_expression "(int)pmVar8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = identifier) ;) })) (if_statement "if (iVar4 == 0) {\n    return;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar5 = *Ap_00;" (assignment_expression "puVar5 = *Ap_00" identifier = (pointer_expression "*Ap_00" * identifier)) ;) (expression_statement "piVar14 = (int *)((int)puVar5 + iVar2);" (assignment_expression "piVar14 = (int *)((int)puVar5 + iVar2)" identifier = (cast_expression "(int *)((int)puVar5 + iVar2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + iVar2)" ( (binary_expression "(int)puVar5 + iVar2" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "iVar2 = *piVar14;" (assignment_expression "iVar2 = *piVar14" identifier = (pointer_expression "*piVar14" * identifier)) ;) (expression_statement "uVar10 = *puVar5 - iVar2;" (assignment_expression "uVar10 = *puVar5 - iVar2" identifier = (binary_expression "*puVar5 - iVar2" (pointer_expression "*puVar5" * identifier) - identifier)) ;) (expression_statement "*puVar5 = uVar10;" (assignment_expression "*puVar5 = uVar10" (pointer_expression "*puVar5" * identifier) = identifier) ;) (if_statement "if (uVar10 < (uint)-iVar2) {\n    if (n < 2) {\nLAB_00041a5c:\n      *piVar14 = 1;\n      return;\n    }\n    uVar10 = puVar5[1];\n    puVar5[1] = uVar10 + 1;\n    if (uVar10 + 1 == 0) {\n      if (n == 2) goto LAB_00041a5c;\n      uVar10 = puVar5[2];\n      puVar5[2] = uVar10 + 1;\n      if (uVar10 + 1 == 0) {\n        iVar2 = 3;\n        puVar5 = puVar5 + 3;\n        do {\n          if (n == iVar2) goto LAB_00041a5c;\n          uVar10 = *puVar5;\n          iVar2 = iVar2 + 1;\n          *puVar5 = uVar10 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar10 + 1 == 0);\n      }\n    }\n  }" if (parenthesized_expression "(uVar10 < (uint)-iVar2)" ( (binary_expression "uVar10 < (uint)-iVar2" identifier < (binary_expression "(uint)-iVar2" (parenthesized_expression "(uint)" ( identifier )) - identifier)) )) (compound_statement "{\n    if (n < 2) {\nLAB_00041a5c:\n      *piVar14 = 1;\n      return;\n    }\n    uVar10 = puVar5[1];\n    puVar5[1] = uVar10 + 1;\n    if (uVar10 + 1 == 0) {\n      if (n == 2) goto LAB_00041a5c;\n      uVar10 = puVar5[2];\n      puVar5[2] = uVar10 + 1;\n      if (uVar10 + 1 == 0) {\n        iVar2 = 3;\n        puVar5 = puVar5 + 3;\n        do {\n          if (n == iVar2) goto LAB_00041a5c;\n          uVar10 = *puVar5;\n          iVar2 = iVar2 + 1;\n          *puVar5 = uVar10 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar10 + 1 == 0);\n      }\n    }\n  }" { (if_statement "if (n < 2) {\nLAB_00041a5c:\n      *piVar14 = 1;\n      return;\n    }" if (parenthesized_expression "(n < 2)" ( (binary_expression "n < 2" identifier < number_literal) )) (compound_statement "{\nLAB_00041a5c:\n      *piVar14 = 1;\n      return;\n    }" { (labeled_statement "LAB_00041a5c:\n      *piVar14 = 1;" statement_identifier : (expression_statement "*piVar14 = 1;" (assignment_expression "*piVar14 = 1" (pointer_expression "*piVar14" * identifier) = number_literal) ;)) (return_statement "return;" return ;) })) (expression_statement "uVar10 = puVar5[1];" (assignment_expression "uVar10 = puVar5[1]" identifier = (subscript_expression "puVar5[1]" identifier [ number_literal ])) ;) (expression_statement "puVar5[1] = uVar10 + 1;" (assignment_expression "puVar5[1] = uVar10 + 1" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) (if_statement "if (uVar10 + 1 == 0) {\n      if (n == 2) goto LAB_00041a5c;\n      uVar10 = puVar5[2];\n      puVar5[2] = uVar10 + 1;\n      if (uVar10 + 1 == 0) {\n        iVar2 = 3;\n        puVar5 = puVar5 + 3;\n        do {\n          if (n == iVar2) goto LAB_00041a5c;\n          uVar10 = *puVar5;\n          iVar2 = iVar2 + 1;\n          *puVar5 = uVar10 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar10 + 1 == 0);\n      }\n    }" if (parenthesized_expression "(uVar10 + 1 == 0)" ( (binary_expression "uVar10 + 1 == 0" (binary_expression "uVar10 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n      if (n == 2) goto LAB_00041a5c;\n      uVar10 = puVar5[2];\n      puVar5[2] = uVar10 + 1;\n      if (uVar10 + 1 == 0) {\n        iVar2 = 3;\n        puVar5 = puVar5 + 3;\n        do {\n          if (n == iVar2) goto LAB_00041a5c;\n          uVar10 = *puVar5;\n          iVar2 = iVar2 + 1;\n          *puVar5 = uVar10 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar10 + 1 == 0);\n      }\n    }" { (if_statement "if (n == 2) goto LAB_00041a5c;" if (parenthesized_expression "(n == 2)" ( (binary_expression "n == 2" identifier == number_literal) )) (goto_statement "goto LAB_00041a5c;" goto statement_identifier ;)) (expression_statement "uVar10 = puVar5[2];" (assignment_expression "uVar10 = puVar5[2]" identifier = (subscript_expression "puVar5[2]" identifier [ number_literal ])) ;) (expression_statement "puVar5[2] = uVar10 + 1;" (assignment_expression "puVar5[2] = uVar10 + 1" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) (if_statement "if (uVar10 + 1 == 0) {\n        iVar2 = 3;\n        puVar5 = puVar5 + 3;\n        do {\n          if (n == iVar2) goto LAB_00041a5c;\n          uVar10 = *puVar5;\n          iVar2 = iVar2 + 1;\n          *puVar5 = uVar10 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar10 + 1 == 0);\n      }" if (parenthesized_expression "(uVar10 + 1 == 0)" ( (binary_expression "uVar10 + 1 == 0" (binary_expression "uVar10 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n        iVar2 = 3;\n        puVar5 = puVar5 + 3;\n        do {\n          if (n == iVar2) goto LAB_00041a5c;\n          uVar10 = *puVar5;\n          iVar2 = iVar2 + 1;\n          *puVar5 = uVar10 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar10 + 1 == 0);\n      }" { (expression_statement "iVar2 = 3;" (assignment_expression "iVar2 = 3" identifier = number_literal) ;) (expression_statement "puVar5 = puVar5 + 3;" (assignment_expression "puVar5 = puVar5 + 3" identifier = (binary_expression "puVar5 + 3" identifier + number_literal)) ;) (do_statement "do {\n          if (n == iVar2) goto LAB_00041a5c;\n          uVar10 = *puVar5;\n          iVar2 = iVar2 + 1;\n          *puVar5 = uVar10 + 1;\n          puVar5 = puVar5 + 1;\n        } while (uVar10 + 1 == 0);" do (compound_statement "{\n          if (n == iVar2) goto LAB_00041a5c;\n          uVar10 = *puVar5;\n          iVar2 = iVar2 + 1;\n          *puVar5 = uVar10 + 1;\n          puVar5 = puVar5 + 1;\n        }" { (if_statement "if (n == iVar2) goto LAB_00041a5c;" if (parenthesized_expression "(n == iVar2)" ( (binary_expression "n == iVar2" identifier == identifier) )) (goto_statement "goto LAB_00041a5c;" goto statement_identifier ;)) (expression_statement "uVar10 = *puVar5;" (assignment_expression "uVar10 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar5 = uVar10 + 1;" (assignment_expression "*puVar5 = uVar10 + 1" (pointer_expression "*puVar5" * identifier) = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar10 + 1 == 0)" ( (binary_expression "uVar10 + 1 == 0" (binary_expression "uVar10 + 1" identifier + number_literal) == number_literal) )) ;) })) })) })) (expression_statement "*piVar14 = 0;" (assignment_expression "*piVar14 = 0" (pointer_expression "*piVar14" * identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00041610(int *param_1,int param_2,undefined4 *param_3,int param_4,int param_5,int param_6,\n                 undefined4 *param_7)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  code *pcVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  uint *puVar6;\n  uint *puVar7;\n  undefined4 *puVar8;\n  uint uVar9;\n  int iVar10;\n  uint uVar11;\n  undefined4 uVar12;\n  int *piVar13;\n  int *piVar14;\n  int iVar15;\n  \n  piVar13 = param_1 + param_6;\n  if (param_2 != 2) {\n    param_2 = param_2 >> 1;\n    piVar14 = (int *)*param_3;\n    FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    if (param_2 < 1) {\n      return;\n    }\n    iVar2 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    } while( true );\n  }\n  puVar8 = (undefined4 *)*param_1;\n  if (param_5 == -1) {\n    iVar2 = -4;\n  }\n  else {\n    uVar12 = *puVar8;\n    iVar2 = param_5;\n    puVar5 = param_7;\n    puVar1 = puVar8;\n    if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_0009d334)(puVar8,puVar8,*piVar13,param_5 + 1);\n  iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1);\n  puVar6 = (uint *)*param_1;\n  uVar9 = *(uint *)((int)puVar6 + iVar2);\n  if (1 < uVar9) {\n    uVar11 = *puVar6;\n    uVar9 = uVar9 - 1;\n    *puVar6 = uVar11 - uVar9;\n    if (uVar11 < uVar9) {\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar9 = 1;\n    }\n    *(uint *)((int)puVar6 + iVar2) = uVar9;\n  }\n  if (iVar4 == 0) {\n    return;\n  }\n  puVar6 = (uint *)*piVar13;\n  piVar13 = (int *)((int)puVar6 + iVar2);\n  iVar2 = *piVar13;\n  uVar9 = *puVar6 - iVar2;\n  *puVar6 = uVar9;\n  if (uVar9 < (uint)-iVar2) {\n    if (param_5 < 2) {\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }\n    uVar9 = puVar6[1];\n    puVar6[1] = uVar9 + 1;\n    if (uVar9 + 1 == 0) {\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }\n  }\n  *piVar13 = 0;\n  return;\n}\n\n" (function_definition "void FUN_00041610(int *param_1,int param_2,undefined4 *param_3,int param_4,int param_5,int param_6,\n                 undefined4 *param_7)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  code *pcVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  uint *puVar6;\n  uint *puVar7;\n  undefined4 *puVar8;\n  uint uVar9;\n  int iVar10;\n  uint uVar11;\n  undefined4 uVar12;\n  int *piVar13;\n  int *piVar14;\n  int iVar15;\n  \n  piVar13 = param_1 + param_6;\n  if (param_2 != 2) {\n    param_2 = param_2 >> 1;\n    piVar14 = (int *)*param_3;\n    FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    if (param_2 < 1) {\n      return;\n    }\n    iVar2 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    } while( true );\n  }\n  puVar8 = (undefined4 *)*param_1;\n  if (param_5 == -1) {\n    iVar2 = -4;\n  }\n  else {\n    uVar12 = *puVar8;\n    iVar2 = param_5;\n    puVar5 = param_7;\n    puVar1 = puVar8;\n    if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_0009d334)(puVar8,puVar8,*piVar13,param_5 + 1);\n  iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1);\n  puVar6 = (uint *)*param_1;\n  uVar9 = *(uint *)((int)puVar6 + iVar2);\n  if (1 < uVar9) {\n    uVar11 = *puVar6;\n    uVar9 = uVar9 - 1;\n    *puVar6 = uVar11 - uVar9;\n    if (uVar11 < uVar9) {\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar9 = 1;\n    }\n    *(uint *)((int)puVar6 + iVar2) = uVar9;\n  }\n  if (iVar4 == 0) {\n    return;\n  }\n  puVar6 = (uint *)*piVar13;\n  piVar13 = (int *)((int)puVar6 + iVar2);\n  iVar2 = *piVar13;\n  uVar9 = *puVar6 - iVar2;\n  *puVar6 = uVar9;\n  if (uVar9 < (uint)-iVar2) {\n    if (param_5 < 2) {\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }\n    uVar9 = puVar6[1];\n    puVar6[1] = uVar9 + 1;\n    if (uVar9 + 1 == 0) {\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }\n  }\n  *piVar13 = 0;\n  return;\n}" primitive_type (function_declarator "FUN_00041610(int *param_1,int param_2,undefined4 *param_3,int param_4,int param_5,int param_6,\n                 undefined4 *param_7)" identifier (parameter_list "(int *param_1,int param_2,undefined4 *param_3,int param_4,int param_5,int param_6,\n                 undefined4 *param_7)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "undefined4 *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  code *pcVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  uint *puVar6;\n  uint *puVar7;\n  undefined4 *puVar8;\n  uint uVar9;\n  int iVar10;\n  uint uVar11;\n  undefined4 uVar12;\n  int *piVar13;\n  int *piVar14;\n  int iVar15;\n  \n  piVar13 = param_1 + param_6;\n  if (param_2 != 2) {\n    param_2 = param_2 >> 1;\n    piVar14 = (int *)*param_3;\n    FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    if (param_2 < 1) {\n      return;\n    }\n    iVar2 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    } while( true );\n  }\n  puVar8 = (undefined4 *)*param_1;\n  if (param_5 == -1) {\n    iVar2 = -4;\n  }\n  else {\n    uVar12 = *puVar8;\n    iVar2 = param_5;\n    puVar5 = param_7;\n    puVar1 = puVar8;\n    if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_0009d334)(puVar8,puVar8,*piVar13,param_5 + 1);\n  iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1);\n  puVar6 = (uint *)*param_1;\n  uVar9 = *(uint *)((int)puVar6 + iVar2);\n  if (1 < uVar9) {\n    uVar11 = *puVar6;\n    uVar9 = uVar9 - 1;\n    *puVar6 = uVar11 - uVar9;\n    if (uVar11 < uVar9) {\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar9 = 1;\n    }\n    *(uint *)((int)puVar6 + iVar2) = uVar9;\n  }\n  if (iVar4 == 0) {\n    return;\n  }\n  puVar6 = (uint *)*piVar13;\n  piVar13 = (int *)((int)puVar6 + iVar2);\n  iVar2 = *piVar13;\n  uVar9 = *puVar6 - iVar2;\n  *puVar6 = uVar9;\n  if (uVar9 < (uint)-iVar2) {\n    if (param_5 < 2) {\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }\n    uVar9 = puVar6[1];\n    puVar6[1] = uVar9 + 1;\n    if (uVar9 + 1 == 0) {\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }\n  }\n  *piVar13 = 0;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "int iVar15;" primitive_type identifier ;) (expression_statement "piVar13 = param_1 + param_6;" (assignment_expression "piVar13 = param_1 + param_6" identifier = (binary_expression "param_1 + param_6" identifier + identifier)) ;) (if_statement "if (param_2 != 2) {\n    param_2 = param_2 >> 1;\n    piVar14 = (int *)*param_3;\n    FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    if (param_2 < 1) {\n      return;\n    }\n    iVar2 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    } while( true );\n  }" if (parenthesized_expression "(param_2 != 2)" ( (binary_expression "param_2 != 2" identifier != number_literal) )) (compound_statement "{\n    param_2 = param_2 >> 1;\n    piVar14 = (int *)*param_3;\n    FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    if (param_2 < 1) {\n      return;\n    }\n    iVar2 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    } while( true );\n  }" { (expression_statement "param_2 = param_2 >> 1;" (assignment_expression "param_2 = param_2 >> 1" identifier = (binary_expression "param_2 >> 1" identifier >> number_literal)) ;) (expression_statement "piVar14 = (int *)*param_3;" (assignment_expression "piVar14 = (int *)*param_3" identifier = (cast_expression "(int *)*param_3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (expression_statement "FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);" (call_expression "FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7)" identifier (argument_list "(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7)" ( identifier , identifier , (binary_expression "param_3 + -1" identifier + number_literal) , (binary_expression "param_4 << 1" identifier << number_literal) , identifier , (binary_expression "param_6 << 1" identifier << number_literal) , identifier ))) ;) (expression_statement "FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);" (call_expression "FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7)" identifier (argument_list "(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7)" ( identifier , identifier , (binary_expression "param_3 + -1" identifier + number_literal) , (binary_expression "param_4 << 1" identifier << number_literal) , identifier , (binary_expression "param_6 << 1" identifier << number_literal) , identifier ))) ;) (if_statement "if (param_2 < 1) {\n      return;\n    }" if (parenthesized_expression "(param_2 < 1)" ( (binary_expression "param_2 < 1" identifier < number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790)" identifier = (cast_expression "(code *)(PTR_LAB_0009d078 + 0x790)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0009d078 + 0x790)" ( (binary_expression "PTR_LAB_0009d078 + 0x790" identifier + number_literal) )))) ;) (do_statement "do {\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    } while( true );" do (compound_statement "{\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    }" { (expression_statement "(*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);" (call_expression "(*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(param_7,*piVar13,param_4 * *piVar14,param_5)" ( identifier , (pointer_expression "*piVar13" * identifier) , (binary_expression "param_4 * *piVar14" identifier * (pointer_expression "*piVar14" * identifier)) , identifier ))) ;) (expression_statement "puVar6 = (uint *)*piVar13;" (assignment_expression "puVar6 = (uint *)*piVar13" identifier = (cast_expression "(uint *)*piVar13" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar13" * identifier))) ;) (expression_statement "iVar10 = param_7[param_5];" (assignment_expression "iVar10 = param_7[param_5]" identifier = (subscript_expression "param_7[param_5]" identifier [ identifier ])) ;) (expression_statement "iVar15 = *(int *)(*param_1 + param_5 * 4);" (assignment_expression "iVar15 = *(int *)(*param_1 + param_5 * 4)" identifier = (pointer_expression "*(int *)(*param_1 + param_5 * 4)" * (cast_expression "(int *)(*param_1 + param_5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + param_5 * 4)" ( (binary_expression "*param_1 + param_5 * 4" (pointer_expression "*param_1" * identifier) + (binary_expression "param_5 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5)" identifier = (call_expression "(*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5)" (parenthesized_expression "(*(code *)PTR___gmpn_sub_n_0009d514)" ( (pointer_expression "*(code *)PTR___gmpn_sub_n_0009d514" * (cast_expression "(code *)PTR___gmpn_sub_n_0009d514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6,*param_1,param_7,param_5)" ( identifier , (pointer_expression "*param_1" * identifier) , identifier , identifier )))) ;) (expression_statement "iVar10 = iVar10 + iVar4;" (assignment_expression "iVar10 = iVar10 + iVar4" identifier = (binary_expression "iVar10 + iVar4" identifier + identifier)) ;) (expression_statement "iVar4 = iVar15 - iVar10;" (assignment_expression "iVar4 = iVar15 - iVar10" identifier = (binary_expression "iVar15 - iVar10" identifier - identifier)) ;) (expression_statement "uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;" (assignment_expression "uVar9 = iVar4 >> 0x1f & iVar10 - iVar15" identifier = (binary_expression "iVar4 >> 0x1f & iVar10 - iVar15" (binary_expression "iVar4 >> 0x1f" identifier >> number_literal) & (binary_expression "iVar10 - iVar15" identifier - identifier))) ;) (expression_statement "puVar6[param_5] = iVar4 + uVar9;" (assignment_expression "puVar6[param_5] = iVar4 + uVar9" (subscript_expression "puVar6[param_5]" identifier [ identifier ]) = (binary_expression "iVar4 + uVar9" identifier + identifier)) ;) (expression_statement "uVar11 = *puVar6;" (assignment_expression "uVar11 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "*puVar6 = uVar9 + uVar11;" (assignment_expression "*puVar6 = uVar9 + uVar11" (pointer_expression "*puVar6" * identifier) = (binary_expression "uVar9 + uVar11" identifier + identifier)) ;) (if_statement "if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }" if (parenthesized_expression "(uVar9 + uVar11 < uVar9)" ( (binary_expression "uVar9 + uVar11 < uVar9" (binary_expression "uVar9 + uVar11" identifier + identifier) < identifier) )) (compound_statement "{\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }" { (do_statement "do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);" do (compound_statement "{\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        }" { (expression_statement "uVar9 = puVar6[1] + 1;" (assignment_expression "uVar9 = puVar6[1] + 1" identifier = (binary_expression "puVar6[1] + 1" (subscript_expression "puVar6[1]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar6[1] = uVar9;" (assignment_expression "puVar6[1] = uVar9" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar9 != 0) goto LAB_00041758;" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00041758;" goto statement_identifier ;)) (expression_statement "puVar6 = puVar6 + 2;" (assignment_expression "puVar6 = puVar6 + 2" identifier = (binary_expression "puVar6 + 2" identifier + number_literal)) ;) (expression_statement "uVar9 = *puVar6;" (assignment_expression "uVar9 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "*puVar6 = uVar9 + 1;" (assignment_expression "*puVar6 = uVar9 + 1" (pointer_expression "*puVar6" * identifier) = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar9 + 1 == 0)" ( (binary_expression "uVar9 + 1 == 0" (binary_expression "uVar9 + 1" identifier + number_literal) == number_literal) )) ;) (expression_statement "puVar6 = (uint *)*param_1;" (assignment_expression "puVar6 = (uint *)*param_1" identifier = (cast_expression "(uint *)*param_1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) }) (else_clause "else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }" else (compound_statement "{\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }" { (labeled_statement "LAB_00041758:\n        puVar6 = (uint *)*param_1;" statement_identifier : (expression_statement "puVar6 = (uint *)*param_1;" (assignment_expression "puVar6 = (uint *)*param_1" identifier = (cast_expression "(uint *)*param_1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;)) }))) (expression_statement "iVar10 = param_7[param_5];" (assignment_expression "iVar10 = param_7[param_5]" identifier = (subscript_expression "param_7[param_5]" identifier [ identifier ])) ;) (expression_statement "uVar9 = puVar6[param_5];" (assignment_expression "uVar9 = puVar6[param_5]" identifier = (subscript_expression "puVar6[param_5]" identifier [ identifier ])) ;) (expression_statement "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5)" identifier = (call_expression "(*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_0009d334)" ( (pointer_expression "*(code *)PTR___gmpn_add_n_0009d334" * (cast_expression "(code *)PTR___gmpn_add_n_0009d334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6,puVar6,param_7,param_5)" ( identifier , identifier , identifier , identifier )))) ;) (expression_statement "iVar4 = uVar9 + iVar10 + iVar4;" (assignment_expression "iVar4 = uVar9 + iVar10 + iVar4" identifier = (binary_expression "uVar9 + iVar10 + iVar4" (binary_expression "uVar9 + iVar10" identifier + identifier) + identifier)) ;) (expression_statement "uVar9 = iVar4 - 1;" (assignment_expression "uVar9 = iVar4 - 1" identifier = (binary_expression "iVar4 - 1" identifier - number_literal)) ;) (if_statement "if (iVar4 == 0) {\n        uVar9 = 0;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar9 = 0;\n      }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) })) (expression_statement "puVar6[param_5] = iVar4 - uVar9;" (assignment_expression "puVar6[param_5] = iVar4 - uVar9" (subscript_expression "puVar6[param_5]" identifier [ identifier ]) = (binary_expression "iVar4 - uVar9" identifier - identifier)) ;) (expression_statement "uVar11 = *puVar6;" (assignment_expression "uVar11 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "*puVar6 = uVar11 - uVar9;" (assignment_expression "*puVar6 = uVar11 - uVar9" (pointer_expression "*puVar6" * identifier) = (binary_expression "uVar11 - uVar9" identifier - identifier)) ;) (if_statement "if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }" if (parenthesized_expression "(uVar11 < uVar9)" ( (binary_expression "uVar11 < uVar9" identifier < identifier) )) (compound_statement "{\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }" { (do_statement "do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);" do (compound_statement "{\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        }" { (expression_statement "uVar9 = puVar6[1];" (assignment_expression "uVar9 = puVar6[1]" identifier = (subscript_expression "puVar6[1]" identifier [ number_literal ])) ;) (expression_statement "puVar6[1] = uVar9 - 1;" (assignment_expression "puVar6[1] = uVar9 - 1" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 != 0) break;" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar6 = puVar6 + 2;" (assignment_expression "puVar6 = puVar6 + 2" identifier = (binary_expression "puVar6 + 2" identifier + number_literal)) ;) (expression_statement "uVar9 = *puVar6;" (assignment_expression "uVar9 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "*puVar6 = uVar9 - 1;" (assignment_expression "*puVar6 = uVar9 - 1" (pointer_expression "*puVar6" * identifier) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) }) while (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "param_1 = param_1 + param_6 * 2;" (assignment_expression "param_1 = param_1 + param_6 * 2" identifier = (binary_expression "param_1 + param_6 * 2" identifier + (binary_expression "param_6 * 2" identifier * number_literal))) ;) (expression_statement "piVar14 = piVar14 + 2;" (assignment_expression "piVar14 = piVar14 + 2" identifier = (binary_expression "piVar14 + 2" identifier + number_literal)) ;) (if_statement "if (param_2 == iVar2) {\n        return;\n      }" if (parenthesized_expression "(param_2 == iVar2)" ( (binary_expression "param_2 == iVar2" identifier == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "piVar13 = param_1 + param_6;" (assignment_expression "piVar13 = param_1 + param_6" identifier = (binary_expression "param_1 + param_6" identifier + identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "puVar8 = (undefined4 *)*param_1;" (assignment_expression "puVar8 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (param_5 == -1) {\n    iVar2 = -4;\n  }\n  else {\n    uVar12 = *puVar8;\n    iVar2 = param_5;\n    puVar5 = param_7;\n    puVar1 = puVar8;\n    if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }\n  }" if (parenthesized_expression "(param_5 == -1)" ( (binary_expression "param_5 == -1" identifier == number_literal) )) (compound_statement "{\n    iVar2 = -4;\n  }" { (expression_statement "iVar2 = -4;" (assignment_expression "iVar2 = -4" identifier = number_literal) ;) }) (else_clause "else {\n    uVar12 = *puVar8;\n    iVar2 = param_5;\n    puVar5 = param_7;\n    puVar1 = puVar8;\n    if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }\n  }" else (compound_statement "{\n    uVar12 = *puVar8;\n    iVar2 = param_5;\n    puVar5 = param_7;\n    puVar1 = puVar8;\n    if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }\n  }" { (expression_statement "uVar12 = *puVar8;" (assignment_expression "uVar12 = *puVar8" identifier = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "iVar2 = param_5;" (assignment_expression "iVar2 = param_5" identifier = identifier) ;) (expression_statement "puVar5 = param_7;" (assignment_expression "puVar5 = param_7" identifier = identifier) ;) (expression_statement "puVar1 = puVar8;" (assignment_expression "puVar1 = puVar8" identifier = identifier) ;) (if_statement "if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "*param_7 = uVar12;" (assignment_expression "*param_7 = uVar12" (pointer_expression "*param_7" * identifier) = identifier) ;) }) (else_clause "else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }" else (compound_statement "{\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }" { (do_statement "do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);" do (compound_statement "{\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      }" { (expression_statement "*puVar5 = uVar12;" (assignment_expression "*puVar5 = uVar12" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "uVar12 = puVar1[1];" (assignment_expression "uVar12 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "puVar1 = puVar1 + 1;" (assignment_expression "puVar1 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) ;) (expression_statement "iVar2 = param_5 * 4;" (assignment_expression "iVar2 = param_5 * 4" identifier = (binary_expression "param_5 * 4" identifier * number_literal)) ;) (expression_statement "param_7[param_5] = uVar12;" (assignment_expression "param_7[param_5] = uVar12" (subscript_expression "param_7[param_5]" identifier [ identifier ]) = identifier) ;) }))) }))) (expression_statement "(*(code *)PTR___gmpn_add_n_0009d334)(puVar8,puVar8,*piVar13,param_5 + 1);" (call_expression "(*(code *)PTR___gmpn_add_n_0009d334)(puVar8,puVar8,*piVar13,param_5 + 1)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_0009d334)" ( (pointer_expression "*(code *)PTR___gmpn_add_n_0009d334" * (cast_expression "(code *)PTR___gmpn_add_n_0009d334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8,puVar8,*piVar13,param_5 + 1)" ( identifier , identifier , (pointer_expression "*piVar13" * identifier) , (binary_expression "param_5 + 1" identifier + number_literal) ))) ;) (expression_statement "iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1);" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1)" identifier = (call_expression "(*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1)" (parenthesized_expression "(*(code *)PTR___gmpn_sub_n_0009d514)" ( (pointer_expression "*(code *)PTR___gmpn_sub_n_0009d514" * (cast_expression "(code *)PTR___gmpn_sub_n_0009d514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*piVar13,param_7,*piVar13,param_5 + 1)" ( (pointer_expression "*piVar13" * identifier) , identifier , (pointer_expression "*piVar13" * identifier) , (binary_expression "param_5 + 1" identifier + number_literal) )))) ;) (expression_statement "puVar6 = (uint *)*param_1;" (assignment_expression "puVar6 = (uint *)*param_1" identifier = (cast_expression "(uint *)*param_1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "uVar9 = *(uint *)((int)puVar6 + iVar2);" (assignment_expression "uVar9 = *(uint *)((int)puVar6 + iVar2)" identifier = (pointer_expression "*(uint *)((int)puVar6 + iVar2)" * (cast_expression "(uint *)((int)puVar6 + iVar2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + iVar2)" ( (binary_expression "(int)puVar6 + iVar2" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (if_statement "if (1 < uVar9) {\n    uVar11 = *puVar6;\n    uVar9 = uVar9 - 1;\n    *puVar6 = uVar11 - uVar9;\n    if (uVar11 < uVar9) {\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar9 = 1;\n    }\n    *(uint *)((int)puVar6 + iVar2) = uVar9;\n  }" if (parenthesized_expression "(1 < uVar9)" ( (binary_expression "1 < uVar9" number_literal < identifier) )) (compound_statement "{\n    uVar11 = *puVar6;\n    uVar9 = uVar9 - 1;\n    *puVar6 = uVar11 - uVar9;\n    if (uVar11 < uVar9) {\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar9 = 1;\n    }\n    *(uint *)((int)puVar6 + iVar2) = uVar9;\n  }" { (expression_statement "uVar11 = *puVar6;" (assignment_expression "uVar11 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "uVar9 = uVar9 - 1;" (assignment_expression "uVar9 = uVar9 - 1" identifier = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (expression_statement "*puVar6 = uVar11 - uVar9;" (assignment_expression "*puVar6 = uVar11 - uVar9" (pointer_expression "*puVar6" * identifier) = (binary_expression "uVar11 - uVar9" identifier - identifier)) ;) (if_statement "if (uVar11 < uVar9) {\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar9 = 1;\n    }" if (parenthesized_expression "(uVar11 < uVar9)" ( (binary_expression "uVar11 < uVar9" identifier < identifier) )) (compound_statement "{\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }" { (if_statement "if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }" if (parenthesized_expression "(1 < param_5)" ( (binary_expression "1 < param_5" number_literal < identifier) )) (compound_statement "{\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }" { (expression_statement "uVar9 = puVar6[1];" (assignment_expression "uVar9 = puVar6[1]" identifier = (subscript_expression "puVar6[1]" identifier [ number_literal ])) ;) (expression_statement "puVar6[1] = uVar9 - 1;" (assignment_expression "puVar6[1] = uVar9 - 1" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }" { (if_statement "if (param_5 == 2) goto LAB_000419c4;" if (parenthesized_expression "(param_5 == 2)" ( (binary_expression "param_5 == 2" identifier == number_literal) )) (goto_statement "goto LAB_000419c4;" goto statement_identifier ;)) (expression_statement "uVar9 = puVar6[2];" (assignment_expression "uVar9 = puVar6[2]" identifier = (subscript_expression "puVar6[2]" identifier [ number_literal ])) ;) (expression_statement "puVar6[2] = uVar9 - 1;" (assignment_expression "puVar6[2] = uVar9 - 1" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }" { (expression_statement "iVar10 = 3;" (assignment_expression "iVar10 = 3" identifier = number_literal) ;) (expression_statement "puVar7 = puVar6 + 3;" (assignment_expression "puVar7 = puVar6 + 3" identifier = (binary_expression "puVar6 + 3" identifier + number_literal)) ;) (do_statement "do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);" do (compound_statement "{\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            }" { (if_statement "if (param_5 == iVar10) goto LAB_000419c4;" if (parenthesized_expression "(param_5 == iVar10)" ( (binary_expression "param_5 == iVar10" identifier == identifier) )) (goto_statement "goto LAB_000419c4;" goto statement_identifier ;)) (expression_statement "uVar9 = *puVar7;" (assignment_expression "uVar9 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar9 - 1;" (assignment_expression "*puVar7 = uVar9 - 1" (pointer_expression "*puVar7" * identifier) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) ;) })) })) (goto_statement "goto LAB_00041a78;" goto statement_identifier ;) })) (labeled_statement "LAB_000419c4:\n      uVar9 = 0;" statement_identifier : (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;)) }) (else_clause "else {\nLAB_00041a78:\n      uVar9 = 1;\n    }" else (compound_statement "{\nLAB_00041a78:\n      uVar9 = 1;\n    }" { (labeled_statement "LAB_00041a78:\n      uVar9 = 1;" statement_identifier : (expression_statement "uVar9 = 1;" (assignment_expression "uVar9 = 1" identifier = number_literal) ;)) }))) (expression_statement "*(uint *)((int)puVar6 + iVar2) = uVar9;" (assignment_expression "*(uint *)((int)puVar6 + iVar2) = uVar9" (pointer_expression "*(uint *)((int)puVar6 + iVar2)" * (cast_expression "(uint *)((int)puVar6 + iVar2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + iVar2)" ( (binary_expression "(int)puVar6 + iVar2" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = identifier) ;) })) (if_statement "if (iVar4 == 0) {\n    return;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar6 = (uint *)*piVar13;" (assignment_expression "puVar6 = (uint *)*piVar13" identifier = (cast_expression "(uint *)*piVar13" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar13" * identifier))) ;) (expression_statement "piVar13 = (int *)((int)puVar6 + iVar2);" (assignment_expression "piVar13 = (int *)((int)puVar6 + iVar2)" identifier = (cast_expression "(int *)((int)puVar6 + iVar2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + iVar2)" ( (binary_expression "(int)puVar6 + iVar2" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "iVar2 = *piVar13;" (assignment_expression "iVar2 = *piVar13" identifier = (pointer_expression "*piVar13" * identifier)) ;) (expression_statement "uVar9 = *puVar6 - iVar2;" (assignment_expression "uVar9 = *puVar6 - iVar2" identifier = (binary_expression "*puVar6 - iVar2" (pointer_expression "*puVar6" * identifier) - identifier)) ;) (expression_statement "*puVar6 = uVar9;" (assignment_expression "*puVar6 = uVar9" (pointer_expression "*puVar6" * identifier) = identifier) ;) (if_statement "if (uVar9 < (uint)-iVar2) {\n    if (param_5 < 2) {\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }\n    uVar9 = puVar6[1];\n    puVar6[1] = uVar9 + 1;\n    if (uVar9 + 1 == 0) {\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }\n  }" if (parenthesized_expression "(uVar9 < (uint)-iVar2)" ( (binary_expression "uVar9 < (uint)-iVar2" identifier < (binary_expression "(uint)-iVar2" (parenthesized_expression "(uint)" ( identifier )) - identifier)) )) (compound_statement "{\n    if (param_5 < 2) {\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }\n    uVar9 = puVar6[1];\n    puVar6[1] = uVar9 + 1;\n    if (uVar9 + 1 == 0) {\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }\n  }" { (if_statement "if (param_5 < 2) {\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }" if (parenthesized_expression "(param_5 < 2)" ( (binary_expression "param_5 < 2" identifier < number_literal) )) (compound_statement "{\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }" { (labeled_statement "LAB_00041a5c:\n      *piVar13 = 1;" statement_identifier : (expression_statement "*piVar13 = 1;" (assignment_expression "*piVar13 = 1" (pointer_expression "*piVar13" * identifier) = number_literal) ;)) (return_statement "return;" return ;) })) (expression_statement "uVar9 = puVar6[1];" (assignment_expression "uVar9 = puVar6[1]" identifier = (subscript_expression "puVar6[1]" identifier [ number_literal ])) ;) (expression_statement "puVar6[1] = uVar9 + 1;" (assignment_expression "puVar6[1] = uVar9 + 1" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (if_statement "if (uVar9 + 1 == 0) {\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }" if (parenthesized_expression "(uVar9 + 1 == 0)" ( (binary_expression "uVar9 + 1 == 0" (binary_expression "uVar9 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }" { (if_statement "if (param_5 == 2) goto LAB_00041a5c;" if (parenthesized_expression "(param_5 == 2)" ( (binary_expression "param_5 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00041a5c;" goto statement_identifier ;)) (expression_statement "uVar9 = puVar6[2];" (assignment_expression "uVar9 = puVar6[2]" identifier = (subscript_expression "puVar6[2]" identifier [ number_literal ])) ;) (expression_statement "puVar6[2] = uVar9 + 1;" (assignment_expression "puVar6[2] = uVar9 + 1" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (if_statement "if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }" if (parenthesized_expression "(uVar9 + 1 == 0)" ( (binary_expression "uVar9 + 1 == 0" (binary_expression "uVar9 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }" { (expression_statement "iVar2 = 3;" (assignment_expression "iVar2 = 3" identifier = number_literal) ;) (expression_statement "puVar6 = puVar6 + 3;" (assignment_expression "puVar6 = puVar6 + 3" identifier = (binary_expression "puVar6 + 3" identifier + number_literal)) ;) (do_statement "do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);" do (compound_statement "{\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        }" { (if_statement "if (param_5 == iVar2) goto LAB_00041a5c;" if (parenthesized_expression "(param_5 == iVar2)" ( (binary_expression "param_5 == iVar2" identifier == identifier) )) (goto_statement "goto LAB_00041a5c;" goto statement_identifier ;)) (expression_statement "uVar9 = *puVar6;" (assignment_expression "uVar9 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar6 = uVar9 + 1;" (assignment_expression "*puVar6 = uVar9 + 1" (pointer_expression "*puVar6" * identifier) = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar9 + 1 == 0)" ( (binary_expression "uVar9 + 1 == 0" (binary_expression "uVar9 + 1" identifier + number_literal) == number_literal) )) ;) })) })) })) (expression_statement "*piVar13 = 0;" (assignment_expression "*piVar13 = 0" (pointer_expression "*piVar13" * identifier) = number_literal) ;) (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 (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT << LIT) , IDENT , (binary_expression IDENT << LIT) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT << LIT) , IDENT , (binary_expression IDENT << LIT) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (pointer_expression * IDENT) , (binary_expression IDENT * (pointer_expression * IDENT)) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression * IDENT) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> LIT) & (binary_expression IDENT - IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;)) }))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = (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 (binary_expression IDENT + IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = IDENT) ;) }))) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , (pointer_expression * IDENT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) , IDENT , (pointer_expression * IDENT) , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) })) })) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) - IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression (parenthesized_expression ( IDENT )) - IDENT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;)) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == LIT) )) ;) })) })) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_00041610(int *param_1,int param_2,undefined4 *param_3,int param_4,int param_5,int param_6,\n                 undefined4 *param_7)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  code *pcVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  uint *puVar6;\n  uint *puVar7;\n  undefined4 *puVar8;\n  uint uVar9;\n  int iVar10;\n  uint uVar11;\n  undefined4 uVar12;\n  int *piVar13;\n  int *piVar14;\n  int iVar15;\n  \n  piVar13 = param_1 + param_6;\n  if (param_2 != 2) {\n    param_2 = param_2 >> 1;\n    piVar14 = (int *)*param_3;\n    FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    if (param_2 < 1) {\n      return;\n    }\n    iVar2 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    } while( true );\n  }\n  puVar8 = (undefined4 *)*param_1;\n  if (param_5 == -1) {\n    iVar2 = -4;\n  }\n  else {\n    uVar12 = *puVar8;\n    iVar2 = param_5;\n    puVar5 = param_7;\n    puVar1 = puVar8;\n    if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_0009d334)(puVar8,puVar8,*piVar13,param_5 + 1);\n  iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1);\n  puVar6 = (uint *)*param_1;\n  uVar9 = *(uint *)((int)puVar6 + iVar2);\n  if (1 < uVar9) {\n    uVar11 = *puVar6;\n    uVar9 = uVar9 - 1;\n    *puVar6 = uVar11 - uVar9;\n    if (uVar11 < uVar9) {\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar9 = 1;\n    }\n    *(uint *)((int)puVar6 + iVar2) = uVar9;\n  }\n  if (iVar4 == 0) {\n    return;\n  }\n  puVar6 = (uint *)*piVar13;\n  piVar13 = (int *)((int)puVar6 + iVar2);\n  iVar2 = *piVar13;\n  uVar9 = *puVar6 - iVar2;\n  *puVar6 = uVar9;\n  if (uVar9 < (uint)-iVar2) {\n    if (param_5 < 2) {\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }\n    uVar9 = puVar6[1];\n    puVar6[1] = uVar9 + 1;\n    if (uVar9 + 1 == 0) {\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }\n  }\n  *piVar13 = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00041610(int *param_1,int param_2,undefined4 *param_3,int param_4,int param_5,int param_6,\n                 undefined4 *param_7)" (identifier "FUN_00041610") (parameter_list "(int *param_1,int param_2,undefined4 *param_3,int param_4,int param_5,int param_6,\n                 undefined4 *param_7)" (( "(") (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 "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) (, ",") (parameter_declaration "undefined4 *param_7" (type_identifier "undefined4") (pointer_declarator "*param_7" (* "*") (identifier "param_7"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  code *pcVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  uint *puVar6;\n  uint *puVar7;\n  undefined4 *puVar8;\n  uint uVar9;\n  int iVar10;\n  uint uVar11;\n  undefined4 uVar12;\n  int *piVar13;\n  int *piVar14;\n  int iVar15;\n  \n  piVar13 = param_1 + param_6;\n  if (param_2 != 2) {\n    param_2 = param_2 >> 1;\n    piVar14 = (int *)*param_3;\n    FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    if (param_2 < 1) {\n      return;\n    }\n    iVar2 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    } while( true );\n  }\n  puVar8 = (undefined4 *)*param_1;\n  if (param_5 == -1) {\n    iVar2 = -4;\n  }\n  else {\n    uVar12 = *puVar8;\n    iVar2 = param_5;\n    puVar5 = param_7;\n    puVar1 = puVar8;\n    if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }\n  }\n  (*(code *)PTR___gmpn_add_n_0009d334)(puVar8,puVar8,*piVar13,param_5 + 1);\n  iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1);\n  puVar6 = (uint *)*param_1;\n  uVar9 = *(uint *)((int)puVar6 + iVar2);\n  if (1 < uVar9) {\n    uVar11 = *puVar6;\n    uVar9 = uVar9 - 1;\n    *puVar6 = uVar11 - uVar9;\n    if (uVar11 < uVar9) {\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar9 = 1;\n    }\n    *(uint *)((int)puVar6 + iVar2) = uVar9;\n  }\n  if (iVar4 == 0) {\n    return;\n  }\n  puVar6 = (uint *)*piVar13;\n  piVar13 = (int *)((int)puVar6 + iVar2);\n  iVar2 = *piVar13;\n  uVar9 = *puVar6 - iVar2;\n  *puVar6 = uVar9;\n  if (uVar9 < (uint)-iVar2) {\n    if (param_5 < 2) {\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }\n    uVar9 = puVar6[1];\n    puVar6[1] = uVar9 + 1;\n    if (uVar9 + 1 == 0) {\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }\n  }\n  *piVar13 = 0;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "code *pcVar3;" (type_identifier "code") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "uint *puVar6;" (type_identifier "uint") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "uint *puVar7;" (type_identifier "uint") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "undefined4 uVar12;" (type_identifier "undefined4") (identifier "uVar12") (; ";")) (declaration "int *piVar13;" (primitive_type "int") (pointer_declarator "*piVar13" (* "*") (identifier "piVar13")) (; ";")) (declaration "int *piVar14;" (primitive_type "int") (pointer_declarator "*piVar14" (* "*") (identifier "piVar14")) (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (expression_statement "piVar13 = param_1 + param_6;" (assignment_expression "piVar13 = param_1 + param_6" (identifier "piVar13") (= "=") (binary_expression "param_1 + param_6" (identifier "param_1") (+ "+") (identifier "param_6"))) (; ";")) (if_statement "if (param_2 != 2) {\n    param_2 = param_2 >> 1;\n    piVar14 = (int *)*param_3;\n    FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    if (param_2 < 1) {\n      return;\n    }\n    iVar2 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    } while( true );\n  }" (if "if") (parenthesized_expression "(param_2 != 2)" (( "(") (binary_expression "param_2 != 2" (identifier "param_2") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n    param_2 = param_2 >> 1;\n    piVar14 = (int *)*param_3;\n    FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);\n    if (param_2 < 1) {\n      return;\n    }\n    iVar2 = 0;\n    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);\n    do {\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    } while( true );\n  }" ({ "{") (expression_statement "param_2 = param_2 >> 1;" (assignment_expression "param_2 = param_2 >> 1" (identifier "param_2") (= "=") (binary_expression "param_2 >> 1" (identifier "param_2") (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "piVar14 = (int *)*param_3;" (assignment_expression "piVar14 = (int *)*param_3" (identifier "piVar14") (= "=") (cast_expression "(int *)*param_3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3")))) (; ";")) (expression_statement "FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);" (call_expression "FUN_00041610(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7)" (identifier "FUN_00041610") (argument_list "(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (binary_expression "param_3 + -1" (identifier "param_3") (+ "+") (number_literal "-1")) (, ",") (binary_expression "param_4 << 1" (identifier "param_4") (<< "<<") (number_literal "1")) (, ",") (identifier "param_5") (, ",") (binary_expression "param_6 << 1" (identifier "param_6") (<< "<<") (number_literal "1")) (, ",") (identifier "param_7") () ")"))) (; ";")) (expression_statement "FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);" (call_expression "FUN_00041610(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7)" (identifier "FUN_00041610") (argument_list "(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7)" (( "(") (identifier "piVar13") (, ",") (identifier "param_2") (, ",") (binary_expression "param_3 + -1" (identifier "param_3") (+ "+") (number_literal "-1")) (, ",") (binary_expression "param_4 << 1" (identifier "param_4") (<< "<<") (number_literal "1")) (, ",") (identifier "param_5") (, ",") (binary_expression "param_6 << 1" (identifier "param_6") (<< "<<") (number_literal "1")) (, ",") (identifier "param_7") () ")"))) (; ";")) (if_statement "if (param_2 < 1) {\n      return;\n    }" (if "if") (parenthesized_expression "(param_2 < 1)" (( "(") (binary_expression "param_2 < 1" (identifier "param_2") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790)" (identifier "pcVar3") (= "=") (cast_expression "(code *)(PTR_LAB_0009d078 + 0x790)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0009d078 + 0x790)" (( "(") (binary_expression "PTR_LAB_0009d078 + 0x790" (identifier "PTR_LAB_0009d078") (+ "+") (number_literal "0x790")) () ")")))) (; ";")) (do_statement "do {\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    } while( true );" (do "do") (compound_statement "{\n      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);\n      puVar6 = (uint *)*piVar13;\n      iVar10 = param_7[param_5];\n      iVar15 = *(int *)(*param_1 + param_5 * 4);\n      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);\n      iVar10 = iVar10 + iVar4;\n      iVar4 = iVar15 - iVar10;\n      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;\n      puVar6[param_5] = iVar4 + uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar9 + uVar11;\n      if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }\n      iVar10 = param_7[param_5];\n      uVar9 = puVar6[param_5];\n      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);\n      iVar4 = uVar9 + iVar10 + iVar4;\n      uVar9 = iVar4 - 1;\n      if (iVar4 == 0) {\n        uVar9 = 0;\n      }\n      puVar6[param_5] = iVar4 - uVar9;\n      uVar11 = *puVar6;\n      *puVar6 = uVar11 - uVar9;\n      if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }\n      iVar2 = iVar2 + 1;\n      param_1 = param_1 + param_6 * 2;\n      piVar14 = piVar14 + 2;\n      if (param_2 == iVar2) {\n        return;\n      }\n      piVar13 = param_1 + param_6;\n    }" ({ "{") (expression_statement "(*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);" (call_expression "(*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5)" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "(param_7,*piVar13,param_4 * *piVar14,param_5)" (( "(") (identifier "param_7") (, ",") (pointer_expression "*piVar13" (* "*") (identifier "piVar13")) (, ",") (binary_expression "param_4 * *piVar14" (identifier "param_4") (* "*") (pointer_expression "*piVar14" (* "*") (identifier "piVar14"))) (, ",") (identifier "param_5") () ")"))) (; ";")) (expression_statement "puVar6 = (uint *)*piVar13;" (assignment_expression "puVar6 = (uint *)*piVar13" (identifier "puVar6") (= "=") (cast_expression "(uint *)*piVar13" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar13" (* "*") (identifier "piVar13")))) (; ";")) (expression_statement "iVar10 = param_7[param_5];" (assignment_expression "iVar10 = param_7[param_5]" (identifier "iVar10") (= "=") (subscript_expression "param_7[param_5]" (identifier "param_7") ([ "[") (identifier "param_5") (] "]"))) (; ";")) (expression_statement "iVar15 = *(int *)(*param_1 + param_5 * 4);" (assignment_expression "iVar15 = *(int *)(*param_1 + param_5 * 4)" (identifier "iVar15") (= "=") (pointer_expression "*(int *)(*param_1 + param_5 * 4)" (* "*") (cast_expression "(int *)(*param_1 + param_5 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + param_5 * 4)" (( "(") (binary_expression "*param_1 + param_5 * 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (binary_expression "param_5 * 4" (identifier "param_5") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5)" (parenthesized_expression "(*(code *)PTR___gmpn_sub_n_0009d514)" (( "(") (pointer_expression "*(code *)PTR___gmpn_sub_n_0009d514" (* "*") (cast_expression "(code *)PTR___gmpn_sub_n_0009d514" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_sub_n_0009d514"))) () ")")) (argument_list "(puVar6,*param_1,param_7,param_5)" (( "(") (identifier "puVar6") (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "param_7") (, ",") (identifier "param_5") () ")")))) (; ";")) (expression_statement "iVar10 = iVar10 + iVar4;" (assignment_expression "iVar10 = iVar10 + iVar4" (identifier "iVar10") (= "=") (binary_expression "iVar10 + iVar4" (identifier "iVar10") (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "iVar4 = iVar15 - iVar10;" (assignment_expression "iVar4 = iVar15 - iVar10" (identifier "iVar4") (= "=") (binary_expression "iVar15 - iVar10" (identifier "iVar15") (- "-") (identifier "iVar10"))) (; ";")) (expression_statement "uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;" (assignment_expression "uVar9 = iVar4 >> 0x1f & iVar10 - iVar15" (identifier "uVar9") (= "=") (binary_expression "iVar4 >> 0x1f & iVar10 - iVar15" (binary_expression "iVar4 >> 0x1f" (identifier "iVar4") (>> ">>") (number_literal "0x1f")) (& "&") (binary_expression "iVar10 - iVar15" (identifier "iVar10") (- "-") (identifier "iVar15")))) (; ";")) (expression_statement "puVar6[param_5] = iVar4 + uVar9;" (assignment_expression "puVar6[param_5] = iVar4 + uVar9" (subscript_expression "puVar6[param_5]" (identifier "puVar6") ([ "[") (identifier "param_5") (] "]")) (= "=") (binary_expression "iVar4 + uVar9" (identifier "iVar4") (+ "+") (identifier "uVar9"))) (; ";")) (expression_statement "uVar11 = *puVar6;" (assignment_expression "uVar11 = *puVar6" (identifier "uVar11") (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (expression_statement "*puVar6 = uVar9 + uVar11;" (assignment_expression "*puVar6 = uVar9 + uVar11" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (binary_expression "uVar9 + uVar11" (identifier "uVar9") (+ "+") (identifier "uVar11"))) (; ";")) (if_statement "if (uVar9 + uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }\n      else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }" (if "if") (parenthesized_expression "(uVar9 + uVar11 < uVar9)" (( "(") (binary_expression "uVar9 + uVar11 < uVar9" (binary_expression "uVar9 + uVar11" (identifier "uVar9") (+ "+") (identifier "uVar11")) (< "<") (identifier "uVar9")) () ")")) (compound_statement "{\n        do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);\n        puVar6 = (uint *)*param_1;\n      }" ({ "{") (do_statement "do {\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        } while (uVar9 + 1 == 0);" (do "do") (compound_statement "{\n          uVar9 = puVar6[1] + 1;\n          puVar6[1] = uVar9;\n          if (uVar9 != 0) goto LAB_00041758;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 + 1;\n        }" ({ "{") (expression_statement "uVar9 = puVar6[1] + 1;" (assignment_expression "uVar9 = puVar6[1] + 1" (identifier "uVar9") (= "=") (binary_expression "puVar6[1] + 1" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar6[1] = uVar9;" (assignment_expression "puVar6[1] = uVar9" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar9")) (; ";")) (if_statement "if (uVar9 != 0) goto LAB_00041758;" (if "if") (parenthesized_expression "(uVar9 != 0)" (( "(") (binary_expression "uVar9 != 0" (identifier "uVar9") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00041758;" (goto "goto") (statement_identifier "LAB_00041758") (; ";"))) (expression_statement "puVar6 = puVar6 + 2;" (assignment_expression "puVar6 = puVar6 + 2" (identifier "puVar6") (= "=") (binary_expression "puVar6 + 2" (identifier "puVar6") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "uVar9 = *puVar6;" (assignment_expression "uVar9 = *puVar6" (identifier "uVar9") (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (expression_statement "*puVar6 = uVar9 + 1;" (assignment_expression "*puVar6 = uVar9 + 1" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (binary_expression "uVar9 + 1" (identifier "uVar9") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar9 + 1 == 0)" (( "(") (binary_expression "uVar9 + 1 == 0" (binary_expression "uVar9 + 1" (identifier "uVar9") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (; ";")) (expression_statement "puVar6 = (uint *)*param_1;" (assignment_expression "puVar6 = (uint *)*param_1" (identifier "puVar6") (= "=") (cast_expression "(uint *)*param_1" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (} "}")) (else_clause "else {\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }" (else "else") (compound_statement "{\nLAB_00041758:\n        puVar6 = (uint *)*param_1;\n      }" ({ "{") (labeled_statement "LAB_00041758:\n        puVar6 = (uint *)*param_1;" (statement_identifier "LAB_00041758") (: ":") (expression_statement "puVar6 = (uint *)*param_1;" (assignment_expression "puVar6 = (uint *)*param_1" (identifier "puVar6") (= "=") (cast_expression "(uint *)*param_1" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";"))) (} "}")))) (expression_statement "iVar10 = param_7[param_5];" (assignment_expression "iVar10 = param_7[param_5]" (identifier "iVar10") (= "=") (subscript_expression "param_7[param_5]" (identifier "param_7") ([ "[") (identifier "param_5") (] "]"))) (; ";")) (expression_statement "uVar9 = puVar6[param_5];" (assignment_expression "uVar9 = puVar6[param_5]" (identifier "uVar9") (= "=") (subscript_expression "puVar6[param_5]" (identifier "puVar6") ([ "[") (identifier "param_5") (] "]"))) (; ";")) (expression_statement "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_0009d334)" (( "(") (pointer_expression "*(code *)PTR___gmpn_add_n_0009d334" (* "*") (cast_expression "(code *)PTR___gmpn_add_n_0009d334" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_add_n_0009d334"))) () ")")) (argument_list "(puVar6,puVar6,param_7,param_5)" (( "(") (identifier "puVar6") (, ",") (identifier "puVar6") (, ",") (identifier "param_7") (, ",") (identifier "param_5") () ")")))) (; ";")) (expression_statement "iVar4 = uVar9 + iVar10 + iVar4;" (assignment_expression "iVar4 = uVar9 + iVar10 + iVar4" (identifier "iVar4") (= "=") (binary_expression "uVar9 + iVar10 + iVar4" (binary_expression "uVar9 + iVar10" (identifier "uVar9") (+ "+") (identifier "iVar10")) (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "uVar9 = iVar4 - 1;" (assignment_expression "uVar9 = iVar4 - 1" (identifier "uVar9") (= "=") (binary_expression "iVar4 - 1" (identifier "iVar4") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (iVar4 == 0) {\n        uVar9 = 0;\n      }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar9 = 0;\n      }" ({ "{") (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "puVar6[param_5] = iVar4 - uVar9;" (assignment_expression "puVar6[param_5] = iVar4 - uVar9" (subscript_expression "puVar6[param_5]" (identifier "puVar6") ([ "[") (identifier "param_5") (] "]")) (= "=") (binary_expression "iVar4 - uVar9" (identifier "iVar4") (- "-") (identifier "uVar9"))) (; ";")) (expression_statement "uVar11 = *puVar6;" (assignment_expression "uVar11 = *puVar6" (identifier "uVar11") (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (expression_statement "*puVar6 = uVar11 - uVar9;" (assignment_expression "*puVar6 = uVar11 - uVar9" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (binary_expression "uVar11 - uVar9" (identifier "uVar11") (- "-") (identifier "uVar9"))) (; ";")) (if_statement "if (uVar11 < uVar9) {\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }" (if "if") (parenthesized_expression "(uVar11 < uVar9)" (( "(") (binary_expression "uVar11 < uVar9" (identifier "uVar11") (< "<") (identifier "uVar9")) () ")")) (compound_statement "{\n        do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);\n      }" ({ "{") (do_statement "do {\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        } while (uVar9 == 0);" (do "do") (compound_statement "{\n          uVar9 = puVar6[1];\n          puVar6[1] = uVar9 - 1;\n          if (uVar9 != 0) break;\n          puVar6 = puVar6 + 2;\n          uVar9 = *puVar6;\n          *puVar6 = uVar9 - 1;\n        }" ({ "{") (expression_statement "uVar9 = puVar6[1];" (assignment_expression "uVar9 = puVar6[1]" (identifier "uVar9") (= "=") (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar6[1] = uVar9 - 1;" (assignment_expression "puVar6[1] = uVar9 - 1" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar9 != 0) break;" (if "if") (parenthesized_expression "(uVar9 != 0)" (( "(") (binary_expression "uVar9 != 0" (identifier "uVar9") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar6 = puVar6 + 2;" (assignment_expression "puVar6 = puVar6 + 2" (identifier "puVar6") (= "=") (binary_expression "puVar6 + 2" (identifier "puVar6") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "uVar9 = *puVar6;" (assignment_expression "uVar9 = *puVar6" (identifier "uVar9") (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (expression_statement "*puVar6 = uVar9 - 1;" (assignment_expression "*puVar6 = uVar9 - 1" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1 = param_1 + param_6 * 2;" (assignment_expression "param_1 = param_1 + param_6 * 2" (identifier "param_1") (= "=") (binary_expression "param_1 + param_6 * 2" (identifier "param_1") (+ "+") (binary_expression "param_6 * 2" (identifier "param_6") (* "*") (number_literal "2")))) (; ";")) (expression_statement "piVar14 = piVar14 + 2;" (assignment_expression "piVar14 = piVar14 + 2" (identifier "piVar14") (= "=") (binary_expression "piVar14 + 2" (identifier "piVar14") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (param_2 == iVar2) {\n        return;\n      }" (if "if") (parenthesized_expression "(param_2 == iVar2)" (( "(") (binary_expression "param_2 == iVar2" (identifier "param_2") (== "==") (identifier "iVar2")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "piVar13 = param_1 + param_6;" (assignment_expression "piVar13 = param_1 + param_6" (identifier "piVar13") (= "=") (binary_expression "param_1 + param_6" (identifier "param_1") (+ "+") (identifier "param_6"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "puVar8 = (undefined4 *)*param_1;" (assignment_expression "puVar8 = (undefined4 *)*param_1" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (param_5 == -1) {\n    iVar2 = -4;\n  }\n  else {\n    uVar12 = *puVar8;\n    iVar2 = param_5;\n    puVar5 = param_7;\n    puVar1 = puVar8;\n    if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }\n  }" (if "if") (parenthesized_expression "(param_5 == -1)" (( "(") (binary_expression "param_5 == -1" (identifier "param_5") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n    iVar2 = -4;\n  }" ({ "{") (expression_statement "iVar2 = -4;" (assignment_expression "iVar2 = -4" (identifier "iVar2") (= "=") (number_literal "-4")) (; ";")) (} "}")) (else_clause "else {\n    uVar12 = *puVar8;\n    iVar2 = param_5;\n    puVar5 = param_7;\n    puVar1 = puVar8;\n    if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }\n  }" (else "else") (compound_statement "{\n    uVar12 = *puVar8;\n    iVar2 = param_5;\n    puVar5 = param_7;\n    puVar1 = puVar8;\n    if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }\n  }" ({ "{") (expression_statement "uVar12 = *puVar8;" (assignment_expression "uVar12 = *puVar8" (identifier "uVar12") (= "=") (pointer_expression "*puVar8" (* "*") (identifier "puVar8"))) (; ";")) (expression_statement "iVar2 = param_5;" (assignment_expression "iVar2 = param_5" (identifier "iVar2") (= "=") (identifier "param_5")) (; ";")) (expression_statement "puVar5 = param_7;" (assignment_expression "puVar5 = param_7" (identifier "puVar5") (= "=") (identifier "param_7")) (; ";")) (expression_statement "puVar1 = puVar8;" (assignment_expression "puVar1 = puVar8" (identifier "puVar1") (= "=") (identifier "puVar8")) (; ";")) (if_statement "if (param_5 == 0) {\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }\n    else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }" (if "if") (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar2 = 0;\n      *param_7 = uVar12;\n    }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_7 = uVar12;" (assignment_expression "*param_7 = uVar12" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (identifier "uVar12")) (; ";")) (} "}")) (else_clause "else {\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }" (else "else") (compound_statement "{\n      do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);\n      iVar2 = param_5 * 4;\n      param_7[param_5] = uVar12;\n    }" ({ "{") (do_statement "do {\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      } while (iVar2 != 0);" (do "do") (compound_statement "{\n        *puVar5 = uVar12;\n        iVar2 = iVar2 + -1;\n        uVar12 = puVar1[1];\n        puVar5 = puVar5 + 1;\n        puVar1 = puVar1 + 1;\n      }" ({ "{") (expression_statement "*puVar5 = uVar12;" (assignment_expression "*puVar5 = uVar12" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (identifier "uVar12")) (; ";")) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar12 = puVar1[1];" (assignment_expression "uVar12 = puVar1[1]" (identifier "uVar12") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar1 = puVar1 + 1;" (assignment_expression "puVar1 = puVar1 + 1" (identifier "puVar1") (= "=") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar2 = param_5 * 4;" (assignment_expression "iVar2 = param_5 * 4" (identifier "iVar2") (= "=") (binary_expression "param_5 * 4" (identifier "param_5") (* "*") (number_literal "4"))) (; ";")) (expression_statement "param_7[param_5] = uVar12;" (assignment_expression "param_7[param_5] = uVar12" (subscript_expression "param_7[param_5]" (identifier "param_7") ([ "[") (identifier "param_5") (] "]")) (= "=") (identifier "uVar12")) (; ";")) (} "}")))) (} "}")))) (expression_statement "(*(code *)PTR___gmpn_add_n_0009d334)(puVar8,puVar8,*piVar13,param_5 + 1);" (call_expression "(*(code *)PTR___gmpn_add_n_0009d334)(puVar8,puVar8,*piVar13,param_5 + 1)" (parenthesized_expression "(*(code *)PTR___gmpn_add_n_0009d334)" (( "(") (pointer_expression "*(code *)PTR___gmpn_add_n_0009d334" (* "*") (cast_expression "(code *)PTR___gmpn_add_n_0009d334" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_add_n_0009d334"))) () ")")) (argument_list "(puVar8,puVar8,*piVar13,param_5 + 1)" (( "(") (identifier "puVar8") (, ",") (identifier "puVar8") (, ",") (pointer_expression "*piVar13" (* "*") (identifier "piVar13")) (, ",") (binary_expression "param_5 + 1" (identifier "param_5") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1);" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1)" (parenthesized_expression "(*(code *)PTR___gmpn_sub_n_0009d514)" (( "(") (pointer_expression "*(code *)PTR___gmpn_sub_n_0009d514" (* "*") (cast_expression "(code *)PTR___gmpn_sub_n_0009d514" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_sub_n_0009d514"))) () ")")) (argument_list "(*piVar13,param_7,*piVar13,param_5 + 1)" (( "(") (pointer_expression "*piVar13" (* "*") (identifier "piVar13")) (, ",") (identifier "param_7") (, ",") (pointer_expression "*piVar13" (* "*") (identifier "piVar13")) (, ",") (binary_expression "param_5 + 1" (identifier "param_5") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "puVar6 = (uint *)*param_1;" (assignment_expression "puVar6 = (uint *)*param_1" (identifier "puVar6") (= "=") (cast_expression "(uint *)*param_1" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "uVar9 = *(uint *)((int)puVar6 + iVar2);" (assignment_expression "uVar9 = *(uint *)((int)puVar6 + iVar2)" (identifier "uVar9") (= "=") (pointer_expression "*(uint *)((int)puVar6 + iVar2)" (* "*") (cast_expression "(uint *)((int)puVar6 + iVar2)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + iVar2)" (( "(") (binary_expression "(int)puVar6 + iVar2" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (identifier "iVar2")) () ")"))))) (; ";")) (if_statement "if (1 < uVar9) {\n    uVar11 = *puVar6;\n    uVar9 = uVar9 - 1;\n    *puVar6 = uVar11 - uVar9;\n    if (uVar11 < uVar9) {\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar9 = 1;\n    }\n    *(uint *)((int)puVar6 + iVar2) = uVar9;\n  }" (if "if") (parenthesized_expression "(1 < uVar9)" (( "(") (binary_expression "1 < uVar9" (number_literal "1") (< "<") (identifier "uVar9")) () ")")) (compound_statement "{\n    uVar11 = *puVar6;\n    uVar9 = uVar9 - 1;\n    *puVar6 = uVar11 - uVar9;\n    if (uVar11 < uVar9) {\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar9 = 1;\n    }\n    *(uint *)((int)puVar6 + iVar2) = uVar9;\n  }" ({ "{") (expression_statement "uVar11 = *puVar6;" (assignment_expression "uVar11 = *puVar6" (identifier "uVar11") (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (expression_statement "uVar9 = uVar9 - 1;" (assignment_expression "uVar9 = uVar9 - 1" (identifier "uVar9") (= "=") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1"))) (; ";")) (expression_statement "*puVar6 = uVar11 - uVar9;" (assignment_expression "*puVar6 = uVar11 - uVar9" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (binary_expression "uVar11 - uVar9" (identifier "uVar11") (- "-") (identifier "uVar9"))) (; ";")) (if_statement "if (uVar11 < uVar9) {\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }\n    else {\nLAB_00041a78:\n      uVar9 = 1;\n    }" (if "if") (parenthesized_expression "(uVar11 < uVar9)" (( "(") (binary_expression "uVar11 < uVar9" (identifier "uVar11") (< "<") (identifier "uVar9")) () ")")) (compound_statement "{\n      if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }\nLAB_000419c4:\n      uVar9 = 0;\n    }" ({ "{") (if_statement "if (1 < param_5) {\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }" (if "if") (parenthesized_expression "(1 < param_5)" (( "(") (binary_expression "1 < param_5" (number_literal "1") (< "<") (identifier "param_5")) () ")")) (compound_statement "{\n        uVar9 = puVar6[1];\n        puVar6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }\n        goto LAB_00041a78;\n      }" ({ "{") (expression_statement "uVar9 = puVar6[1];" (assignment_expression "uVar9 = puVar6[1]" (identifier "uVar9") (= "=") (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar6[1] = uVar9 - 1;" (assignment_expression "puVar6[1] = uVar9 - 1" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar9 == 0) {\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }" (if "if") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (param_5 == 2) goto LAB_000419c4;\n          uVar9 = puVar6[2];\n          puVar6[2] = uVar9 - 1;\n          if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }\n        }" ({ "{") (if_statement "if (param_5 == 2) goto LAB_000419c4;" (if "if") (parenthesized_expression "(param_5 == 2)" (( "(") (binary_expression "param_5 == 2" (identifier "param_5") (== "==") (number_literal "2")) () ")")) (goto_statement "goto LAB_000419c4;" (goto "goto") (statement_identifier "LAB_000419c4") (; ";"))) (expression_statement "uVar9 = puVar6[2];" (assignment_expression "uVar9 = puVar6[2]" (identifier "uVar9") (= "=") (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar6[2] = uVar9 - 1;" (assignment_expression "puVar6[2] = uVar9 - 1" (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar9 == 0) {\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }" (if "if") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            iVar10 = 3;\n            puVar7 = puVar6 + 3;\n            do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);\n          }" ({ "{") (expression_statement "iVar10 = 3;" (assignment_expression "iVar10 = 3" (identifier "iVar10") (= "=") (number_literal "3")) (; ";")) (expression_statement "puVar7 = puVar6 + 3;" (assignment_expression "puVar7 = puVar6 + 3" (identifier "puVar7") (= "=") (binary_expression "puVar6 + 3" (identifier "puVar6") (+ "+") (number_literal "3"))) (; ";")) (do_statement "do {\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            } while (uVar9 == 0);" (do "do") (compound_statement "{\n              if (param_5 == iVar10) goto LAB_000419c4;\n              uVar9 = *puVar7;\n              iVar10 = iVar10 + 1;\n              *puVar7 = uVar9 - 1;\n              puVar7 = puVar7 + 1;\n            }" ({ "{") (if_statement "if (param_5 == iVar10) goto LAB_000419c4;" (if "if") (parenthesized_expression "(param_5 == iVar10)" (( "(") (binary_expression "param_5 == iVar10" (identifier "param_5") (== "==") (identifier "iVar10")) () ")")) (goto_statement "goto LAB_000419c4;" (goto "goto") (statement_identifier "LAB_000419c4") (; ";"))) (expression_statement "uVar9 = *puVar7;" (assignment_expression "uVar9 = *puVar7" (identifier "uVar9") (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar7 = uVar9 - 1;" (assignment_expression "*puVar7 = uVar9 - 1" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1"))) (; ";")) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (; ";")) (} "}"))) (} "}"))) (goto_statement "goto LAB_00041a78;" (goto "goto") (statement_identifier "LAB_00041a78") (; ";")) (} "}"))) (labeled_statement "LAB_000419c4:\n      uVar9 = 0;" (statement_identifier "LAB_000419c4") (: ":") (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (; ";"))) (} "}")) (else_clause "else {\nLAB_00041a78:\n      uVar9 = 1;\n    }" (else "else") (compound_statement "{\nLAB_00041a78:\n      uVar9 = 1;\n    }" ({ "{") (labeled_statement "LAB_00041a78:\n      uVar9 = 1;" (statement_identifier "LAB_00041a78") (: ":") (expression_statement "uVar9 = 1;" (assignment_expression "uVar9 = 1" (identifier "uVar9") (= "=") (number_literal "1")) (; ";"))) (} "}")))) (expression_statement "*(uint *)((int)puVar6 + iVar2) = uVar9;" (assignment_expression "*(uint *)((int)puVar6 + iVar2) = uVar9" (pointer_expression "*(uint *)((int)puVar6 + iVar2)" (* "*") (cast_expression "(uint *)((int)puVar6 + iVar2)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + iVar2)" (( "(") (binary_expression "(int)puVar6 + iVar2" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (identifier "iVar2")) () ")")))) (= "=") (identifier "uVar9")) (; ";")) (} "}"))) (if_statement "if (iVar4 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar6 = (uint *)*piVar13;" (assignment_expression "puVar6 = (uint *)*piVar13" (identifier "puVar6") (= "=") (cast_expression "(uint *)*piVar13" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar13" (* "*") (identifier "piVar13")))) (; ";")) (expression_statement "piVar13 = (int *)((int)puVar6 + iVar2);" (assignment_expression "piVar13 = (int *)((int)puVar6 + iVar2)" (identifier "piVar13") (= "=") (cast_expression "(int *)((int)puVar6 + iVar2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + iVar2)" (( "(") (binary_expression "(int)puVar6 + iVar2" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (identifier "iVar2")) () ")")))) (; ";")) (expression_statement "iVar2 = *piVar13;" (assignment_expression "iVar2 = *piVar13" (identifier "iVar2") (= "=") (pointer_expression "*piVar13" (* "*") (identifier "piVar13"))) (; ";")) (expression_statement "uVar9 = *puVar6 - iVar2;" (assignment_expression "uVar9 = *puVar6 - iVar2" (identifier "uVar9") (= "=") (binary_expression "*puVar6 - iVar2" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (- "-") (identifier "iVar2"))) (; ";")) (expression_statement "*puVar6 = uVar9;" (assignment_expression "*puVar6 = uVar9" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (identifier "uVar9")) (; ";")) (if_statement "if (uVar9 < (uint)-iVar2) {\n    if (param_5 < 2) {\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }\n    uVar9 = puVar6[1];\n    puVar6[1] = uVar9 + 1;\n    if (uVar9 + 1 == 0) {\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }\n  }" (if "if") (parenthesized_expression "(uVar9 < (uint)-iVar2)" (( "(") (binary_expression "uVar9 < (uint)-iVar2" (identifier "uVar9") (< "<") (binary_expression "(uint)-iVar2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (- "-") (identifier "iVar2"))) () ")")) (compound_statement "{\n    if (param_5 < 2) {\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }\n    uVar9 = puVar6[1];\n    puVar6[1] = uVar9 + 1;\n    if (uVar9 + 1 == 0) {\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }\n  }" ({ "{") (if_statement "if (param_5 < 2) {\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }" (if "if") (parenthesized_expression "(param_5 < 2)" (( "(") (binary_expression "param_5 < 2" (identifier "param_5") (< "<") (number_literal "2")) () ")")) (compound_statement "{\nLAB_00041a5c:\n      *piVar13 = 1;\n      return;\n    }" ({ "{") (labeled_statement "LAB_00041a5c:\n      *piVar13 = 1;" (statement_identifier "LAB_00041a5c") (: ":") (expression_statement "*piVar13 = 1;" (assignment_expression "*piVar13 = 1" (pointer_expression "*piVar13" (* "*") (identifier "piVar13")) (= "=") (number_literal "1")) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar9 = puVar6[1];" (assignment_expression "uVar9 = puVar6[1]" (identifier "uVar9") (= "=") (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar6[1] = uVar9 + 1;" (assignment_expression "puVar6[1] = uVar9 + 1" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "uVar9 + 1" (identifier "uVar9") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar9 + 1 == 0) {\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }" (if "if") (parenthesized_expression "(uVar9 + 1 == 0)" (( "(") (binary_expression "uVar9 + 1 == 0" (binary_expression "uVar9 + 1" (identifier "uVar9") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (param_5 == 2) goto LAB_00041a5c;\n      uVar9 = puVar6[2];\n      puVar6[2] = uVar9 + 1;\n      if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }\n    }" ({ "{") (if_statement "if (param_5 == 2) goto LAB_00041a5c;" (if "if") (parenthesized_expression "(param_5 == 2)" (( "(") (binary_expression "param_5 == 2" (identifier "param_5") (== "==") (number_literal "2")) () ")")) (goto_statement "goto LAB_00041a5c;" (goto "goto") (statement_identifier "LAB_00041a5c") (; ";"))) (expression_statement "uVar9 = puVar6[2];" (assignment_expression "uVar9 = puVar6[2]" (identifier "uVar9") (= "=") (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar6[2] = uVar9 + 1;" (assignment_expression "puVar6[2] = uVar9 + 1" (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar9 + 1" (identifier "uVar9") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar9 + 1 == 0) {\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }" (if "if") (parenthesized_expression "(uVar9 + 1 == 0)" (( "(") (binary_expression "uVar9 + 1 == 0" (binary_expression "uVar9 + 1" (identifier "uVar9") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar2 = 3;\n        puVar6 = puVar6 + 3;\n        do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);\n      }" ({ "{") (expression_statement "iVar2 = 3;" (assignment_expression "iVar2 = 3" (identifier "iVar2") (= "=") (number_literal "3")) (; ";")) (expression_statement "puVar6 = puVar6 + 3;" (assignment_expression "puVar6 = puVar6 + 3" (identifier "puVar6") (= "=") (binary_expression "puVar6 + 3" (identifier "puVar6") (+ "+") (number_literal "3"))) (; ";")) (do_statement "do {\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        } while (uVar9 + 1 == 0);" (do "do") (compound_statement "{\n          if (param_5 == iVar2) goto LAB_00041a5c;\n          uVar9 = *puVar6;\n          iVar2 = iVar2 + 1;\n          *puVar6 = uVar9 + 1;\n          puVar6 = puVar6 + 1;\n        }" ({ "{") (if_statement "if (param_5 == iVar2) goto LAB_00041a5c;" (if "if") (parenthesized_expression "(param_5 == iVar2)" (( "(") (binary_expression "param_5 == iVar2" (identifier "param_5") (== "==") (identifier "iVar2")) () ")")) (goto_statement "goto LAB_00041a5c;" (goto "goto") (statement_identifier "LAB_00041a5c") (; ";"))) (expression_statement "uVar9 = *puVar6;" (assignment_expression "uVar9 = *puVar6" (identifier "uVar9") (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar6 = uVar9 + 1;" (assignment_expression "*puVar6 = uVar9 + 1" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (binary_expression "uVar9 + 1" (identifier "uVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" (identifier "puVar6") (= "=") (binary_expression "puVar6 + 1" (identifier "puVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar9 + 1 == 0)" (( "(") (binary_expression "uVar9 + 1 == 0" (binary_expression "uVar9 + 1" (identifier "uVar9") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) () ")")) (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "*piVar13 = 0;" (assignment_expression "*piVar13 = 0" (pointer_expression "*piVar13" (* "*") (identifier "piVar13")) (= "=") (number_literal "0")) (; ";")) (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: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator 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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (do_statement body: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (pointer_expression argument: (identifier))) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (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: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (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) (pointer_expression argument: (identifier)) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_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: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (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: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (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: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) condition: (parenthesized_expression (true))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (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))) (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: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) alternative: (else_clause (compound_statement (do_statement body: (compound_statement (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: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (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) (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (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 (pointer_expression argument: (identifier)) (identifier) (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) 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: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement))))

void MASKED(int *param_1,int param_2,undefined4 *param_3,int param_4,int param_5,int param_6,
                 undefined4 *param_7)

{
  undefined4 *puVar1;
  int iVar2;
  code *pcVar3;
  int iVar4;
  undefined4 *puVar5;
  uint *puVar6;
  uint *puVar7;
  undefined4 *puVar8;
  uint uVar9;
  int iVar10;
  uint uVar11;
  undefined4 uVar12;
  int *piVar13;
  int *piVar14;
  int iVar15;
  
  piVar13 = param_1 + param_6;
  if (param_2 != 2) {
    param_2 = param_2 >> 1;
    piVar14 = (int *)*param_3;
    MASKED(param_1,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);
    MASKED(piVar13,param_2,param_3 + -1,param_4 << 1,param_5,param_6 << 1,param_7);
    if (param_2 < 1) {
      return;
    }
    iVar2 = 0;
    pcVar3 = (code *)(PTR_LAB_0009d078 + 0x790);
    do {
      (*pcVar3)(param_7,*piVar13,param_4 * *piVar14,param_5);
      puVar6 = (uint *)*piVar13;
      iVar10 = param_7[param_5];
      iVar15 = *(int *)(*param_1 + param_5 * 4);
      iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(puVar6,*param_1,param_7,param_5);
      iVar10 = iVar10 + iVar4;
      iVar4 = iVar15 - iVar10;
      uVar9 = iVar4 >> 0x1f & iVar10 - iVar15;
      puVar6[param_5] = iVar4 + uVar9;
      uVar11 = *puVar6;
      *puVar6 = uVar9 + uVar11;
      if (uVar9 + uVar11 < uVar9) {
        do {
          uVar9 = puVar6[1] + 1;
          puVar6[1] = uVar9;
          if (uVar9 != 0) goto LAB_00041758;
          puVar6 = puVar6 + 2;
          uVar9 = *puVar6;
          *puVar6 = uVar9 + 1;
        } while (uVar9 + 1 == 0);
        puVar6 = (uint *)*param_1;
      }
      else {
LAB_00041758:
        puVar6 = (uint *)*param_1;
      }
      iVar10 = param_7[param_5];
      uVar9 = puVar6[param_5];
      iVar4 = (*(code *)PTR___gmpn_add_n_0009d334)(puVar6,puVar6,param_7,param_5);
      iVar4 = uVar9 + iVar10 + iVar4;
      uVar9 = iVar4 - 1;
      if (iVar4 == 0) {
        uVar9 = 0;
      }
      puVar6[param_5] = iVar4 - uVar9;
      uVar11 = *puVar6;
      *puVar6 = uVar11 - uVar9;
      if (uVar11 < uVar9) {
        do {
          uVar9 = puVar6[1];
          puVar6[1] = uVar9 - 1;
          if (uVar9 != 0) break;
          puVar6 = puVar6 + 2;
          uVar9 = *puVar6;
          *puVar6 = uVar9 - 1;
        } while (uVar9 == 0);
      }
      iVar2 = iVar2 + 1;
      param_1 = param_1 + param_6 * 2;
      piVar14 = piVar14 + 2;
      if (param_2 == iVar2) {
        return;
      }
      piVar13 = param_1 + param_6;
    } while( true );
  }
  puVar8 = (undefined4 *)*param_1;
  if (param_5 == -1) {
    iVar2 = -4;
  }
  else {
    uVar12 = *puVar8;
    iVar2 = param_5;
    puVar5 = param_7;
    puVar1 = puVar8;
    if (param_5 == 0) {
      iVar2 = 0;
      *param_7 = uVar12;
    }
    else {
      do {
        *puVar5 = uVar12;
        iVar2 = iVar2 + -1;
        uVar12 = puVar1[1];
        puVar5 = puVar5 + 1;
        puVar1 = puVar1 + 1;
      } while (iVar2 != 0);
      iVar2 = param_5 * 4;
      param_7[param_5] = uVar12;
    }
  }
  (*(code *)PTR___gmpn_add_n_0009d334)(puVar8,puVar8,*piVar13,param_5 + 1);
  iVar4 = (*(code *)PTR___gmpn_sub_n_0009d514)(*piVar13,param_7,*piVar13,param_5 + 1);
  puVar6 = (uint *)*param_1;
  uVar9 = *(uint *)((int)puVar6 + iVar2);
  if (1 < uVar9) {
    uVar11 = *puVar6;
    uVar9 = uVar9 - 1;
    *puVar6 = uVar11 - uVar9;
    if (uVar11 < uVar9) {
      if (1 < param_5) {
        uVar9 = puVar6[1];
        puVar6[1] = uVar9 - 1;
        if (uVar9 == 0) {
          if (param_5 == 2) goto LAB_000419c4;
          uVar9 = puVar6[2];
          puVar6[2] = uVar9 - 1;
          if (uVar9 == 0) {
            iVar10 = 3;
            puVar7 = puVar6 + 3;
            do {
              if (param_5 == iVar10) goto LAB_000419c4;
              uVar9 = *puVar7;
              iVar10 = iVar10 + 1;
              *puVar7 = uVar9 - 1;
              puVar7 = puVar7 + 1;
            } while (uVar9 == 0);
          }
        }
        goto LAB_00041a78;
      }
LAB_000419c4:
      uVar9 = 0;
    }
    else {
LAB_00041a78:
      uVar9 = 1;
    }
    *(uint *)((int)puVar6 + iVar2) = uVar9;
  }
  if (iVar4 == 0) {
    return;
  }
  puVar6 = (uint *)*piVar13;
  piVar13 = (int *)((int)puVar6 + iVar2);
  iVar2 = *piVar13;
  uVar9 = *puVar6 - iVar2;
  *puVar6 = uVar9;
  if (uVar9 < (uint)-iVar2) {
    if (param_5 < 2) {
LAB_00041a5c:
      *piVar13 = 1;
      return;
    }
    uVar9 = puVar6[1];
    puVar6[1] = uVar9 + 1;
    if (uVar9 + 1 == 0) {
      if (param_5 == 2) goto LAB_00041a5c;
      uVar9 = puVar6[2];
      puVar6[2] = uVar9 + 1;
      if (uVar9 + 1 == 0) {
        iVar2 = 3;
        puVar6 = puVar6 + 3;
        do {
          if (param_5 == iVar2) goto LAB_00041a5c;
          uVar9 = *puVar6;
          iVar2 = iVar2 + 1;
          *puVar6 = uVar9 + 1;
          puVar6 = puVar6 + 1;
        } while (uVar9 + 1 == 0);
      }
    }
  }
  *piVar13 = 0;
  return;
}

