
void mpn_divappr_q(mp_ptr qp,mp_srcptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn,mp_ptr scratch)

{
  bool bVar1;
  longlong lVar2;
  undefined *puVar3;
  int iVar4;
  uint uVar5;
  gmp_pi1_t *pgVar6;
  undefined1 *puVar7;
  mp_ptr pmVar8;
  uint *puVar9;
  mp_limb_t *pmVar10;
  mp_limb_t mVar11;
  uint uVar12;
  mp_size_t mVar13;
  uint uVar14;
  mp_ptr pmVar15;
  uint uVar16;
  uint uVar17;
  uint *puVar18;
  int iVar19;
  undefined4 unaff_s5;
  int n;
  undefined4 unaff_s6;
  mp_ptr np_00;
  undefined4 unaff_s7;
  undefined *puVar20;
  int iVar21;
  int iVar22;
  undefined1 *puVar23;
  code *pcVar24;
  uint uVar25;
  uint uVar26;
  undefined1 auStack_58 [16];
  mp_size_t mStack_48;
  gmp_pi1_t *pgStack_44;
  gmp_pi1_t inv;
  tmp_reentrant_t *__tmp_marker;
  uint *local_24;
  
  puVar3 = PTR___stack_chk_guard_00097540;
  puVar7 = auStack_58;
  puVar23 = auStack_58;
  local_24 = *(uint **)PTR___stack_chk_guard_00097540;
  if (nn != 0) {
    iVar4 = nn + -1;
    mVar11 = *np;
    if (iVar4 == 0) {
      *scratch = mVar11;
    }
    else {
      pmVar8 = scratch;
      pmVar10 = np + 1;
      do {
        *pmVar8 = mVar11;
        iVar4 = iVar4 + -1;
        mVar11 = *pmVar10;
        pmVar8 = pmVar8 + 1;
        pmVar10 = pmVar10 + 1;
      } while (iVar4 != 0);
      scratch[nn + -1] = mVar11;
    }
  }
  uVar14 = dp[dn + -1];
  uVar12 = uVar14 >> 0x10;
  if (uVar12 == 0) {
    trap(7);
  }
  uVar25 = ~uVar14 / uVar12;
  uVar16 = (uVar14 & 0xffff) * uVar25;
  uVar5 = ~uVar14 % uVar12 << 0x10 | 0xffff;
  uVar17 = uVar25;
  if (uVar5 < uVar16) {
    uVar5 = uVar5 + uVar14;
    uVar17 = uVar25 - 1;
    if ((uVar14 <= uVar5) && (uVar5 < uVar16)) {
      uVar17 = uVar25 - 2;
      uVar5 = uVar5 + uVar14;
    }
  }
  if (uVar12 == 0) {
    trap(7);
  }
  uVar26 = (uVar5 - uVar16) / uVar12;
  uVar25 = (uVar14 & 0xffff) * uVar26;
  uVar5 = (uVar5 - uVar16) % uVar12 << 0x10 | 0xffff;
  uVar16 = uVar14 + uVar5;
  uVar12 = uVar26;
  if (((uVar5 < uVar25) && (uVar12 = uVar26 - 1, uVar14 <= uVar16)) && (uVar16 < uVar25)) {
    uVar12 = uVar26 - 2;
  }
  uVar5 = (dp + dn + -1)[-1];
  pgVar6 = (gmp_pi1_t *)(uVar17 << 0x10 | uVar12);
  uVar12 = uVar14 * (int)pgVar6 + uVar5;
  lVar2 = (ulonglong)uVar5 * ZEXT48(pgVar6);
  if (uVar12 < uVar5) {
    uVar16 = uVar12 < uVar14 ^ 1;
    uVar17 = uVar14;
    if (uVar16 == 0) {
      uVar17 = 0;
    }
    pgVar6 = (gmp_pi1_t *)((int)pgVar6 + (-1 - uVar16));
    uVar12 = (uVar12 - uVar14) - uVar17;
    lVar2 = (ulonglong)uVar5 * ZEXT48(pgVar6);
  }
  uVar17 = (uint)((ulonglong)lVar2 >> 0x20);
  uVar12 = uVar12 + uVar17;
  inv.inv32 = (mp_limb_t)pgVar6;
  if ((uVar12 < uVar17) && (inv.inv32 = (int)&pgVar6[-1].inv32 + 3, uVar14 <= uVar12)) {
    if (uVar14 < uVar12) {
      inv.inv32 = (int)&pgVar6[-1].inv32 + 2;
    }
    else if (uVar5 <= (uint)lVar2) {
      inv.inv32 = (mp_limb_t)((int)&pgVar6[-1].inv32 + 2);
    }
  }
  mVar13 = nn;
  if (dn < 200) {
    mStack_48 = dn;
    pgStack_44 = (gmp_pi1_t *)inv.inv32;
    mVar11 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(qp);
  }
  else if (dn < 2000) {
    pgStack_44 = &inv;
    mStack_48 = dn;
    mVar11 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(qp);
    puVar7 = auStack_58;
  }
  else {
    iVar4 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(nn,dn,0);
    __tmp_marker = (tmp_reentrant_t *)0x0;
    if ((uint)(iVar4 * 4) < 0x7f01) {
      iVar4 = -(iVar4 * 4 + 7U & 0xfffffff8);
      puVar23 = auStack_58 + iVar4;
      puVar7 = &stack0xffffffc0 + iVar4;
    }
    else {
      puVar7 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);
    }
    *(undefined1 **)(puVar23 + 0x14) = puVar7;
    *(mp_size_t *)(puVar23 + 0x10) = dn;
    scratch = np;
    mVar11 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(qp);
    puVar7 = puVar23;
    if (__tmp_marker != (tmp_reentrant_t *)0x0) {
      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();
    }
  }
  puVar9 = *(uint **)puVar3;
  qp[nn - dn] = mVar11;
  if (local_24 == puVar9) {
    return;
  }
  pcVar24 = mpn_dc_sqrtrem;
  puVar9 = local_24;
  puVar20 = PTR___stack_chk_fail_000974d0;
  (*(code *)PTR___stack_chk_fail_000974d0)();
  *(undefined **)(puVar7 + -0x40) = puVar20 + 0x596fc;
  *(mp_ptr *)(puVar7 + -0x20) = qp + (nn - dn);
  *(undefined **)(puVar7 + -0x24) = puVar3;
  *(mp_ptr *)(puVar7 + -0x28) = qp;
  *(code **)(puVar7 + -4) = pcVar24;
  *(undefined1 **)(puVar7 + -8) = auStack_58;
  *(undefined4 *)(puVar7 + -0xc) = unaff_s7;
  *(undefined4 *)(puVar7 + -0x10) = unaff_s6;
  *(undefined4 *)(puVar7 + -0x14) = unaff_s5;
  *(mp_srcptr *)(puVar7 + -0x18) = np;
  *(mp_size_t *)(puVar7 + -0x1c) = dn;
  *(mp_srcptr *)(puVar7 + 0xc) = dp;
  puVar18 = *(uint **)(puVar7 + 0x10);
  if (mVar13 == 1) {
    uVar12 = *scratch;
    mVar11 = mpn_sqrtrem1(scratch,scratch[1]);
    uVar14 = (uVar12 >> 0x11) + *scratch * 0x8000;
    if (mVar11 == 0) {
      trap(7);
    }
    uVar17 = uVar14 / mVar11;
    uVar17 = uVar17 - (uVar17 >> 0x10);
    uVar14 = uVar14 - mVar11 * uVar17;
    uVar12 = uVar14 * 0x20000 + (uVar12 & 0x1ffff);
    uVar5 = uVar17 | mVar11 << 0x10;
    mVar11 = uVar12 - uVar17 * uVar17;
    if ((uVar14 >> 0xf) - (uint)(uVar12 < uVar17 * uVar17) == -1) {
      *scratch = uVar5 + mVar11 + (uVar5 - 1);
      *puVar9 = uVar5 - 1;
    }
    else {
      *scratch = mVar11;
      *puVar9 = uVar5;
    }
    return;
  }
  *(uint **)(puVar7 + -0x50) = puVar18;
  iVar4 = mVar13 / 2;
  n = mVar13 - iVar4;
  np_00 = scratch + iVar4 * 2;
  pmVar8 = puVar9 + iVar4;
  mVar11 = mpn_dc_sqrtrem(pmVar8,np_00,n,0,*(mp_ptr *)(puVar7 + -0x50));
  iVar21 = *(int *)(puVar7 + -0x40);
  if (mVar11 != 0) {
    pcVar24 = *(code **)(iVar21 + -0x7b2c);
    *(mp_limb_t *)(puVar7 + -0x34) = mVar11;
    (*pcVar24)(np_00,np_00,pmVar8,n);
    iVar21 = *(int *)(puVar7 + -0x40);
    mVar11 = *(mp_limb_t *)(puVar7 + -0x34);
  }
  pmVar15 = scratch + iVar4;
  pcVar24 = *(code **)(iVar21 + -0x7a30);
  *(mp_limb_t *)(puVar7 + -0x34) = mVar11;
  *(mp_ptr *)(puVar7 + -0x30) = pmVar15;
  *(int *)(puVar7 + -0x48) = n;
  *(mp_ptr *)(puVar7 + -0x4c) = pmVar8;
  *(mp_size_t *)(puVar7 + -0x50) = mVar13;
  (*pcVar24)(puVar18,pmVar15,0,pmVar15);
  uVar12 = *puVar18;
  pcVar24 = *(code **)(*(int *)(puVar7 + -0x40) + -0x7ae0);
  *(uint *)(puVar7 + -0x34) = *(int *)(puVar7 + -0x34) + puVar18[iVar4];
  (*pcVar24)(puVar9,puVar18,iVar4,1);
  uVar17 = *(uint *)(puVar7 + -0x34);
  iVar21 = *(int *)(puVar7 + -0x40);
  puVar9[iVar4 + -1] = puVar9[iVar4 + -1] | uVar17 << 0x1f;
  uVar14 = *puVar9;
  *(uint *)(puVar7 + -0x2c) = *(uint *)(puVar7 + 0xc) & uVar14;
  if ((*(uint *)(puVar7 + 0xc) & uVar14) == 0) {
    uVar17 = uVar17 >> 1;
    if ((uVar12 & 1) == 0) {
      iVar19 = 0;
    }
    else {
      pcVar24 = *(code **)(iVar21 + -0x7d0c);
      *(uint *)(puVar7 + -0x34) = uVar17;
      iVar19 = (*pcVar24)(*(undefined4 *)(puVar7 + -0x30),*(undefined4 *)(puVar7 + -0x30),pmVar8,n);
      iVar21 = *(int *)(puVar7 + -0x40);
      uVar17 = *(uint *)(puVar7 + -0x34);
    }
    pcVar24 = *(code **)(iVar21 + -0x7cac);
    *(uint *)(puVar7 + -0x34) = uVar17;
    (*pcVar24)(scratch + mVar13,puVar9,iVar4);
    iVar21 = (**(code **)(*(int *)(puVar7 + -0x40) + -0x7b2c))
                       (scratch,scratch,scratch + mVar13,iVar4 << 1);
    uVar14 = *(uint *)(puVar7 + -0x34);
    iVar22 = *(int *)(puVar7 + -0x40);
    uVar12 = iVar21 + uVar14;
    if (iVar4 != n) {
      mVar11 = *np_00 - uVar12;
      uVar12 = (uint)(*np_00 < uVar12);
      *np_00 = mVar11;
    }
    if ((int)(iVar19 - uVar12) < 0) {
      mVar11 = *pmVar8;
      *pmVar8 = uVar14 + mVar11;
      if (uVar14 + mVar11 < uVar14) {
        if (n < 2) {
LAB_00045c64:
          *(undefined4 *)(puVar7 + -0x2c) = 2;
        }
        else {
          mVar11 = pmVar8[1];
          pmVar8[1] = mVar11 + 1;
          if (mVar11 + 1 == 0) {
            iVar4 = 2;
            pmVar8 = pmVar8 + 2;
            do {
              bVar1 = n == iVar4;
              iVar4 = iVar4 + 1;
              if (bVar1) goto LAB_00045c64;
              mVar11 = *pmVar8;
              *pmVar8 = mVar11 + 1;
              pmVar8 = pmVar8 + 1;
            } while (mVar11 + 1 == 0);
          }
        }
      }
      (**(code **)(iVar22 + -0x7f70))(scratch,puVar9,mVar13,2);
      mVar11 = *scratch;
      *scratch = mVar11 - 1;
      if (mVar11 == 0) {
        if (mVar13 < 2) {
          *puVar9 = *puVar9 - 1;
          return;
        }
        mVar11 = scratch[1];
        scratch[1] = mVar11 - 1;
        if (mVar11 == 0) {
          iVar4 = 2;
          pmVar8 = scratch + 2;
          do {
            bVar1 = mVar13 == iVar4;
            iVar4 = iVar4 + 1;
            if (bVar1) break;
            mVar11 = *pmVar8;
            *pmVar8 = mVar11 - 1;
            pmVar8 = pmVar8 + 1;
          } while (mVar11 == 0);
        }
        uVar12 = *puVar9;
        *puVar9 = uVar12 - 1;
        if (uVar12 != 0) {
          return;
        }
        uVar12 = puVar9[1];
      }
      else {
        uVar12 = *puVar9;
        *puVar9 = uVar12 - 1;
        if (uVar12 != 0) {
          return;
        }
        if (mVar13 < 2) {
          return;
        }
        uVar12 = puVar9[1];
      }
      puVar9[1] = uVar12 - 1;
      if (uVar12 == 0) {
        iVar4 = 2;
        puVar9 = puVar9 + 2;
        do {
          bVar1 = mVar13 <= iVar4;
          iVar4 = iVar4 + 1;
          if (bVar1) {
            return;
          }
          uVar12 = *puVar9;
          *puVar9 = uVar12 - 1;
          puVar9 = puVar9 + 1;
        } while (uVar12 == 0);
      }
    }
  }
  return;
}



int FUN_00045608(int param_1,uint *param_2,int param_3,int param_4,int param_5,uint *param_6)

{
  bool bVar1;
  longlong lVar2;
  undefined *puVar3;
  int iVar4;
  uint uVar5;
  undefined4 ******ppppppuVar6;
  int iVar7;
  undefined1 *puVar8;
  uint uVar9;
  uint uVar10;
  uint *puVar11;
  uint *puVar12;
  uint uVar13;
  uint uVar14;
  int *piVar15;
  uint *puVar16;
  int iVar17;
  uint *puVar18;
  undefined4 unaff_s5;
  int iVar19;
  undefined4 unaff_s6;
  uint *puVar20;
  undefined4 unaff_s7;
  undefined *puVar21;
  int iVar22;
  int iVar23;
  undefined1 *puVar24;
  code *pcVar25;
  uint uVar26;
  uint uVar27;
  undefined1 auStack_58 [16];
  int local_48;
  undefined4 *****local_44;
  undefined4 *****local_2c;
  int local_28;
  uint *local_24;
  
  puVar3 = PTR___stack_chk_guard_00097540;
  puVar8 = auStack_58;
  puVar24 = auStack_58;
  local_24 = *(uint **)PTR___stack_chk_guard_00097540;
  if (param_3 != 0) {
    iVar4 = param_3 + -1;
    uVar9 = *param_2;
    if (iVar4 == 0) {
      *param_6 = uVar9;
    }
    else {
      puVar11 = param_6;
      puVar16 = param_2 + 1;
      do {
        *puVar11 = uVar9;
        iVar4 = iVar4 + -1;
        uVar9 = *puVar16;
        puVar11 = puVar11 + 1;
        puVar16 = puVar16 + 1;
      } while (iVar4 != 0);
      param_6[param_3 + -1] = uVar9;
    }
  }
  puVar11 = (uint *)(param_4 + param_5 * 4 + -4);
  uVar10 = *puVar11;
  uVar9 = uVar10 >> 0x10;
  if (uVar9 == 0) {
    trap(7);
  }
  uVar26 = ~uVar10 / uVar9;
  uVar13 = (uVar10 & 0xffff) * uVar26;
  uVar5 = ~uVar10 % uVar9 << 0x10 | 0xffff;
  uVar14 = uVar26;
  if (uVar5 < uVar13) {
    uVar5 = uVar5 + uVar10;
    uVar14 = uVar26 - 1;
    if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {
      uVar14 = uVar26 - 2;
      uVar5 = uVar5 + uVar10;
    }
  }
  if (uVar9 == 0) {
    trap(7);
  }
  uVar27 = (uVar5 - uVar13) / uVar9;
  uVar26 = (uVar10 & 0xffff) * uVar27;
  uVar5 = (uVar5 - uVar13) % uVar9 << 0x10 | 0xffff;
  uVar13 = uVar10 + uVar5;
  uVar9 = uVar27;
  if (((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26)) {
    uVar9 = uVar27 - 2;
  }
  uVar5 = puVar11[-1];
  ppppppuVar6 = (undefined4 ******)(uVar14 << 0x10 | uVar9);
  uVar9 = uVar10 * (int)ppppppuVar6 + uVar5;
  lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);
  if (uVar9 < uVar5) {
    uVar13 = uVar9 < uVar10 ^ 1;
    uVar14 = uVar10;
    if (uVar13 == 0) {
      uVar14 = 0;
    }
    ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));
    uVar9 = (uVar9 - uVar10) - uVar14;
    lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);
  }
  uVar14 = (uint)((ulonglong)lVar2 >> 0x20);
  uVar9 = uVar9 + uVar14;
  local_2c = ppppppuVar6;
  if ((uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)) {
    if (uVar10 < uVar9) {
      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);
    }
    else if (uVar5 <= (uint)lVar2) {
      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);
    }
  }
  iVar4 = param_3;
  if (param_5 < 200) {
    local_48 = param_5;
    local_44 = local_2c;
    iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);
  }
  else if (param_5 < 2000) {
    local_44 = &local_2c;
    local_48 = param_5;
    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);
    puVar8 = auStack_58;
  }
  else {
    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);
    local_28 = 0;
    if ((uint)(iVar7 * 4) < 0x7f01) {
      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);
      puVar24 = auStack_58 + iVar7;
      puVar8 = &stack0xffffffc0 + iVar7;
    }
    else {
      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);
    }
    *(undefined1 **)(puVar24 + 0x14) = puVar8;
    *(int *)(puVar24 + 0x10) = param_5;
    param_6 = param_2;
    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);
    puVar8 = puVar24;
    if (local_28 != 0) {
      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();
    }
  }
  puVar11 = *(uint **)puVar3;
  piVar15 = (int *)(param_1 + (param_3 - param_5) * 4);
  *piVar15 = iVar7;
  if (local_24 == puVar11) {
    return iVar7;
  }
  pcVar25 = FUN_00045944;
  puVar11 = local_24;
  puVar21 = PTR___stack_chk_fail_000974d0;
  (*(code *)PTR___stack_chk_fail_000974d0)();
  *(undefined **)(puVar8 + -0x40) = puVar21 + 0x596fc;
  *(int **)(puVar8 + -0x20) = piVar15;
  *(undefined **)(puVar8 + -0x24) = puVar3;
  *(int *)(puVar8 + -0x28) = param_1;
  *(code **)(puVar8 + -4) = pcVar25;
  *(undefined1 **)(puVar8 + -8) = auStack_58;
  *(undefined4 *)(puVar8 + -0xc) = unaff_s7;
  *(undefined4 *)(puVar8 + -0x10) = unaff_s6;
  *(undefined4 *)(puVar8 + -0x14) = unaff_s5;
  *(uint **)(puVar8 + -0x18) = param_2;
  *(int *)(puVar8 + -0x1c) = param_5;
  *(int *)(puVar8 + 0xc) = param_4;
  puVar16 = *(uint **)(puVar8 + 0x10);
  if (iVar4 == 1) {
    uVar10 = *param_6;
    uVar9 = FUN_00045580(param_6,param_6[1]);
    uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;
    if (uVar9 == 0) {
      trap(7);
    }
    uVar5 = uVar14 / uVar9;
    uVar5 = uVar5 - (uVar5 >> 0x10);
    uVar14 = uVar14 - uVar9 * uVar5;
    uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);
    uVar9 = uVar5 | uVar9 << 0x10;
    iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);
    uVar10 = uVar10 - uVar5 * uVar5;
    if (iVar4 == -1) {
      uVar10 = uVar9 + uVar10;
      uVar5 = uVar9 - 1;
      uVar14 = uVar10 + uVar5;
      *param_6 = uVar14;
      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);
      *puVar11 = uVar5;
    }
    else {
      *param_6 = uVar10;
      *puVar11 = uVar9;
    }
    return iVar4;
  }
  *(uint **)(puVar8 + -0x50) = puVar16;
  iVar17 = iVar4 / 2;
  iVar19 = iVar4 - iVar17;
  puVar20 = param_6 + iVar17 * 2;
  puVar18 = puVar11 + iVar17;
  iVar7 = FUN_00045944(puVar18,puVar20,iVar19,0);
  iVar22 = *(int *)(puVar8 + -0x40);
  if (iVar7 != 0) {
    pcVar25 = *(code **)(iVar22 + -0x7b2c);
    *(int *)(puVar8 + -0x34) = iVar7;
    (*pcVar25)(puVar20,puVar20,puVar18,iVar19);
    iVar22 = *(int *)(puVar8 + -0x40);
    iVar7 = *(int *)(puVar8 + -0x34);
  }
  puVar12 = param_6 + iVar17;
  pcVar25 = *(code **)(iVar22 + -0x7a30);
  *(int *)(puVar8 + -0x34) = iVar7;
  *(uint **)(puVar8 + -0x30) = puVar12;
  *(int *)(puVar8 + -0x48) = iVar19;
  *(uint **)(puVar8 + -0x4c) = puVar18;
  *(int *)(puVar8 + -0x50) = iVar4;
  (*pcVar25)(puVar16,puVar12,0,puVar12);
  uVar9 = *puVar16;
  pcVar25 = *(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0);
  *(uint *)(puVar8 + -0x34) = *(int *)(puVar8 + -0x34) + puVar16[iVar17];
  (*pcVar25)(puVar11,puVar16,iVar17,1);
  uVar14 = *(uint *)(puVar8 + -0x34);
  iVar7 = *(int *)(puVar8 + -0x40);
  puVar11[iVar17 + -1] = puVar11[iVar17 + -1] | uVar14 << 0x1f;
  uVar10 = *puVar11;
  *(uint *)(puVar8 + -0x2c) = *(uint *)(puVar8 + 0xc) & uVar10;
  if ((*(uint *)(puVar8 + 0xc) & uVar10) == 0) {
    uVar14 = uVar14 >> 1;
    if ((uVar9 & 1) == 0) {
      iVar22 = 0;
    }
    else {
      pcVar25 = *(code **)(iVar7 + -0x7d0c);
      *(uint *)(puVar8 + -0x34) = uVar14;
      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,
                          iVar19);
      iVar7 = *(int *)(puVar8 + -0x40);
      uVar14 = *(uint *)(puVar8 + -0x34);
    }
    pcVar25 = *(code **)(iVar7 + -0x7cac);
    *(uint *)(puVar8 + -0x34) = uVar14;
    (*pcVar25)(param_6 + iVar4,puVar11,iVar17);
    iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))
                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);
    uVar10 = *(uint *)(puVar8 + -0x34);
    iVar23 = *(int *)(puVar8 + -0x40);
    uVar9 = iVar7 + uVar10;
    if (iVar17 != iVar19) {
      uVar14 = *puVar20 - uVar9;
      uVar9 = (uint)(*puVar20 < uVar9);
      *puVar20 = uVar14;
    }
    iVar22 = iVar22 - uVar9;
    if (iVar22 < 0) {
      uVar9 = *puVar18;
      *puVar18 = uVar10 + uVar9;
      if (uVar10 + uVar9 < uVar10) {
        if (iVar19 < 2) {
LAB_00045c64:
          *(undefined4 *)(puVar8 + -0x2c) = 2;
        }
        else {
          uVar9 = puVar18[1];
          puVar18[1] = uVar9 + 1;
          if (uVar9 + 1 == 0) {
            iVar7 = 2;
            puVar16 = puVar18 + 2;
            do {
              bVar1 = iVar19 == iVar7;
              iVar7 = iVar7 + 1;
              if (bVar1) goto LAB_00045c64;
              uVar9 = *puVar16;
              *puVar16 = uVar9 + 1;
              puVar16 = puVar16 + 1;
            } while (uVar9 + 1 == 0);
          }
        }
      }
      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);
      uVar9 = *param_6;
      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);
      *param_6 = uVar9 - 1;
      if (uVar9 == 0) {
        if (iVar4 < 2) {
          *puVar11 = *puVar11 - 1;
          return iVar22 + -1;
        }
        uVar9 = param_6[1];
        param_6[1] = uVar9 - 1;
        if (uVar9 == 0) {
          iVar7 = 2;
          puVar16 = param_6 + 2;
          do {
            bVar1 = iVar4 == iVar7;
            iVar7 = iVar7 + 1;
            if (bVar1) {
              iVar22 = iVar22 + -1;
              break;
            }
            uVar9 = *puVar16;
            *puVar16 = uVar9 - 1;
            puVar16 = puVar16 + 1;
          } while (uVar9 == 0);
        }
        uVar9 = *puVar11;
        *puVar11 = uVar9 - 1;
        if (uVar9 != 0) {
          return iVar22;
        }
        uVar9 = puVar11[1];
      }
      else {
        uVar9 = *puVar11;
        *puVar11 = uVar9 - 1;
        if (uVar9 != 0) {
          return iVar22;
        }
        if (iVar4 < 2) {
          return iVar22;
        }
        uVar9 = puVar11[1];
      }
      puVar11[1] = uVar9 - 1;
      if (uVar9 == 0) {
        iVar7 = 2;
        puVar11 = puVar11 + 2;
        do {
          bVar1 = iVar4 <= iVar7;
          iVar7 = iVar7 + 1;
          if (bVar1) {
            return iVar22;
          }
          uVar9 = *puVar11;
          *puVar11 = uVar9 - 1;
          puVar11 = puVar11 + 1;
        } while (uVar9 == 0);
      }
    }
  }
  else {
    iVar22 = 1;
  }
  return iVar22;
}


lui gp,0x6
addiu gp,gp,-0x65c8
addu gp,gp,t9
addiu sp,sp,-0x58
sw s1,0x40(sp)
lw s1,-0x7b00(gp)
sw s8,0x50(sp)
or s8,sp,zero
sw s4,0x4c(sp)
or s4,a1,zero
sw s3,0x48(sp)
sw s2,0x44(sp)
or s2,a2,zero
sw s0,0x3c(sp)
or s0,a0,zero
sw ra,0x54(sp)
sw gp,0x18(sp)
lw v0,0x0(s1)
lw s3,0x68(s8)
lw a1,0x6c(s8)
sw v0,0x34(s8)
beq a2,zero,0x000456a4
_sll t1,s3,0x2
addiu v0,a2,-0x1
beq v0,zero,0x0004588c
_lw a2,0x0(s4)
addiu a0,s4,0x4
or v1,a1,zero
addiu v1,v1,0x4
sw a2,-0x4(v1)
addiu a0,a0,0x4
addiu v0,v0,-0x1
bne v0,zero,0x00045678
_lw a2,-0x4(a0)
sll v0,s2,0x2
addiu v0,v0,-0x4
addu v0,a1,v0
sw a2,0x0(v0)
sll t1,s3,0x2
addiu t1,t1,-0x4
addu t1,a3,t1
lw t0,0x0(t1)
srl a2,t0,0x10
nor v1,zero,t0
teq a2,zero
divu v1,a2
andi t2,t0,0xffff
mflo v1
mfhi a0
mul t3,t2,v1
sll a0,a0,0x10
ori v0,a0,0xffff
sltu a0,v0,t3
beq a0,zero,0x00045708
_nop
addu v0,v0,t0
sltu a0,v0,t0
bne a0,zero,0x00045884
_addiu t4,v1,-0x1
sltu a0,v0,t3
beq a0,zero,0x00045884
_nop
addiu v1,v1,-0x2
addu v0,v0,t0
subu v0,v0,t3
teq a2,zero
divu v0,a2
mflo v0
mfhi a2
mul t2,t2,v0
sll a2,a2,0x10
ori a2,a2,0xffff
sltu a0,a2,t2
beq a0,zero,0x00045750
_addu a2,t0,a2
sltu a0,a2,t0
bne a0,zero,0x0004587c
_addiu t3,v0,-0x1
sltu a2,a2,t2
beq a2,zero,0x0004587c
_nop
addiu v0,v0,-0x2
sll v1,v1,0x10
lw a0,-0x4(t1)
or v0,v1,v0
mul a2,t0,v0
addu v1,a2,a0
sltu a2,v1,a0
beq a2,zero,0x00045794
_multu a0,v0
sltu a2,v1,t0
xori a2,a2,0x1
or t1,t0,zero
movz t1,zero,a2
subu v1,v1,t0
addiu v0,v0,-0x1
subu v0,v0,a2
subu v1,v1,t1
multu a0,v0
mfhi t2
addu v1,v1,t2
sltu a2,v1,t2
beq a2,zero,0x000457b8
_mflo t3
sltu a2,v1,t0
beq a2,zero,0x000458dc
_addiu t1,v0,-0x1
or v0,t1,zero
slti v1,s3,0xc8
bne v1,zero,0x000458bc
_sw v0,0x2c(s8)
slti v0,s3,0x7d0
bne v0,zero,0x00045898
_lw t9,-0x7aa8(gp)
or a2,zero,zero
sw a3,0x24(s8)
or a1,s3,zero
jalr t9
_or a0,s2,zero
sll a1,v0,0x2
lw gp,0x18(s8)
lw a3,0x24(s8)
sltiu v0,a1,0x7f01
beq v0,zero,0x00045904
_sw zero,0x30(s8)
addiu a1,a1,0x7
srl a1,a1,0x3
sll a1,a1,0x3
subu sp,sp,a1
addiu v0,sp,0x18
lw t9,-0x7c30(gp)
or a0,s0,zero
sw v0,0x14(sp)
or a2,s2,zero
sw s3,0x10(sp)
jalr t9
_or a1,s4,zero
lw a0,0x30(s8)
bne a0,zero,0x00045920
_lw gp,0x18(s8)
subu s2,s2,s3
lw a0,0x34(s8)
lw v1,0x0(s1)
sll s2,s2,0x2
addu s2,s0,s2
bne a0,v1,0x00045938
_sw v0,0x0(s2)
or sp,s8,zero
lw ra,0x54(sp)
lw s8,0x50(sp)
lw s4,0x4c(sp)
lw s3,0x48(sp)
lw s2,0x44(sp)
lw s1,0x40(sp)
lw s0,0x3c(sp)
jr ra
_addiu sp,sp,0x58
b 0x00045750
_or v0,t3,zero
b 0x00045708
_or v1,t4,zero
or v0,a1,zero
b 0x000456a0
_sw a2,0x0(v0)
lw t9,-0x7bb0(gp)
addiu v0,s8,0x2c
sw s3,0x10(sp)
or a2,s2,zero
sw v0,0x14(sp)
jalr t9
_or a0,s0,zero
b 0x00045838
_lw gp,0x18(s8)
lw t9,-0x7c2c(gp)
or a2,s2,zero
sw v0,0x14(sp)
or a0,s0,zero
jalr t9
_sw s3,0x10(sp)
b 0x00045838
_lw gp,0x18(s8)
sltu t0,t0,v1
beq t0,zero,0x000458f0
_nop
b 0x000457b8
_addiu v0,v0,-0x2
sltu a0,t3,a0
bne a0,zero,0x000457b4
_addiu v0,v0,-0x2
b 0x000457bc
_slti v1,s3,0xc8
lw t9,-0x7d50(gp)
addiu a0,s8,0x30
jalr t9
_sw a3,0x24(s8)
lw gp,0x18(s8)
b 0x00045810
_lw a3,0x24(s8)
lw t9,-0x7a2c(gp)
jalr t9
_sw v0,0x24(s8)
lw gp,0x18(s8)
b 0x00045838
_lw v0,0x24(s8)
lw t9,-0x7b70(gp)
jalr t9
_nop
(translation_unit "int FUN_00045608(int param_1,uint *param_2,int param_3,int param_4,int param_5,uint *param_6)\n\n{\n  bool bVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  undefined4 ******ppppppuVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  uint uVar9;\n  uint uVar10;\n  uint *puVar11;\n  uint *puVar12;\n  uint uVar13;\n  uint uVar14;\n  int *piVar15;\n  uint *puVar16;\n  int iVar17;\n  uint *puVar18;\n  undefined4 unaff_s5;\n  int iVar19;\n  undefined4 unaff_s6;\n  uint *puVar20;\n  undefined4 unaff_s7;\n  undefined *puVar21;\n  int iVar22;\n  int iVar23;\n  undefined1 *puVar24;\n  code *pcVar25;\n  uint uVar26;\n  uint uVar27;\n  undefined1 auStack_58 [16];\n  int local_48;\n  undefined4 *****local_44;\n  undefined4 *****local_2c;\n  int local_28;\n  uint *local_24;\n  \n  puVar3 = PTR___stack_chk_guard_00097540;\n  puVar8 = auStack_58;\n  puVar24 = auStack_58;\n  local_24 = *(uint **)PTR___stack_chk_guard_00097540;\n  if (param_3 != 0) {\n    iVar4 = param_3 + -1;\n    uVar9 = *param_2;\n    if (iVar4 == 0) {\n      *param_6 = uVar9;\n    }\n    else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }\n  }\n  puVar11 = (uint *)(param_4 + param_5 * 4 + -4);\n  uVar10 = *puVar11;\n  uVar9 = uVar10 >> 0x10;\n  if (uVar9 == 0) {\n    trap(7);\n  }\n  uVar26 = ~uVar10 / uVar9;\n  uVar13 = (uVar10 & 0xffff) * uVar26;\n  uVar5 = ~uVar10 % uVar9 << 0x10 | 0xffff;\n  uVar14 = uVar26;\n  if (uVar5 < uVar13) {\n    uVar5 = uVar5 + uVar10;\n    uVar14 = uVar26 - 1;\n    if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }\n  }\n  if (uVar9 == 0) {\n    trap(7);\n  }\n  uVar27 = (uVar5 - uVar13) / uVar9;\n  uVar26 = (uVar10 & 0xffff) * uVar27;\n  uVar5 = (uVar5 - uVar13) % uVar9 << 0x10 | 0xffff;\n  uVar13 = uVar10 + uVar5;\n  uVar9 = uVar27;\n  if (((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26)) {\n    uVar9 = uVar27 - 2;\n  }\n  uVar5 = puVar11[-1];\n  ppppppuVar6 = (undefined4 ******)(uVar14 << 0x10 | uVar9);\n  uVar9 = uVar10 * (int)ppppppuVar6 + uVar5;\n  lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  if (uVar9 < uVar5) {\n    uVar13 = uVar9 < uVar10 ^ 1;\n    uVar14 = uVar10;\n    if (uVar13 == 0) {\n      uVar14 = 0;\n    }\n    ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));\n    uVar9 = (uVar9 - uVar10) - uVar14;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  }\n  uVar14 = (uint)((ulonglong)lVar2 >> 0x20);\n  uVar9 = uVar9 + uVar14;\n  local_2c = ppppppuVar6;\n  if ((uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)) {\n    if (uVar10 < uVar9) {\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }\n  }\n  iVar4 = param_3;\n  if (param_5 < 200) {\n    local_48 = param_5;\n    local_44 = local_2c;\n    iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);\n  }\n  else if (param_5 < 2000) {\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }\n  else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }\n  puVar11 = *(uint **)puVar3;\n  piVar15 = (int *)(param_1 + (param_3 - param_5) * 4);\n  *piVar15 = iVar7;\n  if (local_24 == puVar11) {\n    return iVar7;\n  }\n  pcVar25 = FUN_00045944;\n  puVar11 = local_24;\n  puVar21 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  *(undefined **)(puVar8 + -0x40) = puVar21 + 0x596fc;\n  *(int **)(puVar8 + -0x20) = piVar15;\n  *(undefined **)(puVar8 + -0x24) = puVar3;\n  *(int *)(puVar8 + -0x28) = param_1;\n  *(code **)(puVar8 + -4) = pcVar25;\n  *(undefined1 **)(puVar8 + -8) = auStack_58;\n  *(undefined4 *)(puVar8 + -0xc) = unaff_s7;\n  *(undefined4 *)(puVar8 + -0x10) = unaff_s6;\n  *(undefined4 *)(puVar8 + -0x14) = unaff_s5;\n  *(uint **)(puVar8 + -0x18) = param_2;\n  *(int *)(puVar8 + -0x1c) = param_5;\n  *(int *)(puVar8 + 0xc) = param_4;\n  puVar16 = *(uint **)(puVar8 + 0x10);\n  if (iVar4 == 1) {\n    uVar10 = *param_6;\n    uVar9 = FUN_00045580(param_6,param_6[1]);\n    uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;\n    if (uVar9 == 0) {\n      trap(7);\n    }\n    uVar5 = uVar14 / uVar9;\n    uVar5 = uVar5 - (uVar5 >> 0x10);\n    uVar14 = uVar14 - uVar9 * uVar5;\n    uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);\n    uVar9 = uVar5 | uVar9 << 0x10;\n    iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);\n    uVar10 = uVar10 - uVar5 * uVar5;\n    if (iVar4 == -1) {\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }\n    else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }\n    return iVar4;\n  }\n  *(uint **)(puVar8 + -0x50) = puVar16;\n  iVar17 = iVar4 / 2;\n  iVar19 = iVar4 - iVar17;\n  puVar20 = param_6 + iVar17 * 2;\n  puVar18 = puVar11 + iVar17;\n  iVar7 = FUN_00045944(puVar18,puVar20,iVar19,0);\n  iVar22 = *(int *)(puVar8 + -0x40);\n  if (iVar7 != 0) {\n    pcVar25 = *(code **)(iVar22 + -0x7b2c);\n    *(int *)(puVar8 + -0x34) = iVar7;\n    (*pcVar25)(puVar20,puVar20,puVar18,iVar19);\n    iVar22 = *(int *)(puVar8 + -0x40);\n    iVar7 = *(int *)(puVar8 + -0x34);\n  }\n  puVar12 = param_6 + iVar17;\n  pcVar25 = *(code **)(iVar22 + -0x7a30);\n  *(int *)(puVar8 + -0x34) = iVar7;\n  *(uint **)(puVar8 + -0x30) = puVar12;\n  *(int *)(puVar8 + -0x48) = iVar19;\n  *(uint **)(puVar8 + -0x4c) = puVar18;\n  *(int *)(puVar8 + -0x50) = iVar4;\n  (*pcVar25)(puVar16,puVar12,0,puVar12);\n  uVar9 = *puVar16;\n  pcVar25 = *(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0);\n  *(uint *)(puVar8 + -0x34) = *(int *)(puVar8 + -0x34) + puVar16[iVar17];\n  (*pcVar25)(puVar11,puVar16,iVar17,1);\n  uVar14 = *(uint *)(puVar8 + -0x34);\n  iVar7 = *(int *)(puVar8 + -0x40);\n  puVar11[iVar17 + -1] = puVar11[iVar17 + -1] | uVar14 << 0x1f;\n  uVar10 = *puVar11;\n  *(uint *)(puVar8 + -0x2c) = *(uint *)(puVar8 + 0xc) & uVar10;\n  if ((*(uint *)(puVar8 + 0xc) & uVar10) == 0) {\n    uVar14 = uVar14 >> 1;\n    if ((uVar9 & 1) == 0) {\n      iVar22 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }\n    pcVar25 = *(code **)(iVar7 + -0x7cac);\n    *(uint *)(puVar8 + -0x34) = uVar14;\n    (*pcVar25)(param_6 + iVar4,puVar11,iVar17);\n    iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);\n    uVar10 = *(uint *)(puVar8 + -0x34);\n    iVar23 = *(int *)(puVar8 + -0x40);\n    uVar9 = iVar7 + uVar10;\n    if (iVar17 != iVar19) {\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }\n    iVar22 = iVar22 - uVar9;\n    if (iVar22 < 0) {\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }\n  }\n  else {\n    iVar22 = 1;\n  }\n  return iVar22;\n}\n\n" (function_definition "int FUN_00045608(int param_1,uint *param_2,int param_3,int param_4,int param_5,uint *param_6)\n\n{\n  bool bVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  undefined4 ******ppppppuVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  uint uVar9;\n  uint uVar10;\n  uint *puVar11;\n  uint *puVar12;\n  uint uVar13;\n  uint uVar14;\n  int *piVar15;\n  uint *puVar16;\n  int iVar17;\n  uint *puVar18;\n  undefined4 unaff_s5;\n  int iVar19;\n  undefined4 unaff_s6;\n  uint *puVar20;\n  undefined4 unaff_s7;\n  undefined *puVar21;\n  int iVar22;\n  int iVar23;\n  undefined1 *puVar24;\n  code *pcVar25;\n  uint uVar26;\n  uint uVar27;\n  undefined1 auStack_58 [16];\n  int local_48;\n  undefined4 *****local_44;\n  undefined4 *****local_2c;\n  int local_28;\n  uint *local_24;\n  \n  puVar3 = PTR___stack_chk_guard_00097540;\n  puVar8 = auStack_58;\n  puVar24 = auStack_58;\n  local_24 = *(uint **)PTR___stack_chk_guard_00097540;\n  if (param_3 != 0) {\n    iVar4 = param_3 + -1;\n    uVar9 = *param_2;\n    if (iVar4 == 0) {\n      *param_6 = uVar9;\n    }\n    else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }\n  }\n  puVar11 = (uint *)(param_4 + param_5 * 4 + -4);\n  uVar10 = *puVar11;\n  uVar9 = uVar10 >> 0x10;\n  if (uVar9 == 0) {\n    trap(7);\n  }\n  uVar26 = ~uVar10 / uVar9;\n  uVar13 = (uVar10 & 0xffff) * uVar26;\n  uVar5 = ~uVar10 % uVar9 << 0x10 | 0xffff;\n  uVar14 = uVar26;\n  if (uVar5 < uVar13) {\n    uVar5 = uVar5 + uVar10;\n    uVar14 = uVar26 - 1;\n    if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }\n  }\n  if (uVar9 == 0) {\n    trap(7);\n  }\n  uVar27 = (uVar5 - uVar13) / uVar9;\n  uVar26 = (uVar10 & 0xffff) * uVar27;\n  uVar5 = (uVar5 - uVar13) % uVar9 << 0x10 | 0xffff;\n  uVar13 = uVar10 + uVar5;\n  uVar9 = uVar27;\n  if (((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26)) {\n    uVar9 = uVar27 - 2;\n  }\n  uVar5 = puVar11[-1];\n  ppppppuVar6 = (undefined4 ******)(uVar14 << 0x10 | uVar9);\n  uVar9 = uVar10 * (int)ppppppuVar6 + uVar5;\n  lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  if (uVar9 < uVar5) {\n    uVar13 = uVar9 < uVar10 ^ 1;\n    uVar14 = uVar10;\n    if (uVar13 == 0) {\n      uVar14 = 0;\n    }\n    ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));\n    uVar9 = (uVar9 - uVar10) - uVar14;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  }\n  uVar14 = (uint)((ulonglong)lVar2 >> 0x20);\n  uVar9 = uVar9 + uVar14;\n  local_2c = ppppppuVar6;\n  if ((uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)) {\n    if (uVar10 < uVar9) {\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }\n  }\n  iVar4 = param_3;\n  if (param_5 < 200) {\n    local_48 = param_5;\n    local_44 = local_2c;\n    iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);\n  }\n  else if (param_5 < 2000) {\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }\n  else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }\n  puVar11 = *(uint **)puVar3;\n  piVar15 = (int *)(param_1 + (param_3 - param_5) * 4);\n  *piVar15 = iVar7;\n  if (local_24 == puVar11) {\n    return iVar7;\n  }\n  pcVar25 = FUN_00045944;\n  puVar11 = local_24;\n  puVar21 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  *(undefined **)(puVar8 + -0x40) = puVar21 + 0x596fc;\n  *(int **)(puVar8 + -0x20) = piVar15;\n  *(undefined **)(puVar8 + -0x24) = puVar3;\n  *(int *)(puVar8 + -0x28) = param_1;\n  *(code **)(puVar8 + -4) = pcVar25;\n  *(undefined1 **)(puVar8 + -8) = auStack_58;\n  *(undefined4 *)(puVar8 + -0xc) = unaff_s7;\n  *(undefined4 *)(puVar8 + -0x10) = unaff_s6;\n  *(undefined4 *)(puVar8 + -0x14) = unaff_s5;\n  *(uint **)(puVar8 + -0x18) = param_2;\n  *(int *)(puVar8 + -0x1c) = param_5;\n  *(int *)(puVar8 + 0xc) = param_4;\n  puVar16 = *(uint **)(puVar8 + 0x10);\n  if (iVar4 == 1) {\n    uVar10 = *param_6;\n    uVar9 = FUN_00045580(param_6,param_6[1]);\n    uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;\n    if (uVar9 == 0) {\n      trap(7);\n    }\n    uVar5 = uVar14 / uVar9;\n    uVar5 = uVar5 - (uVar5 >> 0x10);\n    uVar14 = uVar14 - uVar9 * uVar5;\n    uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);\n    uVar9 = uVar5 | uVar9 << 0x10;\n    iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);\n    uVar10 = uVar10 - uVar5 * uVar5;\n    if (iVar4 == -1) {\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }\n    else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }\n    return iVar4;\n  }\n  *(uint **)(puVar8 + -0x50) = puVar16;\n  iVar17 = iVar4 / 2;\n  iVar19 = iVar4 - iVar17;\n  puVar20 = param_6 + iVar17 * 2;\n  puVar18 = puVar11 + iVar17;\n  iVar7 = FUN_00045944(puVar18,puVar20,iVar19,0);\n  iVar22 = *(int *)(puVar8 + -0x40);\n  if (iVar7 != 0) {\n    pcVar25 = *(code **)(iVar22 + -0x7b2c);\n    *(int *)(puVar8 + -0x34) = iVar7;\n    (*pcVar25)(puVar20,puVar20,puVar18,iVar19);\n    iVar22 = *(int *)(puVar8 + -0x40);\n    iVar7 = *(int *)(puVar8 + -0x34);\n  }\n  puVar12 = param_6 + iVar17;\n  pcVar25 = *(code **)(iVar22 + -0x7a30);\n  *(int *)(puVar8 + -0x34) = iVar7;\n  *(uint **)(puVar8 + -0x30) = puVar12;\n  *(int *)(puVar8 + -0x48) = iVar19;\n  *(uint **)(puVar8 + -0x4c) = puVar18;\n  *(int *)(puVar8 + -0x50) = iVar4;\n  (*pcVar25)(puVar16,puVar12,0,puVar12);\n  uVar9 = *puVar16;\n  pcVar25 = *(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0);\n  *(uint *)(puVar8 + -0x34) = *(int *)(puVar8 + -0x34) + puVar16[iVar17];\n  (*pcVar25)(puVar11,puVar16,iVar17,1);\n  uVar14 = *(uint *)(puVar8 + -0x34);\n  iVar7 = *(int *)(puVar8 + -0x40);\n  puVar11[iVar17 + -1] = puVar11[iVar17 + -1] | uVar14 << 0x1f;\n  uVar10 = *puVar11;\n  *(uint *)(puVar8 + -0x2c) = *(uint *)(puVar8 + 0xc) & uVar10;\n  if ((*(uint *)(puVar8 + 0xc) & uVar10) == 0) {\n    uVar14 = uVar14 >> 1;\n    if ((uVar9 & 1) == 0) {\n      iVar22 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }\n    pcVar25 = *(code **)(iVar7 + -0x7cac);\n    *(uint *)(puVar8 + -0x34) = uVar14;\n    (*pcVar25)(param_6 + iVar4,puVar11,iVar17);\n    iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);\n    uVar10 = *(uint *)(puVar8 + -0x34);\n    iVar23 = *(int *)(puVar8 + -0x40);\n    uVar9 = iVar7 + uVar10;\n    if (iVar17 != iVar19) {\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }\n    iVar22 = iVar22 - uVar9;\n    if (iVar22 < 0) {\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }\n  }\n  else {\n    iVar22 = 1;\n  }\n  return iVar22;\n}" primitive_type (function_declarator "FUN_00045608(int param_1,uint *param_2,int param_3,int param_4,int param_5,uint *param_6)" identifier (parameter_list "(int param_1,uint *param_2,int param_3,int param_4,int param_5,uint *param_6)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "uint *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  undefined4 ******ppppppuVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  uint uVar9;\n  uint uVar10;\n  uint *puVar11;\n  uint *puVar12;\n  uint uVar13;\n  uint uVar14;\n  int *piVar15;\n  uint *puVar16;\n  int iVar17;\n  uint *puVar18;\n  undefined4 unaff_s5;\n  int iVar19;\n  undefined4 unaff_s6;\n  uint *puVar20;\n  undefined4 unaff_s7;\n  undefined *puVar21;\n  int iVar22;\n  int iVar23;\n  undefined1 *puVar24;\n  code *pcVar25;\n  uint uVar26;\n  uint uVar27;\n  undefined1 auStack_58 [16];\n  int local_48;\n  undefined4 *****local_44;\n  undefined4 *****local_2c;\n  int local_28;\n  uint *local_24;\n  \n  puVar3 = PTR___stack_chk_guard_00097540;\n  puVar8 = auStack_58;\n  puVar24 = auStack_58;\n  local_24 = *(uint **)PTR___stack_chk_guard_00097540;\n  if (param_3 != 0) {\n    iVar4 = param_3 + -1;\n    uVar9 = *param_2;\n    if (iVar4 == 0) {\n      *param_6 = uVar9;\n    }\n    else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }\n  }\n  puVar11 = (uint *)(param_4 + param_5 * 4 + -4);\n  uVar10 = *puVar11;\n  uVar9 = uVar10 >> 0x10;\n  if (uVar9 == 0) {\n    trap(7);\n  }\n  uVar26 = ~uVar10 / uVar9;\n  uVar13 = (uVar10 & 0xffff) * uVar26;\n  uVar5 = ~uVar10 % uVar9 << 0x10 | 0xffff;\n  uVar14 = uVar26;\n  if (uVar5 < uVar13) {\n    uVar5 = uVar5 + uVar10;\n    uVar14 = uVar26 - 1;\n    if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }\n  }\n  if (uVar9 == 0) {\n    trap(7);\n  }\n  uVar27 = (uVar5 - uVar13) / uVar9;\n  uVar26 = (uVar10 & 0xffff) * uVar27;\n  uVar5 = (uVar5 - uVar13) % uVar9 << 0x10 | 0xffff;\n  uVar13 = uVar10 + uVar5;\n  uVar9 = uVar27;\n  if (((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26)) {\n    uVar9 = uVar27 - 2;\n  }\n  uVar5 = puVar11[-1];\n  ppppppuVar6 = (undefined4 ******)(uVar14 << 0x10 | uVar9);\n  uVar9 = uVar10 * (int)ppppppuVar6 + uVar5;\n  lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  if (uVar9 < uVar5) {\n    uVar13 = uVar9 < uVar10 ^ 1;\n    uVar14 = uVar10;\n    if (uVar13 == 0) {\n      uVar14 = 0;\n    }\n    ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));\n    uVar9 = (uVar9 - uVar10) - uVar14;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  }\n  uVar14 = (uint)((ulonglong)lVar2 >> 0x20);\n  uVar9 = uVar9 + uVar14;\n  local_2c = ppppppuVar6;\n  if ((uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)) {\n    if (uVar10 < uVar9) {\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }\n  }\n  iVar4 = param_3;\n  if (param_5 < 200) {\n    local_48 = param_5;\n    local_44 = local_2c;\n    iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);\n  }\n  else if (param_5 < 2000) {\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }\n  else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }\n  puVar11 = *(uint **)puVar3;\n  piVar15 = (int *)(param_1 + (param_3 - param_5) * 4);\n  *piVar15 = iVar7;\n  if (local_24 == puVar11) {\n    return iVar7;\n  }\n  pcVar25 = FUN_00045944;\n  puVar11 = local_24;\n  puVar21 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  *(undefined **)(puVar8 + -0x40) = puVar21 + 0x596fc;\n  *(int **)(puVar8 + -0x20) = piVar15;\n  *(undefined **)(puVar8 + -0x24) = puVar3;\n  *(int *)(puVar8 + -0x28) = param_1;\n  *(code **)(puVar8 + -4) = pcVar25;\n  *(undefined1 **)(puVar8 + -8) = auStack_58;\n  *(undefined4 *)(puVar8 + -0xc) = unaff_s7;\n  *(undefined4 *)(puVar8 + -0x10) = unaff_s6;\n  *(undefined4 *)(puVar8 + -0x14) = unaff_s5;\n  *(uint **)(puVar8 + -0x18) = param_2;\n  *(int *)(puVar8 + -0x1c) = param_5;\n  *(int *)(puVar8 + 0xc) = param_4;\n  puVar16 = *(uint **)(puVar8 + 0x10);\n  if (iVar4 == 1) {\n    uVar10 = *param_6;\n    uVar9 = FUN_00045580(param_6,param_6[1]);\n    uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;\n    if (uVar9 == 0) {\n      trap(7);\n    }\n    uVar5 = uVar14 / uVar9;\n    uVar5 = uVar5 - (uVar5 >> 0x10);\n    uVar14 = uVar14 - uVar9 * uVar5;\n    uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);\n    uVar9 = uVar5 | uVar9 << 0x10;\n    iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);\n    uVar10 = uVar10 - uVar5 * uVar5;\n    if (iVar4 == -1) {\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }\n    else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }\n    return iVar4;\n  }\n  *(uint **)(puVar8 + -0x50) = puVar16;\n  iVar17 = iVar4 / 2;\n  iVar19 = iVar4 - iVar17;\n  puVar20 = param_6 + iVar17 * 2;\n  puVar18 = puVar11 + iVar17;\n  iVar7 = FUN_00045944(puVar18,puVar20,iVar19,0);\n  iVar22 = *(int *)(puVar8 + -0x40);\n  if (iVar7 != 0) {\n    pcVar25 = *(code **)(iVar22 + -0x7b2c);\n    *(int *)(puVar8 + -0x34) = iVar7;\n    (*pcVar25)(puVar20,puVar20,puVar18,iVar19);\n    iVar22 = *(int *)(puVar8 + -0x40);\n    iVar7 = *(int *)(puVar8 + -0x34);\n  }\n  puVar12 = param_6 + iVar17;\n  pcVar25 = *(code **)(iVar22 + -0x7a30);\n  *(int *)(puVar8 + -0x34) = iVar7;\n  *(uint **)(puVar8 + -0x30) = puVar12;\n  *(int *)(puVar8 + -0x48) = iVar19;\n  *(uint **)(puVar8 + -0x4c) = puVar18;\n  *(int *)(puVar8 + -0x50) = iVar4;\n  (*pcVar25)(puVar16,puVar12,0,puVar12);\n  uVar9 = *puVar16;\n  pcVar25 = *(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0);\n  *(uint *)(puVar8 + -0x34) = *(int *)(puVar8 + -0x34) + puVar16[iVar17];\n  (*pcVar25)(puVar11,puVar16,iVar17,1);\n  uVar14 = *(uint *)(puVar8 + -0x34);\n  iVar7 = *(int *)(puVar8 + -0x40);\n  puVar11[iVar17 + -1] = puVar11[iVar17 + -1] | uVar14 << 0x1f;\n  uVar10 = *puVar11;\n  *(uint *)(puVar8 + -0x2c) = *(uint *)(puVar8 + 0xc) & uVar10;\n  if ((*(uint *)(puVar8 + 0xc) & uVar10) == 0) {\n    uVar14 = uVar14 >> 1;\n    if ((uVar9 & 1) == 0) {\n      iVar22 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }\n    pcVar25 = *(code **)(iVar7 + -0x7cac);\n    *(uint *)(puVar8 + -0x34) = uVar14;\n    (*pcVar25)(param_6 + iVar4,puVar11,iVar17);\n    iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);\n    uVar10 = *(uint *)(puVar8 + -0x34);\n    iVar23 = *(int *)(puVar8 + -0x40);\n    uVar9 = iVar7 + uVar10;\n    if (iVar17 != iVar19) {\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }\n    iVar22 = iVar22 - uVar9;\n    if (iVar22 < 0) {\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }\n  }\n  else {\n    iVar22 = 1;\n  }\n  return iVar22;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "longlong lVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 ******ppppppuVar6;" type_identifier (pointer_declarator "******ppppppuVar6" * (pointer_declarator "*****ppppppuVar6" * (pointer_declarator "****ppppppuVar6" * (pointer_declarator "***ppppppuVar6" * (pointer_declarator "**ppppppuVar6" * (pointer_declarator "*ppppppuVar6" * identifier)))))) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "uint *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "int *piVar15;" primitive_type (pointer_declarator "*piVar15" * identifier) ;) (declaration "uint *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "uint *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "undefined4 unaff_s5;" type_identifier identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "undefined4 unaff_s6;" type_identifier identifier ;) (declaration "uint *puVar20;" type_identifier (pointer_declarator "*puVar20" * identifier) ;) (declaration "undefined4 unaff_s7;" type_identifier identifier ;) (declaration "undefined *puVar21;" type_identifier (pointer_declarator "*puVar21" * identifier) ;) (declaration "int iVar22;" primitive_type identifier ;) (declaration "int iVar23;" primitive_type identifier ;) (declaration "undefined1 *puVar24;" type_identifier (pointer_declarator "*puVar24" * identifier) ;) (declaration "code *pcVar25;" type_identifier (pointer_declarator "*pcVar25" * identifier) ;) (declaration "uint uVar26;" type_identifier identifier ;) (declaration "uint uVar27;" type_identifier identifier ;) (declaration "undefined1 auStack_58 [16];" type_identifier (array_declarator "auStack_58 [16]" identifier [ number_literal ]) ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "undefined4 *****local_44;" type_identifier (pointer_declarator "*****local_44" * (pointer_declarator "****local_44" * (pointer_declarator "***local_44" * (pointer_declarator "**local_44" * (pointer_declarator "*local_44" * identifier))))) ;) (declaration "undefined4 *****local_2c;" type_identifier (pointer_declarator "*****local_2c" * (pointer_declarator "****local_2c" * (pointer_declarator "***local_2c" * (pointer_declarator "**local_2c" * (pointer_declarator "*local_2c" * identifier))))) ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "uint *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "puVar3 = PTR___stack_chk_guard_00097540;" (assignment_expression "puVar3 = PTR___stack_chk_guard_00097540" identifier = identifier) ;) (expression_statement "puVar8 = auStack_58;" (assignment_expression "puVar8 = auStack_58" identifier = identifier) ;) (expression_statement "puVar24 = auStack_58;" (assignment_expression "puVar24 = auStack_58" identifier = identifier) ;) (expression_statement "local_24 = *(uint **)PTR___stack_chk_guard_00097540;" (assignment_expression "local_24 = *(uint **)PTR___stack_chk_guard_00097540" identifier = (pointer_expression "*(uint **)PTR___stack_chk_guard_00097540" * (cast_expression "(uint **)PTR___stack_chk_guard_00097540" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (param_3 != 0) {\n    iVar4 = param_3 + -1;\n    uVar9 = *param_2;\n    if (iVar4 == 0) {\n      *param_6 = uVar9;\n    }\n    else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = param_3 + -1;\n    uVar9 = *param_2;\n    if (iVar4 == 0) {\n      *param_6 = uVar9;\n    }\n    else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }\n  }" { (expression_statement "iVar4 = param_3 + -1;" (assignment_expression "iVar4 = param_3 + -1" identifier = (binary_expression "param_3 + -1" identifier + number_literal)) ;) (expression_statement "uVar9 = *param_2;" (assignment_expression "uVar9 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar4 == 0) {\n      *param_6 = uVar9;\n    }\n    else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      *param_6 = uVar9;\n    }" { (expression_statement "*param_6 = uVar9;" (assignment_expression "*param_6 = uVar9" (pointer_expression "*param_6" * identifier) = identifier) ;) }) (else_clause "else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }" else (compound_statement "{\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }" { (expression_statement "puVar11 = param_6;" (assignment_expression "puVar11 = param_6" identifier = identifier) ;) (expression_statement "puVar16 = param_2 + 1;" (assignment_expression "puVar16 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (do_statement "do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);" do (compound_statement "{\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      }" { (expression_statement "*puVar11 = uVar9;" (assignment_expression "*puVar11 = uVar9" (pointer_expression "*puVar11" * identifier) = identifier) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "uVar9 = *puVar16;" (assignment_expression "uVar9 = *puVar16" identifier = (pointer_expression "*puVar16" * identifier)) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) (expression_statement "puVar16 = puVar16 + 1;" (assignment_expression "puVar16 = puVar16 + 1" identifier = (binary_expression "puVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "param_6[param_3 + -1] = uVar9;" (assignment_expression "param_6[param_3 + -1] = uVar9" (subscript_expression "param_6[param_3 + -1]" identifier [ (binary_expression "param_3 + -1" identifier + number_literal) ]) = identifier) ;) }))) })) (expression_statement "puVar11 = (uint *)(param_4 + param_5 * 4 + -4);" (assignment_expression "puVar11 = (uint *)(param_4 + param_5 * 4 + -4)" identifier = (cast_expression "(uint *)(param_4 + param_5 * 4 + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + param_5 * 4 + -4)" ( (binary_expression "param_4 + param_5 * 4 + -4" (binary_expression "param_4 + param_5 * 4" identifier + (binary_expression "param_5 * 4" identifier * number_literal)) + number_literal) )))) ;) (expression_statement "uVar10 = *puVar11;" (assignment_expression "uVar10 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "uVar9 = uVar10 >> 0x10;" (assignment_expression "uVar9 = uVar10 >> 0x10" identifier = (binary_expression "uVar10 >> 0x10" identifier >> number_literal)) ;) (if_statement "if (uVar9 == 0) {\n    trap(7);\n  }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n    trap(7);\n  }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar26 = ~uVar10 / uVar9;" (assignment_expression "uVar26 = ~uVar10 / uVar9" identifier = (binary_expression "~uVar10 / uVar9" (unary_expression "~uVar10" ~ identifier) / identifier)) ;) (expression_statement "uVar13 = (uVar10 & 0xffff) * uVar26;" (assignment_expression "uVar13 = (uVar10 & 0xffff) * uVar26" identifier = (binary_expression "(uVar10 & 0xffff) * uVar26" (parenthesized_expression "(uVar10 & 0xffff)" ( (binary_expression "uVar10 & 0xffff" identifier & number_literal) )) * identifier)) ;) (expression_statement "uVar5 = ~uVar10 % uVar9 << 0x10 | 0xffff;" (assignment_expression "uVar5 = ~uVar10 % uVar9 << 0x10 | 0xffff" identifier = (binary_expression "~uVar10 % uVar9 << 0x10 | 0xffff" (binary_expression "~uVar10 % uVar9 << 0x10" (binary_expression "~uVar10 % uVar9" (unary_expression "~uVar10" ~ identifier) % identifier) << number_literal) | number_literal)) ;) (expression_statement "uVar14 = uVar26;" (assignment_expression "uVar14 = uVar26" identifier = identifier) ;) (if_statement "if (uVar5 < uVar13) {\n    uVar5 = uVar5 + uVar10;\n    uVar14 = uVar26 - 1;\n    if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }\n  }" if (parenthesized_expression "(uVar5 < uVar13)" ( (binary_expression "uVar5 < uVar13" identifier < identifier) )) (compound_statement "{\n    uVar5 = uVar5 + uVar10;\n    uVar14 = uVar26 - 1;\n    if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }\n  }" { (expression_statement "uVar5 = uVar5 + uVar10;" (assignment_expression "uVar5 = uVar5 + uVar10" identifier = (binary_expression "uVar5 + uVar10" identifier + identifier)) ;) (expression_statement "uVar14 = uVar26 - 1;" (assignment_expression "uVar14 = uVar26 - 1" identifier = (binary_expression "uVar26 - 1" identifier - number_literal)) ;) (if_statement "if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }" if (parenthesized_expression "((uVar10 <= uVar5) && (uVar5 < uVar13))" ( (binary_expression "(uVar10 <= uVar5) && (uVar5 < uVar13)" (parenthesized_expression "(uVar10 <= uVar5)" ( (binary_expression "uVar10 <= uVar5" identifier <= identifier) )) && (parenthesized_expression "(uVar5 < uVar13)" ( (binary_expression "uVar5 < uVar13" identifier < identifier) ))) )) (compound_statement "{\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }" { (expression_statement "uVar14 = uVar26 - 2;" (assignment_expression "uVar14 = uVar26 - 2" identifier = (binary_expression "uVar26 - 2" identifier - number_literal)) ;) (expression_statement "uVar5 = uVar5 + uVar10;" (assignment_expression "uVar5 = uVar5 + uVar10" identifier = (binary_expression "uVar5 + uVar10" identifier + identifier)) ;) })) })) (if_statement "if (uVar9 == 0) {\n    trap(7);\n  }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n    trap(7);\n  }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar27 = (uVar5 - uVar13) / uVar9;" (assignment_expression "uVar27 = (uVar5 - uVar13) / uVar9" identifier = (binary_expression "(uVar5 - uVar13) / uVar9" (parenthesized_expression "(uVar5 - uVar13)" ( (binary_expression "uVar5 - uVar13" identifier - identifier) )) / identifier)) ;) (expression_statement "uVar26 = (uVar10 & 0xffff) * uVar27;" (assignment_expression "uVar26 = (uVar10 & 0xffff) * uVar27" identifier = (binary_expression "(uVar10 & 0xffff) * uVar27" (parenthesized_expression "(uVar10 & 0xffff)" ( (binary_expression "uVar10 & 0xffff" identifier & number_literal) )) * identifier)) ;) (expression_statement "uVar5 = (uVar5 - uVar13) % uVar9 << 0x10 | 0xffff;" (assignment_expression "uVar5 = (uVar5 - uVar13) % uVar9 << 0x10 | 0xffff" identifier = (binary_expression "(uVar5 - uVar13) % uVar9 << 0x10 | 0xffff" (binary_expression "(uVar5 - uVar13) % uVar9 << 0x10" (binary_expression "(uVar5 - uVar13) % uVar9" (parenthesized_expression "(uVar5 - uVar13)" ( (binary_expression "uVar5 - uVar13" identifier - identifier) )) % identifier) << number_literal) | number_literal)) ;) (expression_statement "uVar13 = uVar10 + uVar5;" (assignment_expression "uVar13 = uVar10 + uVar5" identifier = (binary_expression "uVar10 + uVar5" identifier + identifier)) ;) (expression_statement "uVar9 = uVar27;" (assignment_expression "uVar9 = uVar27" identifier = identifier) ;) (if_statement "if (((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26)) {\n    uVar9 = uVar27 - 2;\n  }" if (parenthesized_expression "(((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26))" ( (binary_expression "((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26)" (parenthesized_expression "((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13))" ( (binary_expression "(uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)" (parenthesized_expression "(uVar5 < uVar26)" ( (binary_expression "uVar5 < uVar26" identifier < identifier) )) && (parenthesized_expression "(uVar9 = uVar27 - 1, uVar10 <= uVar13)" ( (comma_expression "uVar9 = uVar27 - 1, uVar10 <= uVar13" (assignment_expression "uVar9 = uVar27 - 1" identifier = (binary_expression "uVar27 - 1" identifier - number_literal)) , (binary_expression "uVar10 <= uVar13" identifier <= identifier)) ))) )) && (parenthesized_expression "(uVar13 < uVar26)" ( (binary_expression "uVar13 < uVar26" identifier < identifier) ))) )) (compound_statement "{\n    uVar9 = uVar27 - 2;\n  }" { (expression_statement "uVar9 = uVar27 - 2;" (assignment_expression "uVar9 = uVar27 - 2" identifier = (binary_expression "uVar27 - 2" identifier - number_literal)) ;) })) (expression_statement "uVar5 = puVar11[-1];" (assignment_expression "uVar5 = puVar11[-1]" identifier = (subscript_expression "puVar11[-1]" identifier [ number_literal ])) ;) (expression_statement "ppppppuVar6 = (undefined4 ******)(uVar14 << 0x10 | uVar9);" (assignment_expression "ppppppuVar6 = (undefined4 ******)(uVar14 << 0x10 | uVar9)" identifier = (cast_expression "(undefined4 ******)(uVar14 << 0x10 | uVar9)" ( (type_descriptor "undefined4 ******" type_identifier (abstract_pointer_declarator "******" * (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))))) ) (parenthesized_expression "(uVar14 << 0x10 | uVar9)" ( (binary_expression "uVar14 << 0x10 | uVar9" (binary_expression "uVar14 << 0x10" identifier << number_literal) | identifier) )))) ;) (expression_statement "uVar9 = uVar10 * (int)ppppppuVar6 + uVar5;" (assignment_expression "uVar9 = uVar10 * (int)ppppppuVar6 + uVar5" identifier = (binary_expression "uVar10 * (int)ppppppuVar6 + uVar5" (binary_expression "uVar10 * (int)ppppppuVar6" identifier * (cast_expression "(int)ppppppuVar6" ( (type_descriptor "int" primitive_type) ) identifier)) + identifier)) ;) (expression_statement "lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);" (assignment_expression "lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6)" identifier = (binary_expression "(ulonglong)uVar5 * ZEXT48(ppppppuVar6)" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (call_expression "ZEXT48(ppppppuVar6)" identifier (argument_list "(ppppppuVar6)" ( identifier ))))) ;) (if_statement "if (uVar9 < uVar5) {\n    uVar13 = uVar9 < uVar10 ^ 1;\n    uVar14 = uVar10;\n    if (uVar13 == 0) {\n      uVar14 = 0;\n    }\n    ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));\n    uVar9 = (uVar9 - uVar10) - uVar14;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  }" if (parenthesized_expression "(uVar9 < uVar5)" ( (binary_expression "uVar9 < uVar5" identifier < identifier) )) (compound_statement "{\n    uVar13 = uVar9 < uVar10 ^ 1;\n    uVar14 = uVar10;\n    if (uVar13 == 0) {\n      uVar14 = 0;\n    }\n    ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));\n    uVar9 = (uVar9 - uVar10) - uVar14;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  }" { (expression_statement "uVar13 = uVar9 < uVar10 ^ 1;" (assignment_expression "uVar13 = uVar9 < uVar10 ^ 1" identifier = (binary_expression "uVar9 < uVar10 ^ 1" (binary_expression "uVar9 < uVar10" identifier < identifier) ^ number_literal)) ;) (expression_statement "uVar14 = uVar10;" (assignment_expression "uVar14 = uVar10" identifier = identifier) ;) (if_statement "if (uVar13 == 0) {\n      uVar14 = 0;\n    }" if (parenthesized_expression "(uVar13 == 0)" ( (binary_expression "uVar13 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar14 = 0;\n    }" { (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) })) (expression_statement "ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));" (assignment_expression "ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13))" identifier = (cast_expression "(undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13))" ( (type_descriptor "undefined4 ******" type_identifier (abstract_pointer_declarator "******" * (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))))) ) (parenthesized_expression "((int)ppppppuVar6 + (-1 - uVar13))" ( (binary_expression "(int)ppppppuVar6 + (-1 - uVar13)" (cast_expression "(int)ppppppuVar6" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-1 - uVar13)" ( (binary_expression "-1 - uVar13" number_literal - identifier) ))) )))) ;) (expression_statement "uVar9 = (uVar9 - uVar10) - uVar14;" (assignment_expression "uVar9 = (uVar9 - uVar10) - uVar14" identifier = (binary_expression "(uVar9 - uVar10) - uVar14" (parenthesized_expression "(uVar9 - uVar10)" ( (binary_expression "uVar9 - uVar10" identifier - identifier) )) - identifier)) ;) (expression_statement "lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);" (assignment_expression "lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6)" identifier = (binary_expression "(ulonglong)uVar5 * ZEXT48(ppppppuVar6)" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (call_expression "ZEXT48(ppppppuVar6)" identifier (argument_list "(ppppppuVar6)" ( identifier ))))) ;) })) (expression_statement "uVar14 = (uint)((ulonglong)lVar2 >> 0x20);" (assignment_expression "uVar14 = (uint)((ulonglong)lVar2 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar2 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar2 >> 0x20)" ( (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar9 = uVar9 + uVar14;" (assignment_expression "uVar9 = uVar9 + uVar14" identifier = (binary_expression "uVar9 + uVar14" identifier + identifier)) ;) (expression_statement "local_2c = ppppppuVar6;" (assignment_expression "local_2c = ppppppuVar6" identifier = identifier) ;) (if_statement "if ((uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)) {\n    if (uVar10 < uVar9) {\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }\n  }" if (parenthesized_expression "((uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9))" ( (binary_expression "(uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)" (parenthesized_expression "(uVar9 < uVar14)" ( (binary_expression "uVar9 < uVar14" identifier < identifier) )) && (parenthesized_expression "(local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)" ( (comma_expression "local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9" (assignment_expression "local_2c = (undefined4 *****)((int)ppppppuVar6 - 1)" identifier = (cast_expression "(undefined4 *****)((int)ppppppuVar6 - 1)" ( (type_descriptor "undefined4 *****" type_identifier (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))))) ) (parenthesized_expression "((int)ppppppuVar6 - 1)" ( (binary_expression "(int)ppppppuVar6 - 1" (cast_expression "(int)ppppppuVar6" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal) )))) , (binary_expression "uVar10 <= uVar9" identifier <= identifier)) ))) )) (compound_statement "{\n    if (uVar10 < uVar9) {\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }\n  }" { (if_statement "if (uVar10 < uVar9) {\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }" if (parenthesized_expression "(uVar10 < uVar9)" ( (binary_expression "uVar10 < uVar9" identifier < identifier) )) (compound_statement "{\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }" { (expression_statement "local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);" (assignment_expression "local_2c = (undefined4 *****)((int)ppppppuVar6 - 2)" identifier = (cast_expression "(undefined4 *****)((int)ppppppuVar6 - 2)" ( (type_descriptor "undefined4 *****" type_identifier (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))))) ) (parenthesized_expression "((int)ppppppuVar6 - 2)" ( (binary_expression "(int)ppppppuVar6 - 2" (cast_expression "(int)ppppppuVar6" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal) )))) ;) }) (else_clause "else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }" else (if_statement "if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }" if (parenthesized_expression "(uVar5 <= (uint)lVar2)" ( (binary_expression "uVar5 <= (uint)lVar2" identifier <= (cast_expression "(uint)lVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) )) (compound_statement "{\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }" { (expression_statement "local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);" (assignment_expression "local_2c = (undefined4 ******)((int)ppppppuVar6 - 2)" identifier = (cast_expression "(undefined4 ******)((int)ppppppuVar6 - 2)" ( (type_descriptor "undefined4 ******" type_identifier (abstract_pointer_declarator "******" * (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))))) ) (parenthesized_expression "((int)ppppppuVar6 - 2)" ( (binary_expression "(int)ppppppuVar6 - 2" (cast_expression "(int)ppppppuVar6" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal) )))) ;) })))) })) (expression_statement "iVar4 = param_3;" (assignment_expression "iVar4 = param_3" identifier = identifier) ;) (if_statement "if (param_5 < 200) {\n    local_48 = param_5;\n    local_44 = local_2c;\n    iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);\n  }\n  else if (param_5 < 2000) {\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }\n  else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" if (parenthesized_expression "(param_5 < 200)" ( (binary_expression "param_5 < 200" identifier < number_literal) )) (compound_statement "{\n    local_48 = param_5;\n    local_44 = local_2c;\n    iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);\n  }" { (expression_statement "local_48 = param_5;" (assignment_expression "local_48 = param_5" identifier = identifier) ;) (expression_statement "local_44 = local_2c;" (assignment_expression "local_44 = local_2c" identifier = identifier) ;) (expression_statement "iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);" (assignment_expression "iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1)" identifier = (call_expression "(*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1)" (parenthesized_expression "(*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)" ( (pointer_expression "*(code *)PTR___gmpn_sbpi1_divappr_q_00097414" * (cast_expression "(code *)PTR___gmpn_sbpi1_divappr_q_00097414" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) }) (else_clause "else if (param_5 < 2000) {\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }\n  else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" else (if_statement "if (param_5 < 2000) {\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }\n  else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" if (parenthesized_expression "(param_5 < 2000)" ( (binary_expression "param_5 < 2000" identifier < number_literal) )) (compound_statement "{\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }" { (expression_statement "local_44 = &local_2c;" (assignment_expression "local_44 = &local_2c" identifier = (pointer_expression "&local_2c" & identifier)) ;) (expression_statement "local_48 = param_5;" (assignment_expression "local_48 = param_5" identifier = identifier) ;) (expression_statement "iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);" (assignment_expression "iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1)" identifier = (call_expression "(*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1)" (parenthesized_expression "(*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)" ( (pointer_expression "*(code *)PTR___gmpn_dcpi1_divappr_q_00097490" * (cast_expression "(code *)PTR___gmpn_dcpi1_divappr_q_00097490" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "puVar8 = auStack_58;" (assignment_expression "puVar8 = auStack_58" identifier = identifier) ;) }) (else_clause "else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" else (compound_statement "{\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" { (expression_statement "iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);" (assignment_expression "iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0)" identifier = (call_expression "(*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0)" (parenthesized_expression "(*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)" ( (pointer_expression "*(code *)PTR___gmpn_mu_divappr_q_itch_00097598" * (cast_expression "(code *)PTR___gmpn_mu_divappr_q_itch_00097598" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,param_5,0)" ( identifier , identifier , number_literal )))) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (if_statement "if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }" if (parenthesized_expression "((uint)(iVar7 * 4) < 0x7f01)" ( (binary_expression "(uint)(iVar7 * 4) < 0x7f01" (call_expression "(uint)(iVar7 * 4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar7 * 4)" ( (binary_expression "iVar7 * 4" identifier * number_literal) ))) < number_literal) )) (compound_statement "{\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }" { (expression_statement "iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);" (assignment_expression "iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8)" identifier = (unary_expression "-(iVar7 * 4 + 7U & 0xfffffff8)" - (parenthesized_expression "(iVar7 * 4 + 7U & 0xfffffff8)" ( (binary_expression "iVar7 * 4 + 7U & 0xfffffff8" (binary_expression "iVar7 * 4 + 7U" (binary_expression "iVar7 * 4" identifier * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "puVar24 = auStack_58 + iVar7;" (assignment_expression "puVar24 = auStack_58 + iVar7" identifier = (binary_expression "auStack_58 + iVar7" identifier + identifier)) ;) (expression_statement "puVar8 = &stack0xffffffc0 + iVar7;" (assignment_expression "puVar8 = &stack0xffffffc0 + iVar7" identifier = (binary_expression "&stack0xffffffc0 + iVar7" (pointer_expression "&stack0xffffffc0" & identifier) + identifier)) ;) }) (else_clause "else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }" else (compound_statement "{\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }" { (expression_statement "puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);" (assignment_expression "puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28)" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_28)" ( (pointer_expression "&local_28" & identifier) ))))) ;) }))) (expression_statement "*(undefined1 **)(puVar24 + 0x14) = puVar8;" (assignment_expression "*(undefined1 **)(puVar24 + 0x14) = puVar8" (pointer_expression "*(undefined1 **)(puVar24 + 0x14)" * (cast_expression "(undefined1 **)(puVar24 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0x14)" ( (binary_expression "puVar24 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar24 + 0x10) = param_5;" (assignment_expression "*(int *)(puVar24 + 0x10) = param_5" (pointer_expression "*(int *)(puVar24 + 0x10)" * (cast_expression "(int *)(puVar24 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0x10)" ( (binary_expression "puVar24 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_6 = param_2;" (assignment_expression "param_6 = param_2" identifier = identifier) ;) (expression_statement "iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);" (assignment_expression "iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1)" identifier = (call_expression "(*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1)" (parenthesized_expression "(*(code *)PTR___gmpn_mu_divappr_q_00097410)" ( (pointer_expression "*(code *)PTR___gmpn_mu_divappr_q_00097410" * (cast_expression "(code *)PTR___gmpn_mu_divappr_q_00097410" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "puVar8 = puVar24;" (assignment_expression "puVar8 = puVar24" identifier = identifier) ;) (if_statement "if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }" if (parenthesized_expression "(local_28 != 0)" ( (binary_expression "local_28 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }" { (expression_statement "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)();" (call_expression "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)()" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_free_00097614" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_free_00097614" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) }))))) (expression_statement "puVar11 = *(uint **)puVar3;" (assignment_expression "puVar11 = *(uint **)puVar3" identifier = (pointer_expression "*(uint **)puVar3" * (cast_expression "(uint **)puVar3" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "piVar15 = (int *)(param_1 + (param_3 - param_5) * 4);" (assignment_expression "piVar15 = (int *)(param_1 + (param_3 - param_5) * 4)" identifier = (cast_expression "(int *)(param_1 + (param_3 - param_5) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (param_3 - param_5) * 4)" ( (binary_expression "param_1 + (param_3 - param_5) * 4" identifier + (binary_expression "(param_3 - param_5) * 4" (parenthesized_expression "(param_3 - param_5)" ( (binary_expression "param_3 - param_5" identifier - identifier) )) * number_literal)) )))) ;) (expression_statement "*piVar15 = iVar7;" (assignment_expression "*piVar15 = iVar7" (pointer_expression "*piVar15" * identifier) = identifier) ;) (if_statement "if (local_24 == puVar11) {\n    return iVar7;\n  }" if (parenthesized_expression "(local_24 == puVar11)" ( (binary_expression "local_24 == puVar11" identifier == identifier) )) (compound_statement "{\n    return iVar7;\n  }" { (return_statement "return iVar7;" return identifier ;) })) (expression_statement "pcVar25 = FUN_00045944;" (assignment_expression "pcVar25 = FUN_00045944" identifier = identifier) ;) (expression_statement "puVar11 = local_24;" (assignment_expression "puVar11 = local_24" identifier = identifier) ;) (expression_statement "puVar21 = PTR___stack_chk_fail_000974d0;" (assignment_expression "puVar21 = PTR___stack_chk_fail_000974d0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000974d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000974d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000974d0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000974d0" * (cast_expression "(code *)PTR___stack_chk_fail_000974d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "*(undefined **)(puVar8 + -0x40) = puVar21 + 0x596fc;" (assignment_expression "*(undefined **)(puVar8 + -0x40) = puVar21 + 0x596fc" (pointer_expression "*(undefined **)(puVar8 + -0x40)" * (cast_expression "(undefined **)(puVar8 + -0x40)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) )))) = (binary_expression "puVar21 + 0x596fc" identifier + number_literal)) ;) (expression_statement "*(int **)(puVar8 + -0x20) = piVar15;" (assignment_expression "*(int **)(puVar8 + -0x20) = piVar15" (pointer_expression "*(int **)(puVar8 + -0x20)" * (cast_expression "(int **)(puVar8 + -0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x20)" ( (binary_expression "puVar8 + -0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined **)(puVar8 + -0x24) = puVar3;" (assignment_expression "*(undefined **)(puVar8 + -0x24) = puVar3" (pointer_expression "*(undefined **)(puVar8 + -0x24)" * (cast_expression "(undefined **)(puVar8 + -0x24)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x24)" ( (binary_expression "puVar8 + -0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -0x28) = param_1;" (assignment_expression "*(int *)(puVar8 + -0x28) = param_1" (pointer_expression "*(int *)(puVar8 + -0x28)" * (cast_expression "(int *)(puVar8 + -0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x28)" ( (binary_expression "puVar8 + -0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(puVar8 + -4) = pcVar25;" (assignment_expression "*(code **)(puVar8 + -4) = pcVar25" (pointer_expression "*(code **)(puVar8 + -4)" * (cast_expression "(code **)(puVar8 + -4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -4)" ( (binary_expression "puVar8 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar8 + -8) = auStack_58;" (assignment_expression "*(undefined1 **)(puVar8 + -8) = auStack_58" (pointer_expression "*(undefined1 **)(puVar8 + -8)" * (cast_expression "(undefined1 **)(puVar8 + -8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0xc) = unaff_s7;" (assignment_expression "*(undefined4 *)(puVar8 + -0xc) = unaff_s7" (pointer_expression "*(undefined4 *)(puVar8 + -0xc)" * (cast_expression "(undefined4 *)(puVar8 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x10) = unaff_s6;" (assignment_expression "*(undefined4 *)(puVar8 + -0x10) = unaff_s6" (pointer_expression "*(undefined4 *)(puVar8 + -0x10)" * (cast_expression "(undefined4 *)(puVar8 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = unaff_s5;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = unaff_s5" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint **)(puVar8 + -0x18) = param_2;" (assignment_expression "*(uint **)(puVar8 + -0x18) = param_2" (pointer_expression "*(uint **)(puVar8 + -0x18)" * (cast_expression "(uint **)(puVar8 + -0x18)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x18)" ( (binary_expression "puVar8 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -0x1c) = param_5;" (assignment_expression "*(int *)(puVar8 + -0x1c) = param_5" (pointer_expression "*(int *)(puVar8 + -0x1c)" * (cast_expression "(int *)(puVar8 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x1c)" ( (binary_expression "puVar8 + -0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + 0xc) = param_4;" (assignment_expression "*(int *)(puVar8 + 0xc) = param_4" (pointer_expression "*(int *)(puVar8 + 0xc)" * (cast_expression "(int *)(puVar8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0xc)" ( (binary_expression "puVar8 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar16 = *(uint **)(puVar8 + 0x10);" (assignment_expression "puVar16 = *(uint **)(puVar8 + 0x10)" identifier = (pointer_expression "*(uint **)(puVar8 + 0x10)" * (cast_expression "(uint **)(puVar8 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x10)" ( (binary_expression "puVar8 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 == 1) {\n    uVar10 = *param_6;\n    uVar9 = FUN_00045580(param_6,param_6[1]);\n    uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;\n    if (uVar9 == 0) {\n      trap(7);\n    }\n    uVar5 = uVar14 / uVar9;\n    uVar5 = uVar5 - (uVar5 >> 0x10);\n    uVar14 = uVar14 - uVar9 * uVar5;\n    uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);\n    uVar9 = uVar5 | uVar9 << 0x10;\n    iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);\n    uVar10 = uVar10 - uVar5 * uVar5;\n    if (iVar4 == -1) {\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }\n    else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }\n    return iVar4;\n  }" if (parenthesized_expression "(iVar4 == 1)" ( (binary_expression "iVar4 == 1" identifier == number_literal) )) (compound_statement "{\n    uVar10 = *param_6;\n    uVar9 = FUN_00045580(param_6,param_6[1]);\n    uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;\n    if (uVar9 == 0) {\n      trap(7);\n    }\n    uVar5 = uVar14 / uVar9;\n    uVar5 = uVar5 - (uVar5 >> 0x10);\n    uVar14 = uVar14 - uVar9 * uVar5;\n    uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);\n    uVar9 = uVar5 | uVar9 << 0x10;\n    iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);\n    uVar10 = uVar10 - uVar5 * uVar5;\n    if (iVar4 == -1) {\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }\n    else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }\n    return iVar4;\n  }" { (expression_statement "uVar10 = *param_6;" (assignment_expression "uVar10 = *param_6" identifier = (pointer_expression "*param_6" * identifier)) ;) (expression_statement "uVar9 = FUN_00045580(param_6,param_6[1]);" (assignment_expression "uVar9 = FUN_00045580(param_6,param_6[1])" identifier = (call_expression "FUN_00045580(param_6,param_6[1])" identifier (argument_list "(param_6,param_6[1])" ( identifier , (subscript_expression "param_6[1]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;" (assignment_expression "uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000" identifier = (binary_expression "(uVar10 >> 0x11) + *param_6 * 0x8000" (parenthesized_expression "(uVar10 >> 0x11)" ( (binary_expression "uVar10 >> 0x11" identifier >> number_literal) )) + (binary_expression "*param_6 * 0x8000" (pointer_expression "*param_6" * identifier) * number_literal))) ;) (if_statement "if (uVar9 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar5 = uVar14 / uVar9;" (assignment_expression "uVar5 = uVar14 / uVar9" identifier = (binary_expression "uVar14 / uVar9" identifier / identifier)) ;) (expression_statement "uVar5 = uVar5 - (uVar5 >> 0x10);" (assignment_expression "uVar5 = uVar5 - (uVar5 >> 0x10)" identifier = (binary_expression "uVar5 - (uVar5 >> 0x10)" identifier - (parenthesized_expression "(uVar5 >> 0x10)" ( (binary_expression "uVar5 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "uVar14 = uVar14 - uVar9 * uVar5;" (assignment_expression "uVar14 = uVar14 - uVar9 * uVar5" identifier = (binary_expression "uVar14 - uVar9 * uVar5" identifier - (binary_expression "uVar9 * uVar5" identifier * identifier))) ;) (expression_statement "uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);" (assignment_expression "uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff)" identifier = (binary_expression "uVar14 * 0x20000 + (uVar10 & 0x1ffff)" (binary_expression "uVar14 * 0x20000" identifier * number_literal) + (parenthesized_expression "(uVar10 & 0x1ffff)" ( (binary_expression "uVar10 & 0x1ffff" identifier & number_literal) )))) ;) (expression_statement "uVar9 = uVar5 | uVar9 << 0x10;" (assignment_expression "uVar9 = uVar5 | uVar9 << 0x10" identifier = (binary_expression "uVar5 | uVar9 << 0x10" identifier | (binary_expression "uVar9 << 0x10" identifier << number_literal))) ;) (expression_statement "iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);" (assignment_expression "iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5)" identifier = (binary_expression "(uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5)" (parenthesized_expression "(uVar14 >> 0xf)" ( (binary_expression "uVar14 >> 0xf" identifier >> number_literal) )) - (call_expression "(uint)(uVar10 < uVar5 * uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar10 < uVar5 * uVar5)" ( (binary_expression "uVar10 < uVar5 * uVar5" identifier < (binary_expression "uVar5 * uVar5" identifier * identifier)) ))))) ;) (expression_statement "uVar10 = uVar10 - uVar5 * uVar5;" (assignment_expression "uVar10 = uVar10 - uVar5 * uVar5" identifier = (binary_expression "uVar10 - uVar5 * uVar5" identifier - (binary_expression "uVar5 * uVar5" identifier * identifier))) ;) (if_statement "if (iVar4 == -1) {\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }\n    else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }" { (expression_statement "uVar10 = uVar9 + uVar10;" (assignment_expression "uVar10 = uVar9 + uVar10" identifier = (binary_expression "uVar9 + uVar10" identifier + identifier)) ;) (expression_statement "uVar5 = uVar9 - 1;" (assignment_expression "uVar5 = uVar9 - 1" identifier = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (expression_statement "uVar14 = uVar10 + uVar5;" (assignment_expression "uVar14 = uVar10 + uVar5" identifier = (binary_expression "uVar10 + uVar5" identifier + identifier)) ;) (expression_statement "*param_6 = uVar14;" (assignment_expression "*param_6 = uVar14" (pointer_expression "*param_6" * identifier) = identifier) ;) (expression_statement "iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);" (assignment_expression "iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1)" identifier = (binary_expression "(uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1)" (call_expression "(uint)(uVar14 < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar14 < uVar5)" ( (binary_expression "uVar14 < uVar5" identifier < identifier) ))) + (parenthesized_expression "((uVar10 < uVar9) - 1)" ( (binary_expression "(uVar10 < uVar9) - 1" (parenthesized_expression "(uVar10 < uVar9)" ( (binary_expression "uVar10 < uVar9" identifier < identifier) )) - number_literal) )))) ;) (expression_statement "*puVar11 = uVar5;" (assignment_expression "*puVar11 = uVar5" (pointer_expression "*puVar11" * identifier) = identifier) ;) }) (else_clause "else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }" else (compound_statement "{\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }" { (expression_statement "*param_6 = uVar10;" (assignment_expression "*param_6 = uVar10" (pointer_expression "*param_6" * identifier) = identifier) ;) (expression_statement "*puVar11 = uVar9;" (assignment_expression "*puVar11 = uVar9" (pointer_expression "*puVar11" * identifier) = identifier) ;) }))) (return_statement "return iVar4;" return identifier ;) })) (expression_statement "*(uint **)(puVar8 + -0x50) = puVar16;" (assignment_expression "*(uint **)(puVar8 + -0x50) = puVar16" (pointer_expression "*(uint **)(puVar8 + -0x50)" * (cast_expression "(uint **)(puVar8 + -0x50)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x50)" ( (binary_expression "puVar8 + -0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar17 = iVar4 / 2;" (assignment_expression "iVar17 = iVar4 / 2" identifier = (binary_expression "iVar4 / 2" identifier / number_literal)) ;) (expression_statement "iVar19 = iVar4 - iVar17;" (assignment_expression "iVar19 = iVar4 - iVar17" identifier = (binary_expression "iVar4 - iVar17" identifier - identifier)) ;) (expression_statement "puVar20 = param_6 + iVar17 * 2;" (assignment_expression "puVar20 = param_6 + iVar17 * 2" identifier = (binary_expression "param_6 + iVar17 * 2" identifier + (binary_expression "iVar17 * 2" identifier * number_literal))) ;) (expression_statement "puVar18 = puVar11 + iVar17;" (assignment_expression "puVar18 = puVar11 + iVar17" identifier = (binary_expression "puVar11 + iVar17" identifier + identifier)) ;) (expression_statement "iVar7 = FUN_00045944(puVar18,puVar20,iVar19,0);" (assignment_expression "iVar7 = FUN_00045944(puVar18,puVar20,iVar19,0)" identifier = (call_expression "FUN_00045944(puVar18,puVar20,iVar19,0)" identifier (argument_list "(puVar18,puVar20,iVar19,0)" ( identifier , identifier , identifier , number_literal )))) ;) (expression_statement "iVar22 = *(int *)(puVar8 + -0x40);" (assignment_expression "iVar22 = *(int *)(puVar8 + -0x40)" identifier = (pointer_expression "*(int *)(puVar8 + -0x40)" * (cast_expression "(int *)(puVar8 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 != 0) {\n    pcVar25 = *(code **)(iVar22 + -0x7b2c);\n    *(int *)(puVar8 + -0x34) = iVar7;\n    (*pcVar25)(puVar20,puVar20,puVar18,iVar19);\n    iVar22 = *(int *)(puVar8 + -0x40);\n    iVar7 = *(int *)(puVar8 + -0x34);\n  }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar25 = *(code **)(iVar22 + -0x7b2c);\n    *(int *)(puVar8 + -0x34) = iVar7;\n    (*pcVar25)(puVar20,puVar20,puVar18,iVar19);\n    iVar22 = *(int *)(puVar8 + -0x40);\n    iVar7 = *(int *)(puVar8 + -0x34);\n  }" { (expression_statement "pcVar25 = *(code **)(iVar22 + -0x7b2c);" (assignment_expression "pcVar25 = *(code **)(iVar22 + -0x7b2c)" identifier = (pointer_expression "*(code **)(iVar22 + -0x7b2c)" * (cast_expression "(code **)(iVar22 + -0x7b2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar22 + -0x7b2c)" ( (binary_expression "iVar22 + -0x7b2c" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(puVar8 + -0x34) = iVar7;" (assignment_expression "*(int *)(puVar8 + -0x34) = iVar7" (pointer_expression "*(int *)(puVar8 + -0x34)" * (cast_expression "(int *)(puVar8 + -0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*pcVar25)(puVar20,puVar20,puVar18,iVar19);" (call_expression "(*pcVar25)(puVar20,puVar20,puVar18,iVar19)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(puVar20,puVar20,puVar18,iVar19)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "iVar22 = *(int *)(puVar8 + -0x40);" (assignment_expression "iVar22 = *(int *)(puVar8 + -0x40)" identifier = (pointer_expression "*(int *)(puVar8 + -0x40)" * (cast_expression "(int *)(puVar8 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = *(int *)(puVar8 + -0x34);" (assignment_expression "iVar7 = *(int *)(puVar8 + -0x34)" identifier = (pointer_expression "*(int *)(puVar8 + -0x34)" * (cast_expression "(int *)(puVar8 + -0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) ))))) ;) })) (expression_statement "puVar12 = param_6 + iVar17;" (assignment_expression "puVar12 = param_6 + iVar17" identifier = (binary_expression "param_6 + iVar17" identifier + identifier)) ;) (expression_statement "pcVar25 = *(code **)(iVar22 + -0x7a30);" (assignment_expression "pcVar25 = *(code **)(iVar22 + -0x7a30)" identifier = (pointer_expression "*(code **)(iVar22 + -0x7a30)" * (cast_expression "(code **)(iVar22 + -0x7a30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar22 + -0x7a30)" ( (binary_expression "iVar22 + -0x7a30" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(puVar8 + -0x34) = iVar7;" (assignment_expression "*(int *)(puVar8 + -0x34) = iVar7" (pointer_expression "*(int *)(puVar8 + -0x34)" * (cast_expression "(int *)(puVar8 + -0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint **)(puVar8 + -0x30) = puVar12;" (assignment_expression "*(uint **)(puVar8 + -0x30) = puVar12" (pointer_expression "*(uint **)(puVar8 + -0x30)" * (cast_expression "(uint **)(puVar8 + -0x30)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x30)" ( (binary_expression "puVar8 + -0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -0x48) = iVar19;" (assignment_expression "*(int *)(puVar8 + -0x48) = iVar19" (pointer_expression "*(int *)(puVar8 + -0x48)" * (cast_expression "(int *)(puVar8 + -0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x48)" ( (binary_expression "puVar8 + -0x48" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint **)(puVar8 + -0x4c) = puVar18;" (assignment_expression "*(uint **)(puVar8 + -0x4c) = puVar18" (pointer_expression "*(uint **)(puVar8 + -0x4c)" * (cast_expression "(uint **)(puVar8 + -0x4c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x4c)" ( (binary_expression "puVar8 + -0x4c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -0x50) = iVar4;" (assignment_expression "*(int *)(puVar8 + -0x50) = iVar4" (pointer_expression "*(int *)(puVar8 + -0x50)" * (cast_expression "(int *)(puVar8 + -0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x50)" ( (binary_expression "puVar8 + -0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*pcVar25)(puVar16,puVar12,0,puVar12);" (call_expression "(*pcVar25)(puVar16,puVar12,0,puVar12)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(puVar16,puVar12,0,puVar12)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "uVar9 = *puVar16;" (assignment_expression "uVar9 = *puVar16" identifier = (pointer_expression "*puVar16" * identifier)) ;) (expression_statement "pcVar25 = *(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0);" (assignment_expression "pcVar25 = *(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0)" identifier = (pointer_expression "*(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0)" * (cast_expression "(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(puVar8 + -0x40) + -0x7ae0)" ( (binary_expression "*(int *)(puVar8 + -0x40) + -0x7ae0" (pointer_expression "*(int *)(puVar8 + -0x40)" * (cast_expression "(int *)(puVar8 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(uint *)(puVar8 + -0x34) = *(int *)(puVar8 + -0x34) + puVar16[iVar17];" (assignment_expression "*(uint *)(puVar8 + -0x34) = *(int *)(puVar8 + -0x34) + puVar16[iVar17]" (pointer_expression "*(uint *)(puVar8 + -0x34)" * (cast_expression "(uint *)(puVar8 + -0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) )))) = (binary_expression "*(int *)(puVar8 + -0x34) + puVar16[iVar17]" (pointer_expression "*(int *)(puVar8 + -0x34)" * (cast_expression "(int *)(puVar8 + -0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) )))) + (subscript_expression "puVar16[iVar17]" identifier [ identifier ]))) ;) (expression_statement "(*pcVar25)(puVar11,puVar16,iVar17,1);" (call_expression "(*pcVar25)(puVar11,puVar16,iVar17,1)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(puVar11,puVar16,iVar17,1)" ( identifier , identifier , identifier , number_literal ))) ;) (expression_statement "uVar14 = *(uint *)(puVar8 + -0x34);" (assignment_expression "uVar14 = *(uint *)(puVar8 + -0x34)" identifier = (pointer_expression "*(uint *)(puVar8 + -0x34)" * (cast_expression "(uint *)(puVar8 + -0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = *(int *)(puVar8 + -0x40);" (assignment_expression "iVar7 = *(int *)(puVar8 + -0x40)" identifier = (pointer_expression "*(int *)(puVar8 + -0x40)" * (cast_expression "(int *)(puVar8 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) ))))) ;) (expression_statement "puVar11[iVar17 + -1] = puVar11[iVar17 + -1] | uVar14 << 0x1f;" (assignment_expression "puVar11[iVar17 + -1] = puVar11[iVar17 + -1] | uVar14 << 0x1f" (subscript_expression "puVar11[iVar17 + -1]" identifier [ (binary_expression "iVar17 + -1" identifier + number_literal) ]) = (binary_expression "puVar11[iVar17 + -1] | uVar14 << 0x1f" (subscript_expression "puVar11[iVar17 + -1]" identifier [ (binary_expression "iVar17 + -1" identifier + number_literal) ]) | (binary_expression "uVar14 << 0x1f" identifier << number_literal))) ;) (expression_statement "uVar10 = *puVar11;" (assignment_expression "uVar10 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "*(uint *)(puVar8 + -0x2c) = *(uint *)(puVar8 + 0xc) & uVar10;" (assignment_expression "*(uint *)(puVar8 + -0x2c) = *(uint *)(puVar8 + 0xc) & uVar10" (pointer_expression "*(uint *)(puVar8 + -0x2c)" * (cast_expression "(uint *)(puVar8 + -0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x2c)" ( (binary_expression "puVar8 + -0x2c" identifier + number_literal) )))) = (binary_expression "*(uint *)(puVar8 + 0xc) & uVar10" (pointer_expression "*(uint *)(puVar8 + 0xc)" * (cast_expression "(uint *)(puVar8 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0xc)" ( (binary_expression "puVar8 + 0xc" identifier + number_literal) )))) & identifier)) ;) (if_statement "if ((*(uint *)(puVar8 + 0xc) & uVar10) == 0) {\n    uVar14 = uVar14 >> 1;\n    if ((uVar9 & 1) == 0) {\n      iVar22 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }\n    pcVar25 = *(code **)(iVar7 + -0x7cac);\n    *(uint *)(puVar8 + -0x34) = uVar14;\n    (*pcVar25)(param_6 + iVar4,puVar11,iVar17);\n    iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);\n    uVar10 = *(uint *)(puVar8 + -0x34);\n    iVar23 = *(int *)(puVar8 + -0x40);\n    uVar9 = iVar7 + uVar10;\n    if (iVar17 != iVar19) {\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }\n    iVar22 = iVar22 - uVar9;\n    if (iVar22 < 0) {\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }\n  }\n  else {\n    iVar22 = 1;\n  }" if (parenthesized_expression "((*(uint *)(puVar8 + 0xc) & uVar10) == 0)" ( (binary_expression "(*(uint *)(puVar8 + 0xc) & uVar10) == 0" (parenthesized_expression "(*(uint *)(puVar8 + 0xc) & uVar10)" ( (binary_expression "*(uint *)(puVar8 + 0xc) & uVar10" (pointer_expression "*(uint *)(puVar8 + 0xc)" * (cast_expression "(uint *)(puVar8 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0xc)" ( (binary_expression "puVar8 + 0xc" identifier + number_literal) )))) & identifier) )) == number_literal) )) (compound_statement "{\n    uVar14 = uVar14 >> 1;\n    if ((uVar9 & 1) == 0) {\n      iVar22 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }\n    pcVar25 = *(code **)(iVar7 + -0x7cac);\n    *(uint *)(puVar8 + -0x34) = uVar14;\n    (*pcVar25)(param_6 + iVar4,puVar11,iVar17);\n    iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);\n    uVar10 = *(uint *)(puVar8 + -0x34);\n    iVar23 = *(int *)(puVar8 + -0x40);\n    uVar9 = iVar7 + uVar10;\n    if (iVar17 != iVar19) {\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }\n    iVar22 = iVar22 - uVar9;\n    if (iVar22 < 0) {\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }\n  }" { (expression_statement "uVar14 = uVar14 >> 1;" (assignment_expression "uVar14 = uVar14 >> 1" identifier = (binary_expression "uVar14 >> 1" identifier >> number_literal)) ;) (if_statement "if ((uVar9 & 1) == 0) {\n      iVar22 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }" if (parenthesized_expression "((uVar9 & 1) == 0)" ( (binary_expression "(uVar9 & 1) == 0" (parenthesized_expression "(uVar9 & 1)" ( (binary_expression "uVar9 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      iVar22 = 0;\n    }" { (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }" else (compound_statement "{\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }" { (expression_statement "pcVar25 = *(code **)(iVar7 + -0x7d0c);" (assignment_expression "pcVar25 = *(code **)(iVar7 + -0x7d0c)" identifier = (pointer_expression "*(code **)(iVar7 + -0x7d0c)" * (cast_expression "(code **)(iVar7 + -0x7d0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + -0x7d0c)" ( (binary_expression "iVar7 + -0x7d0c" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(puVar8 + -0x34) = uVar14;" (assignment_expression "*(uint *)(puVar8 + -0x34) = uVar14" (pointer_expression "*(uint *)(puVar8 + -0x34)" * (cast_expression "(uint *)(puVar8 + -0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);" (assignment_expression "iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19)" identifier = (call_expression "(*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19)" ( (pointer_expression "*(undefined4 *)(puVar8 + -0x30)" * (cast_expression "(undefined4 *)(puVar8 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x30)" ( (binary_expression "puVar8 + -0x30" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(puVar8 + -0x30)" * (cast_expression "(undefined4 *)(puVar8 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x30)" ( (binary_expression "puVar8 + -0x30" identifier + number_literal) )))) , identifier , identifier )))) ;) (expression_statement "iVar7 = *(int *)(puVar8 + -0x40);" (assignment_expression "iVar7 = *(int *)(puVar8 + -0x40)" identifier = (pointer_expression "*(int *)(puVar8 + -0x40)" * (cast_expression "(int *)(puVar8 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) ))))) ;) (expression_statement "uVar14 = *(uint *)(puVar8 + -0x34);" (assignment_expression "uVar14 = *(uint *)(puVar8 + -0x34)" identifier = (pointer_expression "*(uint *)(puVar8 + -0x34)" * (cast_expression "(uint *)(puVar8 + -0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) ))))) ;) }))) (expression_statement "pcVar25 = *(code **)(iVar7 + -0x7cac);" (assignment_expression "pcVar25 = *(code **)(iVar7 + -0x7cac)" identifier = (pointer_expression "*(code **)(iVar7 + -0x7cac)" * (cast_expression "(code **)(iVar7 + -0x7cac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + -0x7cac)" ( (binary_expression "iVar7 + -0x7cac" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(puVar8 + -0x34) = uVar14;" (assignment_expression "*(uint *)(puVar8 + -0x34) = uVar14" (pointer_expression "*(uint *)(puVar8 + -0x34)" * (cast_expression "(uint *)(puVar8 + -0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*pcVar25)(param_6 + iVar4,puVar11,iVar17);" (call_expression "(*pcVar25)(param_6 + iVar4,puVar11,iVar17)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(param_6 + iVar4,puVar11,iVar17)" ( (binary_expression "param_6 + iVar4" identifier + identifier) , identifier , identifier ))) ;) (expression_statement "iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);" (assignment_expression "iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1)" identifier = (call_expression "(**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1)" (parenthesized_expression "(**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))" ( (pointer_expression "**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c)" * (pointer_expression "*(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c)" * (cast_expression "(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(puVar8 + -0x40) + -0x7b2c)" ( (binary_expression "*(int *)(puVar8 + -0x40) + -0x7b2c" (pointer_expression "*(int *)(puVar8 + -0x40)" * (cast_expression "(int *)(puVar8 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(param_6,param_6,param_6 + iVar4,iVar17 << 1)" ( identifier , identifier , (binary_expression "param_6 + iVar4" identifier + identifier) , (binary_expression "iVar17 << 1" identifier << number_literal) )))) ;) (expression_statement "uVar10 = *(uint *)(puVar8 + -0x34);" (assignment_expression "uVar10 = *(uint *)(puVar8 + -0x34)" identifier = (pointer_expression "*(uint *)(puVar8 + -0x34)" * (cast_expression "(uint *)(puVar8 + -0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) ))))) ;) (expression_statement "iVar23 = *(int *)(puVar8 + -0x40);" (assignment_expression "iVar23 = *(int *)(puVar8 + -0x40)" identifier = (pointer_expression "*(int *)(puVar8 + -0x40)" * (cast_expression "(int *)(puVar8 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) ))))) ;) (expression_statement "uVar9 = iVar7 + uVar10;" (assignment_expression "uVar9 = iVar7 + uVar10" identifier = (binary_expression "iVar7 + uVar10" identifier + identifier)) ;) (if_statement "if (iVar17 != iVar19) {\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }" if (parenthesized_expression "(iVar17 != iVar19)" ( (binary_expression "iVar17 != iVar19" identifier != identifier) )) (compound_statement "{\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }" { (expression_statement "uVar14 = *puVar20 - uVar9;" (assignment_expression "uVar14 = *puVar20 - uVar9" identifier = (binary_expression "*puVar20 - uVar9" (pointer_expression "*puVar20" * identifier) - identifier)) ;) (expression_statement "uVar9 = (uint)(*puVar20 < uVar9);" (assignment_expression "uVar9 = (uint)(*puVar20 < uVar9)" identifier = (call_expression "(uint)(*puVar20 < uVar9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar20 < uVar9)" ( (binary_expression "*puVar20 < uVar9" (pointer_expression "*puVar20" * identifier) < identifier) )))) ;) (expression_statement "*puVar20 = uVar14;" (assignment_expression "*puVar20 = uVar14" (pointer_expression "*puVar20" * identifier) = identifier) ;) })) (expression_statement "iVar22 = iVar22 - uVar9;" (assignment_expression "iVar22 = iVar22 - uVar9" identifier = (binary_expression "iVar22 - uVar9" identifier - identifier)) ;) (if_statement "if (iVar22 < 0) {\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }" if (parenthesized_expression "(iVar22 < 0)" ( (binary_expression "iVar22 < 0" identifier < number_literal) )) (compound_statement "{\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }" { (expression_statement "uVar9 = *puVar18;" (assignment_expression "uVar9 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;) (expression_statement "*puVar18 = uVar10 + uVar9;" (assignment_expression "*puVar18 = uVar10 + uVar9" (pointer_expression "*puVar18" * identifier) = (binary_expression "uVar10 + uVar9" identifier + identifier)) ;) (if_statement "if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }" if (parenthesized_expression "(uVar10 + uVar9 < uVar10)" ( (binary_expression "uVar10 + uVar9 < uVar10" (binary_expression "uVar10 + uVar9" identifier + identifier) < identifier) )) (compound_statement "{\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }" { (if_statement "if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }" if (parenthesized_expression "(iVar19 < 2)" ( (binary_expression "iVar19 < 2" identifier < number_literal) )) (compound_statement "{\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }" { (labeled_statement "LAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;" statement_identifier : (expression_statement "*(undefined4 *)(puVar8 + -0x2c) = 2;" (assignment_expression "*(undefined4 *)(puVar8 + -0x2c) = 2" (pointer_expression "*(undefined4 *)(puVar8 + -0x2c)" * (cast_expression "(undefined4 *)(puVar8 + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x2c)" ( (binary_expression "puVar8 + -0x2c" identifier + number_literal) )))) = number_literal) ;)) }) (else_clause "else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }" else (compound_statement "{\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }" { (expression_statement "uVar9 = puVar18[1];" (assignment_expression "uVar9 = puVar18[1]" identifier = (subscript_expression "puVar18[1]" identifier [ number_literal ])) ;) (expression_statement "puVar18[1] = uVar9 + 1;" (assignment_expression "puVar18[1] = uVar9 + 1" (subscript_expression "puVar18[1]" identifier [ number_literal ]) = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (if_statement "if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 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            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }" { (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" identifier = number_literal) ;) (expression_statement "puVar16 = puVar18 + 2;" (assignment_expression "puVar16 = puVar18 + 2" identifier = (binary_expression "puVar18 + 2" identifier + number_literal)) ;) (do_statement "do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);" do (compound_statement "{\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            }" { (expression_statement "bVar1 = iVar19 == iVar7;" (assignment_expression "bVar1 = iVar19 == iVar7" identifier = (binary_expression "iVar19 == iVar7" identifier == identifier)) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) goto LAB_00045c64;" if (parenthesized_expression "(bVar1)" ( identifier )) (goto_statement "goto LAB_00045c64;" goto statement_identifier ;)) (expression_statement "uVar9 = *puVar16;" (assignment_expression "uVar9 = *puVar16" identifier = (pointer_expression "*puVar16" * identifier)) ;) (expression_statement "*puVar16 = uVar9 + 1;" (assignment_expression "*puVar16 = uVar9 + 1" (pointer_expression "*puVar16" * identifier) = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (expression_statement "puVar16 = puVar16 + 1;" (assignment_expression "puVar16 = puVar16 + 1" identifier = (binary_expression "puVar16 + 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 "iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);" (assignment_expression "iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2)" identifier = (call_expression "(**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2)" (parenthesized_expression "(**(code **)(iVar23 + -0x7f70))" ( (pointer_expression "**(code **)(iVar23 + -0x7f70)" * (pointer_expression "*(code **)(iVar23 + -0x7f70)" * (cast_expression "(code **)(iVar23 + -0x7f70)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar23 + -0x7f70)" ( (binary_expression "iVar23 + -0x7f70" identifier + number_literal) ))))) )) (argument_list "(param_6,puVar11,iVar4,2)" ( identifier , identifier , identifier , number_literal )))) ;) (expression_statement "uVar9 = *param_6;" (assignment_expression "uVar9 = *param_6" identifier = (pointer_expression "*param_6" * identifier)) ;) (expression_statement "iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);" (assignment_expression "iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c)" identifier = (binary_expression "iVar22 + iVar7 + *(int *)(puVar8 + -0x2c)" (binary_expression "iVar22 + iVar7" identifier + identifier) + (pointer_expression "*(int *)(puVar8 + -0x2c)" * (cast_expression "(int *)(puVar8 + -0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x2c)" ( (binary_expression "puVar8 + -0x2c" identifier + number_literal) )))))) ;) (expression_statement "*param_6 = uVar9 - 1;" (assignment_expression "*param_6 = uVar9 - 1" (pointer_expression "*param_6" * identifier) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }" { (if_statement "if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }" if (parenthesized_expression "(iVar4 < 2)" ( (binary_expression "iVar4 < 2" identifier < number_literal) )) (compound_statement "{\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }" { (expression_statement "*puVar11 = *puVar11 - 1;" (assignment_expression "*puVar11 = *puVar11 - 1" (pointer_expression "*puVar11" * identifier) = (binary_expression "*puVar11 - 1" (pointer_expression "*puVar11" * identifier) - number_literal)) ;) (return_statement "return iVar22 + -1;" return (binary_expression "iVar22 + -1" identifier + number_literal) ;) })) (expression_statement "uVar9 = param_6[1];" (assignment_expression "uVar9 = param_6[1]" identifier = (subscript_expression "param_6[1]" identifier [ number_literal ])) ;) (expression_statement "param_6[1] = uVar9 - 1;" (assignment_expression "param_6[1] = uVar9 - 1" (subscript_expression "param_6[1]" identifier [ number_literal ]) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }" { (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" identifier = number_literal) ;) (expression_statement "puVar16 = param_6 + 2;" (assignment_expression "puVar16 = param_6 + 2" identifier = (binary_expression "param_6 + 2" identifier + number_literal)) ;) (do_statement "do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);" do (compound_statement "{\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          }" { (expression_statement "bVar1 = iVar4 == iVar7;" (assignment_expression "bVar1 = iVar4 == iVar7" identifier = (binary_expression "iVar4 == iVar7" identifier == identifier)) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n              iVar22 = iVar22 + -1;\n              break;\n            }" { (expression_statement "iVar22 = iVar22 + -1;" (assignment_expression "iVar22 = iVar22 + -1" identifier = (binary_expression "iVar22 + -1" identifier + number_literal)) ;) (break_statement "break;" break ;) })) (expression_statement "uVar9 = *puVar16;" (assignment_expression "uVar9 = *puVar16" identifier = (pointer_expression "*puVar16" * identifier)) ;) (expression_statement "*puVar16 = uVar9 - 1;" (assignment_expression "*puVar16 = uVar9 - 1" (pointer_expression "*puVar16" * identifier) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (expression_statement "puVar16 = puVar16 + 1;" (assignment_expression "puVar16 = puVar16 + 1" identifier = (binary_expression "puVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) ;) })) (expression_statement "uVar9 = *puVar11;" (assignment_expression "uVar9 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "*puVar11 = uVar9 - 1;" (assignment_expression "*puVar11 = uVar9 - 1" (pointer_expression "*puVar11" * identifier) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 != 0) {\n          return iVar22;\n        }" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (compound_statement "{\n          return iVar22;\n        }" { (return_statement "return iVar22;" return identifier ;) })) (expression_statement "uVar9 = puVar11[1];" (assignment_expression "uVar9 = puVar11[1]" identifier = (subscript_expression "puVar11[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }" else (compound_statement "{\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }" { (expression_statement "uVar9 = *puVar11;" (assignment_expression "uVar9 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "*puVar11 = uVar9 - 1;" (assignment_expression "*puVar11 = uVar9 - 1" (pointer_expression "*puVar11" * identifier) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 != 0) {\n          return iVar22;\n        }" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (compound_statement "{\n          return iVar22;\n        }" { (return_statement "return iVar22;" return identifier ;) })) (if_statement "if (iVar4 < 2) {\n          return iVar22;\n        }" if (parenthesized_expression "(iVar4 < 2)" ( (binary_expression "iVar4 < 2" identifier < number_literal) )) (compound_statement "{\n          return iVar22;\n        }" { (return_statement "return iVar22;" return identifier ;) })) (expression_statement "uVar9 = puVar11[1];" (assignment_expression "uVar9 = puVar11[1]" identifier = (subscript_expression "puVar11[1]" identifier [ number_literal ])) ;) }))) (expression_statement "puVar11[1] = uVar9 - 1;" (assignment_expression "puVar11[1] = uVar9 - 1" (subscript_expression "puVar11[1]" identifier [ number_literal ]) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }" { (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" identifier = number_literal) ;) (expression_statement "puVar11 = puVar11 + 2;" (assignment_expression "puVar11 = puVar11 + 2" identifier = (binary_expression "puVar11 + 2" identifier + number_literal)) ;) (do_statement "do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);" do (compound_statement "{\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        }" { (expression_statement "bVar1 = iVar4 <= iVar7;" (assignment_expression "bVar1 = iVar4 <= iVar7" identifier = (binary_expression "iVar4 <= iVar7" identifier <= identifier)) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) {\n            return iVar22;\n          }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n            return iVar22;\n          }" { (return_statement "return iVar22;" return identifier ;) })) (expression_statement "uVar9 = *puVar11;" (assignment_expression "uVar9 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "*puVar11 = uVar9 - 1;" (assignment_expression "*puVar11 = uVar9 - 1" (pointer_expression "*puVar11" * identifier) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) ;) })) })) }) (else_clause "else {\n    iVar22 = 1;\n  }" else (compound_statement "{\n    iVar22 = 1;\n  }" { (expression_statement "iVar22 = 1;" (assignment_expression "iVar22 = 1" identifier = number_literal) ;) }))) (return_statement "return iVar22;" return identifier ;) })))
(translation_unit "void mpn_divappr_q(mp_ptr qp,mp_srcptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn,mp_ptr scratch)\n\n{\n  bool bVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  gmp_pi1_t *pgVar6;\n  undefined1 *puVar7;\n  mp_ptr pmVar8;\n  uint *puVar9;\n  mp_limb_t *pmVar10;\n  mp_limb_t mVar11;\n  uint uVar12;\n  mp_size_t mVar13;\n  uint uVar14;\n  mp_ptr pmVar15;\n  uint uVar16;\n  uint uVar17;\n  uint *puVar18;\n  int iVar19;\n  undefined4 unaff_s5;\n  int n;\n  undefined4 unaff_s6;\n  mp_ptr np_00;\n  undefined4 unaff_s7;\n  undefined *puVar20;\n  int iVar21;\n  int iVar22;\n  undefined1 *puVar23;\n  code *pcVar24;\n  uint uVar25;\n  uint uVar26;\n  undefined1 auStack_58 [16];\n  mp_size_t mStack_48;\n  gmp_pi1_t *pgStack_44;\n  gmp_pi1_t inv;\n  tmp_reentrant_t *__tmp_marker;\n  uint *local_24;\n  \n  puVar3 = PTR___stack_chk_guard_00097540;\n  puVar7 = auStack_58;\n  puVar23 = auStack_58;\n  local_24 = *(uint **)PTR___stack_chk_guard_00097540;\n  if (nn != 0) {\n    iVar4 = nn + -1;\n    mVar11 = *np;\n    if (iVar4 == 0) {\n      *scratch = mVar11;\n    }\n    else {\n      pmVar8 = scratch;\n      pmVar10 = np + 1;\n      do {\n        *pmVar8 = mVar11;\n        iVar4 = iVar4 + -1;\n        mVar11 = *pmVar10;\n        pmVar8 = pmVar8 + 1;\n        pmVar10 = pmVar10 + 1;\n      } while (iVar4 != 0);\n      scratch[nn + -1] = mVar11;\n    }\n  }\n  uVar14 = dp[dn + -1];\n  uVar12 = uVar14 >> 0x10;\n  if (uVar12 == 0) {\n    trap(7);\n  }\n  uVar25 = ~uVar14 / uVar12;\n  uVar16 = (uVar14 & 0xffff) * uVar25;\n  uVar5 = ~uVar14 % uVar12 << 0x10 | 0xffff;\n  uVar17 = uVar25;\n  if (uVar5 < uVar16) {\n    uVar5 = uVar5 + uVar14;\n    uVar17 = uVar25 - 1;\n    if ((uVar14 <= uVar5) && (uVar5 < uVar16)) {\n      uVar17 = uVar25 - 2;\n      uVar5 = uVar5 + uVar14;\n    }\n  }\n  if (uVar12 == 0) {\n    trap(7);\n  }\n  uVar26 = (uVar5 - uVar16) / uVar12;\n  uVar25 = (uVar14 & 0xffff) * uVar26;\n  uVar5 = (uVar5 - uVar16) % uVar12 << 0x10 | 0xffff;\n  uVar16 = uVar14 + uVar5;\n  uVar12 = uVar26;\n  if (((uVar5 < uVar25) && (uVar12 = uVar26 - 1, uVar14 <= uVar16)) && (uVar16 < uVar25)) {\n    uVar12 = uVar26 - 2;\n  }\n  uVar5 = (dp + dn + -1)[-1];\n  pgVar6 = (gmp_pi1_t *)(uVar17 << 0x10 | uVar12);\n  uVar12 = uVar14 * (int)pgVar6 + uVar5;\n  lVar2 = (ulonglong)uVar5 * ZEXT48(pgVar6);\n  if (uVar12 < uVar5) {\n    uVar16 = uVar12 < uVar14 ^ 1;\n    uVar17 = uVar14;\n    if (uVar16 == 0) {\n      uVar17 = 0;\n    }\n    pgVar6 = (gmp_pi1_t *)((int)pgVar6 + (-1 - uVar16));\n    uVar12 = (uVar12 - uVar14) - uVar17;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(pgVar6);\n  }\n  uVar17 = (uint)((ulonglong)lVar2 >> 0x20);\n  uVar12 = uVar12 + uVar17;\n  inv.inv32 = (mp_limb_t)pgVar6;\n  if ((uVar12 < uVar17) && (inv.inv32 = (int)&pgVar6[-1].inv32 + 3, uVar14 <= uVar12)) {\n    if (uVar14 < uVar12) {\n      inv.inv32 = (int)&pgVar6[-1].inv32 + 2;\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      inv.inv32 = (mp_limb_t)((int)&pgVar6[-1].inv32 + 2);\n    }\n  }\n  mVar13 = nn;\n  if (dn < 200) {\n    mStack_48 = dn;\n    pgStack_44 = (gmp_pi1_t *)inv.inv32;\n    mVar11 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(qp);\n  }\n  else if (dn < 2000) {\n    pgStack_44 = &inv;\n    mStack_48 = dn;\n    mVar11 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(qp);\n    puVar7 = auStack_58;\n  }\n  else {\n    iVar4 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(nn,dn,0);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    if ((uint)(iVar4 * 4) < 0x7f01) {\n      iVar4 = -(iVar4 * 4 + 7U & 0xfffffff8);\n      puVar23 = auStack_58 + iVar4;\n      puVar7 = &stack0xffffffc0 + iVar4;\n    }\n    else {\n      puVar7 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }\n    *(undefined1 **)(puVar23 + 0x14) = puVar7;\n    *(mp_size_t *)(puVar23 + 0x10) = dn;\n    scratch = np;\n    mVar11 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(qp);\n    puVar7 = puVar23;\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }\n  puVar9 = *(uint **)puVar3;\n  qp[nn - dn] = mVar11;\n  if (local_24 == puVar9) {\n    return;\n  }\n  pcVar24 = mpn_dc_sqrtrem;\n  puVar9 = local_24;\n  puVar20 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  *(undefined **)(puVar7 + -0x40) = puVar20 + 0x596fc;\n  *(mp_ptr *)(puVar7 + -0x20) = qp + (nn - dn);\n  *(undefined **)(puVar7 + -0x24) = puVar3;\n  *(mp_ptr *)(puVar7 + -0x28) = qp;\n  *(code **)(puVar7 + -4) = pcVar24;\n  *(undefined1 **)(puVar7 + -8) = auStack_58;\n  *(undefined4 *)(puVar7 + -0xc) = unaff_s7;\n  *(undefined4 *)(puVar7 + -0x10) = unaff_s6;\n  *(undefined4 *)(puVar7 + -0x14) = unaff_s5;\n  *(mp_srcptr *)(puVar7 + -0x18) = np;\n  *(mp_size_t *)(puVar7 + -0x1c) = dn;\n  *(mp_srcptr *)(puVar7 + 0xc) = dp;\n  puVar18 = *(uint **)(puVar7 + 0x10);\n  if (mVar13 == 1) {\n    uVar12 = *scratch;\n    mVar11 = mpn_sqrtrem1(scratch,scratch[1]);\n    uVar14 = (uVar12 >> 0x11) + *scratch * 0x8000;\n    if (mVar11 == 0) {\n      trap(7);\n    }\n    uVar17 = uVar14 / mVar11;\n    uVar17 = uVar17 - (uVar17 >> 0x10);\n    uVar14 = uVar14 - mVar11 * uVar17;\n    uVar12 = uVar14 * 0x20000 + (uVar12 & 0x1ffff);\n    uVar5 = uVar17 | mVar11 << 0x10;\n    mVar11 = uVar12 - uVar17 * uVar17;\n    if ((uVar14 >> 0xf) - (uint)(uVar12 < uVar17 * uVar17) == -1) {\n      *scratch = uVar5 + mVar11 + (uVar5 - 1);\n      *puVar9 = uVar5 - 1;\n    }\n    else {\n      *scratch = mVar11;\n      *puVar9 = uVar5;\n    }\n    return;\n  }\n  *(uint **)(puVar7 + -0x50) = puVar18;\n  iVar4 = mVar13 / 2;\n  n = mVar13 - iVar4;\n  np_00 = scratch + iVar4 * 2;\n  pmVar8 = puVar9 + iVar4;\n  mVar11 = mpn_dc_sqrtrem(pmVar8,np_00,n,0,*(mp_ptr *)(puVar7 + -0x50));\n  iVar21 = *(int *)(puVar7 + -0x40);\n  if (mVar11 != 0) {\n    pcVar24 = *(code **)(iVar21 + -0x7b2c);\n    *(mp_limb_t *)(puVar7 + -0x34) = mVar11;\n    (*pcVar24)(np_00,np_00,pmVar8,n);\n    iVar21 = *(int *)(puVar7 + -0x40);\n    mVar11 = *(mp_limb_t *)(puVar7 + -0x34);\n  }\n  pmVar15 = scratch + iVar4;\n  pcVar24 = *(code **)(iVar21 + -0x7a30);\n  *(mp_limb_t *)(puVar7 + -0x34) = mVar11;\n  *(mp_ptr *)(puVar7 + -0x30) = pmVar15;\n  *(int *)(puVar7 + -0x48) = n;\n  *(mp_ptr *)(puVar7 + -0x4c) = pmVar8;\n  *(mp_size_t *)(puVar7 + -0x50) = mVar13;\n  (*pcVar24)(puVar18,pmVar15,0,pmVar15);\n  uVar12 = *puVar18;\n  pcVar24 = *(code **)(*(int *)(puVar7 + -0x40) + -0x7ae0);\n  *(uint *)(puVar7 + -0x34) = *(int *)(puVar7 + -0x34) + puVar18[iVar4];\n  (*pcVar24)(puVar9,puVar18,iVar4,1);\n  uVar17 = *(uint *)(puVar7 + -0x34);\n  iVar21 = *(int *)(puVar7 + -0x40);\n  puVar9[iVar4 + -1] = puVar9[iVar4 + -1] | uVar17 << 0x1f;\n  uVar14 = *puVar9;\n  *(uint *)(puVar7 + -0x2c) = *(uint *)(puVar7 + 0xc) & uVar14;\n  if ((*(uint *)(puVar7 + 0xc) & uVar14) == 0) {\n    uVar17 = uVar17 >> 1;\n    if ((uVar12 & 1) == 0) {\n      iVar19 = 0;\n    }\n    else {\n      pcVar24 = *(code **)(iVar21 + -0x7d0c);\n      *(uint *)(puVar7 + -0x34) = uVar17;\n      iVar19 = (*pcVar24)(*(undefined4 *)(puVar7 + -0x30),*(undefined4 *)(puVar7 + -0x30),pmVar8,n);\n      iVar21 = *(int *)(puVar7 + -0x40);\n      uVar17 = *(uint *)(puVar7 + -0x34);\n    }\n    pcVar24 = *(code **)(iVar21 + -0x7cac);\n    *(uint *)(puVar7 + -0x34) = uVar17;\n    (*pcVar24)(scratch + mVar13,puVar9,iVar4);\n    iVar21 = (**(code **)(*(int *)(puVar7 + -0x40) + -0x7b2c))\n                       (scratch,scratch,scratch + mVar13,iVar4 << 1);\n    uVar14 = *(uint *)(puVar7 + -0x34);\n    iVar22 = *(int *)(puVar7 + -0x40);\n    uVar12 = iVar21 + uVar14;\n    if (iVar4 != n) {\n      mVar11 = *np_00 - uVar12;\n      uVar12 = (uint)(*np_00 < uVar12);\n      *np_00 = mVar11;\n    }\n    if ((int)(iVar19 - uVar12) < 0) {\n      mVar11 = *pmVar8;\n      *pmVar8 = uVar14 + mVar11;\n      if (uVar14 + mVar11 < uVar14) {\n        if (n < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar7 + -0x2c) = 2;\n        }\n        else {\n          mVar11 = pmVar8[1];\n          pmVar8[1] = mVar11 + 1;\n          if (mVar11 + 1 == 0) {\n            iVar4 = 2;\n            pmVar8 = pmVar8 + 2;\n            do {\n              bVar1 = n == iVar4;\n              iVar4 = iVar4 + 1;\n              if (bVar1) goto LAB_00045c64;\n              mVar11 = *pmVar8;\n              *pmVar8 = mVar11 + 1;\n              pmVar8 = pmVar8 + 1;\n            } while (mVar11 + 1 == 0);\n          }\n        }\n      }\n      (**(code **)(iVar22 + -0x7f70))(scratch,puVar9,mVar13,2);\n      mVar11 = *scratch;\n      *scratch = mVar11 - 1;\n      if (mVar11 == 0) {\n        if (mVar13 < 2) {\n          *puVar9 = *puVar9 - 1;\n          return;\n        }\n        mVar11 = scratch[1];\n        scratch[1] = mVar11 - 1;\n        if (mVar11 == 0) {\n          iVar4 = 2;\n          pmVar8 = scratch + 2;\n          do {\n            bVar1 = mVar13 == iVar4;\n            iVar4 = iVar4 + 1;\n            if (bVar1) break;\n            mVar11 = *pmVar8;\n            *pmVar8 = mVar11 - 1;\n            pmVar8 = pmVar8 + 1;\n          } while (mVar11 == 0);\n        }\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }\n      else {\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        if (mVar13 < 2) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }\n      puVar9[1] = uVar12 - 1;\n      if (uVar12 == 0) {\n        iVar4 = 2;\n        puVar9 = puVar9 + 2;\n        do {\n          bVar1 = mVar13 <= iVar4;\n          iVar4 = iVar4 + 1;\n          if (bVar1) {\n            return;\n          }\n          uVar12 = *puVar9;\n          *puVar9 = uVar12 - 1;\n          puVar9 = puVar9 + 1;\n        } while (uVar12 == 0);\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void mpn_divappr_q(mp_ptr qp,mp_srcptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn,mp_ptr scratch)\n\n{\n  bool bVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  gmp_pi1_t *pgVar6;\n  undefined1 *puVar7;\n  mp_ptr pmVar8;\n  uint *puVar9;\n  mp_limb_t *pmVar10;\n  mp_limb_t mVar11;\n  uint uVar12;\n  mp_size_t mVar13;\n  uint uVar14;\n  mp_ptr pmVar15;\n  uint uVar16;\n  uint uVar17;\n  uint *puVar18;\n  int iVar19;\n  undefined4 unaff_s5;\n  int n;\n  undefined4 unaff_s6;\n  mp_ptr np_00;\n  undefined4 unaff_s7;\n  undefined *puVar20;\n  int iVar21;\n  int iVar22;\n  undefined1 *puVar23;\n  code *pcVar24;\n  uint uVar25;\n  uint uVar26;\n  undefined1 auStack_58 [16];\n  mp_size_t mStack_48;\n  gmp_pi1_t *pgStack_44;\n  gmp_pi1_t inv;\n  tmp_reentrant_t *__tmp_marker;\n  uint *local_24;\n  \n  puVar3 = PTR___stack_chk_guard_00097540;\n  puVar7 = auStack_58;\n  puVar23 = auStack_58;\n  local_24 = *(uint **)PTR___stack_chk_guard_00097540;\n  if (nn != 0) {\n    iVar4 = nn + -1;\n    mVar11 = *np;\n    if (iVar4 == 0) {\n      *scratch = mVar11;\n    }\n    else {\n      pmVar8 = scratch;\n      pmVar10 = np + 1;\n      do {\n        *pmVar8 = mVar11;\n        iVar4 = iVar4 + -1;\n        mVar11 = *pmVar10;\n        pmVar8 = pmVar8 + 1;\n        pmVar10 = pmVar10 + 1;\n      } while (iVar4 != 0);\n      scratch[nn + -1] = mVar11;\n    }\n  }\n  uVar14 = dp[dn + -1];\n  uVar12 = uVar14 >> 0x10;\n  if (uVar12 == 0) {\n    trap(7);\n  }\n  uVar25 = ~uVar14 / uVar12;\n  uVar16 = (uVar14 & 0xffff) * uVar25;\n  uVar5 = ~uVar14 % uVar12 << 0x10 | 0xffff;\n  uVar17 = uVar25;\n  if (uVar5 < uVar16) {\n    uVar5 = uVar5 + uVar14;\n    uVar17 = uVar25 - 1;\n    if ((uVar14 <= uVar5) && (uVar5 < uVar16)) {\n      uVar17 = uVar25 - 2;\n      uVar5 = uVar5 + uVar14;\n    }\n  }\n  if (uVar12 == 0) {\n    trap(7);\n  }\n  uVar26 = (uVar5 - uVar16) / uVar12;\n  uVar25 = (uVar14 & 0xffff) * uVar26;\n  uVar5 = (uVar5 - uVar16) % uVar12 << 0x10 | 0xffff;\n  uVar16 = uVar14 + uVar5;\n  uVar12 = uVar26;\n  if (((uVar5 < uVar25) && (uVar12 = uVar26 - 1, uVar14 <= uVar16)) && (uVar16 < uVar25)) {\n    uVar12 = uVar26 - 2;\n  }\n  uVar5 = (dp + dn + -1)[-1];\n  pgVar6 = (gmp_pi1_t *)(uVar17 << 0x10 | uVar12);\n  uVar12 = uVar14 * (int)pgVar6 + uVar5;\n  lVar2 = (ulonglong)uVar5 * ZEXT48(pgVar6);\n  if (uVar12 < uVar5) {\n    uVar16 = uVar12 < uVar14 ^ 1;\n    uVar17 = uVar14;\n    if (uVar16 == 0) {\n      uVar17 = 0;\n    }\n    pgVar6 = (gmp_pi1_t *)((int)pgVar6 + (-1 - uVar16));\n    uVar12 = (uVar12 - uVar14) - uVar17;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(pgVar6);\n  }\n  uVar17 = (uint)((ulonglong)lVar2 >> 0x20);\n  uVar12 = uVar12 + uVar17;\n  inv.inv32 = (mp_limb_t)pgVar6;\n  if ((uVar12 < uVar17) && (inv.inv32 = (int)&pgVar6[-1].inv32 + 3, uVar14 <= uVar12)) {\n    if (uVar14 < uVar12) {\n      inv.inv32 = (int)&pgVar6[-1].inv32 + 2;\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      inv.inv32 = (mp_limb_t)((int)&pgVar6[-1].inv32 + 2);\n    }\n  }\n  mVar13 = nn;\n  if (dn < 200) {\n    mStack_48 = dn;\n    pgStack_44 = (gmp_pi1_t *)inv.inv32;\n    mVar11 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(qp);\n  }\n  else if (dn < 2000) {\n    pgStack_44 = &inv;\n    mStack_48 = dn;\n    mVar11 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(qp);\n    puVar7 = auStack_58;\n  }\n  else {\n    iVar4 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(nn,dn,0);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    if ((uint)(iVar4 * 4) < 0x7f01) {\n      iVar4 = -(iVar4 * 4 + 7U & 0xfffffff8);\n      puVar23 = auStack_58 + iVar4;\n      puVar7 = &stack0xffffffc0 + iVar4;\n    }\n    else {\n      puVar7 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }\n    *(undefined1 **)(puVar23 + 0x14) = puVar7;\n    *(mp_size_t *)(puVar23 + 0x10) = dn;\n    scratch = np;\n    mVar11 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(qp);\n    puVar7 = puVar23;\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }\n  puVar9 = *(uint **)puVar3;\n  qp[nn - dn] = mVar11;\n  if (local_24 == puVar9) {\n    return;\n  }\n  pcVar24 = mpn_dc_sqrtrem;\n  puVar9 = local_24;\n  puVar20 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  *(undefined **)(puVar7 + -0x40) = puVar20 + 0x596fc;\n  *(mp_ptr *)(puVar7 + -0x20) = qp + (nn - dn);\n  *(undefined **)(puVar7 + -0x24) = puVar3;\n  *(mp_ptr *)(puVar7 + -0x28) = qp;\n  *(code **)(puVar7 + -4) = pcVar24;\n  *(undefined1 **)(puVar7 + -8) = auStack_58;\n  *(undefined4 *)(puVar7 + -0xc) = unaff_s7;\n  *(undefined4 *)(puVar7 + -0x10) = unaff_s6;\n  *(undefined4 *)(puVar7 + -0x14) = unaff_s5;\n  *(mp_srcptr *)(puVar7 + -0x18) = np;\n  *(mp_size_t *)(puVar7 + -0x1c) = dn;\n  *(mp_srcptr *)(puVar7 + 0xc) = dp;\n  puVar18 = *(uint **)(puVar7 + 0x10);\n  if (mVar13 == 1) {\n    uVar12 = *scratch;\n    mVar11 = mpn_sqrtrem1(scratch,scratch[1]);\n    uVar14 = (uVar12 >> 0x11) + *scratch * 0x8000;\n    if (mVar11 == 0) {\n      trap(7);\n    }\n    uVar17 = uVar14 / mVar11;\n    uVar17 = uVar17 - (uVar17 >> 0x10);\n    uVar14 = uVar14 - mVar11 * uVar17;\n    uVar12 = uVar14 * 0x20000 + (uVar12 & 0x1ffff);\n    uVar5 = uVar17 | mVar11 << 0x10;\n    mVar11 = uVar12 - uVar17 * uVar17;\n    if ((uVar14 >> 0xf) - (uint)(uVar12 < uVar17 * uVar17) == -1) {\n      *scratch = uVar5 + mVar11 + (uVar5 - 1);\n      *puVar9 = uVar5 - 1;\n    }\n    else {\n      *scratch = mVar11;\n      *puVar9 = uVar5;\n    }\n    return;\n  }\n  *(uint **)(puVar7 + -0x50) = puVar18;\n  iVar4 = mVar13 / 2;\n  n = mVar13 - iVar4;\n  np_00 = scratch + iVar4 * 2;\n  pmVar8 = puVar9 + iVar4;\n  mVar11 = mpn_dc_sqrtrem(pmVar8,np_00,n,0,*(mp_ptr *)(puVar7 + -0x50));\n  iVar21 = *(int *)(puVar7 + -0x40);\n  if (mVar11 != 0) {\n    pcVar24 = *(code **)(iVar21 + -0x7b2c);\n    *(mp_limb_t *)(puVar7 + -0x34) = mVar11;\n    (*pcVar24)(np_00,np_00,pmVar8,n);\n    iVar21 = *(int *)(puVar7 + -0x40);\n    mVar11 = *(mp_limb_t *)(puVar7 + -0x34);\n  }\n  pmVar15 = scratch + iVar4;\n  pcVar24 = *(code **)(iVar21 + -0x7a30);\n  *(mp_limb_t *)(puVar7 + -0x34) = mVar11;\n  *(mp_ptr *)(puVar7 + -0x30) = pmVar15;\n  *(int *)(puVar7 + -0x48) = n;\n  *(mp_ptr *)(puVar7 + -0x4c) = pmVar8;\n  *(mp_size_t *)(puVar7 + -0x50) = mVar13;\n  (*pcVar24)(puVar18,pmVar15,0,pmVar15);\n  uVar12 = *puVar18;\n  pcVar24 = *(code **)(*(int *)(puVar7 + -0x40) + -0x7ae0);\n  *(uint *)(puVar7 + -0x34) = *(int *)(puVar7 + -0x34) + puVar18[iVar4];\n  (*pcVar24)(puVar9,puVar18,iVar4,1);\n  uVar17 = *(uint *)(puVar7 + -0x34);\n  iVar21 = *(int *)(puVar7 + -0x40);\n  puVar9[iVar4 + -1] = puVar9[iVar4 + -1] | uVar17 << 0x1f;\n  uVar14 = *puVar9;\n  *(uint *)(puVar7 + -0x2c) = *(uint *)(puVar7 + 0xc) & uVar14;\n  if ((*(uint *)(puVar7 + 0xc) & uVar14) == 0) {\n    uVar17 = uVar17 >> 1;\n    if ((uVar12 & 1) == 0) {\n      iVar19 = 0;\n    }\n    else {\n      pcVar24 = *(code **)(iVar21 + -0x7d0c);\n      *(uint *)(puVar7 + -0x34) = uVar17;\n      iVar19 = (*pcVar24)(*(undefined4 *)(puVar7 + -0x30),*(undefined4 *)(puVar7 + -0x30),pmVar8,n);\n      iVar21 = *(int *)(puVar7 + -0x40);\n      uVar17 = *(uint *)(puVar7 + -0x34);\n    }\n    pcVar24 = *(code **)(iVar21 + -0x7cac);\n    *(uint *)(puVar7 + -0x34) = uVar17;\n    (*pcVar24)(scratch + mVar13,puVar9,iVar4);\n    iVar21 = (**(code **)(*(int *)(puVar7 + -0x40) + -0x7b2c))\n                       (scratch,scratch,scratch + mVar13,iVar4 << 1);\n    uVar14 = *(uint *)(puVar7 + -0x34);\n    iVar22 = *(int *)(puVar7 + -0x40);\n    uVar12 = iVar21 + uVar14;\n    if (iVar4 != n) {\n      mVar11 = *np_00 - uVar12;\n      uVar12 = (uint)(*np_00 < uVar12);\n      *np_00 = mVar11;\n    }\n    if ((int)(iVar19 - uVar12) < 0) {\n      mVar11 = *pmVar8;\n      *pmVar8 = uVar14 + mVar11;\n      if (uVar14 + mVar11 < uVar14) {\n        if (n < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar7 + -0x2c) = 2;\n        }\n        else {\n          mVar11 = pmVar8[1];\n          pmVar8[1] = mVar11 + 1;\n          if (mVar11 + 1 == 0) {\n            iVar4 = 2;\n            pmVar8 = pmVar8 + 2;\n            do {\n              bVar1 = n == iVar4;\n              iVar4 = iVar4 + 1;\n              if (bVar1) goto LAB_00045c64;\n              mVar11 = *pmVar8;\n              *pmVar8 = mVar11 + 1;\n              pmVar8 = pmVar8 + 1;\n            } while (mVar11 + 1 == 0);\n          }\n        }\n      }\n      (**(code **)(iVar22 + -0x7f70))(scratch,puVar9,mVar13,2);\n      mVar11 = *scratch;\n      *scratch = mVar11 - 1;\n      if (mVar11 == 0) {\n        if (mVar13 < 2) {\n          *puVar9 = *puVar9 - 1;\n          return;\n        }\n        mVar11 = scratch[1];\n        scratch[1] = mVar11 - 1;\n        if (mVar11 == 0) {\n          iVar4 = 2;\n          pmVar8 = scratch + 2;\n          do {\n            bVar1 = mVar13 == iVar4;\n            iVar4 = iVar4 + 1;\n            if (bVar1) break;\n            mVar11 = *pmVar8;\n            *pmVar8 = mVar11 - 1;\n            pmVar8 = pmVar8 + 1;\n          } while (mVar11 == 0);\n        }\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }\n      else {\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        if (mVar13 < 2) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }\n      puVar9[1] = uVar12 - 1;\n      if (uVar12 == 0) {\n        iVar4 = 2;\n        puVar9 = puVar9 + 2;\n        do {\n          bVar1 = mVar13 <= iVar4;\n          iVar4 = iVar4 + 1;\n          if (bVar1) {\n            return;\n          }\n          uVar12 = *puVar9;\n          *puVar9 = uVar12 - 1;\n          puVar9 = puVar9 + 1;\n        } while (uVar12 == 0);\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "mpn_divappr_q(mp_ptr qp,mp_srcptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn,mp_ptr scratch)" identifier (parameter_list "(mp_ptr qp,mp_srcptr np,mp_size_t nn,mp_srcptr dp,mp_size_t dn,mp_ptr scratch)" ( (parameter_declaration "mp_ptr qp" type_identifier identifier) , (parameter_declaration "mp_srcptr np" type_identifier identifier) , (parameter_declaration "mp_size_t nn" type_identifier identifier) , (parameter_declaration "mp_srcptr dp" type_identifier identifier) , (parameter_declaration "mp_size_t dn" type_identifier identifier) , (parameter_declaration "mp_ptr scratch" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  gmp_pi1_t *pgVar6;\n  undefined1 *puVar7;\n  mp_ptr pmVar8;\n  uint *puVar9;\n  mp_limb_t *pmVar10;\n  mp_limb_t mVar11;\n  uint uVar12;\n  mp_size_t mVar13;\n  uint uVar14;\n  mp_ptr pmVar15;\n  uint uVar16;\n  uint uVar17;\n  uint *puVar18;\n  int iVar19;\n  undefined4 unaff_s5;\n  int n;\n  undefined4 unaff_s6;\n  mp_ptr np_00;\n  undefined4 unaff_s7;\n  undefined *puVar20;\n  int iVar21;\n  int iVar22;\n  undefined1 *puVar23;\n  code *pcVar24;\n  uint uVar25;\n  uint uVar26;\n  undefined1 auStack_58 [16];\n  mp_size_t mStack_48;\n  gmp_pi1_t *pgStack_44;\n  gmp_pi1_t inv;\n  tmp_reentrant_t *__tmp_marker;\n  uint *local_24;\n  \n  puVar3 = PTR___stack_chk_guard_00097540;\n  puVar7 = auStack_58;\n  puVar23 = auStack_58;\n  local_24 = *(uint **)PTR___stack_chk_guard_00097540;\n  if (nn != 0) {\n    iVar4 = nn + -1;\n    mVar11 = *np;\n    if (iVar4 == 0) {\n      *scratch = mVar11;\n    }\n    else {\n      pmVar8 = scratch;\n      pmVar10 = np + 1;\n      do {\n        *pmVar8 = mVar11;\n        iVar4 = iVar4 + -1;\n        mVar11 = *pmVar10;\n        pmVar8 = pmVar8 + 1;\n        pmVar10 = pmVar10 + 1;\n      } while (iVar4 != 0);\n      scratch[nn + -1] = mVar11;\n    }\n  }\n  uVar14 = dp[dn + -1];\n  uVar12 = uVar14 >> 0x10;\n  if (uVar12 == 0) {\n    trap(7);\n  }\n  uVar25 = ~uVar14 / uVar12;\n  uVar16 = (uVar14 & 0xffff) * uVar25;\n  uVar5 = ~uVar14 % uVar12 << 0x10 | 0xffff;\n  uVar17 = uVar25;\n  if (uVar5 < uVar16) {\n    uVar5 = uVar5 + uVar14;\n    uVar17 = uVar25 - 1;\n    if ((uVar14 <= uVar5) && (uVar5 < uVar16)) {\n      uVar17 = uVar25 - 2;\n      uVar5 = uVar5 + uVar14;\n    }\n  }\n  if (uVar12 == 0) {\n    trap(7);\n  }\n  uVar26 = (uVar5 - uVar16) / uVar12;\n  uVar25 = (uVar14 & 0xffff) * uVar26;\n  uVar5 = (uVar5 - uVar16) % uVar12 << 0x10 | 0xffff;\n  uVar16 = uVar14 + uVar5;\n  uVar12 = uVar26;\n  if (((uVar5 < uVar25) && (uVar12 = uVar26 - 1, uVar14 <= uVar16)) && (uVar16 < uVar25)) {\n    uVar12 = uVar26 - 2;\n  }\n  uVar5 = (dp + dn + -1)[-1];\n  pgVar6 = (gmp_pi1_t *)(uVar17 << 0x10 | uVar12);\n  uVar12 = uVar14 * (int)pgVar6 + uVar5;\n  lVar2 = (ulonglong)uVar5 * ZEXT48(pgVar6);\n  if (uVar12 < uVar5) {\n    uVar16 = uVar12 < uVar14 ^ 1;\n    uVar17 = uVar14;\n    if (uVar16 == 0) {\n      uVar17 = 0;\n    }\n    pgVar6 = (gmp_pi1_t *)((int)pgVar6 + (-1 - uVar16));\n    uVar12 = (uVar12 - uVar14) - uVar17;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(pgVar6);\n  }\n  uVar17 = (uint)((ulonglong)lVar2 >> 0x20);\n  uVar12 = uVar12 + uVar17;\n  inv.inv32 = (mp_limb_t)pgVar6;\n  if ((uVar12 < uVar17) && (inv.inv32 = (int)&pgVar6[-1].inv32 + 3, uVar14 <= uVar12)) {\n    if (uVar14 < uVar12) {\n      inv.inv32 = (int)&pgVar6[-1].inv32 + 2;\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      inv.inv32 = (mp_limb_t)((int)&pgVar6[-1].inv32 + 2);\n    }\n  }\n  mVar13 = nn;\n  if (dn < 200) {\n    mStack_48 = dn;\n    pgStack_44 = (gmp_pi1_t *)inv.inv32;\n    mVar11 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(qp);\n  }\n  else if (dn < 2000) {\n    pgStack_44 = &inv;\n    mStack_48 = dn;\n    mVar11 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(qp);\n    puVar7 = auStack_58;\n  }\n  else {\n    iVar4 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(nn,dn,0);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    if ((uint)(iVar4 * 4) < 0x7f01) {\n      iVar4 = -(iVar4 * 4 + 7U & 0xfffffff8);\n      puVar23 = auStack_58 + iVar4;\n      puVar7 = &stack0xffffffc0 + iVar4;\n    }\n    else {\n      puVar7 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }\n    *(undefined1 **)(puVar23 + 0x14) = puVar7;\n    *(mp_size_t *)(puVar23 + 0x10) = dn;\n    scratch = np;\n    mVar11 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(qp);\n    puVar7 = puVar23;\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }\n  puVar9 = *(uint **)puVar3;\n  qp[nn - dn] = mVar11;\n  if (local_24 == puVar9) {\n    return;\n  }\n  pcVar24 = mpn_dc_sqrtrem;\n  puVar9 = local_24;\n  puVar20 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  *(undefined **)(puVar7 + -0x40) = puVar20 + 0x596fc;\n  *(mp_ptr *)(puVar7 + -0x20) = qp + (nn - dn);\n  *(undefined **)(puVar7 + -0x24) = puVar3;\n  *(mp_ptr *)(puVar7 + -0x28) = qp;\n  *(code **)(puVar7 + -4) = pcVar24;\n  *(undefined1 **)(puVar7 + -8) = auStack_58;\n  *(undefined4 *)(puVar7 + -0xc) = unaff_s7;\n  *(undefined4 *)(puVar7 + -0x10) = unaff_s6;\n  *(undefined4 *)(puVar7 + -0x14) = unaff_s5;\n  *(mp_srcptr *)(puVar7 + -0x18) = np;\n  *(mp_size_t *)(puVar7 + -0x1c) = dn;\n  *(mp_srcptr *)(puVar7 + 0xc) = dp;\n  puVar18 = *(uint **)(puVar7 + 0x10);\n  if (mVar13 == 1) {\n    uVar12 = *scratch;\n    mVar11 = mpn_sqrtrem1(scratch,scratch[1]);\n    uVar14 = (uVar12 >> 0x11) + *scratch * 0x8000;\n    if (mVar11 == 0) {\n      trap(7);\n    }\n    uVar17 = uVar14 / mVar11;\n    uVar17 = uVar17 - (uVar17 >> 0x10);\n    uVar14 = uVar14 - mVar11 * uVar17;\n    uVar12 = uVar14 * 0x20000 + (uVar12 & 0x1ffff);\n    uVar5 = uVar17 | mVar11 << 0x10;\n    mVar11 = uVar12 - uVar17 * uVar17;\n    if ((uVar14 >> 0xf) - (uint)(uVar12 < uVar17 * uVar17) == -1) {\n      *scratch = uVar5 + mVar11 + (uVar5 - 1);\n      *puVar9 = uVar5 - 1;\n    }\n    else {\n      *scratch = mVar11;\n      *puVar9 = uVar5;\n    }\n    return;\n  }\n  *(uint **)(puVar7 + -0x50) = puVar18;\n  iVar4 = mVar13 / 2;\n  n = mVar13 - iVar4;\n  np_00 = scratch + iVar4 * 2;\n  pmVar8 = puVar9 + iVar4;\n  mVar11 = mpn_dc_sqrtrem(pmVar8,np_00,n,0,*(mp_ptr *)(puVar7 + -0x50));\n  iVar21 = *(int *)(puVar7 + -0x40);\n  if (mVar11 != 0) {\n    pcVar24 = *(code **)(iVar21 + -0x7b2c);\n    *(mp_limb_t *)(puVar7 + -0x34) = mVar11;\n    (*pcVar24)(np_00,np_00,pmVar8,n);\n    iVar21 = *(int *)(puVar7 + -0x40);\n    mVar11 = *(mp_limb_t *)(puVar7 + -0x34);\n  }\n  pmVar15 = scratch + iVar4;\n  pcVar24 = *(code **)(iVar21 + -0x7a30);\n  *(mp_limb_t *)(puVar7 + -0x34) = mVar11;\n  *(mp_ptr *)(puVar7 + -0x30) = pmVar15;\n  *(int *)(puVar7 + -0x48) = n;\n  *(mp_ptr *)(puVar7 + -0x4c) = pmVar8;\n  *(mp_size_t *)(puVar7 + -0x50) = mVar13;\n  (*pcVar24)(puVar18,pmVar15,0,pmVar15);\n  uVar12 = *puVar18;\n  pcVar24 = *(code **)(*(int *)(puVar7 + -0x40) + -0x7ae0);\n  *(uint *)(puVar7 + -0x34) = *(int *)(puVar7 + -0x34) + puVar18[iVar4];\n  (*pcVar24)(puVar9,puVar18,iVar4,1);\n  uVar17 = *(uint *)(puVar7 + -0x34);\n  iVar21 = *(int *)(puVar7 + -0x40);\n  puVar9[iVar4 + -1] = puVar9[iVar4 + -1] | uVar17 << 0x1f;\n  uVar14 = *puVar9;\n  *(uint *)(puVar7 + -0x2c) = *(uint *)(puVar7 + 0xc) & uVar14;\n  if ((*(uint *)(puVar7 + 0xc) & uVar14) == 0) {\n    uVar17 = uVar17 >> 1;\n    if ((uVar12 & 1) == 0) {\n      iVar19 = 0;\n    }\n    else {\n      pcVar24 = *(code **)(iVar21 + -0x7d0c);\n      *(uint *)(puVar7 + -0x34) = uVar17;\n      iVar19 = (*pcVar24)(*(undefined4 *)(puVar7 + -0x30),*(undefined4 *)(puVar7 + -0x30),pmVar8,n);\n      iVar21 = *(int *)(puVar7 + -0x40);\n      uVar17 = *(uint *)(puVar7 + -0x34);\n    }\n    pcVar24 = *(code **)(iVar21 + -0x7cac);\n    *(uint *)(puVar7 + -0x34) = uVar17;\n    (*pcVar24)(scratch + mVar13,puVar9,iVar4);\n    iVar21 = (**(code **)(*(int *)(puVar7 + -0x40) + -0x7b2c))\n                       (scratch,scratch,scratch + mVar13,iVar4 << 1);\n    uVar14 = *(uint *)(puVar7 + -0x34);\n    iVar22 = *(int *)(puVar7 + -0x40);\n    uVar12 = iVar21 + uVar14;\n    if (iVar4 != n) {\n      mVar11 = *np_00 - uVar12;\n      uVar12 = (uint)(*np_00 < uVar12);\n      *np_00 = mVar11;\n    }\n    if ((int)(iVar19 - uVar12) < 0) {\n      mVar11 = *pmVar8;\n      *pmVar8 = uVar14 + mVar11;\n      if (uVar14 + mVar11 < uVar14) {\n        if (n < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar7 + -0x2c) = 2;\n        }\n        else {\n          mVar11 = pmVar8[1];\n          pmVar8[1] = mVar11 + 1;\n          if (mVar11 + 1 == 0) {\n            iVar4 = 2;\n            pmVar8 = pmVar8 + 2;\n            do {\n              bVar1 = n == iVar4;\n              iVar4 = iVar4 + 1;\n              if (bVar1) goto LAB_00045c64;\n              mVar11 = *pmVar8;\n              *pmVar8 = mVar11 + 1;\n              pmVar8 = pmVar8 + 1;\n            } while (mVar11 + 1 == 0);\n          }\n        }\n      }\n      (**(code **)(iVar22 + -0x7f70))(scratch,puVar9,mVar13,2);\n      mVar11 = *scratch;\n      *scratch = mVar11 - 1;\n      if (mVar11 == 0) {\n        if (mVar13 < 2) {\n          *puVar9 = *puVar9 - 1;\n          return;\n        }\n        mVar11 = scratch[1];\n        scratch[1] = mVar11 - 1;\n        if (mVar11 == 0) {\n          iVar4 = 2;\n          pmVar8 = scratch + 2;\n          do {\n            bVar1 = mVar13 == iVar4;\n            iVar4 = iVar4 + 1;\n            if (bVar1) break;\n            mVar11 = *pmVar8;\n            *pmVar8 = mVar11 - 1;\n            pmVar8 = pmVar8 + 1;\n          } while (mVar11 == 0);\n        }\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }\n      else {\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        if (mVar13 < 2) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }\n      puVar9[1] = uVar12 - 1;\n      if (uVar12 == 0) {\n        iVar4 = 2;\n        puVar9 = puVar9 + 2;\n        do {\n          bVar1 = mVar13 <= iVar4;\n          iVar4 = iVar4 + 1;\n          if (bVar1) {\n            return;\n          }\n          uVar12 = *puVar9;\n          *puVar9 = uVar12 - 1;\n          puVar9 = puVar9 + 1;\n        } while (uVar12 == 0);\n      }\n    }\n  }\n  return;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "longlong lVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "gmp_pi1_t *pgVar6;" type_identifier (pointer_declarator "*pgVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "mp_ptr pmVar8;" type_identifier identifier ;) (declaration "uint *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "mp_limb_t *pmVar10;" type_identifier (pointer_declarator "*pmVar10" * identifier) ;) (declaration "mp_limb_t mVar11;" type_identifier identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "mp_size_t mVar13;" type_identifier identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "mp_ptr pmVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "uint *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "undefined4 unaff_s5;" type_identifier identifier ;) (declaration "int n;" primitive_type identifier ;) (declaration "undefined4 unaff_s6;" type_identifier identifier ;) (declaration "mp_ptr np_00;" type_identifier identifier ;) (declaration "undefined4 unaff_s7;" type_identifier identifier ;) (declaration "undefined *puVar20;" type_identifier (pointer_declarator "*puVar20" * identifier) ;) (declaration "int iVar21;" primitive_type identifier ;) (declaration "int iVar22;" primitive_type identifier ;) (declaration "undefined1 *puVar23;" type_identifier (pointer_declarator "*puVar23" * identifier) ;) (declaration "code *pcVar24;" type_identifier (pointer_declarator "*pcVar24" * identifier) ;) (declaration "uint uVar25;" type_identifier identifier ;) (declaration "uint uVar26;" type_identifier identifier ;) (declaration "undefined1 auStack_58 [16];" type_identifier (array_declarator "auStack_58 [16]" identifier [ number_literal ]) ;) (declaration "mp_size_t mStack_48;" type_identifier identifier ;) (declaration "gmp_pi1_t *pgStack_44;" type_identifier (pointer_declarator "*pgStack_44" * identifier) ;) (declaration "gmp_pi1_t inv;" type_identifier identifier ;) (declaration "tmp_reentrant_t *__tmp_marker;" type_identifier (pointer_declarator "*__tmp_marker" * identifier) ;) (declaration "uint *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "puVar3 = PTR___stack_chk_guard_00097540;" (assignment_expression "puVar3 = PTR___stack_chk_guard_00097540" identifier = identifier) ;) (expression_statement "puVar7 = auStack_58;" (assignment_expression "puVar7 = auStack_58" identifier = identifier) ;) (expression_statement "puVar23 = auStack_58;" (assignment_expression "puVar23 = auStack_58" identifier = identifier) ;) (expression_statement "local_24 = *(uint **)PTR___stack_chk_guard_00097540;" (assignment_expression "local_24 = *(uint **)PTR___stack_chk_guard_00097540" identifier = (pointer_expression "*(uint **)PTR___stack_chk_guard_00097540" * (cast_expression "(uint **)PTR___stack_chk_guard_00097540" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (nn != 0) {\n    iVar4 = nn + -1;\n    mVar11 = *np;\n    if (iVar4 == 0) {\n      *scratch = mVar11;\n    }\n    else {\n      pmVar8 = scratch;\n      pmVar10 = np + 1;\n      do {\n        *pmVar8 = mVar11;\n        iVar4 = iVar4 + -1;\n        mVar11 = *pmVar10;\n        pmVar8 = pmVar8 + 1;\n        pmVar10 = pmVar10 + 1;\n      } while (iVar4 != 0);\n      scratch[nn + -1] = mVar11;\n    }\n  }" if (parenthesized_expression "(nn != 0)" ( (binary_expression "nn != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = nn + -1;\n    mVar11 = *np;\n    if (iVar4 == 0) {\n      *scratch = mVar11;\n    }\n    else {\n      pmVar8 = scratch;\n      pmVar10 = np + 1;\n      do {\n        *pmVar8 = mVar11;\n        iVar4 = iVar4 + -1;\n        mVar11 = *pmVar10;\n        pmVar8 = pmVar8 + 1;\n        pmVar10 = pmVar10 + 1;\n      } while (iVar4 != 0);\n      scratch[nn + -1] = mVar11;\n    }\n  }" { (expression_statement "iVar4 = nn + -1;" (assignment_expression "iVar4 = nn + -1" identifier = (binary_expression "nn + -1" identifier + number_literal)) ;) (expression_statement "mVar11 = *np;" (assignment_expression "mVar11 = *np" identifier = (pointer_expression "*np" * identifier)) ;) (if_statement "if (iVar4 == 0) {\n      *scratch = mVar11;\n    }\n    else {\n      pmVar8 = scratch;\n      pmVar10 = np + 1;\n      do {\n        *pmVar8 = mVar11;\n        iVar4 = iVar4 + -1;\n        mVar11 = *pmVar10;\n        pmVar8 = pmVar8 + 1;\n        pmVar10 = pmVar10 + 1;\n      } while (iVar4 != 0);\n      scratch[nn + -1] = mVar11;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      *scratch = mVar11;\n    }" { (expression_statement "*scratch = mVar11;" (assignment_expression "*scratch = mVar11" (pointer_expression "*scratch" * identifier) = identifier) ;) }) (else_clause "else {\n      pmVar8 = scratch;\n      pmVar10 = np + 1;\n      do {\n        *pmVar8 = mVar11;\n        iVar4 = iVar4 + -1;\n        mVar11 = *pmVar10;\n        pmVar8 = pmVar8 + 1;\n        pmVar10 = pmVar10 + 1;\n      } while (iVar4 != 0);\n      scratch[nn + -1] = mVar11;\n    }" else (compound_statement "{\n      pmVar8 = scratch;\n      pmVar10 = np + 1;\n      do {\n        *pmVar8 = mVar11;\n        iVar4 = iVar4 + -1;\n        mVar11 = *pmVar10;\n        pmVar8 = pmVar8 + 1;\n        pmVar10 = pmVar10 + 1;\n      } while (iVar4 != 0);\n      scratch[nn + -1] = mVar11;\n    }" { (expression_statement "pmVar8 = scratch;" (assignment_expression "pmVar8 = scratch" identifier = identifier) ;) (expression_statement "pmVar10 = np + 1;" (assignment_expression "pmVar10 = np + 1" identifier = (binary_expression "np + 1" identifier + number_literal)) ;) (do_statement "do {\n        *pmVar8 = mVar11;\n        iVar4 = iVar4 + -1;\n        mVar11 = *pmVar10;\n        pmVar8 = pmVar8 + 1;\n        pmVar10 = pmVar10 + 1;\n      } while (iVar4 != 0);" do (compound_statement "{\n        *pmVar8 = mVar11;\n        iVar4 = iVar4 + -1;\n        mVar11 = *pmVar10;\n        pmVar8 = pmVar8 + 1;\n        pmVar10 = pmVar10 + 1;\n      }" { (expression_statement "*pmVar8 = mVar11;" (assignment_expression "*pmVar8 = mVar11" (pointer_expression "*pmVar8" * identifier) = identifier) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "mVar11 = *pmVar10;" (assignment_expression "mVar11 = *pmVar10" identifier = (pointer_expression "*pmVar10" * identifier)) ;) (expression_statement "pmVar8 = pmVar8 + 1;" (assignment_expression "pmVar8 = pmVar8 + 1" identifier = (binary_expression "pmVar8 + 1" identifier + number_literal)) ;) (expression_statement "pmVar10 = pmVar10 + 1;" (assignment_expression "pmVar10 = pmVar10 + 1" identifier = (binary_expression "pmVar10 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "scratch[nn + -1] = mVar11;" (assignment_expression "scratch[nn + -1] = mVar11" (subscript_expression "scratch[nn + -1]" identifier [ (binary_expression "nn + -1" identifier + number_literal) ]) = identifier) ;) }))) })) (expression_statement "uVar14 = dp[dn + -1];" (assignment_expression "uVar14 = dp[dn + -1]" identifier = (subscript_expression "dp[dn + -1]" identifier [ (binary_expression "dn + -1" identifier + number_literal) ])) ;) (expression_statement "uVar12 = uVar14 >> 0x10;" (assignment_expression "uVar12 = uVar14 >> 0x10" identifier = (binary_expression "uVar14 >> 0x10" identifier >> number_literal)) ;) (if_statement "if (uVar12 == 0) {\n    trap(7);\n  }" if (parenthesized_expression "(uVar12 == 0)" ( (binary_expression "uVar12 == 0" identifier == number_literal) )) (compound_statement "{\n    trap(7);\n  }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar25 = ~uVar14 / uVar12;" (assignment_expression "uVar25 = ~uVar14 / uVar12" identifier = (binary_expression "~uVar14 / uVar12" (unary_expression "~uVar14" ~ identifier) / identifier)) ;) (expression_statement "uVar16 = (uVar14 & 0xffff) * uVar25;" (assignment_expression "uVar16 = (uVar14 & 0xffff) * uVar25" identifier = (binary_expression "(uVar14 & 0xffff) * uVar25" (parenthesized_expression "(uVar14 & 0xffff)" ( (binary_expression "uVar14 & 0xffff" identifier & number_literal) )) * identifier)) ;) (expression_statement "uVar5 = ~uVar14 % uVar12 << 0x10 | 0xffff;" (assignment_expression "uVar5 = ~uVar14 % uVar12 << 0x10 | 0xffff" identifier = (binary_expression "~uVar14 % uVar12 << 0x10 | 0xffff" (binary_expression "~uVar14 % uVar12 << 0x10" (binary_expression "~uVar14 % uVar12" (unary_expression "~uVar14" ~ identifier) % identifier) << number_literal) | number_literal)) ;) (expression_statement "uVar17 = uVar25;" (assignment_expression "uVar17 = uVar25" identifier = identifier) ;) (if_statement "if (uVar5 < uVar16) {\n    uVar5 = uVar5 + uVar14;\n    uVar17 = uVar25 - 1;\n    if ((uVar14 <= uVar5) && (uVar5 < uVar16)) {\n      uVar17 = uVar25 - 2;\n      uVar5 = uVar5 + uVar14;\n    }\n  }" if (parenthesized_expression "(uVar5 < uVar16)" ( (binary_expression "uVar5 < uVar16" identifier < identifier) )) (compound_statement "{\n    uVar5 = uVar5 + uVar14;\n    uVar17 = uVar25 - 1;\n    if ((uVar14 <= uVar5) && (uVar5 < uVar16)) {\n      uVar17 = uVar25 - 2;\n      uVar5 = uVar5 + uVar14;\n    }\n  }" { (expression_statement "uVar5 = uVar5 + uVar14;" (assignment_expression "uVar5 = uVar5 + uVar14" identifier = (binary_expression "uVar5 + uVar14" identifier + identifier)) ;) (expression_statement "uVar17 = uVar25 - 1;" (assignment_expression "uVar17 = uVar25 - 1" identifier = (binary_expression "uVar25 - 1" identifier - number_literal)) ;) (if_statement "if ((uVar14 <= uVar5) && (uVar5 < uVar16)) {\n      uVar17 = uVar25 - 2;\n      uVar5 = uVar5 + uVar14;\n    }" if (parenthesized_expression "((uVar14 <= uVar5) && (uVar5 < uVar16))" ( (binary_expression "(uVar14 <= uVar5) && (uVar5 < uVar16)" (parenthesized_expression "(uVar14 <= uVar5)" ( (binary_expression "uVar14 <= uVar5" identifier <= identifier) )) && (parenthesized_expression "(uVar5 < uVar16)" ( (binary_expression "uVar5 < uVar16" identifier < identifier) ))) )) (compound_statement "{\n      uVar17 = uVar25 - 2;\n      uVar5 = uVar5 + uVar14;\n    }" { (expression_statement "uVar17 = uVar25 - 2;" (assignment_expression "uVar17 = uVar25 - 2" identifier = (binary_expression "uVar25 - 2" identifier - number_literal)) ;) (expression_statement "uVar5 = uVar5 + uVar14;" (assignment_expression "uVar5 = uVar5 + uVar14" identifier = (binary_expression "uVar5 + uVar14" identifier + identifier)) ;) })) })) (if_statement "if (uVar12 == 0) {\n    trap(7);\n  }" if (parenthesized_expression "(uVar12 == 0)" ( (binary_expression "uVar12 == 0" identifier == number_literal) )) (compound_statement "{\n    trap(7);\n  }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar26 = (uVar5 - uVar16) / uVar12;" (assignment_expression "uVar26 = (uVar5 - uVar16) / uVar12" identifier = (binary_expression "(uVar5 - uVar16) / uVar12" (parenthesized_expression "(uVar5 - uVar16)" ( (binary_expression "uVar5 - uVar16" identifier - identifier) )) / identifier)) ;) (expression_statement "uVar25 = (uVar14 & 0xffff) * uVar26;" (assignment_expression "uVar25 = (uVar14 & 0xffff) * uVar26" identifier = (binary_expression "(uVar14 & 0xffff) * uVar26" (parenthesized_expression "(uVar14 & 0xffff)" ( (binary_expression "uVar14 & 0xffff" identifier & number_literal) )) * identifier)) ;) (expression_statement "uVar5 = (uVar5 - uVar16) % uVar12 << 0x10 | 0xffff;" (assignment_expression "uVar5 = (uVar5 - uVar16) % uVar12 << 0x10 | 0xffff" identifier = (binary_expression "(uVar5 - uVar16) % uVar12 << 0x10 | 0xffff" (binary_expression "(uVar5 - uVar16) % uVar12 << 0x10" (binary_expression "(uVar5 - uVar16) % uVar12" (parenthesized_expression "(uVar5 - uVar16)" ( (binary_expression "uVar5 - uVar16" identifier - identifier) )) % identifier) << number_literal) | number_literal)) ;) (expression_statement "uVar16 = uVar14 + uVar5;" (assignment_expression "uVar16 = uVar14 + uVar5" identifier = (binary_expression "uVar14 + uVar5" identifier + identifier)) ;) (expression_statement "uVar12 = uVar26;" (assignment_expression "uVar12 = uVar26" identifier = identifier) ;) (if_statement "if (((uVar5 < uVar25) && (uVar12 = uVar26 - 1, uVar14 <= uVar16)) && (uVar16 < uVar25)) {\n    uVar12 = uVar26 - 2;\n  }" if (parenthesized_expression "(((uVar5 < uVar25) && (uVar12 = uVar26 - 1, uVar14 <= uVar16)) && (uVar16 < uVar25))" ( (binary_expression "((uVar5 < uVar25) && (uVar12 = uVar26 - 1, uVar14 <= uVar16)) && (uVar16 < uVar25)" (parenthesized_expression "((uVar5 < uVar25) && (uVar12 = uVar26 - 1, uVar14 <= uVar16))" ( (binary_expression "(uVar5 < uVar25) && (uVar12 = uVar26 - 1, uVar14 <= uVar16)" (parenthesized_expression "(uVar5 < uVar25)" ( (binary_expression "uVar5 < uVar25" identifier < identifier) )) && (parenthesized_expression "(uVar12 = uVar26 - 1, uVar14 <= uVar16)" ( (comma_expression "uVar12 = uVar26 - 1, uVar14 <= uVar16" (assignment_expression "uVar12 = uVar26 - 1" identifier = (binary_expression "uVar26 - 1" identifier - number_literal)) , (binary_expression "uVar14 <= uVar16" identifier <= identifier)) ))) )) && (parenthesized_expression "(uVar16 < uVar25)" ( (binary_expression "uVar16 < uVar25" identifier < identifier) ))) )) (compound_statement "{\n    uVar12 = uVar26 - 2;\n  }" { (expression_statement "uVar12 = uVar26 - 2;" (assignment_expression "uVar12 = uVar26 - 2" identifier = (binary_expression "uVar26 - 2" identifier - number_literal)) ;) })) (expression_statement "uVar5 = (dp + dn + -1)[-1];" (assignment_expression "uVar5 = (dp + dn + -1)[-1]" identifier = (subscript_expression "(dp + dn + -1)[-1]" (parenthesized_expression "(dp + dn + -1)" ( (binary_expression "dp + dn + -1" (binary_expression "dp + dn" identifier + identifier) + number_literal) )) [ number_literal ])) ;) (expression_statement "pgVar6 = (gmp_pi1_t *)(uVar17 << 0x10 | uVar12);" (assignment_expression "pgVar6 = (gmp_pi1_t *)(uVar17 << 0x10 | uVar12)" identifier = (cast_expression "(gmp_pi1_t *)(uVar17 << 0x10 | uVar12)" ( (type_descriptor "gmp_pi1_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar17 << 0x10 | uVar12)" ( (binary_expression "uVar17 << 0x10 | uVar12" (binary_expression "uVar17 << 0x10" identifier << number_literal) | identifier) )))) ;) (expression_statement "uVar12 = uVar14 * (int)pgVar6 + uVar5;" (assignment_expression "uVar12 = uVar14 * (int)pgVar6 + uVar5" identifier = (binary_expression "uVar14 * (int)pgVar6 + uVar5" (binary_expression "uVar14 * (int)pgVar6" identifier * (cast_expression "(int)pgVar6" ( (type_descriptor "int" primitive_type) ) identifier)) + identifier)) ;) (expression_statement "lVar2 = (ulonglong)uVar5 * ZEXT48(pgVar6);" (assignment_expression "lVar2 = (ulonglong)uVar5 * ZEXT48(pgVar6)" identifier = (binary_expression "(ulonglong)uVar5 * ZEXT48(pgVar6)" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (call_expression "ZEXT48(pgVar6)" identifier (argument_list "(pgVar6)" ( identifier ))))) ;) (if_statement "if (uVar12 < uVar5) {\n    uVar16 = uVar12 < uVar14 ^ 1;\n    uVar17 = uVar14;\n    if (uVar16 == 0) {\n      uVar17 = 0;\n    }\n    pgVar6 = (gmp_pi1_t *)((int)pgVar6 + (-1 - uVar16));\n    uVar12 = (uVar12 - uVar14) - uVar17;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(pgVar6);\n  }" if (parenthesized_expression "(uVar12 < uVar5)" ( (binary_expression "uVar12 < uVar5" identifier < identifier) )) (compound_statement "{\n    uVar16 = uVar12 < uVar14 ^ 1;\n    uVar17 = uVar14;\n    if (uVar16 == 0) {\n      uVar17 = 0;\n    }\n    pgVar6 = (gmp_pi1_t *)((int)pgVar6 + (-1 - uVar16));\n    uVar12 = (uVar12 - uVar14) - uVar17;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(pgVar6);\n  }" { (expression_statement "uVar16 = uVar12 < uVar14 ^ 1;" (assignment_expression "uVar16 = uVar12 < uVar14 ^ 1" identifier = (binary_expression "uVar12 < uVar14 ^ 1" (binary_expression "uVar12 < uVar14" identifier < identifier) ^ number_literal)) ;) (expression_statement "uVar17 = uVar14;" (assignment_expression "uVar17 = uVar14" identifier = identifier) ;) (if_statement "if (uVar16 == 0) {\n      uVar17 = 0;\n    }" if (parenthesized_expression "(uVar16 == 0)" ( (binary_expression "uVar16 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar17 = 0;\n    }" { (expression_statement "uVar17 = 0;" (assignment_expression "uVar17 = 0" identifier = number_literal) ;) })) (expression_statement "pgVar6 = (gmp_pi1_t *)((int)pgVar6 + (-1 - uVar16));" (assignment_expression "pgVar6 = (gmp_pi1_t *)((int)pgVar6 + (-1 - uVar16))" identifier = (cast_expression "(gmp_pi1_t *)((int)pgVar6 + (-1 - uVar16))" ( (type_descriptor "gmp_pi1_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pgVar6 + (-1 - uVar16))" ( (binary_expression "(int)pgVar6 + (-1 - uVar16)" (cast_expression "(int)pgVar6" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-1 - uVar16)" ( (binary_expression "-1 - uVar16" number_literal - identifier) ))) )))) ;) (expression_statement "uVar12 = (uVar12 - uVar14) - uVar17;" (assignment_expression "uVar12 = (uVar12 - uVar14) - uVar17" identifier = (binary_expression "(uVar12 - uVar14) - uVar17" (parenthesized_expression "(uVar12 - uVar14)" ( (binary_expression "uVar12 - uVar14" identifier - identifier) )) - identifier)) ;) (expression_statement "lVar2 = (ulonglong)uVar5 * ZEXT48(pgVar6);" (assignment_expression "lVar2 = (ulonglong)uVar5 * ZEXT48(pgVar6)" identifier = (binary_expression "(ulonglong)uVar5 * ZEXT48(pgVar6)" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (call_expression "ZEXT48(pgVar6)" identifier (argument_list "(pgVar6)" ( identifier ))))) ;) })) (expression_statement "uVar17 = (uint)((ulonglong)lVar2 >> 0x20);" (assignment_expression "uVar17 = (uint)((ulonglong)lVar2 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar2 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar2 >> 0x20)" ( (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar12 = uVar12 + uVar17;" (assignment_expression "uVar12 = uVar12 + uVar17" identifier = (binary_expression "uVar12 + uVar17" identifier + identifier)) ;) (expression_statement "inv.inv32 = (mp_limb_t)pgVar6;" (assignment_expression "inv.inv32 = (mp_limb_t)pgVar6" (field_expression "inv.inv32" identifier . field_identifier) = (cast_expression "(mp_limb_t)pgVar6" ( (type_descriptor "mp_limb_t" type_identifier) ) identifier)) ;) (if_statement "if ((uVar12 < uVar17) && (inv.inv32 = (int)&pgVar6[-1].inv32 + 3, uVar14 <= uVar12)) {\n    if (uVar14 < uVar12) {\n      inv.inv32 = (int)&pgVar6[-1].inv32 + 2;\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      inv.inv32 = (mp_limb_t)((int)&pgVar6[-1].inv32 + 2);\n    }\n  }" if (parenthesized_expression "((uVar12 < uVar17) && (inv.inv32 = (int)&pgVar6[-1].inv32 + 3, uVar14 <= uVar12))" ( (binary_expression "(uVar12 < uVar17) && (inv.inv32 = (int)&pgVar6[-1].inv32 + 3, uVar14 <= uVar12)" (parenthesized_expression "(uVar12 < uVar17)" ( (binary_expression "uVar12 < uVar17" identifier < identifier) )) && (parenthesized_expression "(inv.inv32 = (int)&pgVar6[-1].inv32 + 3, uVar14 <= uVar12)" ( (comma_expression "inv.inv32 = (int)&pgVar6[-1].inv32 + 3, uVar14 <= uVar12" (assignment_expression "inv.inv32 = (int)&pgVar6[-1].inv32 + 3" (field_expression "inv.inv32" identifier . field_identifier) = (binary_expression "(int)&pgVar6[-1].inv32 + 3" (cast_expression "(int)&pgVar6[-1].inv32" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pgVar6[-1].inv32" & (field_expression "pgVar6[-1].inv32" (subscript_expression "pgVar6[-1]" identifier [ number_literal ]) . field_identifier))) + number_literal)) , (binary_expression "uVar14 <= uVar12" identifier <= identifier)) ))) )) (compound_statement "{\n    if (uVar14 < uVar12) {\n      inv.inv32 = (int)&pgVar6[-1].inv32 + 2;\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      inv.inv32 = (mp_limb_t)((int)&pgVar6[-1].inv32 + 2);\n    }\n  }" { (if_statement "if (uVar14 < uVar12) {\n      inv.inv32 = (int)&pgVar6[-1].inv32 + 2;\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      inv.inv32 = (mp_limb_t)((int)&pgVar6[-1].inv32 + 2);\n    }" if (parenthesized_expression "(uVar14 < uVar12)" ( (binary_expression "uVar14 < uVar12" identifier < identifier) )) (compound_statement "{\n      inv.inv32 = (int)&pgVar6[-1].inv32 + 2;\n    }" { (expression_statement "inv.inv32 = (int)&pgVar6[-1].inv32 + 2;" (assignment_expression "inv.inv32 = (int)&pgVar6[-1].inv32 + 2" (field_expression "inv.inv32" identifier . field_identifier) = (binary_expression "(int)&pgVar6[-1].inv32 + 2" (cast_expression "(int)&pgVar6[-1].inv32" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pgVar6[-1].inv32" & (field_expression "pgVar6[-1].inv32" (subscript_expression "pgVar6[-1]" identifier [ number_literal ]) . field_identifier))) + number_literal)) ;) }) (else_clause "else if (uVar5 <= (uint)lVar2) {\n      inv.inv32 = (mp_limb_t)((int)&pgVar6[-1].inv32 + 2);\n    }" else (if_statement "if (uVar5 <= (uint)lVar2) {\n      inv.inv32 = (mp_limb_t)((int)&pgVar6[-1].inv32 + 2);\n    }" if (parenthesized_expression "(uVar5 <= (uint)lVar2)" ( (binary_expression "uVar5 <= (uint)lVar2" identifier <= (cast_expression "(uint)lVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) )) (compound_statement "{\n      inv.inv32 = (mp_limb_t)((int)&pgVar6[-1].inv32 + 2);\n    }" { (expression_statement "inv.inv32 = (mp_limb_t)((int)&pgVar6[-1].inv32 + 2);" (assignment_expression "inv.inv32 = (mp_limb_t)((int)&pgVar6[-1].inv32 + 2)" (field_expression "inv.inv32" identifier . field_identifier) = (call_expression "(mp_limb_t)((int)&pgVar6[-1].inv32 + 2)" (parenthesized_expression "(mp_limb_t)" ( identifier )) (argument_list "((int)&pgVar6[-1].inv32 + 2)" ( (binary_expression "(int)&pgVar6[-1].inv32 + 2" (cast_expression "(int)&pgVar6[-1].inv32" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pgVar6[-1].inv32" & (field_expression "pgVar6[-1].inv32" (subscript_expression "pgVar6[-1]" identifier [ number_literal ]) . field_identifier))) + number_literal) )))) ;) })))) })) (expression_statement "mVar13 = nn;" (assignment_expression "mVar13 = nn" identifier = identifier) ;) (if_statement "if (dn < 200) {\n    mStack_48 = dn;\n    pgStack_44 = (gmp_pi1_t *)inv.inv32;\n    mVar11 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(qp);\n  }\n  else if (dn < 2000) {\n    pgStack_44 = &inv;\n    mStack_48 = dn;\n    mVar11 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(qp);\n    puVar7 = auStack_58;\n  }\n  else {\n    iVar4 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(nn,dn,0);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    if ((uint)(iVar4 * 4) < 0x7f01) {\n      iVar4 = -(iVar4 * 4 + 7U & 0xfffffff8);\n      puVar23 = auStack_58 + iVar4;\n      puVar7 = &stack0xffffffc0 + iVar4;\n    }\n    else {\n      puVar7 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }\n    *(undefined1 **)(puVar23 + 0x14) = puVar7;\n    *(mp_size_t *)(puVar23 + 0x10) = dn;\n    scratch = np;\n    mVar11 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(qp);\n    puVar7 = puVar23;\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" if (parenthesized_expression "(dn < 200)" ( (binary_expression "dn < 200" identifier < number_literal) )) (compound_statement "{\n    mStack_48 = dn;\n    pgStack_44 = (gmp_pi1_t *)inv.inv32;\n    mVar11 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(qp);\n  }" { (expression_statement "mStack_48 = dn;" (assignment_expression "mStack_48 = dn" identifier = identifier) ;) (expression_statement "pgStack_44 = (gmp_pi1_t *)inv.inv32;" (assignment_expression "pgStack_44 = (gmp_pi1_t *)inv.inv32" identifier = (cast_expression "(gmp_pi1_t *)inv.inv32" ( (type_descriptor "gmp_pi1_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "inv.inv32" identifier . field_identifier))) ;) (expression_statement "mVar11 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(qp);" (assignment_expression "mVar11 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(qp)" identifier = (call_expression "(*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(qp)" (parenthesized_expression "(*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)" ( (pointer_expression "*(code *)PTR___gmpn_sbpi1_divappr_q_00097414" * (cast_expression "(code *)PTR___gmpn_sbpi1_divappr_q_00097414" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(qp)" ( identifier )))) ;) }) (else_clause "else if (dn < 2000) {\n    pgStack_44 = &inv;\n    mStack_48 = dn;\n    mVar11 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(qp);\n    puVar7 = auStack_58;\n  }\n  else {\n    iVar4 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(nn,dn,0);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    if ((uint)(iVar4 * 4) < 0x7f01) {\n      iVar4 = -(iVar4 * 4 + 7U & 0xfffffff8);\n      puVar23 = auStack_58 + iVar4;\n      puVar7 = &stack0xffffffc0 + iVar4;\n    }\n    else {\n      puVar7 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }\n    *(undefined1 **)(puVar23 + 0x14) = puVar7;\n    *(mp_size_t *)(puVar23 + 0x10) = dn;\n    scratch = np;\n    mVar11 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(qp);\n    puVar7 = puVar23;\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" else (if_statement "if (dn < 2000) {\n    pgStack_44 = &inv;\n    mStack_48 = dn;\n    mVar11 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(qp);\n    puVar7 = auStack_58;\n  }\n  else {\n    iVar4 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(nn,dn,0);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    if ((uint)(iVar4 * 4) < 0x7f01) {\n      iVar4 = -(iVar4 * 4 + 7U & 0xfffffff8);\n      puVar23 = auStack_58 + iVar4;\n      puVar7 = &stack0xffffffc0 + iVar4;\n    }\n    else {\n      puVar7 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }\n    *(undefined1 **)(puVar23 + 0x14) = puVar7;\n    *(mp_size_t *)(puVar23 + 0x10) = dn;\n    scratch = np;\n    mVar11 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(qp);\n    puVar7 = puVar23;\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" if (parenthesized_expression "(dn < 2000)" ( (binary_expression "dn < 2000" identifier < number_literal) )) (compound_statement "{\n    pgStack_44 = &inv;\n    mStack_48 = dn;\n    mVar11 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(qp);\n    puVar7 = auStack_58;\n  }" { (expression_statement "pgStack_44 = &inv;" (assignment_expression "pgStack_44 = &inv" identifier = (pointer_expression "&inv" & identifier)) ;) (expression_statement "mStack_48 = dn;" (assignment_expression "mStack_48 = dn" identifier = identifier) ;) (expression_statement "mVar11 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(qp);" (assignment_expression "mVar11 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(qp)" identifier = (call_expression "(*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(qp)" (parenthesized_expression "(*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)" ( (pointer_expression "*(code *)PTR___gmpn_dcpi1_divappr_q_00097490" * (cast_expression "(code *)PTR___gmpn_dcpi1_divappr_q_00097490" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(qp)" ( identifier )))) ;) (expression_statement "puVar7 = auStack_58;" (assignment_expression "puVar7 = auStack_58" identifier = identifier) ;) }) (else_clause "else {\n    iVar4 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(nn,dn,0);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    if ((uint)(iVar4 * 4) < 0x7f01) {\n      iVar4 = -(iVar4 * 4 + 7U & 0xfffffff8);\n      puVar23 = auStack_58 + iVar4;\n      puVar7 = &stack0xffffffc0 + iVar4;\n    }\n    else {\n      puVar7 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }\n    *(undefined1 **)(puVar23 + 0x14) = puVar7;\n    *(mp_size_t *)(puVar23 + 0x10) = dn;\n    scratch = np;\n    mVar11 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(qp);\n    puVar7 = puVar23;\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" else (compound_statement "{\n    iVar4 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(nn,dn,0);\n    __tmp_marker = (tmp_reentrant_t *)0x0;\n    if ((uint)(iVar4 * 4) < 0x7f01) {\n      iVar4 = -(iVar4 * 4 + 7U & 0xfffffff8);\n      puVar23 = auStack_58 + iVar4;\n      puVar7 = &stack0xffffffc0 + iVar4;\n    }\n    else {\n      puVar7 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }\n    *(undefined1 **)(puVar23 + 0x14) = puVar7;\n    *(mp_size_t *)(puVar23 + 0x10) = dn;\n    scratch = np;\n    mVar11 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(qp);\n    puVar7 = puVar23;\n    if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" { (expression_statement "iVar4 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(nn,dn,0);" (assignment_expression "iVar4 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(nn,dn,0)" identifier = (call_expression "(*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(nn,dn,0)" (parenthesized_expression "(*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)" ( (pointer_expression "*(code *)PTR___gmpn_mu_divappr_q_itch_00097598" * (cast_expression "(code *)PTR___gmpn_mu_divappr_q_itch_00097598" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(nn,dn,0)" ( identifier , identifier , number_literal )))) ;) (expression_statement "__tmp_marker = (tmp_reentrant_t *)0x0;" (assignment_expression "__tmp_marker = (tmp_reentrant_t *)0x0" identifier = (cast_expression "(tmp_reentrant_t *)0x0" ( (type_descriptor "tmp_reentrant_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((uint)(iVar4 * 4) < 0x7f01) {\n      iVar4 = -(iVar4 * 4 + 7U & 0xfffffff8);\n      puVar23 = auStack_58 + iVar4;\n      puVar7 = &stack0xffffffc0 + iVar4;\n    }\n    else {\n      puVar7 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }" if (parenthesized_expression "((uint)(iVar4 * 4) < 0x7f01)" ( (binary_expression "(uint)(iVar4 * 4) < 0x7f01" (call_expression "(uint)(iVar4 * 4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar4 * 4)" ( (binary_expression "iVar4 * 4" identifier * number_literal) ))) < number_literal) )) (compound_statement "{\n      iVar4 = -(iVar4 * 4 + 7U & 0xfffffff8);\n      puVar23 = auStack_58 + iVar4;\n      puVar7 = &stack0xffffffc0 + iVar4;\n    }" { (expression_statement "iVar4 = -(iVar4 * 4 + 7U & 0xfffffff8);" (assignment_expression "iVar4 = -(iVar4 * 4 + 7U & 0xfffffff8)" identifier = (unary_expression "-(iVar4 * 4 + 7U & 0xfffffff8)" - (parenthesized_expression "(iVar4 * 4 + 7U & 0xfffffff8)" ( (binary_expression "iVar4 * 4 + 7U & 0xfffffff8" (binary_expression "iVar4 * 4 + 7U" (binary_expression "iVar4 * 4" identifier * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "puVar23 = auStack_58 + iVar4;" (assignment_expression "puVar23 = auStack_58 + iVar4" identifier = (binary_expression "auStack_58 + iVar4" identifier + identifier)) ;) (expression_statement "puVar7 = &stack0xffffffc0 + iVar4;" (assignment_expression "puVar7 = &stack0xffffffc0 + iVar4" identifier = (binary_expression "&stack0xffffffc0 + iVar4" (pointer_expression "&stack0xffffffc0" & identifier) + identifier)) ;) }) (else_clause "else {\n      puVar7 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }" else (compound_statement "{\n      puVar7 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);\n    }" { (expression_statement "puVar7 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker);" (assignment_expression "puVar7 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&__tmp_marker)" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&__tmp_marker)" ( (pointer_expression "&__tmp_marker" & identifier) ))))) ;) }))) (expression_statement "*(undefined1 **)(puVar23 + 0x14) = puVar7;" (assignment_expression "*(undefined1 **)(puVar23 + 0x14) = puVar7" (pointer_expression "*(undefined1 **)(puVar23 + 0x14)" * (cast_expression "(undefined1 **)(puVar23 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar23 + 0x14)" ( (binary_expression "puVar23 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mp_size_t *)(puVar23 + 0x10) = dn;" (assignment_expression "*(mp_size_t *)(puVar23 + 0x10) = dn" (pointer_expression "*(mp_size_t *)(puVar23 + 0x10)" * (cast_expression "(mp_size_t *)(puVar23 + 0x10)" ( (type_descriptor "mp_size_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar23 + 0x10)" ( (binary_expression "puVar23 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "scratch = np;" (assignment_expression "scratch = np" identifier = identifier) ;) (expression_statement "mVar11 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(qp);" (assignment_expression "mVar11 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(qp)" identifier = (call_expression "(*(code *)PTR___gmpn_mu_divappr_q_00097410)(qp)" (parenthesized_expression "(*(code *)PTR___gmpn_mu_divappr_q_00097410)" ( (pointer_expression "*(code *)PTR___gmpn_mu_divappr_q_00097410" * (cast_expression "(code *)PTR___gmpn_mu_divappr_q_00097410" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(qp)" ( identifier )))) ;) (expression_statement "puVar7 = puVar23;" (assignment_expression "puVar7 = puVar23" identifier = identifier) ;) (if_statement "if (__tmp_marker != (tmp_reentrant_t *)0x0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }" if (parenthesized_expression "(__tmp_marker != (tmp_reentrant_t *)0x0)" ( (binary_expression "__tmp_marker != (tmp_reentrant_t *)0x0" identifier != (cast_expression "(tmp_reentrant_t *)0x0" ( (type_descriptor "tmp_reentrant_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }" { (expression_statement "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)();" (call_expression "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)()" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_free_00097614" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_free_00097614" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) }))))) (expression_statement "puVar9 = *(uint **)puVar3;" (assignment_expression "puVar9 = *(uint **)puVar3" identifier = (pointer_expression "*(uint **)puVar3" * (cast_expression "(uint **)puVar3" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "qp[nn - dn] = mVar11;" (assignment_expression "qp[nn - dn] = mVar11" (subscript_expression "qp[nn - dn]" identifier [ (binary_expression "nn - dn" identifier - identifier) ]) = identifier) ;) (if_statement "if (local_24 == puVar9) {\n    return;\n  }" if (parenthesized_expression "(local_24 == puVar9)" ( (binary_expression "local_24 == puVar9" identifier == identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "pcVar24 = mpn_dc_sqrtrem;" (assignment_expression "pcVar24 = mpn_dc_sqrtrem" identifier = identifier) ;) (expression_statement "puVar9 = local_24;" (assignment_expression "puVar9 = local_24" identifier = identifier) ;) (expression_statement "puVar20 = PTR___stack_chk_fail_000974d0;" (assignment_expression "puVar20 = PTR___stack_chk_fail_000974d0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000974d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000974d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000974d0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000974d0" * (cast_expression "(code *)PTR___stack_chk_fail_000974d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "*(undefined **)(puVar7 + -0x40) = puVar20 + 0x596fc;" (assignment_expression "*(undefined **)(puVar7 + -0x40) = puVar20 + 0x596fc" (pointer_expression "*(undefined **)(puVar7 + -0x40)" * (cast_expression "(undefined **)(puVar7 + -0x40)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + -0x40)" ( (binary_expression "puVar7 + -0x40" identifier + number_literal) )))) = (binary_expression "puVar20 + 0x596fc" identifier + number_literal)) ;) (expression_statement "*(mp_ptr *)(puVar7 + -0x20) = qp + (nn - dn);" (assignment_expression "*(mp_ptr *)(puVar7 + -0x20) = qp + (nn - dn)" (pointer_expression "*(mp_ptr *)(puVar7 + -0x20)" * (cast_expression "(mp_ptr *)(puVar7 + -0x20)" ( (type_descriptor "mp_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x20)" ( (binary_expression "puVar7 + -0x20" identifier + number_literal) )))) = (binary_expression "qp + (nn - dn)" identifier + (parenthesized_expression "(nn - dn)" ( (binary_expression "nn - dn" identifier - identifier) )))) ;) (expression_statement "*(undefined **)(puVar7 + -0x24) = puVar3;" (assignment_expression "*(undefined **)(puVar7 + -0x24) = puVar3" (pointer_expression "*(undefined **)(puVar7 + -0x24)" * (cast_expression "(undefined **)(puVar7 + -0x24)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + -0x24)" ( (binary_expression "puVar7 + -0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mp_ptr *)(puVar7 + -0x28) = qp;" (assignment_expression "*(mp_ptr *)(puVar7 + -0x28) = qp" (pointer_expression "*(mp_ptr *)(puVar7 + -0x28)" * (cast_expression "(mp_ptr *)(puVar7 + -0x28)" ( (type_descriptor "mp_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x28)" ( (binary_expression "puVar7 + -0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(puVar7 + -4) = pcVar24;" (assignment_expression "*(code **)(puVar7 + -4) = pcVar24" (pointer_expression "*(code **)(puVar7 + -4)" * (cast_expression "(code **)(puVar7 + -4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + -4)" ( (binary_expression "puVar7 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar7 + -8) = auStack_58;" (assignment_expression "*(undefined1 **)(puVar7 + -8) = auStack_58" (pointer_expression "*(undefined1 **)(puVar7 + -8)" * (cast_expression "(undefined1 **)(puVar7 + -8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + -8)" ( (binary_expression "puVar7 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar7 + -0xc) = unaff_s7;" (assignment_expression "*(undefined4 *)(puVar7 + -0xc) = unaff_s7" (pointer_expression "*(undefined4 *)(puVar7 + -0xc)" * (cast_expression "(undefined4 *)(puVar7 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0xc)" ( (binary_expression "puVar7 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x10) = unaff_s6;" (assignment_expression "*(undefined4 *)(puVar7 + -0x10) = unaff_s6" (pointer_expression "*(undefined4 *)(puVar7 + -0x10)" * (cast_expression "(undefined4 *)(puVar7 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x10)" ( (binary_expression "puVar7 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x14) = unaff_s5;" (assignment_expression "*(undefined4 *)(puVar7 + -0x14) = unaff_s5" (pointer_expression "*(undefined4 *)(puVar7 + -0x14)" * (cast_expression "(undefined4 *)(puVar7 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x14)" ( (binary_expression "puVar7 + -0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mp_srcptr *)(puVar7 + -0x18) = np;" (assignment_expression "*(mp_srcptr *)(puVar7 + -0x18) = np" (pointer_expression "*(mp_srcptr *)(puVar7 + -0x18)" * (cast_expression "(mp_srcptr *)(puVar7 + -0x18)" ( (type_descriptor "mp_srcptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x18)" ( (binary_expression "puVar7 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mp_size_t *)(puVar7 + -0x1c) = dn;" (assignment_expression "*(mp_size_t *)(puVar7 + -0x1c) = dn" (pointer_expression "*(mp_size_t *)(puVar7 + -0x1c)" * (cast_expression "(mp_size_t *)(puVar7 + -0x1c)" ( (type_descriptor "mp_size_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x1c)" ( (binary_expression "puVar7 + -0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mp_srcptr *)(puVar7 + 0xc) = dp;" (assignment_expression "*(mp_srcptr *)(puVar7 + 0xc) = dp" (pointer_expression "*(mp_srcptr *)(puVar7 + 0xc)" * (cast_expression "(mp_srcptr *)(puVar7 + 0xc)" ( (type_descriptor "mp_srcptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xc)" ( (binary_expression "puVar7 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar18 = *(uint **)(puVar7 + 0x10);" (assignment_expression "puVar18 = *(uint **)(puVar7 + 0x10)" identifier = (pointer_expression "*(uint **)(puVar7 + 0x10)" * (cast_expression "(uint **)(puVar7 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x10)" ( (binary_expression "puVar7 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (mVar13 == 1) {\n    uVar12 = *scratch;\n    mVar11 = mpn_sqrtrem1(scratch,scratch[1]);\n    uVar14 = (uVar12 >> 0x11) + *scratch * 0x8000;\n    if (mVar11 == 0) {\n      trap(7);\n    }\n    uVar17 = uVar14 / mVar11;\n    uVar17 = uVar17 - (uVar17 >> 0x10);\n    uVar14 = uVar14 - mVar11 * uVar17;\n    uVar12 = uVar14 * 0x20000 + (uVar12 & 0x1ffff);\n    uVar5 = uVar17 | mVar11 << 0x10;\n    mVar11 = uVar12 - uVar17 * uVar17;\n    if ((uVar14 >> 0xf) - (uint)(uVar12 < uVar17 * uVar17) == -1) {\n      *scratch = uVar5 + mVar11 + (uVar5 - 1);\n      *puVar9 = uVar5 - 1;\n    }\n    else {\n      *scratch = mVar11;\n      *puVar9 = uVar5;\n    }\n    return;\n  }" if (parenthesized_expression "(mVar13 == 1)" ( (binary_expression "mVar13 == 1" identifier == number_literal) )) (compound_statement "{\n    uVar12 = *scratch;\n    mVar11 = mpn_sqrtrem1(scratch,scratch[1]);\n    uVar14 = (uVar12 >> 0x11) + *scratch * 0x8000;\n    if (mVar11 == 0) {\n      trap(7);\n    }\n    uVar17 = uVar14 / mVar11;\n    uVar17 = uVar17 - (uVar17 >> 0x10);\n    uVar14 = uVar14 - mVar11 * uVar17;\n    uVar12 = uVar14 * 0x20000 + (uVar12 & 0x1ffff);\n    uVar5 = uVar17 | mVar11 << 0x10;\n    mVar11 = uVar12 - uVar17 * uVar17;\n    if ((uVar14 >> 0xf) - (uint)(uVar12 < uVar17 * uVar17) == -1) {\n      *scratch = uVar5 + mVar11 + (uVar5 - 1);\n      *puVar9 = uVar5 - 1;\n    }\n    else {\n      *scratch = mVar11;\n      *puVar9 = uVar5;\n    }\n    return;\n  }" { (expression_statement "uVar12 = *scratch;" (assignment_expression "uVar12 = *scratch" identifier = (pointer_expression "*scratch" * identifier)) ;) (expression_statement "mVar11 = mpn_sqrtrem1(scratch,scratch[1]);" (assignment_expression "mVar11 = mpn_sqrtrem1(scratch,scratch[1])" identifier = (call_expression "mpn_sqrtrem1(scratch,scratch[1])" identifier (argument_list "(scratch,scratch[1])" ( identifier , (subscript_expression "scratch[1]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar14 = (uVar12 >> 0x11) + *scratch * 0x8000;" (assignment_expression "uVar14 = (uVar12 >> 0x11) + *scratch * 0x8000" identifier = (binary_expression "(uVar12 >> 0x11) + *scratch * 0x8000" (parenthesized_expression "(uVar12 >> 0x11)" ( (binary_expression "uVar12 >> 0x11" identifier >> number_literal) )) + (binary_expression "*scratch * 0x8000" (pointer_expression "*scratch" * identifier) * number_literal))) ;) (if_statement "if (mVar11 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(mVar11 == 0)" ( (binary_expression "mVar11 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar17 = uVar14 / mVar11;" (assignment_expression "uVar17 = uVar14 / mVar11" identifier = (binary_expression "uVar14 / mVar11" identifier / identifier)) ;) (expression_statement "uVar17 = uVar17 - (uVar17 >> 0x10);" (assignment_expression "uVar17 = uVar17 - (uVar17 >> 0x10)" identifier = (binary_expression "uVar17 - (uVar17 >> 0x10)" identifier - (parenthesized_expression "(uVar17 >> 0x10)" ( (binary_expression "uVar17 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "uVar14 = uVar14 - mVar11 * uVar17;" (assignment_expression "uVar14 = uVar14 - mVar11 * uVar17" identifier = (binary_expression "uVar14 - mVar11 * uVar17" identifier - (binary_expression "mVar11 * uVar17" identifier * identifier))) ;) (expression_statement "uVar12 = uVar14 * 0x20000 + (uVar12 & 0x1ffff);" (assignment_expression "uVar12 = uVar14 * 0x20000 + (uVar12 & 0x1ffff)" identifier = (binary_expression "uVar14 * 0x20000 + (uVar12 & 0x1ffff)" (binary_expression "uVar14 * 0x20000" identifier * number_literal) + (parenthesized_expression "(uVar12 & 0x1ffff)" ( (binary_expression "uVar12 & 0x1ffff" identifier & number_literal) )))) ;) (expression_statement "uVar5 = uVar17 | mVar11 << 0x10;" (assignment_expression "uVar5 = uVar17 | mVar11 << 0x10" identifier = (binary_expression "uVar17 | mVar11 << 0x10" identifier | (binary_expression "mVar11 << 0x10" identifier << number_literal))) ;) (expression_statement "mVar11 = uVar12 - uVar17 * uVar17;" (assignment_expression "mVar11 = uVar12 - uVar17 * uVar17" identifier = (binary_expression "uVar12 - uVar17 * uVar17" identifier - (binary_expression "uVar17 * uVar17" identifier * identifier))) ;) (if_statement "if ((uVar14 >> 0xf) - (uint)(uVar12 < uVar17 * uVar17) == -1) {\n      *scratch = uVar5 + mVar11 + (uVar5 - 1);\n      *puVar9 = uVar5 - 1;\n    }\n    else {\n      *scratch = mVar11;\n      *puVar9 = uVar5;\n    }" if (parenthesized_expression "((uVar14 >> 0xf) - (uint)(uVar12 < uVar17 * uVar17) == -1)" ( (binary_expression "(uVar14 >> 0xf) - (uint)(uVar12 < uVar17 * uVar17) == -1" (binary_expression "(uVar14 >> 0xf) - (uint)(uVar12 < uVar17 * uVar17)" (parenthesized_expression "(uVar14 >> 0xf)" ( (binary_expression "uVar14 >> 0xf" identifier >> number_literal) )) - (call_expression "(uint)(uVar12 < uVar17 * uVar17)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar12 < uVar17 * uVar17)" ( (binary_expression "uVar12 < uVar17 * uVar17" identifier < (binary_expression "uVar17 * uVar17" identifier * identifier)) )))) == number_literal) )) (compound_statement "{\n      *scratch = uVar5 + mVar11 + (uVar5 - 1);\n      *puVar9 = uVar5 - 1;\n    }" { (expression_statement "*scratch = uVar5 + mVar11 + (uVar5 - 1);" (assignment_expression "*scratch = uVar5 + mVar11 + (uVar5 - 1)" (pointer_expression "*scratch" * identifier) = (binary_expression "uVar5 + mVar11 + (uVar5 - 1)" (binary_expression "uVar5 + mVar11" identifier + identifier) + (parenthesized_expression "(uVar5 - 1)" ( (binary_expression "uVar5 - 1" identifier - number_literal) )))) ;) (expression_statement "*puVar9 = uVar5 - 1;" (assignment_expression "*puVar9 = uVar5 - 1" (pointer_expression "*puVar9" * identifier) = (binary_expression "uVar5 - 1" identifier - number_literal)) ;) }) (else_clause "else {\n      *scratch = mVar11;\n      *puVar9 = uVar5;\n    }" else (compound_statement "{\n      *scratch = mVar11;\n      *puVar9 = uVar5;\n    }" { (expression_statement "*scratch = mVar11;" (assignment_expression "*scratch = mVar11" (pointer_expression "*scratch" * identifier) = identifier) ;) (expression_statement "*puVar9 = uVar5;" (assignment_expression "*puVar9 = uVar5" (pointer_expression "*puVar9" * identifier) = identifier) ;) }))) (return_statement "return;" return ;) })) (expression_statement "*(uint **)(puVar7 + -0x50) = puVar18;" (assignment_expression "*(uint **)(puVar7 + -0x50) = puVar18" (pointer_expression "*(uint **)(puVar7 + -0x50)" * (cast_expression "(uint **)(puVar7 + -0x50)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + -0x50)" ( (binary_expression "puVar7 + -0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar4 = mVar13 / 2;" (assignment_expression "iVar4 = mVar13 / 2" identifier = (binary_expression "mVar13 / 2" identifier / number_literal)) ;) (expression_statement "n = mVar13 - iVar4;" (assignment_expression "n = mVar13 - iVar4" identifier = (binary_expression "mVar13 - iVar4" identifier - identifier)) ;) (expression_statement "np_00 = scratch + iVar4 * 2;" (assignment_expression "np_00 = scratch + iVar4 * 2" identifier = (binary_expression "scratch + iVar4 * 2" identifier + (binary_expression "iVar4 * 2" identifier * number_literal))) ;) (expression_statement "pmVar8 = puVar9 + iVar4;" (assignment_expression "pmVar8 = puVar9 + iVar4" identifier = (binary_expression "puVar9 + iVar4" identifier + identifier)) ;) (expression_statement "mVar11 = mpn_dc_sqrtrem(pmVar8,np_00,n,0,*(mp_ptr *)(puVar7 + -0x50));" (assignment_expression "mVar11 = mpn_dc_sqrtrem(pmVar8,np_00,n,0,*(mp_ptr *)(puVar7 + -0x50))" identifier = (call_expression "mpn_dc_sqrtrem(pmVar8,np_00,n,0,*(mp_ptr *)(puVar7 + -0x50))" identifier (argument_list "(pmVar8,np_00,n,0,*(mp_ptr *)(puVar7 + -0x50))" ( identifier , identifier , identifier , number_literal , (pointer_expression "*(mp_ptr *)(puVar7 + -0x50)" * (cast_expression "(mp_ptr *)(puVar7 + -0x50)" ( (type_descriptor "mp_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x50)" ( (binary_expression "puVar7 + -0x50" identifier + number_literal) )))) )))) ;) (expression_statement "iVar21 = *(int *)(puVar7 + -0x40);" (assignment_expression "iVar21 = *(int *)(puVar7 + -0x40)" identifier = (pointer_expression "*(int *)(puVar7 + -0x40)" * (cast_expression "(int *)(puVar7 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x40)" ( (binary_expression "puVar7 + -0x40" identifier + number_literal) ))))) ;) (if_statement "if (mVar11 != 0) {\n    pcVar24 = *(code **)(iVar21 + -0x7b2c);\n    *(mp_limb_t *)(puVar7 + -0x34) = mVar11;\n    (*pcVar24)(np_00,np_00,pmVar8,n);\n    iVar21 = *(int *)(puVar7 + -0x40);\n    mVar11 = *(mp_limb_t *)(puVar7 + -0x34);\n  }" if (parenthesized_expression "(mVar11 != 0)" ( (binary_expression "mVar11 != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar24 = *(code **)(iVar21 + -0x7b2c);\n    *(mp_limb_t *)(puVar7 + -0x34) = mVar11;\n    (*pcVar24)(np_00,np_00,pmVar8,n);\n    iVar21 = *(int *)(puVar7 + -0x40);\n    mVar11 = *(mp_limb_t *)(puVar7 + -0x34);\n  }" { (expression_statement "pcVar24 = *(code **)(iVar21 + -0x7b2c);" (assignment_expression "pcVar24 = *(code **)(iVar21 + -0x7b2c)" identifier = (pointer_expression "*(code **)(iVar21 + -0x7b2c)" * (cast_expression "(code **)(iVar21 + -0x7b2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar21 + -0x7b2c)" ( (binary_expression "iVar21 + -0x7b2c" identifier + number_literal) ))))) ;) (expression_statement "*(mp_limb_t *)(puVar7 + -0x34) = mVar11;" (assignment_expression "*(mp_limb_t *)(puVar7 + -0x34) = mVar11" (pointer_expression "*(mp_limb_t *)(puVar7 + -0x34)" * (cast_expression "(mp_limb_t *)(puVar7 + -0x34)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x34)" ( (binary_expression "puVar7 + -0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*pcVar24)(np_00,np_00,pmVar8,n);" (call_expression "(*pcVar24)(np_00,np_00,pmVar8,n)" (parenthesized_expression "(*pcVar24)" ( (pointer_expression "*pcVar24" * identifier) )) (argument_list "(np_00,np_00,pmVar8,n)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "iVar21 = *(int *)(puVar7 + -0x40);" (assignment_expression "iVar21 = *(int *)(puVar7 + -0x40)" identifier = (pointer_expression "*(int *)(puVar7 + -0x40)" * (cast_expression "(int *)(puVar7 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x40)" ( (binary_expression "puVar7 + -0x40" identifier + number_literal) ))))) ;) (expression_statement "mVar11 = *(mp_limb_t *)(puVar7 + -0x34);" (assignment_expression "mVar11 = *(mp_limb_t *)(puVar7 + -0x34)" identifier = (pointer_expression "*(mp_limb_t *)(puVar7 + -0x34)" * (cast_expression "(mp_limb_t *)(puVar7 + -0x34)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x34)" ( (binary_expression "puVar7 + -0x34" identifier + number_literal) ))))) ;) })) (expression_statement "pmVar15 = scratch + iVar4;" (assignment_expression "pmVar15 = scratch + iVar4" identifier = (binary_expression "scratch + iVar4" identifier + identifier)) ;) (expression_statement "pcVar24 = *(code **)(iVar21 + -0x7a30);" (assignment_expression "pcVar24 = *(code **)(iVar21 + -0x7a30)" identifier = (pointer_expression "*(code **)(iVar21 + -0x7a30)" * (cast_expression "(code **)(iVar21 + -0x7a30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar21 + -0x7a30)" ( (binary_expression "iVar21 + -0x7a30" identifier + number_literal) ))))) ;) (expression_statement "*(mp_limb_t *)(puVar7 + -0x34) = mVar11;" (assignment_expression "*(mp_limb_t *)(puVar7 + -0x34) = mVar11" (pointer_expression "*(mp_limb_t *)(puVar7 + -0x34)" * (cast_expression "(mp_limb_t *)(puVar7 + -0x34)" ( (type_descriptor "mp_limb_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x34)" ( (binary_expression "puVar7 + -0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mp_ptr *)(puVar7 + -0x30) = pmVar15;" (assignment_expression "*(mp_ptr *)(puVar7 + -0x30) = pmVar15" (pointer_expression "*(mp_ptr *)(puVar7 + -0x30)" * (cast_expression "(mp_ptr *)(puVar7 + -0x30)" ( (type_descriptor "mp_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x30)" ( (binary_expression "puVar7 + -0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar7 + -0x48) = n;" (assignment_expression "*(int *)(puVar7 + -0x48) = n" (pointer_expression "*(int *)(puVar7 + -0x48)" * (cast_expression "(int *)(puVar7 + -0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x48)" ( (binary_expression "puVar7 + -0x48" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mp_ptr *)(puVar7 + -0x4c) = pmVar8;" (assignment_expression "*(mp_ptr *)(puVar7 + -0x4c) = pmVar8" (pointer_expression "*(mp_ptr *)(puVar7 + -0x4c)" * (cast_expression "(mp_ptr *)(puVar7 + -0x4c)" ( (type_descriptor "mp_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x4c)" ( (binary_expression "puVar7 + -0x4c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mp_size_t *)(puVar7 + -0x50) = mVar13;" (assignment_expression "*(mp_size_t *)(puVar7 + -0x50) = mVar13" (pointer_expression "*(mp_size_t *)(puVar7 + -0x50)" * (cast_expression "(mp_size_t *)(puVar7 + -0x50)" ( (type_descriptor "mp_size_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x50)" ( (binary_expression "puVar7 + -0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*pcVar24)(puVar18,pmVar15,0,pmVar15);" (call_expression "(*pcVar24)(puVar18,pmVar15,0,pmVar15)" (parenthesized_expression "(*pcVar24)" ( (pointer_expression "*pcVar24" * identifier) )) (argument_list "(puVar18,pmVar15,0,pmVar15)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "uVar12 = *puVar18;" (assignment_expression "uVar12 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;) (expression_statement "pcVar24 = *(code **)(*(int *)(puVar7 + -0x40) + -0x7ae0);" (assignment_expression "pcVar24 = *(code **)(*(int *)(puVar7 + -0x40) + -0x7ae0)" identifier = (pointer_expression "*(code **)(*(int *)(puVar7 + -0x40) + -0x7ae0)" * (cast_expression "(code **)(*(int *)(puVar7 + -0x40) + -0x7ae0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(puVar7 + -0x40) + -0x7ae0)" ( (binary_expression "*(int *)(puVar7 + -0x40) + -0x7ae0" (pointer_expression "*(int *)(puVar7 + -0x40)" * (cast_expression "(int *)(puVar7 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x40)" ( (binary_expression "puVar7 + -0x40" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(uint *)(puVar7 + -0x34) = *(int *)(puVar7 + -0x34) + puVar18[iVar4];" (assignment_expression "*(uint *)(puVar7 + -0x34) = *(int *)(puVar7 + -0x34) + puVar18[iVar4]" (pointer_expression "*(uint *)(puVar7 + -0x34)" * (cast_expression "(uint *)(puVar7 + -0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x34)" ( (binary_expression "puVar7 + -0x34" identifier + number_literal) )))) = (binary_expression "*(int *)(puVar7 + -0x34) + puVar18[iVar4]" (pointer_expression "*(int *)(puVar7 + -0x34)" * (cast_expression "(int *)(puVar7 + -0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x34)" ( (binary_expression "puVar7 + -0x34" identifier + number_literal) )))) + (subscript_expression "puVar18[iVar4]" identifier [ identifier ]))) ;) (expression_statement "(*pcVar24)(puVar9,puVar18,iVar4,1);" (call_expression "(*pcVar24)(puVar9,puVar18,iVar4,1)" (parenthesized_expression "(*pcVar24)" ( (pointer_expression "*pcVar24" * identifier) )) (argument_list "(puVar9,puVar18,iVar4,1)" ( identifier , identifier , identifier , number_literal ))) ;) (expression_statement "uVar17 = *(uint *)(puVar7 + -0x34);" (assignment_expression "uVar17 = *(uint *)(puVar7 + -0x34)" identifier = (pointer_expression "*(uint *)(puVar7 + -0x34)" * (cast_expression "(uint *)(puVar7 + -0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x34)" ( (binary_expression "puVar7 + -0x34" identifier + number_literal) ))))) ;) (expression_statement "iVar21 = *(int *)(puVar7 + -0x40);" (assignment_expression "iVar21 = *(int *)(puVar7 + -0x40)" identifier = (pointer_expression "*(int *)(puVar7 + -0x40)" * (cast_expression "(int *)(puVar7 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x40)" ( (binary_expression "puVar7 + -0x40" identifier + number_literal) ))))) ;) (expression_statement "puVar9[iVar4 + -1] = puVar9[iVar4 + -1] | uVar17 << 0x1f;" (assignment_expression "puVar9[iVar4 + -1] = puVar9[iVar4 + -1] | uVar17 << 0x1f" (subscript_expression "puVar9[iVar4 + -1]" identifier [ (binary_expression "iVar4 + -1" identifier + number_literal) ]) = (binary_expression "puVar9[iVar4 + -1] | uVar17 << 0x1f" (subscript_expression "puVar9[iVar4 + -1]" identifier [ (binary_expression "iVar4 + -1" identifier + number_literal) ]) | (binary_expression "uVar17 << 0x1f" identifier << number_literal))) ;) (expression_statement "uVar14 = *puVar9;" (assignment_expression "uVar14 = *puVar9" identifier = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "*(uint *)(puVar7 + -0x2c) = *(uint *)(puVar7 + 0xc) & uVar14;" (assignment_expression "*(uint *)(puVar7 + -0x2c) = *(uint *)(puVar7 + 0xc) & uVar14" (pointer_expression "*(uint *)(puVar7 + -0x2c)" * (cast_expression "(uint *)(puVar7 + -0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x2c)" ( (binary_expression "puVar7 + -0x2c" identifier + number_literal) )))) = (binary_expression "*(uint *)(puVar7 + 0xc) & uVar14" (pointer_expression "*(uint *)(puVar7 + 0xc)" * (cast_expression "(uint *)(puVar7 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xc)" ( (binary_expression "puVar7 + 0xc" identifier + number_literal) )))) & identifier)) ;) (if_statement "if ((*(uint *)(puVar7 + 0xc) & uVar14) == 0) {\n    uVar17 = uVar17 >> 1;\n    if ((uVar12 & 1) == 0) {\n      iVar19 = 0;\n    }\n    else {\n      pcVar24 = *(code **)(iVar21 + -0x7d0c);\n      *(uint *)(puVar7 + -0x34) = uVar17;\n      iVar19 = (*pcVar24)(*(undefined4 *)(puVar7 + -0x30),*(undefined4 *)(puVar7 + -0x30),pmVar8,n);\n      iVar21 = *(int *)(puVar7 + -0x40);\n      uVar17 = *(uint *)(puVar7 + -0x34);\n    }\n    pcVar24 = *(code **)(iVar21 + -0x7cac);\n    *(uint *)(puVar7 + -0x34) = uVar17;\n    (*pcVar24)(scratch + mVar13,puVar9,iVar4);\n    iVar21 = (**(code **)(*(int *)(puVar7 + -0x40) + -0x7b2c))\n                       (scratch,scratch,scratch + mVar13,iVar4 << 1);\n    uVar14 = *(uint *)(puVar7 + -0x34);\n    iVar22 = *(int *)(puVar7 + -0x40);\n    uVar12 = iVar21 + uVar14;\n    if (iVar4 != n) {\n      mVar11 = *np_00 - uVar12;\n      uVar12 = (uint)(*np_00 < uVar12);\n      *np_00 = mVar11;\n    }\n    if ((int)(iVar19 - uVar12) < 0) {\n      mVar11 = *pmVar8;\n      *pmVar8 = uVar14 + mVar11;\n      if (uVar14 + mVar11 < uVar14) {\n        if (n < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar7 + -0x2c) = 2;\n        }\n        else {\n          mVar11 = pmVar8[1];\n          pmVar8[1] = mVar11 + 1;\n          if (mVar11 + 1 == 0) {\n            iVar4 = 2;\n            pmVar8 = pmVar8 + 2;\n            do {\n              bVar1 = n == iVar4;\n              iVar4 = iVar4 + 1;\n              if (bVar1) goto LAB_00045c64;\n              mVar11 = *pmVar8;\n              *pmVar8 = mVar11 + 1;\n              pmVar8 = pmVar8 + 1;\n            } while (mVar11 + 1 == 0);\n          }\n        }\n      }\n      (**(code **)(iVar22 + -0x7f70))(scratch,puVar9,mVar13,2);\n      mVar11 = *scratch;\n      *scratch = mVar11 - 1;\n      if (mVar11 == 0) {\n        if (mVar13 < 2) {\n          *puVar9 = *puVar9 - 1;\n          return;\n        }\n        mVar11 = scratch[1];\n        scratch[1] = mVar11 - 1;\n        if (mVar11 == 0) {\n          iVar4 = 2;\n          pmVar8 = scratch + 2;\n          do {\n            bVar1 = mVar13 == iVar4;\n            iVar4 = iVar4 + 1;\n            if (bVar1) break;\n            mVar11 = *pmVar8;\n            *pmVar8 = mVar11 - 1;\n            pmVar8 = pmVar8 + 1;\n          } while (mVar11 == 0);\n        }\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }\n      else {\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        if (mVar13 < 2) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }\n      puVar9[1] = uVar12 - 1;\n      if (uVar12 == 0) {\n        iVar4 = 2;\n        puVar9 = puVar9 + 2;\n        do {\n          bVar1 = mVar13 <= iVar4;\n          iVar4 = iVar4 + 1;\n          if (bVar1) {\n            return;\n          }\n          uVar12 = *puVar9;\n          *puVar9 = uVar12 - 1;\n          puVar9 = puVar9 + 1;\n        } while (uVar12 == 0);\n      }\n    }\n  }" if (parenthesized_expression "((*(uint *)(puVar7 + 0xc) & uVar14) == 0)" ( (binary_expression "(*(uint *)(puVar7 + 0xc) & uVar14) == 0" (parenthesized_expression "(*(uint *)(puVar7 + 0xc) & uVar14)" ( (binary_expression "*(uint *)(puVar7 + 0xc) & uVar14" (pointer_expression "*(uint *)(puVar7 + 0xc)" * (cast_expression "(uint *)(puVar7 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xc)" ( (binary_expression "puVar7 + 0xc" identifier + number_literal) )))) & identifier) )) == number_literal) )) (compound_statement "{\n    uVar17 = uVar17 >> 1;\n    if ((uVar12 & 1) == 0) {\n      iVar19 = 0;\n    }\n    else {\n      pcVar24 = *(code **)(iVar21 + -0x7d0c);\n      *(uint *)(puVar7 + -0x34) = uVar17;\n      iVar19 = (*pcVar24)(*(undefined4 *)(puVar7 + -0x30),*(undefined4 *)(puVar7 + -0x30),pmVar8,n);\n      iVar21 = *(int *)(puVar7 + -0x40);\n      uVar17 = *(uint *)(puVar7 + -0x34);\n    }\n    pcVar24 = *(code **)(iVar21 + -0x7cac);\n    *(uint *)(puVar7 + -0x34) = uVar17;\n    (*pcVar24)(scratch + mVar13,puVar9,iVar4);\n    iVar21 = (**(code **)(*(int *)(puVar7 + -0x40) + -0x7b2c))\n                       (scratch,scratch,scratch + mVar13,iVar4 << 1);\n    uVar14 = *(uint *)(puVar7 + -0x34);\n    iVar22 = *(int *)(puVar7 + -0x40);\n    uVar12 = iVar21 + uVar14;\n    if (iVar4 != n) {\n      mVar11 = *np_00 - uVar12;\n      uVar12 = (uint)(*np_00 < uVar12);\n      *np_00 = mVar11;\n    }\n    if ((int)(iVar19 - uVar12) < 0) {\n      mVar11 = *pmVar8;\n      *pmVar8 = uVar14 + mVar11;\n      if (uVar14 + mVar11 < uVar14) {\n        if (n < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar7 + -0x2c) = 2;\n        }\n        else {\n          mVar11 = pmVar8[1];\n          pmVar8[1] = mVar11 + 1;\n          if (mVar11 + 1 == 0) {\n            iVar4 = 2;\n            pmVar8 = pmVar8 + 2;\n            do {\n              bVar1 = n == iVar4;\n              iVar4 = iVar4 + 1;\n              if (bVar1) goto LAB_00045c64;\n              mVar11 = *pmVar8;\n              *pmVar8 = mVar11 + 1;\n              pmVar8 = pmVar8 + 1;\n            } while (mVar11 + 1 == 0);\n          }\n        }\n      }\n      (**(code **)(iVar22 + -0x7f70))(scratch,puVar9,mVar13,2);\n      mVar11 = *scratch;\n      *scratch = mVar11 - 1;\n      if (mVar11 == 0) {\n        if (mVar13 < 2) {\n          *puVar9 = *puVar9 - 1;\n          return;\n        }\n        mVar11 = scratch[1];\n        scratch[1] = mVar11 - 1;\n        if (mVar11 == 0) {\n          iVar4 = 2;\n          pmVar8 = scratch + 2;\n          do {\n            bVar1 = mVar13 == iVar4;\n            iVar4 = iVar4 + 1;\n            if (bVar1) break;\n            mVar11 = *pmVar8;\n            *pmVar8 = mVar11 - 1;\n            pmVar8 = pmVar8 + 1;\n          } while (mVar11 == 0);\n        }\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }\n      else {\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        if (mVar13 < 2) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }\n      puVar9[1] = uVar12 - 1;\n      if (uVar12 == 0) {\n        iVar4 = 2;\n        puVar9 = puVar9 + 2;\n        do {\n          bVar1 = mVar13 <= iVar4;\n          iVar4 = iVar4 + 1;\n          if (bVar1) {\n            return;\n          }\n          uVar12 = *puVar9;\n          *puVar9 = uVar12 - 1;\n          puVar9 = puVar9 + 1;\n        } while (uVar12 == 0);\n      }\n    }\n  }" { (expression_statement "uVar17 = uVar17 >> 1;" (assignment_expression "uVar17 = uVar17 >> 1" identifier = (binary_expression "uVar17 >> 1" identifier >> number_literal)) ;) (if_statement "if ((uVar12 & 1) == 0) {\n      iVar19 = 0;\n    }\n    else {\n      pcVar24 = *(code **)(iVar21 + -0x7d0c);\n      *(uint *)(puVar7 + -0x34) = uVar17;\n      iVar19 = (*pcVar24)(*(undefined4 *)(puVar7 + -0x30),*(undefined4 *)(puVar7 + -0x30),pmVar8,n);\n      iVar21 = *(int *)(puVar7 + -0x40);\n      uVar17 = *(uint *)(puVar7 + -0x34);\n    }" if (parenthesized_expression "((uVar12 & 1) == 0)" ( (binary_expression "(uVar12 & 1) == 0" (parenthesized_expression "(uVar12 & 1)" ( (binary_expression "uVar12 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      iVar19 = 0;\n    }" { (expression_statement "iVar19 = 0;" (assignment_expression "iVar19 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      pcVar24 = *(code **)(iVar21 + -0x7d0c);\n      *(uint *)(puVar7 + -0x34) = uVar17;\n      iVar19 = (*pcVar24)(*(undefined4 *)(puVar7 + -0x30),*(undefined4 *)(puVar7 + -0x30),pmVar8,n);\n      iVar21 = *(int *)(puVar7 + -0x40);\n      uVar17 = *(uint *)(puVar7 + -0x34);\n    }" else (compound_statement "{\n      pcVar24 = *(code **)(iVar21 + -0x7d0c);\n      *(uint *)(puVar7 + -0x34) = uVar17;\n      iVar19 = (*pcVar24)(*(undefined4 *)(puVar7 + -0x30),*(undefined4 *)(puVar7 + -0x30),pmVar8,n);\n      iVar21 = *(int *)(puVar7 + -0x40);\n      uVar17 = *(uint *)(puVar7 + -0x34);\n    }" { (expression_statement "pcVar24 = *(code **)(iVar21 + -0x7d0c);" (assignment_expression "pcVar24 = *(code **)(iVar21 + -0x7d0c)" identifier = (pointer_expression "*(code **)(iVar21 + -0x7d0c)" * (cast_expression "(code **)(iVar21 + -0x7d0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar21 + -0x7d0c)" ( (binary_expression "iVar21 + -0x7d0c" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(puVar7 + -0x34) = uVar17;" (assignment_expression "*(uint *)(puVar7 + -0x34) = uVar17" (pointer_expression "*(uint *)(puVar7 + -0x34)" * (cast_expression "(uint *)(puVar7 + -0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x34)" ( (binary_expression "puVar7 + -0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar19 = (*pcVar24)(*(undefined4 *)(puVar7 + -0x30),*(undefined4 *)(puVar7 + -0x30),pmVar8,n);" (assignment_expression "iVar19 = (*pcVar24)(*(undefined4 *)(puVar7 + -0x30),*(undefined4 *)(puVar7 + -0x30),pmVar8,n)" identifier = (call_expression "(*pcVar24)(*(undefined4 *)(puVar7 + -0x30),*(undefined4 *)(puVar7 + -0x30),pmVar8,n)" (parenthesized_expression "(*pcVar24)" ( (pointer_expression "*pcVar24" * identifier) )) (argument_list "(*(undefined4 *)(puVar7 + -0x30),*(undefined4 *)(puVar7 + -0x30),pmVar8,n)" ( (pointer_expression "*(undefined4 *)(puVar7 + -0x30)" * (cast_expression "(undefined4 *)(puVar7 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x30)" ( (binary_expression "puVar7 + -0x30" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(puVar7 + -0x30)" * (cast_expression "(undefined4 *)(puVar7 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x30)" ( (binary_expression "puVar7 + -0x30" identifier + number_literal) )))) , identifier , identifier )))) ;) (expression_statement "iVar21 = *(int *)(puVar7 + -0x40);" (assignment_expression "iVar21 = *(int *)(puVar7 + -0x40)" identifier = (pointer_expression "*(int *)(puVar7 + -0x40)" * (cast_expression "(int *)(puVar7 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x40)" ( (binary_expression "puVar7 + -0x40" identifier + number_literal) ))))) ;) (expression_statement "uVar17 = *(uint *)(puVar7 + -0x34);" (assignment_expression "uVar17 = *(uint *)(puVar7 + -0x34)" identifier = (pointer_expression "*(uint *)(puVar7 + -0x34)" * (cast_expression "(uint *)(puVar7 + -0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x34)" ( (binary_expression "puVar7 + -0x34" identifier + number_literal) ))))) ;) }))) (expression_statement "pcVar24 = *(code **)(iVar21 + -0x7cac);" (assignment_expression "pcVar24 = *(code **)(iVar21 + -0x7cac)" identifier = (pointer_expression "*(code **)(iVar21 + -0x7cac)" * (cast_expression "(code **)(iVar21 + -0x7cac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar21 + -0x7cac)" ( (binary_expression "iVar21 + -0x7cac" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(puVar7 + -0x34) = uVar17;" (assignment_expression "*(uint *)(puVar7 + -0x34) = uVar17" (pointer_expression "*(uint *)(puVar7 + -0x34)" * (cast_expression "(uint *)(puVar7 + -0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x34)" ( (binary_expression "puVar7 + -0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*pcVar24)(scratch + mVar13,puVar9,iVar4);" (call_expression "(*pcVar24)(scratch + mVar13,puVar9,iVar4)" (parenthesized_expression "(*pcVar24)" ( (pointer_expression "*pcVar24" * identifier) )) (argument_list "(scratch + mVar13,puVar9,iVar4)" ( (binary_expression "scratch + mVar13" identifier + identifier) , identifier , identifier ))) ;) (expression_statement "iVar21 = (**(code **)(*(int *)(puVar7 + -0x40) + -0x7b2c))\n                       (scratch,scratch,scratch + mVar13,iVar4 << 1);" (assignment_expression "iVar21 = (**(code **)(*(int *)(puVar7 + -0x40) + -0x7b2c))\n                       (scratch,scratch,scratch + mVar13,iVar4 << 1)" identifier = (call_expression "(**(code **)(*(int *)(puVar7 + -0x40) + -0x7b2c))\n                       (scratch,scratch,scratch + mVar13,iVar4 << 1)" (parenthesized_expression "(**(code **)(*(int *)(puVar7 + -0x40) + -0x7b2c))" ( (pointer_expression "**(code **)(*(int *)(puVar7 + -0x40) + -0x7b2c)" * (pointer_expression "*(code **)(*(int *)(puVar7 + -0x40) + -0x7b2c)" * (cast_expression "(code **)(*(int *)(puVar7 + -0x40) + -0x7b2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(puVar7 + -0x40) + -0x7b2c)" ( (binary_expression "*(int *)(puVar7 + -0x40) + -0x7b2c" (pointer_expression "*(int *)(puVar7 + -0x40)" * (cast_expression "(int *)(puVar7 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x40)" ( (binary_expression "puVar7 + -0x40" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(scratch,scratch,scratch + mVar13,iVar4 << 1)" ( identifier , identifier , (binary_expression "scratch + mVar13" identifier + identifier) , (binary_expression "iVar4 << 1" identifier << number_literal) )))) ;) (expression_statement "uVar14 = *(uint *)(puVar7 + -0x34);" (assignment_expression "uVar14 = *(uint *)(puVar7 + -0x34)" identifier = (pointer_expression "*(uint *)(puVar7 + -0x34)" * (cast_expression "(uint *)(puVar7 + -0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x34)" ( (binary_expression "puVar7 + -0x34" identifier + number_literal) ))))) ;) (expression_statement "iVar22 = *(int *)(puVar7 + -0x40);" (assignment_expression "iVar22 = *(int *)(puVar7 + -0x40)" identifier = (pointer_expression "*(int *)(puVar7 + -0x40)" * (cast_expression "(int *)(puVar7 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x40)" ( (binary_expression "puVar7 + -0x40" identifier + number_literal) ))))) ;) (expression_statement "uVar12 = iVar21 + uVar14;" (assignment_expression "uVar12 = iVar21 + uVar14" identifier = (binary_expression "iVar21 + uVar14" identifier + identifier)) ;) (if_statement "if (iVar4 != n) {\n      mVar11 = *np_00 - uVar12;\n      uVar12 = (uint)(*np_00 < uVar12);\n      *np_00 = mVar11;\n    }" if (parenthesized_expression "(iVar4 != n)" ( (binary_expression "iVar4 != n" identifier != identifier) )) (compound_statement "{\n      mVar11 = *np_00 - uVar12;\n      uVar12 = (uint)(*np_00 < uVar12);\n      *np_00 = mVar11;\n    }" { (expression_statement "mVar11 = *np_00 - uVar12;" (assignment_expression "mVar11 = *np_00 - uVar12" identifier = (binary_expression "*np_00 - uVar12" (pointer_expression "*np_00" * identifier) - identifier)) ;) (expression_statement "uVar12 = (uint)(*np_00 < uVar12);" (assignment_expression "uVar12 = (uint)(*np_00 < uVar12)" identifier = (call_expression "(uint)(*np_00 < uVar12)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*np_00 < uVar12)" ( (binary_expression "*np_00 < uVar12" (pointer_expression "*np_00" * identifier) < identifier) )))) ;) (expression_statement "*np_00 = mVar11;" (assignment_expression "*np_00 = mVar11" (pointer_expression "*np_00" * identifier) = identifier) ;) })) (if_statement "if ((int)(iVar19 - uVar12) < 0) {\n      mVar11 = *pmVar8;\n      *pmVar8 = uVar14 + mVar11;\n      if (uVar14 + mVar11 < uVar14) {\n        if (n < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar7 + -0x2c) = 2;\n        }\n        else {\n          mVar11 = pmVar8[1];\n          pmVar8[1] = mVar11 + 1;\n          if (mVar11 + 1 == 0) {\n            iVar4 = 2;\n            pmVar8 = pmVar8 + 2;\n            do {\n              bVar1 = n == iVar4;\n              iVar4 = iVar4 + 1;\n              if (bVar1) goto LAB_00045c64;\n              mVar11 = *pmVar8;\n              *pmVar8 = mVar11 + 1;\n              pmVar8 = pmVar8 + 1;\n            } while (mVar11 + 1 == 0);\n          }\n        }\n      }\n      (**(code **)(iVar22 + -0x7f70))(scratch,puVar9,mVar13,2);\n      mVar11 = *scratch;\n      *scratch = mVar11 - 1;\n      if (mVar11 == 0) {\n        if (mVar13 < 2) {\n          *puVar9 = *puVar9 - 1;\n          return;\n        }\n        mVar11 = scratch[1];\n        scratch[1] = mVar11 - 1;\n        if (mVar11 == 0) {\n          iVar4 = 2;\n          pmVar8 = scratch + 2;\n          do {\n            bVar1 = mVar13 == iVar4;\n            iVar4 = iVar4 + 1;\n            if (bVar1) break;\n            mVar11 = *pmVar8;\n            *pmVar8 = mVar11 - 1;\n            pmVar8 = pmVar8 + 1;\n          } while (mVar11 == 0);\n        }\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }\n      else {\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        if (mVar13 < 2) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }\n      puVar9[1] = uVar12 - 1;\n      if (uVar12 == 0) {\n        iVar4 = 2;\n        puVar9 = puVar9 + 2;\n        do {\n          bVar1 = mVar13 <= iVar4;\n          iVar4 = iVar4 + 1;\n          if (bVar1) {\n            return;\n          }\n          uVar12 = *puVar9;\n          *puVar9 = uVar12 - 1;\n          puVar9 = puVar9 + 1;\n        } while (uVar12 == 0);\n      }\n    }" if (parenthesized_expression "((int)(iVar19 - uVar12) < 0)" ( (binary_expression "(int)(iVar19 - uVar12) < 0" (cast_expression "(int)(iVar19 - uVar12)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar19 - uVar12)" ( (binary_expression "iVar19 - uVar12" identifier - identifier) ))) < number_literal) )) (compound_statement "{\n      mVar11 = *pmVar8;\n      *pmVar8 = uVar14 + mVar11;\n      if (uVar14 + mVar11 < uVar14) {\n        if (n < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar7 + -0x2c) = 2;\n        }\n        else {\n          mVar11 = pmVar8[1];\n          pmVar8[1] = mVar11 + 1;\n          if (mVar11 + 1 == 0) {\n            iVar4 = 2;\n            pmVar8 = pmVar8 + 2;\n            do {\n              bVar1 = n == iVar4;\n              iVar4 = iVar4 + 1;\n              if (bVar1) goto LAB_00045c64;\n              mVar11 = *pmVar8;\n              *pmVar8 = mVar11 + 1;\n              pmVar8 = pmVar8 + 1;\n            } while (mVar11 + 1 == 0);\n          }\n        }\n      }\n      (**(code **)(iVar22 + -0x7f70))(scratch,puVar9,mVar13,2);\n      mVar11 = *scratch;\n      *scratch = mVar11 - 1;\n      if (mVar11 == 0) {\n        if (mVar13 < 2) {\n          *puVar9 = *puVar9 - 1;\n          return;\n        }\n        mVar11 = scratch[1];\n        scratch[1] = mVar11 - 1;\n        if (mVar11 == 0) {\n          iVar4 = 2;\n          pmVar8 = scratch + 2;\n          do {\n            bVar1 = mVar13 == iVar4;\n            iVar4 = iVar4 + 1;\n            if (bVar1) break;\n            mVar11 = *pmVar8;\n            *pmVar8 = mVar11 - 1;\n            pmVar8 = pmVar8 + 1;\n          } while (mVar11 == 0);\n        }\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }\n      else {\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        if (mVar13 < 2) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }\n      puVar9[1] = uVar12 - 1;\n      if (uVar12 == 0) {\n        iVar4 = 2;\n        puVar9 = puVar9 + 2;\n        do {\n          bVar1 = mVar13 <= iVar4;\n          iVar4 = iVar4 + 1;\n          if (bVar1) {\n            return;\n          }\n          uVar12 = *puVar9;\n          *puVar9 = uVar12 - 1;\n          puVar9 = puVar9 + 1;\n        } while (uVar12 == 0);\n      }\n    }" { (expression_statement "mVar11 = *pmVar8;" (assignment_expression "mVar11 = *pmVar8" identifier = (pointer_expression "*pmVar8" * identifier)) ;) (expression_statement "*pmVar8 = uVar14 + mVar11;" (assignment_expression "*pmVar8 = uVar14 + mVar11" (pointer_expression "*pmVar8" * identifier) = (binary_expression "uVar14 + mVar11" identifier + identifier)) ;) (if_statement "if (uVar14 + mVar11 < uVar14) {\n        if (n < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar7 + -0x2c) = 2;\n        }\n        else {\n          mVar11 = pmVar8[1];\n          pmVar8[1] = mVar11 + 1;\n          if (mVar11 + 1 == 0) {\n            iVar4 = 2;\n            pmVar8 = pmVar8 + 2;\n            do {\n              bVar1 = n == iVar4;\n              iVar4 = iVar4 + 1;\n              if (bVar1) goto LAB_00045c64;\n              mVar11 = *pmVar8;\n              *pmVar8 = mVar11 + 1;\n              pmVar8 = pmVar8 + 1;\n            } while (mVar11 + 1 == 0);\n          }\n        }\n      }" if (parenthesized_expression "(uVar14 + mVar11 < uVar14)" ( (binary_expression "uVar14 + mVar11 < uVar14" (binary_expression "uVar14 + mVar11" identifier + identifier) < identifier) )) (compound_statement "{\n        if (n < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar7 + -0x2c) = 2;\n        }\n        else {\n          mVar11 = pmVar8[1];\n          pmVar8[1] = mVar11 + 1;\n          if (mVar11 + 1 == 0) {\n            iVar4 = 2;\n            pmVar8 = pmVar8 + 2;\n            do {\n              bVar1 = n == iVar4;\n              iVar4 = iVar4 + 1;\n              if (bVar1) goto LAB_00045c64;\n              mVar11 = *pmVar8;\n              *pmVar8 = mVar11 + 1;\n              pmVar8 = pmVar8 + 1;\n            } while (mVar11 + 1 == 0);\n          }\n        }\n      }" { (if_statement "if (n < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar7 + -0x2c) = 2;\n        }\n        else {\n          mVar11 = pmVar8[1];\n          pmVar8[1] = mVar11 + 1;\n          if (mVar11 + 1 == 0) {\n            iVar4 = 2;\n            pmVar8 = pmVar8 + 2;\n            do {\n              bVar1 = n == iVar4;\n              iVar4 = iVar4 + 1;\n              if (bVar1) goto LAB_00045c64;\n              mVar11 = *pmVar8;\n              *pmVar8 = mVar11 + 1;\n              pmVar8 = pmVar8 + 1;\n            } while (mVar11 + 1 == 0);\n          }\n        }" if (parenthesized_expression "(n < 2)" ( (binary_expression "n < 2" identifier < number_literal) )) (compound_statement "{\nLAB_00045c64:\n          *(undefined4 *)(puVar7 + -0x2c) = 2;\n        }" { (labeled_statement "LAB_00045c64:\n          *(undefined4 *)(puVar7 + -0x2c) = 2;" statement_identifier : (expression_statement "*(undefined4 *)(puVar7 + -0x2c) = 2;" (assignment_expression "*(undefined4 *)(puVar7 + -0x2c) = 2" (pointer_expression "*(undefined4 *)(puVar7 + -0x2c)" * (cast_expression "(undefined4 *)(puVar7 + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x2c)" ( (binary_expression "puVar7 + -0x2c" identifier + number_literal) )))) = number_literal) ;)) }) (else_clause "else {\n          mVar11 = pmVar8[1];\n          pmVar8[1] = mVar11 + 1;\n          if (mVar11 + 1 == 0) {\n            iVar4 = 2;\n            pmVar8 = pmVar8 + 2;\n            do {\n              bVar1 = n == iVar4;\n              iVar4 = iVar4 + 1;\n              if (bVar1) goto LAB_00045c64;\n              mVar11 = *pmVar8;\n              *pmVar8 = mVar11 + 1;\n              pmVar8 = pmVar8 + 1;\n            } while (mVar11 + 1 == 0);\n          }\n        }" else (compound_statement "{\n          mVar11 = pmVar8[1];\n          pmVar8[1] = mVar11 + 1;\n          if (mVar11 + 1 == 0) {\n            iVar4 = 2;\n            pmVar8 = pmVar8 + 2;\n            do {\n              bVar1 = n == iVar4;\n              iVar4 = iVar4 + 1;\n              if (bVar1) goto LAB_00045c64;\n              mVar11 = *pmVar8;\n              *pmVar8 = mVar11 + 1;\n              pmVar8 = pmVar8 + 1;\n            } while (mVar11 + 1 == 0);\n          }\n        }" { (expression_statement "mVar11 = pmVar8[1];" (assignment_expression "mVar11 = pmVar8[1]" identifier = (subscript_expression "pmVar8[1]" identifier [ number_literal ])) ;) (expression_statement "pmVar8[1] = mVar11 + 1;" (assignment_expression "pmVar8[1] = mVar11 + 1" (subscript_expression "pmVar8[1]" identifier [ number_literal ]) = (binary_expression "mVar11 + 1" identifier + number_literal)) ;) (if_statement "if (mVar11 + 1 == 0) {\n            iVar4 = 2;\n            pmVar8 = pmVar8 + 2;\n            do {\n              bVar1 = n == iVar4;\n              iVar4 = iVar4 + 1;\n              if (bVar1) goto LAB_00045c64;\n              mVar11 = *pmVar8;\n              *pmVar8 = mVar11 + 1;\n              pmVar8 = pmVar8 + 1;\n            } while (mVar11 + 1 == 0);\n          }" if (parenthesized_expression "(mVar11 + 1 == 0)" ( (binary_expression "mVar11 + 1 == 0" (binary_expression "mVar11 + 1" identifier + number_literal) == number_literal) )) (compound_statement "{\n            iVar4 = 2;\n            pmVar8 = pmVar8 + 2;\n            do {\n              bVar1 = n == iVar4;\n              iVar4 = iVar4 + 1;\n              if (bVar1) goto LAB_00045c64;\n              mVar11 = *pmVar8;\n              *pmVar8 = mVar11 + 1;\n              pmVar8 = pmVar8 + 1;\n            } while (mVar11 + 1 == 0);\n          }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) (expression_statement "pmVar8 = pmVar8 + 2;" (assignment_expression "pmVar8 = pmVar8 + 2" identifier = (binary_expression "pmVar8 + 2" identifier + number_literal)) ;) (do_statement "do {\n              bVar1 = n == iVar4;\n              iVar4 = iVar4 + 1;\n              if (bVar1) goto LAB_00045c64;\n              mVar11 = *pmVar8;\n              *pmVar8 = mVar11 + 1;\n              pmVar8 = pmVar8 + 1;\n            } while (mVar11 + 1 == 0);" do (compound_statement "{\n              bVar1 = n == iVar4;\n              iVar4 = iVar4 + 1;\n              if (bVar1) goto LAB_00045c64;\n              mVar11 = *pmVar8;\n              *pmVar8 = mVar11 + 1;\n              pmVar8 = pmVar8 + 1;\n            }" { (expression_statement "bVar1 = n == iVar4;" (assignment_expression "bVar1 = n == iVar4" identifier = (binary_expression "n == iVar4" identifier == identifier)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) goto LAB_00045c64;" if (parenthesized_expression "(bVar1)" ( identifier )) (goto_statement "goto LAB_00045c64;" goto statement_identifier ;)) (expression_statement "mVar11 = *pmVar8;" (assignment_expression "mVar11 = *pmVar8" identifier = (pointer_expression "*pmVar8" * identifier)) ;) (expression_statement "*pmVar8 = mVar11 + 1;" (assignment_expression "*pmVar8 = mVar11 + 1" (pointer_expression "*pmVar8" * identifier) = (binary_expression "mVar11 + 1" identifier + number_literal)) ;) (expression_statement "pmVar8 = pmVar8 + 1;" (assignment_expression "pmVar8 = pmVar8 + 1" identifier = (binary_expression "pmVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(mVar11 + 1 == 0)" ( (binary_expression "mVar11 + 1 == 0" (binary_expression "mVar11 + 1" identifier + number_literal) == number_literal) )) ;) })) }))) })) (expression_statement "(**(code **)(iVar22 + -0x7f70))(scratch,puVar9,mVar13,2);" (call_expression "(**(code **)(iVar22 + -0x7f70))(scratch,puVar9,mVar13,2)" (parenthesized_expression "(**(code **)(iVar22 + -0x7f70))" ( (pointer_expression "**(code **)(iVar22 + -0x7f70)" * (pointer_expression "*(code **)(iVar22 + -0x7f70)" * (cast_expression "(code **)(iVar22 + -0x7f70)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar22 + -0x7f70)" ( (binary_expression "iVar22 + -0x7f70" identifier + number_literal) ))))) )) (argument_list "(scratch,puVar9,mVar13,2)" ( identifier , identifier , identifier , number_literal ))) ;) (expression_statement "mVar11 = *scratch;" (assignment_expression "mVar11 = *scratch" identifier = (pointer_expression "*scratch" * identifier)) ;) (expression_statement "*scratch = mVar11 - 1;" (assignment_expression "*scratch = mVar11 - 1" (pointer_expression "*scratch" * identifier) = (binary_expression "mVar11 - 1" identifier - number_literal)) ;) (if_statement "if (mVar11 == 0) {\n        if (mVar13 < 2) {\n          *puVar9 = *puVar9 - 1;\n          return;\n        }\n        mVar11 = scratch[1];\n        scratch[1] = mVar11 - 1;\n        if (mVar11 == 0) {\n          iVar4 = 2;\n          pmVar8 = scratch + 2;\n          do {\n            bVar1 = mVar13 == iVar4;\n            iVar4 = iVar4 + 1;\n            if (bVar1) break;\n            mVar11 = *pmVar8;\n            *pmVar8 = mVar11 - 1;\n            pmVar8 = pmVar8 + 1;\n          } while (mVar11 == 0);\n        }\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }\n      else {\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        if (mVar13 < 2) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }" if (parenthesized_expression "(mVar11 == 0)" ( (binary_expression "mVar11 == 0" identifier == number_literal) )) (compound_statement "{\n        if (mVar13 < 2) {\n          *puVar9 = *puVar9 - 1;\n          return;\n        }\n        mVar11 = scratch[1];\n        scratch[1] = mVar11 - 1;\n        if (mVar11 == 0) {\n          iVar4 = 2;\n          pmVar8 = scratch + 2;\n          do {\n            bVar1 = mVar13 == iVar4;\n            iVar4 = iVar4 + 1;\n            if (bVar1) break;\n            mVar11 = *pmVar8;\n            *pmVar8 = mVar11 - 1;\n            pmVar8 = pmVar8 + 1;\n          } while (mVar11 == 0);\n        }\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }" { (if_statement "if (mVar13 < 2) {\n          *puVar9 = *puVar9 - 1;\n          return;\n        }" if (parenthesized_expression "(mVar13 < 2)" ( (binary_expression "mVar13 < 2" identifier < number_literal) )) (compound_statement "{\n          *puVar9 = *puVar9 - 1;\n          return;\n        }" { (expression_statement "*puVar9 = *puVar9 - 1;" (assignment_expression "*puVar9 = *puVar9 - 1" (pointer_expression "*puVar9" * identifier) = (binary_expression "*puVar9 - 1" (pointer_expression "*puVar9" * identifier) - number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "mVar11 = scratch[1];" (assignment_expression "mVar11 = scratch[1]" identifier = (subscript_expression "scratch[1]" identifier [ number_literal ])) ;) (expression_statement "scratch[1] = mVar11 - 1;" (assignment_expression "scratch[1] = mVar11 - 1" (subscript_expression "scratch[1]" identifier [ number_literal ]) = (binary_expression "mVar11 - 1" identifier - number_literal)) ;) (if_statement "if (mVar11 == 0) {\n          iVar4 = 2;\n          pmVar8 = scratch + 2;\n          do {\n            bVar1 = mVar13 == iVar4;\n            iVar4 = iVar4 + 1;\n            if (bVar1) break;\n            mVar11 = *pmVar8;\n            *pmVar8 = mVar11 - 1;\n            pmVar8 = pmVar8 + 1;\n          } while (mVar11 == 0);\n        }" if (parenthesized_expression "(mVar11 == 0)" ( (binary_expression "mVar11 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar4 = 2;\n          pmVar8 = scratch + 2;\n          do {\n            bVar1 = mVar13 == iVar4;\n            iVar4 = iVar4 + 1;\n            if (bVar1) break;\n            mVar11 = *pmVar8;\n            *pmVar8 = mVar11 - 1;\n            pmVar8 = pmVar8 + 1;\n          } while (mVar11 == 0);\n        }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) (expression_statement "pmVar8 = scratch + 2;" (assignment_expression "pmVar8 = scratch + 2" identifier = (binary_expression "scratch + 2" identifier + number_literal)) ;) (do_statement "do {\n            bVar1 = mVar13 == iVar4;\n            iVar4 = iVar4 + 1;\n            if (bVar1) break;\n            mVar11 = *pmVar8;\n            *pmVar8 = mVar11 - 1;\n            pmVar8 = pmVar8 + 1;\n          } while (mVar11 == 0);" do (compound_statement "{\n            bVar1 = mVar13 == iVar4;\n            iVar4 = iVar4 + 1;\n            if (bVar1) break;\n            mVar11 = *pmVar8;\n            *pmVar8 = mVar11 - 1;\n            pmVar8 = pmVar8 + 1;\n          }" { (expression_statement "bVar1 = mVar13 == iVar4;" (assignment_expression "bVar1 = mVar13 == iVar4" identifier = (binary_expression "mVar13 == iVar4" identifier == identifier)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) break;" if (parenthesized_expression "(bVar1)" ( identifier )) (break_statement "break;" break ;)) (expression_statement "mVar11 = *pmVar8;" (assignment_expression "mVar11 = *pmVar8" identifier = (pointer_expression "*pmVar8" * identifier)) ;) (expression_statement "*pmVar8 = mVar11 - 1;" (assignment_expression "*pmVar8 = mVar11 - 1" (pointer_expression "*pmVar8" * identifier) = (binary_expression "mVar11 - 1" identifier - number_literal)) ;) (expression_statement "pmVar8 = pmVar8 + 1;" (assignment_expression "pmVar8 = pmVar8 + 1" identifier = (binary_expression "pmVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(mVar11 == 0)" ( (binary_expression "mVar11 == 0" identifier == number_literal) )) ;) })) (expression_statement "uVar12 = *puVar9;" (assignment_expression "uVar12 = *puVar9" identifier = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "*puVar9 = uVar12 - 1;" (assignment_expression "*puVar9 = uVar12 - 1" (pointer_expression "*puVar9" * identifier) = (binary_expression "uVar12 - 1" identifier - number_literal)) ;) (if_statement "if (uVar12 != 0) {\n          return;\n        }" if (parenthesized_expression "(uVar12 != 0)" ( (binary_expression "uVar12 != 0" identifier != number_literal) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "uVar12 = puVar9[1];" (assignment_expression "uVar12 = puVar9[1]" identifier = (subscript_expression "puVar9[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        if (mVar13 < 2) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }" else (compound_statement "{\n        uVar12 = *puVar9;\n        *puVar9 = uVar12 - 1;\n        if (uVar12 != 0) {\n          return;\n        }\n        if (mVar13 < 2) {\n          return;\n        }\n        uVar12 = puVar9[1];\n      }" { (expression_statement "uVar12 = *puVar9;" (assignment_expression "uVar12 = *puVar9" identifier = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "*puVar9 = uVar12 - 1;" (assignment_expression "*puVar9 = uVar12 - 1" (pointer_expression "*puVar9" * identifier) = (binary_expression "uVar12 - 1" identifier - number_literal)) ;) (if_statement "if (uVar12 != 0) {\n          return;\n        }" if (parenthesized_expression "(uVar12 != 0)" ( (binary_expression "uVar12 != 0" identifier != number_literal) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (if_statement "if (mVar13 < 2) {\n          return;\n        }" if (parenthesized_expression "(mVar13 < 2)" ( (binary_expression "mVar13 < 2" identifier < number_literal) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "uVar12 = puVar9[1];" (assignment_expression "uVar12 = puVar9[1]" identifier = (subscript_expression "puVar9[1]" identifier [ number_literal ])) ;) }))) (expression_statement "puVar9[1] = uVar12 - 1;" (assignment_expression "puVar9[1] = uVar12 - 1" (subscript_expression "puVar9[1]" identifier [ number_literal ]) = (binary_expression "uVar12 - 1" identifier - number_literal)) ;) (if_statement "if (uVar12 == 0) {\n        iVar4 = 2;\n        puVar9 = puVar9 + 2;\n        do {\n          bVar1 = mVar13 <= iVar4;\n          iVar4 = iVar4 + 1;\n          if (bVar1) {\n            return;\n          }\n          uVar12 = *puVar9;\n          *puVar9 = uVar12 - 1;\n          puVar9 = puVar9 + 1;\n        } while (uVar12 == 0);\n      }" if (parenthesized_expression "(uVar12 == 0)" ( (binary_expression "uVar12 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar4 = 2;\n        puVar9 = puVar9 + 2;\n        do {\n          bVar1 = mVar13 <= iVar4;\n          iVar4 = iVar4 + 1;\n          if (bVar1) {\n            return;\n          }\n          uVar12 = *puVar9;\n          *puVar9 = uVar12 - 1;\n          puVar9 = puVar9 + 1;\n        } while (uVar12 == 0);\n      }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) (expression_statement "puVar9 = puVar9 + 2;" (assignment_expression "puVar9 = puVar9 + 2" identifier = (binary_expression "puVar9 + 2" identifier + number_literal)) ;) (do_statement "do {\n          bVar1 = mVar13 <= iVar4;\n          iVar4 = iVar4 + 1;\n          if (bVar1) {\n            return;\n          }\n          uVar12 = *puVar9;\n          *puVar9 = uVar12 - 1;\n          puVar9 = puVar9 + 1;\n        } while (uVar12 == 0);" do (compound_statement "{\n          bVar1 = mVar13 <= iVar4;\n          iVar4 = iVar4 + 1;\n          if (bVar1) {\n            return;\n          }\n          uVar12 = *puVar9;\n          *puVar9 = uVar12 - 1;\n          puVar9 = puVar9 + 1;\n        }" { (expression_statement "bVar1 = mVar13 <= iVar4;" (assignment_expression "bVar1 = mVar13 <= iVar4" identifier = (binary_expression "mVar13 <= iVar4" identifier <= identifier)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) {\n            return;\n          }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) (expression_statement "uVar12 = *puVar9;" (assignment_expression "uVar12 = *puVar9" identifier = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "*puVar9 = uVar12 - 1;" (assignment_expression "*puVar9 = uVar12 - 1" (pointer_expression "*puVar9" * identifier) = (binary_expression "uVar12 - 1" identifier - number_literal)) ;) (expression_statement "puVar9 = puVar9 + 1;" (assignment_expression "puVar9 = puVar9 + 1" identifier = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar12 == 0)" ( (binary_expression "uVar12 == 0" identifier == number_literal) )) ;) })) })) })) (return_statement "return;" return ;) })))
(translation_unit "int FUN_00045608(int param_1,uint *param_2,int param_3,int param_4,int param_5,uint *param_6)\n\n{\n  bool bVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  undefined4 ******ppppppuVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  uint uVar9;\n  uint uVar10;\n  uint *puVar11;\n  uint *puVar12;\n  uint uVar13;\n  uint uVar14;\n  int *piVar15;\n  uint *puVar16;\n  int iVar17;\n  uint *puVar18;\n  undefined4 unaff_s5;\n  int iVar19;\n  undefined4 unaff_s6;\n  uint *puVar20;\n  undefined4 unaff_s7;\n  undefined *puVar21;\n  int iVar22;\n  int iVar23;\n  undefined1 *puVar24;\n  code *pcVar25;\n  uint uVar26;\n  uint uVar27;\n  undefined1 auStack_58 [16];\n  int local_48;\n  undefined4 *****local_44;\n  undefined4 *****local_2c;\n  int local_28;\n  uint *local_24;\n  \n  puVar3 = PTR___stack_chk_guard_00097540;\n  puVar8 = auStack_58;\n  puVar24 = auStack_58;\n  local_24 = *(uint **)PTR___stack_chk_guard_00097540;\n  if (param_3 != 0) {\n    iVar4 = param_3 + -1;\n    uVar9 = *param_2;\n    if (iVar4 == 0) {\n      *param_6 = uVar9;\n    }\n    else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }\n  }\n  puVar11 = (uint *)(param_4 + param_5 * 4 + -4);\n  uVar10 = *puVar11;\n  uVar9 = uVar10 >> 0x10;\n  if (uVar9 == 0) {\n    trap(7);\n  }\n  uVar26 = ~uVar10 / uVar9;\n  uVar13 = (uVar10 & 0xffff) * uVar26;\n  uVar5 = ~uVar10 % uVar9 << 0x10 | 0xffff;\n  uVar14 = uVar26;\n  if (uVar5 < uVar13) {\n    uVar5 = uVar5 + uVar10;\n    uVar14 = uVar26 - 1;\n    if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }\n  }\n  if (uVar9 == 0) {\n    trap(7);\n  }\n  uVar27 = (uVar5 - uVar13) / uVar9;\n  uVar26 = (uVar10 & 0xffff) * uVar27;\n  uVar5 = (uVar5 - uVar13) % uVar9 << 0x10 | 0xffff;\n  uVar13 = uVar10 + uVar5;\n  uVar9 = uVar27;\n  if (((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26)) {\n    uVar9 = uVar27 - 2;\n  }\n  uVar5 = puVar11[-1];\n  ppppppuVar6 = (undefined4 ******)(uVar14 << 0x10 | uVar9);\n  uVar9 = uVar10 * (int)ppppppuVar6 + uVar5;\n  lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  if (uVar9 < uVar5) {\n    uVar13 = uVar9 < uVar10 ^ 1;\n    uVar14 = uVar10;\n    if (uVar13 == 0) {\n      uVar14 = 0;\n    }\n    ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));\n    uVar9 = (uVar9 - uVar10) - uVar14;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  }\n  uVar14 = (uint)((ulonglong)lVar2 >> 0x20);\n  uVar9 = uVar9 + uVar14;\n  local_2c = ppppppuVar6;\n  if ((uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)) {\n    if (uVar10 < uVar9) {\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }\n  }\n  iVar4 = param_3;\n  if (param_5 < 200) {\n    local_48 = param_5;\n    local_44 = local_2c;\n    iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);\n  }\n  else if (param_5 < 2000) {\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }\n  else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }\n  puVar11 = *(uint **)puVar3;\n  piVar15 = (int *)(param_1 + (param_3 - param_5) * 4);\n  *piVar15 = iVar7;\n  if (local_24 == puVar11) {\n    return iVar7;\n  }\n  pcVar25 = FUN_00045944;\n  puVar11 = local_24;\n  puVar21 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  *(undefined **)(puVar8 + -0x40) = puVar21 + 0x596fc;\n  *(int **)(puVar8 + -0x20) = piVar15;\n  *(undefined **)(puVar8 + -0x24) = puVar3;\n  *(int *)(puVar8 + -0x28) = param_1;\n  *(code **)(puVar8 + -4) = pcVar25;\n  *(undefined1 **)(puVar8 + -8) = auStack_58;\n  *(undefined4 *)(puVar8 + -0xc) = unaff_s7;\n  *(undefined4 *)(puVar8 + -0x10) = unaff_s6;\n  *(undefined4 *)(puVar8 + -0x14) = unaff_s5;\n  *(uint **)(puVar8 + -0x18) = param_2;\n  *(int *)(puVar8 + -0x1c) = param_5;\n  *(int *)(puVar8 + 0xc) = param_4;\n  puVar16 = *(uint **)(puVar8 + 0x10);\n  if (iVar4 == 1) {\n    uVar10 = *param_6;\n    uVar9 = FUN_00045580(param_6,param_6[1]);\n    uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;\n    if (uVar9 == 0) {\n      trap(7);\n    }\n    uVar5 = uVar14 / uVar9;\n    uVar5 = uVar5 - (uVar5 >> 0x10);\n    uVar14 = uVar14 - uVar9 * uVar5;\n    uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);\n    uVar9 = uVar5 | uVar9 << 0x10;\n    iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);\n    uVar10 = uVar10 - uVar5 * uVar5;\n    if (iVar4 == -1) {\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }\n    else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }\n    return iVar4;\n  }\n  *(uint **)(puVar8 + -0x50) = puVar16;\n  iVar17 = iVar4 / 2;\n  iVar19 = iVar4 - iVar17;\n  puVar20 = param_6 + iVar17 * 2;\n  puVar18 = puVar11 + iVar17;\n  iVar7 = FUN_00045944(puVar18,puVar20,iVar19,0);\n  iVar22 = *(int *)(puVar8 + -0x40);\n  if (iVar7 != 0) {\n    pcVar25 = *(code **)(iVar22 + -0x7b2c);\n    *(int *)(puVar8 + -0x34) = iVar7;\n    (*pcVar25)(puVar20,puVar20,puVar18,iVar19);\n    iVar22 = *(int *)(puVar8 + -0x40);\n    iVar7 = *(int *)(puVar8 + -0x34);\n  }\n  puVar12 = param_6 + iVar17;\n  pcVar25 = *(code **)(iVar22 + -0x7a30);\n  *(int *)(puVar8 + -0x34) = iVar7;\n  *(uint **)(puVar8 + -0x30) = puVar12;\n  *(int *)(puVar8 + -0x48) = iVar19;\n  *(uint **)(puVar8 + -0x4c) = puVar18;\n  *(int *)(puVar8 + -0x50) = iVar4;\n  (*pcVar25)(puVar16,puVar12,0,puVar12);\n  uVar9 = *puVar16;\n  pcVar25 = *(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0);\n  *(uint *)(puVar8 + -0x34) = *(int *)(puVar8 + -0x34) + puVar16[iVar17];\n  (*pcVar25)(puVar11,puVar16,iVar17,1);\n  uVar14 = *(uint *)(puVar8 + -0x34);\n  iVar7 = *(int *)(puVar8 + -0x40);\n  puVar11[iVar17 + -1] = puVar11[iVar17 + -1] | uVar14 << 0x1f;\n  uVar10 = *puVar11;\n  *(uint *)(puVar8 + -0x2c) = *(uint *)(puVar8 + 0xc) & uVar10;\n  if ((*(uint *)(puVar8 + 0xc) & uVar10) == 0) {\n    uVar14 = uVar14 >> 1;\n    if ((uVar9 & 1) == 0) {\n      iVar22 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }\n    pcVar25 = *(code **)(iVar7 + -0x7cac);\n    *(uint *)(puVar8 + -0x34) = uVar14;\n    (*pcVar25)(param_6 + iVar4,puVar11,iVar17);\n    iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);\n    uVar10 = *(uint *)(puVar8 + -0x34);\n    iVar23 = *(int *)(puVar8 + -0x40);\n    uVar9 = iVar7 + uVar10;\n    if (iVar17 != iVar19) {\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }\n    iVar22 = iVar22 - uVar9;\n    if (iVar22 < 0) {\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }\n  }\n  else {\n    iVar22 = 1;\n  }\n  return iVar22;\n}\n\n" (function_definition "int FUN_00045608(int param_1,uint *param_2,int param_3,int param_4,int param_5,uint *param_6)\n\n{\n  bool bVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  undefined4 ******ppppppuVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  uint uVar9;\n  uint uVar10;\n  uint *puVar11;\n  uint *puVar12;\n  uint uVar13;\n  uint uVar14;\n  int *piVar15;\n  uint *puVar16;\n  int iVar17;\n  uint *puVar18;\n  undefined4 unaff_s5;\n  int iVar19;\n  undefined4 unaff_s6;\n  uint *puVar20;\n  undefined4 unaff_s7;\n  undefined *puVar21;\n  int iVar22;\n  int iVar23;\n  undefined1 *puVar24;\n  code *pcVar25;\n  uint uVar26;\n  uint uVar27;\n  undefined1 auStack_58 [16];\n  int local_48;\n  undefined4 *****local_44;\n  undefined4 *****local_2c;\n  int local_28;\n  uint *local_24;\n  \n  puVar3 = PTR___stack_chk_guard_00097540;\n  puVar8 = auStack_58;\n  puVar24 = auStack_58;\n  local_24 = *(uint **)PTR___stack_chk_guard_00097540;\n  if (param_3 != 0) {\n    iVar4 = param_3 + -1;\n    uVar9 = *param_2;\n    if (iVar4 == 0) {\n      *param_6 = uVar9;\n    }\n    else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }\n  }\n  puVar11 = (uint *)(param_4 + param_5 * 4 + -4);\n  uVar10 = *puVar11;\n  uVar9 = uVar10 >> 0x10;\n  if (uVar9 == 0) {\n    trap(7);\n  }\n  uVar26 = ~uVar10 / uVar9;\n  uVar13 = (uVar10 & 0xffff) * uVar26;\n  uVar5 = ~uVar10 % uVar9 << 0x10 | 0xffff;\n  uVar14 = uVar26;\n  if (uVar5 < uVar13) {\n    uVar5 = uVar5 + uVar10;\n    uVar14 = uVar26 - 1;\n    if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }\n  }\n  if (uVar9 == 0) {\n    trap(7);\n  }\n  uVar27 = (uVar5 - uVar13) / uVar9;\n  uVar26 = (uVar10 & 0xffff) * uVar27;\n  uVar5 = (uVar5 - uVar13) % uVar9 << 0x10 | 0xffff;\n  uVar13 = uVar10 + uVar5;\n  uVar9 = uVar27;\n  if (((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26)) {\n    uVar9 = uVar27 - 2;\n  }\n  uVar5 = puVar11[-1];\n  ppppppuVar6 = (undefined4 ******)(uVar14 << 0x10 | uVar9);\n  uVar9 = uVar10 * (int)ppppppuVar6 + uVar5;\n  lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  if (uVar9 < uVar5) {\n    uVar13 = uVar9 < uVar10 ^ 1;\n    uVar14 = uVar10;\n    if (uVar13 == 0) {\n      uVar14 = 0;\n    }\n    ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));\n    uVar9 = (uVar9 - uVar10) - uVar14;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  }\n  uVar14 = (uint)((ulonglong)lVar2 >> 0x20);\n  uVar9 = uVar9 + uVar14;\n  local_2c = ppppppuVar6;\n  if ((uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)) {\n    if (uVar10 < uVar9) {\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }\n  }\n  iVar4 = param_3;\n  if (param_5 < 200) {\n    local_48 = param_5;\n    local_44 = local_2c;\n    iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);\n  }\n  else if (param_5 < 2000) {\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }\n  else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }\n  puVar11 = *(uint **)puVar3;\n  piVar15 = (int *)(param_1 + (param_3 - param_5) * 4);\n  *piVar15 = iVar7;\n  if (local_24 == puVar11) {\n    return iVar7;\n  }\n  pcVar25 = FUN_00045944;\n  puVar11 = local_24;\n  puVar21 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  *(undefined **)(puVar8 + -0x40) = puVar21 + 0x596fc;\n  *(int **)(puVar8 + -0x20) = piVar15;\n  *(undefined **)(puVar8 + -0x24) = puVar3;\n  *(int *)(puVar8 + -0x28) = param_1;\n  *(code **)(puVar8 + -4) = pcVar25;\n  *(undefined1 **)(puVar8 + -8) = auStack_58;\n  *(undefined4 *)(puVar8 + -0xc) = unaff_s7;\n  *(undefined4 *)(puVar8 + -0x10) = unaff_s6;\n  *(undefined4 *)(puVar8 + -0x14) = unaff_s5;\n  *(uint **)(puVar8 + -0x18) = param_2;\n  *(int *)(puVar8 + -0x1c) = param_5;\n  *(int *)(puVar8 + 0xc) = param_4;\n  puVar16 = *(uint **)(puVar8 + 0x10);\n  if (iVar4 == 1) {\n    uVar10 = *param_6;\n    uVar9 = FUN_00045580(param_6,param_6[1]);\n    uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;\n    if (uVar9 == 0) {\n      trap(7);\n    }\n    uVar5 = uVar14 / uVar9;\n    uVar5 = uVar5 - (uVar5 >> 0x10);\n    uVar14 = uVar14 - uVar9 * uVar5;\n    uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);\n    uVar9 = uVar5 | uVar9 << 0x10;\n    iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);\n    uVar10 = uVar10 - uVar5 * uVar5;\n    if (iVar4 == -1) {\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }\n    else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }\n    return iVar4;\n  }\n  *(uint **)(puVar8 + -0x50) = puVar16;\n  iVar17 = iVar4 / 2;\n  iVar19 = iVar4 - iVar17;\n  puVar20 = param_6 + iVar17 * 2;\n  puVar18 = puVar11 + iVar17;\n  iVar7 = FUN_00045944(puVar18,puVar20,iVar19,0);\n  iVar22 = *(int *)(puVar8 + -0x40);\n  if (iVar7 != 0) {\n    pcVar25 = *(code **)(iVar22 + -0x7b2c);\n    *(int *)(puVar8 + -0x34) = iVar7;\n    (*pcVar25)(puVar20,puVar20,puVar18,iVar19);\n    iVar22 = *(int *)(puVar8 + -0x40);\n    iVar7 = *(int *)(puVar8 + -0x34);\n  }\n  puVar12 = param_6 + iVar17;\n  pcVar25 = *(code **)(iVar22 + -0x7a30);\n  *(int *)(puVar8 + -0x34) = iVar7;\n  *(uint **)(puVar8 + -0x30) = puVar12;\n  *(int *)(puVar8 + -0x48) = iVar19;\n  *(uint **)(puVar8 + -0x4c) = puVar18;\n  *(int *)(puVar8 + -0x50) = iVar4;\n  (*pcVar25)(puVar16,puVar12,0,puVar12);\n  uVar9 = *puVar16;\n  pcVar25 = *(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0);\n  *(uint *)(puVar8 + -0x34) = *(int *)(puVar8 + -0x34) + puVar16[iVar17];\n  (*pcVar25)(puVar11,puVar16,iVar17,1);\n  uVar14 = *(uint *)(puVar8 + -0x34);\n  iVar7 = *(int *)(puVar8 + -0x40);\n  puVar11[iVar17 + -1] = puVar11[iVar17 + -1] | uVar14 << 0x1f;\n  uVar10 = *puVar11;\n  *(uint *)(puVar8 + -0x2c) = *(uint *)(puVar8 + 0xc) & uVar10;\n  if ((*(uint *)(puVar8 + 0xc) & uVar10) == 0) {\n    uVar14 = uVar14 >> 1;\n    if ((uVar9 & 1) == 0) {\n      iVar22 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }\n    pcVar25 = *(code **)(iVar7 + -0x7cac);\n    *(uint *)(puVar8 + -0x34) = uVar14;\n    (*pcVar25)(param_6 + iVar4,puVar11,iVar17);\n    iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);\n    uVar10 = *(uint *)(puVar8 + -0x34);\n    iVar23 = *(int *)(puVar8 + -0x40);\n    uVar9 = iVar7 + uVar10;\n    if (iVar17 != iVar19) {\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }\n    iVar22 = iVar22 - uVar9;\n    if (iVar22 < 0) {\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }\n  }\n  else {\n    iVar22 = 1;\n  }\n  return iVar22;\n}" primitive_type (function_declarator "FUN_00045608(int param_1,uint *param_2,int param_3,int param_4,int param_5,uint *param_6)" identifier (parameter_list "(int param_1,uint *param_2,int param_3,int param_4,int param_5,uint *param_6)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "uint *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  undefined4 ******ppppppuVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  uint uVar9;\n  uint uVar10;\n  uint *puVar11;\n  uint *puVar12;\n  uint uVar13;\n  uint uVar14;\n  int *piVar15;\n  uint *puVar16;\n  int iVar17;\n  uint *puVar18;\n  undefined4 unaff_s5;\n  int iVar19;\n  undefined4 unaff_s6;\n  uint *puVar20;\n  undefined4 unaff_s7;\n  undefined *puVar21;\n  int iVar22;\n  int iVar23;\n  undefined1 *puVar24;\n  code *pcVar25;\n  uint uVar26;\n  uint uVar27;\n  undefined1 auStack_58 [16];\n  int local_48;\n  undefined4 *****local_44;\n  undefined4 *****local_2c;\n  int local_28;\n  uint *local_24;\n  \n  puVar3 = PTR___stack_chk_guard_00097540;\n  puVar8 = auStack_58;\n  puVar24 = auStack_58;\n  local_24 = *(uint **)PTR___stack_chk_guard_00097540;\n  if (param_3 != 0) {\n    iVar4 = param_3 + -1;\n    uVar9 = *param_2;\n    if (iVar4 == 0) {\n      *param_6 = uVar9;\n    }\n    else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }\n  }\n  puVar11 = (uint *)(param_4 + param_5 * 4 + -4);\n  uVar10 = *puVar11;\n  uVar9 = uVar10 >> 0x10;\n  if (uVar9 == 0) {\n    trap(7);\n  }\n  uVar26 = ~uVar10 / uVar9;\n  uVar13 = (uVar10 & 0xffff) * uVar26;\n  uVar5 = ~uVar10 % uVar9 << 0x10 | 0xffff;\n  uVar14 = uVar26;\n  if (uVar5 < uVar13) {\n    uVar5 = uVar5 + uVar10;\n    uVar14 = uVar26 - 1;\n    if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }\n  }\n  if (uVar9 == 0) {\n    trap(7);\n  }\n  uVar27 = (uVar5 - uVar13) / uVar9;\n  uVar26 = (uVar10 & 0xffff) * uVar27;\n  uVar5 = (uVar5 - uVar13) % uVar9 << 0x10 | 0xffff;\n  uVar13 = uVar10 + uVar5;\n  uVar9 = uVar27;\n  if (((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26)) {\n    uVar9 = uVar27 - 2;\n  }\n  uVar5 = puVar11[-1];\n  ppppppuVar6 = (undefined4 ******)(uVar14 << 0x10 | uVar9);\n  uVar9 = uVar10 * (int)ppppppuVar6 + uVar5;\n  lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  if (uVar9 < uVar5) {\n    uVar13 = uVar9 < uVar10 ^ 1;\n    uVar14 = uVar10;\n    if (uVar13 == 0) {\n      uVar14 = 0;\n    }\n    ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));\n    uVar9 = (uVar9 - uVar10) - uVar14;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  }\n  uVar14 = (uint)((ulonglong)lVar2 >> 0x20);\n  uVar9 = uVar9 + uVar14;\n  local_2c = ppppppuVar6;\n  if ((uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)) {\n    if (uVar10 < uVar9) {\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }\n  }\n  iVar4 = param_3;\n  if (param_5 < 200) {\n    local_48 = param_5;\n    local_44 = local_2c;\n    iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);\n  }\n  else if (param_5 < 2000) {\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }\n  else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }\n  puVar11 = *(uint **)puVar3;\n  piVar15 = (int *)(param_1 + (param_3 - param_5) * 4);\n  *piVar15 = iVar7;\n  if (local_24 == puVar11) {\n    return iVar7;\n  }\n  pcVar25 = FUN_00045944;\n  puVar11 = local_24;\n  puVar21 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  *(undefined **)(puVar8 + -0x40) = puVar21 + 0x596fc;\n  *(int **)(puVar8 + -0x20) = piVar15;\n  *(undefined **)(puVar8 + -0x24) = puVar3;\n  *(int *)(puVar8 + -0x28) = param_1;\n  *(code **)(puVar8 + -4) = pcVar25;\n  *(undefined1 **)(puVar8 + -8) = auStack_58;\n  *(undefined4 *)(puVar8 + -0xc) = unaff_s7;\n  *(undefined4 *)(puVar8 + -0x10) = unaff_s6;\n  *(undefined4 *)(puVar8 + -0x14) = unaff_s5;\n  *(uint **)(puVar8 + -0x18) = param_2;\n  *(int *)(puVar8 + -0x1c) = param_5;\n  *(int *)(puVar8 + 0xc) = param_4;\n  puVar16 = *(uint **)(puVar8 + 0x10);\n  if (iVar4 == 1) {\n    uVar10 = *param_6;\n    uVar9 = FUN_00045580(param_6,param_6[1]);\n    uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;\n    if (uVar9 == 0) {\n      trap(7);\n    }\n    uVar5 = uVar14 / uVar9;\n    uVar5 = uVar5 - (uVar5 >> 0x10);\n    uVar14 = uVar14 - uVar9 * uVar5;\n    uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);\n    uVar9 = uVar5 | uVar9 << 0x10;\n    iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);\n    uVar10 = uVar10 - uVar5 * uVar5;\n    if (iVar4 == -1) {\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }\n    else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }\n    return iVar4;\n  }\n  *(uint **)(puVar8 + -0x50) = puVar16;\n  iVar17 = iVar4 / 2;\n  iVar19 = iVar4 - iVar17;\n  puVar20 = param_6 + iVar17 * 2;\n  puVar18 = puVar11 + iVar17;\n  iVar7 = FUN_00045944(puVar18,puVar20,iVar19,0);\n  iVar22 = *(int *)(puVar8 + -0x40);\n  if (iVar7 != 0) {\n    pcVar25 = *(code **)(iVar22 + -0x7b2c);\n    *(int *)(puVar8 + -0x34) = iVar7;\n    (*pcVar25)(puVar20,puVar20,puVar18,iVar19);\n    iVar22 = *(int *)(puVar8 + -0x40);\n    iVar7 = *(int *)(puVar8 + -0x34);\n  }\n  puVar12 = param_6 + iVar17;\n  pcVar25 = *(code **)(iVar22 + -0x7a30);\n  *(int *)(puVar8 + -0x34) = iVar7;\n  *(uint **)(puVar8 + -0x30) = puVar12;\n  *(int *)(puVar8 + -0x48) = iVar19;\n  *(uint **)(puVar8 + -0x4c) = puVar18;\n  *(int *)(puVar8 + -0x50) = iVar4;\n  (*pcVar25)(puVar16,puVar12,0,puVar12);\n  uVar9 = *puVar16;\n  pcVar25 = *(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0);\n  *(uint *)(puVar8 + -0x34) = *(int *)(puVar8 + -0x34) + puVar16[iVar17];\n  (*pcVar25)(puVar11,puVar16,iVar17,1);\n  uVar14 = *(uint *)(puVar8 + -0x34);\n  iVar7 = *(int *)(puVar8 + -0x40);\n  puVar11[iVar17 + -1] = puVar11[iVar17 + -1] | uVar14 << 0x1f;\n  uVar10 = *puVar11;\n  *(uint *)(puVar8 + -0x2c) = *(uint *)(puVar8 + 0xc) & uVar10;\n  if ((*(uint *)(puVar8 + 0xc) & uVar10) == 0) {\n    uVar14 = uVar14 >> 1;\n    if ((uVar9 & 1) == 0) {\n      iVar22 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }\n    pcVar25 = *(code **)(iVar7 + -0x7cac);\n    *(uint *)(puVar8 + -0x34) = uVar14;\n    (*pcVar25)(param_6 + iVar4,puVar11,iVar17);\n    iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);\n    uVar10 = *(uint *)(puVar8 + -0x34);\n    iVar23 = *(int *)(puVar8 + -0x40);\n    uVar9 = iVar7 + uVar10;\n    if (iVar17 != iVar19) {\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }\n    iVar22 = iVar22 - uVar9;\n    if (iVar22 < 0) {\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }\n  }\n  else {\n    iVar22 = 1;\n  }\n  return iVar22;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "longlong lVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined4 ******ppppppuVar6;" type_identifier (pointer_declarator "******ppppppuVar6" * (pointer_declarator "*****ppppppuVar6" * (pointer_declarator "****ppppppuVar6" * (pointer_declarator "***ppppppuVar6" * (pointer_declarator "**ppppppuVar6" * (pointer_declarator "*ppppppuVar6" * identifier)))))) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "uint *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "int *piVar15;" primitive_type (pointer_declarator "*piVar15" * identifier) ;) (declaration "uint *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "uint *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "undefined4 unaff_s5;" type_identifier identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "undefined4 unaff_s6;" type_identifier identifier ;) (declaration "uint *puVar20;" type_identifier (pointer_declarator "*puVar20" * identifier) ;) (declaration "undefined4 unaff_s7;" type_identifier identifier ;) (declaration "undefined *puVar21;" type_identifier (pointer_declarator "*puVar21" * identifier) ;) (declaration "int iVar22;" primitive_type identifier ;) (declaration "int iVar23;" primitive_type identifier ;) (declaration "undefined1 *puVar24;" type_identifier (pointer_declarator "*puVar24" * identifier) ;) (declaration "code *pcVar25;" type_identifier (pointer_declarator "*pcVar25" * identifier) ;) (declaration "uint uVar26;" type_identifier identifier ;) (declaration "uint uVar27;" type_identifier identifier ;) (declaration "undefined1 auStack_58 [16];" type_identifier (array_declarator "auStack_58 [16]" identifier [ number_literal ]) ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "undefined4 *****local_44;" type_identifier (pointer_declarator "*****local_44" * (pointer_declarator "****local_44" * (pointer_declarator "***local_44" * (pointer_declarator "**local_44" * (pointer_declarator "*local_44" * identifier))))) ;) (declaration "undefined4 *****local_2c;" type_identifier (pointer_declarator "*****local_2c" * (pointer_declarator "****local_2c" * (pointer_declarator "***local_2c" * (pointer_declarator "**local_2c" * (pointer_declarator "*local_2c" * identifier))))) ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "uint *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "puVar3 = PTR___stack_chk_guard_00097540;" (assignment_expression "puVar3 = PTR___stack_chk_guard_00097540" identifier = identifier) ;) (expression_statement "puVar8 = auStack_58;" (assignment_expression "puVar8 = auStack_58" identifier = identifier) ;) (expression_statement "puVar24 = auStack_58;" (assignment_expression "puVar24 = auStack_58" identifier = identifier) ;) (expression_statement "local_24 = *(uint **)PTR___stack_chk_guard_00097540;" (assignment_expression "local_24 = *(uint **)PTR___stack_chk_guard_00097540" identifier = (pointer_expression "*(uint **)PTR___stack_chk_guard_00097540" * (cast_expression "(uint **)PTR___stack_chk_guard_00097540" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (param_3 != 0) {\n    iVar4 = param_3 + -1;\n    uVar9 = *param_2;\n    if (iVar4 == 0) {\n      *param_6 = uVar9;\n    }\n    else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = param_3 + -1;\n    uVar9 = *param_2;\n    if (iVar4 == 0) {\n      *param_6 = uVar9;\n    }\n    else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }\n  }" { (expression_statement "iVar4 = param_3 + -1;" (assignment_expression "iVar4 = param_3 + -1" identifier = (binary_expression "param_3 + -1" identifier + number_literal)) ;) (expression_statement "uVar9 = *param_2;" (assignment_expression "uVar9 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar4 == 0) {\n      *param_6 = uVar9;\n    }\n    else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      *param_6 = uVar9;\n    }" { (expression_statement "*param_6 = uVar9;" (assignment_expression "*param_6 = uVar9" (pointer_expression "*param_6" * identifier) = identifier) ;) }) (else_clause "else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }" else (compound_statement "{\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }" { (expression_statement "puVar11 = param_6;" (assignment_expression "puVar11 = param_6" identifier = identifier) ;) (expression_statement "puVar16 = param_2 + 1;" (assignment_expression "puVar16 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (do_statement "do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);" do (compound_statement "{\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      }" { (expression_statement "*puVar11 = uVar9;" (assignment_expression "*puVar11 = uVar9" (pointer_expression "*puVar11" * identifier) = identifier) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "uVar9 = *puVar16;" (assignment_expression "uVar9 = *puVar16" identifier = (pointer_expression "*puVar16" * identifier)) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) (expression_statement "puVar16 = puVar16 + 1;" (assignment_expression "puVar16 = puVar16 + 1" identifier = (binary_expression "puVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "param_6[param_3 + -1] = uVar9;" (assignment_expression "param_6[param_3 + -1] = uVar9" (subscript_expression "param_6[param_3 + -1]" identifier [ (binary_expression "param_3 + -1" identifier + number_literal) ]) = identifier) ;) }))) })) (expression_statement "puVar11 = (uint *)(param_4 + param_5 * 4 + -4);" (assignment_expression "puVar11 = (uint *)(param_4 + param_5 * 4 + -4)" identifier = (cast_expression "(uint *)(param_4 + param_5 * 4 + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + param_5 * 4 + -4)" ( (binary_expression "param_4 + param_5 * 4 + -4" (binary_expression "param_4 + param_5 * 4" identifier + (binary_expression "param_5 * 4" identifier * number_literal)) + number_literal) )))) ;) (expression_statement "uVar10 = *puVar11;" (assignment_expression "uVar10 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "uVar9 = uVar10 >> 0x10;" (assignment_expression "uVar9 = uVar10 >> 0x10" identifier = (binary_expression "uVar10 >> 0x10" identifier >> number_literal)) ;) (if_statement "if (uVar9 == 0) {\n    trap(7);\n  }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n    trap(7);\n  }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar26 = ~uVar10 / uVar9;" (assignment_expression "uVar26 = ~uVar10 / uVar9" identifier = (binary_expression "~uVar10 / uVar9" (unary_expression "~uVar10" ~ identifier) / identifier)) ;) (expression_statement "uVar13 = (uVar10 & 0xffff) * uVar26;" (assignment_expression "uVar13 = (uVar10 & 0xffff) * uVar26" identifier = (binary_expression "(uVar10 & 0xffff) * uVar26" (parenthesized_expression "(uVar10 & 0xffff)" ( (binary_expression "uVar10 & 0xffff" identifier & number_literal) )) * identifier)) ;) (expression_statement "uVar5 = ~uVar10 % uVar9 << 0x10 | 0xffff;" (assignment_expression "uVar5 = ~uVar10 % uVar9 << 0x10 | 0xffff" identifier = (binary_expression "~uVar10 % uVar9 << 0x10 | 0xffff" (binary_expression "~uVar10 % uVar9 << 0x10" (binary_expression "~uVar10 % uVar9" (unary_expression "~uVar10" ~ identifier) % identifier) << number_literal) | number_literal)) ;) (expression_statement "uVar14 = uVar26;" (assignment_expression "uVar14 = uVar26" identifier = identifier) ;) (if_statement "if (uVar5 < uVar13) {\n    uVar5 = uVar5 + uVar10;\n    uVar14 = uVar26 - 1;\n    if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }\n  }" if (parenthesized_expression "(uVar5 < uVar13)" ( (binary_expression "uVar5 < uVar13" identifier < identifier) )) (compound_statement "{\n    uVar5 = uVar5 + uVar10;\n    uVar14 = uVar26 - 1;\n    if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }\n  }" { (expression_statement "uVar5 = uVar5 + uVar10;" (assignment_expression "uVar5 = uVar5 + uVar10" identifier = (binary_expression "uVar5 + uVar10" identifier + identifier)) ;) (expression_statement "uVar14 = uVar26 - 1;" (assignment_expression "uVar14 = uVar26 - 1" identifier = (binary_expression "uVar26 - 1" identifier - number_literal)) ;) (if_statement "if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }" if (parenthesized_expression "((uVar10 <= uVar5) && (uVar5 < uVar13))" ( (binary_expression "(uVar10 <= uVar5) && (uVar5 < uVar13)" (parenthesized_expression "(uVar10 <= uVar5)" ( (binary_expression "uVar10 <= uVar5" identifier <= identifier) )) && (parenthesized_expression "(uVar5 < uVar13)" ( (binary_expression "uVar5 < uVar13" identifier < identifier) ))) )) (compound_statement "{\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }" { (expression_statement "uVar14 = uVar26 - 2;" (assignment_expression "uVar14 = uVar26 - 2" identifier = (binary_expression "uVar26 - 2" identifier - number_literal)) ;) (expression_statement "uVar5 = uVar5 + uVar10;" (assignment_expression "uVar5 = uVar5 + uVar10" identifier = (binary_expression "uVar5 + uVar10" identifier + identifier)) ;) })) })) (if_statement "if (uVar9 == 0) {\n    trap(7);\n  }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n    trap(7);\n  }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar27 = (uVar5 - uVar13) / uVar9;" (assignment_expression "uVar27 = (uVar5 - uVar13) / uVar9" identifier = (binary_expression "(uVar5 - uVar13) / uVar9" (parenthesized_expression "(uVar5 - uVar13)" ( (binary_expression "uVar5 - uVar13" identifier - identifier) )) / identifier)) ;) (expression_statement "uVar26 = (uVar10 & 0xffff) * uVar27;" (assignment_expression "uVar26 = (uVar10 & 0xffff) * uVar27" identifier = (binary_expression "(uVar10 & 0xffff) * uVar27" (parenthesized_expression "(uVar10 & 0xffff)" ( (binary_expression "uVar10 & 0xffff" identifier & number_literal) )) * identifier)) ;) (expression_statement "uVar5 = (uVar5 - uVar13) % uVar9 << 0x10 | 0xffff;" (assignment_expression "uVar5 = (uVar5 - uVar13) % uVar9 << 0x10 | 0xffff" identifier = (binary_expression "(uVar5 - uVar13) % uVar9 << 0x10 | 0xffff" (binary_expression "(uVar5 - uVar13) % uVar9 << 0x10" (binary_expression "(uVar5 - uVar13) % uVar9" (parenthesized_expression "(uVar5 - uVar13)" ( (binary_expression "uVar5 - uVar13" identifier - identifier) )) % identifier) << number_literal) | number_literal)) ;) (expression_statement "uVar13 = uVar10 + uVar5;" (assignment_expression "uVar13 = uVar10 + uVar5" identifier = (binary_expression "uVar10 + uVar5" identifier + identifier)) ;) (expression_statement "uVar9 = uVar27;" (assignment_expression "uVar9 = uVar27" identifier = identifier) ;) (if_statement "if (((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26)) {\n    uVar9 = uVar27 - 2;\n  }" if (parenthesized_expression "(((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26))" ( (binary_expression "((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26)" (parenthesized_expression "((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13))" ( (binary_expression "(uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)" (parenthesized_expression "(uVar5 < uVar26)" ( (binary_expression "uVar5 < uVar26" identifier < identifier) )) && (parenthesized_expression "(uVar9 = uVar27 - 1, uVar10 <= uVar13)" ( (comma_expression "uVar9 = uVar27 - 1, uVar10 <= uVar13" (assignment_expression "uVar9 = uVar27 - 1" identifier = (binary_expression "uVar27 - 1" identifier - number_literal)) , (binary_expression "uVar10 <= uVar13" identifier <= identifier)) ))) )) && (parenthesized_expression "(uVar13 < uVar26)" ( (binary_expression "uVar13 < uVar26" identifier < identifier) ))) )) (compound_statement "{\n    uVar9 = uVar27 - 2;\n  }" { (expression_statement "uVar9 = uVar27 - 2;" (assignment_expression "uVar9 = uVar27 - 2" identifier = (binary_expression "uVar27 - 2" identifier - number_literal)) ;) })) (expression_statement "uVar5 = puVar11[-1];" (assignment_expression "uVar5 = puVar11[-1]" identifier = (subscript_expression "puVar11[-1]" identifier [ number_literal ])) ;) (expression_statement "ppppppuVar6 = (undefined4 ******)(uVar14 << 0x10 | uVar9);" (assignment_expression "ppppppuVar6 = (undefined4 ******)(uVar14 << 0x10 | uVar9)" identifier = (cast_expression "(undefined4 ******)(uVar14 << 0x10 | uVar9)" ( (type_descriptor "undefined4 ******" type_identifier (abstract_pointer_declarator "******" * (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))))) ) (parenthesized_expression "(uVar14 << 0x10 | uVar9)" ( (binary_expression "uVar14 << 0x10 | uVar9" (binary_expression "uVar14 << 0x10" identifier << number_literal) | identifier) )))) ;) (expression_statement "uVar9 = uVar10 * (int)ppppppuVar6 + uVar5;" (assignment_expression "uVar9 = uVar10 * (int)ppppppuVar6 + uVar5" identifier = (binary_expression "uVar10 * (int)ppppppuVar6 + uVar5" (binary_expression "uVar10 * (int)ppppppuVar6" identifier * (cast_expression "(int)ppppppuVar6" ( (type_descriptor "int" primitive_type) ) identifier)) + identifier)) ;) (expression_statement "lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);" (assignment_expression "lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6)" identifier = (binary_expression "(ulonglong)uVar5 * ZEXT48(ppppppuVar6)" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (call_expression "ZEXT48(ppppppuVar6)" identifier (argument_list "(ppppppuVar6)" ( identifier ))))) ;) (if_statement "if (uVar9 < uVar5) {\n    uVar13 = uVar9 < uVar10 ^ 1;\n    uVar14 = uVar10;\n    if (uVar13 == 0) {\n      uVar14 = 0;\n    }\n    ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));\n    uVar9 = (uVar9 - uVar10) - uVar14;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  }" if (parenthesized_expression "(uVar9 < uVar5)" ( (binary_expression "uVar9 < uVar5" identifier < identifier) )) (compound_statement "{\n    uVar13 = uVar9 < uVar10 ^ 1;\n    uVar14 = uVar10;\n    if (uVar13 == 0) {\n      uVar14 = 0;\n    }\n    ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));\n    uVar9 = (uVar9 - uVar10) - uVar14;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  }" { (expression_statement "uVar13 = uVar9 < uVar10 ^ 1;" (assignment_expression "uVar13 = uVar9 < uVar10 ^ 1" identifier = (binary_expression "uVar9 < uVar10 ^ 1" (binary_expression "uVar9 < uVar10" identifier < identifier) ^ number_literal)) ;) (expression_statement "uVar14 = uVar10;" (assignment_expression "uVar14 = uVar10" identifier = identifier) ;) (if_statement "if (uVar13 == 0) {\n      uVar14 = 0;\n    }" if (parenthesized_expression "(uVar13 == 0)" ( (binary_expression "uVar13 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar14 = 0;\n    }" { (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) })) (expression_statement "ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));" (assignment_expression "ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13))" identifier = (cast_expression "(undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13))" ( (type_descriptor "undefined4 ******" type_identifier (abstract_pointer_declarator "******" * (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))))) ) (parenthesized_expression "((int)ppppppuVar6 + (-1 - uVar13))" ( (binary_expression "(int)ppppppuVar6 + (-1 - uVar13)" (cast_expression "(int)ppppppuVar6" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(-1 - uVar13)" ( (binary_expression "-1 - uVar13" number_literal - identifier) ))) )))) ;) (expression_statement "uVar9 = (uVar9 - uVar10) - uVar14;" (assignment_expression "uVar9 = (uVar9 - uVar10) - uVar14" identifier = (binary_expression "(uVar9 - uVar10) - uVar14" (parenthesized_expression "(uVar9 - uVar10)" ( (binary_expression "uVar9 - uVar10" identifier - identifier) )) - identifier)) ;) (expression_statement "lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);" (assignment_expression "lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6)" identifier = (binary_expression "(ulonglong)uVar5 * ZEXT48(ppppppuVar6)" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (call_expression "ZEXT48(ppppppuVar6)" identifier (argument_list "(ppppppuVar6)" ( identifier ))))) ;) })) (expression_statement "uVar14 = (uint)((ulonglong)lVar2 >> 0x20);" (assignment_expression "uVar14 = (uint)((ulonglong)lVar2 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar2 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar2 >> 0x20)" ( (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar9 = uVar9 + uVar14;" (assignment_expression "uVar9 = uVar9 + uVar14" identifier = (binary_expression "uVar9 + uVar14" identifier + identifier)) ;) (expression_statement "local_2c = ppppppuVar6;" (assignment_expression "local_2c = ppppppuVar6" identifier = identifier) ;) (if_statement "if ((uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)) {\n    if (uVar10 < uVar9) {\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }\n  }" if (parenthesized_expression "((uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9))" ( (binary_expression "(uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)" (parenthesized_expression "(uVar9 < uVar14)" ( (binary_expression "uVar9 < uVar14" identifier < identifier) )) && (parenthesized_expression "(local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)" ( (comma_expression "local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9" (assignment_expression "local_2c = (undefined4 *****)((int)ppppppuVar6 - 1)" identifier = (cast_expression "(undefined4 *****)((int)ppppppuVar6 - 1)" ( (type_descriptor "undefined4 *****" type_identifier (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))))) ) (parenthesized_expression "((int)ppppppuVar6 - 1)" ( (binary_expression "(int)ppppppuVar6 - 1" (cast_expression "(int)ppppppuVar6" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal) )))) , (binary_expression "uVar10 <= uVar9" identifier <= identifier)) ))) )) (compound_statement "{\n    if (uVar10 < uVar9) {\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }\n  }" { (if_statement "if (uVar10 < uVar9) {\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }" if (parenthesized_expression "(uVar10 < uVar9)" ( (binary_expression "uVar10 < uVar9" identifier < identifier) )) (compound_statement "{\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }" { (expression_statement "local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);" (assignment_expression "local_2c = (undefined4 *****)((int)ppppppuVar6 - 2)" identifier = (cast_expression "(undefined4 *****)((int)ppppppuVar6 - 2)" ( (type_descriptor "undefined4 *****" type_identifier (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))))) ) (parenthesized_expression "((int)ppppppuVar6 - 2)" ( (binary_expression "(int)ppppppuVar6 - 2" (cast_expression "(int)ppppppuVar6" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal) )))) ;) }) (else_clause "else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }" else (if_statement "if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }" if (parenthesized_expression "(uVar5 <= (uint)lVar2)" ( (binary_expression "uVar5 <= (uint)lVar2" identifier <= (cast_expression "(uint)lVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) )) (compound_statement "{\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }" { (expression_statement "local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);" (assignment_expression "local_2c = (undefined4 ******)((int)ppppppuVar6 - 2)" identifier = (cast_expression "(undefined4 ******)((int)ppppppuVar6 - 2)" ( (type_descriptor "undefined4 ******" type_identifier (abstract_pointer_declarator "******" * (abstract_pointer_declarator "*****" * (abstract_pointer_declarator "****" * (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))))))) ) (parenthesized_expression "((int)ppppppuVar6 - 2)" ( (binary_expression "(int)ppppppuVar6 - 2" (cast_expression "(int)ppppppuVar6" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal) )))) ;) })))) })) (expression_statement "iVar4 = param_3;" (assignment_expression "iVar4 = param_3" identifier = identifier) ;) (if_statement "if (param_5 < 200) {\n    local_48 = param_5;\n    local_44 = local_2c;\n    iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);\n  }\n  else if (param_5 < 2000) {\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }\n  else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" if (parenthesized_expression "(param_5 < 200)" ( (binary_expression "param_5 < 200" identifier < number_literal) )) (compound_statement "{\n    local_48 = param_5;\n    local_44 = local_2c;\n    iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);\n  }" { (expression_statement "local_48 = param_5;" (assignment_expression "local_48 = param_5" identifier = identifier) ;) (expression_statement "local_44 = local_2c;" (assignment_expression "local_44 = local_2c" identifier = identifier) ;) (expression_statement "iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);" (assignment_expression "iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1)" identifier = (call_expression "(*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1)" (parenthesized_expression "(*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)" ( (pointer_expression "*(code *)PTR___gmpn_sbpi1_divappr_q_00097414" * (cast_expression "(code *)PTR___gmpn_sbpi1_divappr_q_00097414" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) }) (else_clause "else if (param_5 < 2000) {\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }\n  else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" else (if_statement "if (param_5 < 2000) {\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }\n  else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" if (parenthesized_expression "(param_5 < 2000)" ( (binary_expression "param_5 < 2000" identifier < number_literal) )) (compound_statement "{\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }" { (expression_statement "local_44 = &local_2c;" (assignment_expression "local_44 = &local_2c" identifier = (pointer_expression "&local_2c" & identifier)) ;) (expression_statement "local_48 = param_5;" (assignment_expression "local_48 = param_5" identifier = identifier) ;) (expression_statement "iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);" (assignment_expression "iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1)" identifier = (call_expression "(*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1)" (parenthesized_expression "(*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)" ( (pointer_expression "*(code *)PTR___gmpn_dcpi1_divappr_q_00097490" * (cast_expression "(code *)PTR___gmpn_dcpi1_divappr_q_00097490" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "puVar8 = auStack_58;" (assignment_expression "puVar8 = auStack_58" identifier = identifier) ;) }) (else_clause "else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" else (compound_statement "{\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" { (expression_statement "iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);" (assignment_expression "iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0)" identifier = (call_expression "(*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0)" (parenthesized_expression "(*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)" ( (pointer_expression "*(code *)PTR___gmpn_mu_divappr_q_itch_00097598" * (cast_expression "(code *)PTR___gmpn_mu_divappr_q_itch_00097598" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,param_5,0)" ( identifier , identifier , number_literal )))) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (if_statement "if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }" if (parenthesized_expression "((uint)(iVar7 * 4) < 0x7f01)" ( (binary_expression "(uint)(iVar7 * 4) < 0x7f01" (call_expression "(uint)(iVar7 * 4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar7 * 4)" ( (binary_expression "iVar7 * 4" identifier * number_literal) ))) < number_literal) )) (compound_statement "{\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }" { (expression_statement "iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);" (assignment_expression "iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8)" identifier = (unary_expression "-(iVar7 * 4 + 7U & 0xfffffff8)" - (parenthesized_expression "(iVar7 * 4 + 7U & 0xfffffff8)" ( (binary_expression "iVar7 * 4 + 7U & 0xfffffff8" (binary_expression "iVar7 * 4 + 7U" (binary_expression "iVar7 * 4" identifier * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "puVar24 = auStack_58 + iVar7;" (assignment_expression "puVar24 = auStack_58 + iVar7" identifier = (binary_expression "auStack_58 + iVar7" identifier + identifier)) ;) (expression_statement "puVar8 = &stack0xffffffc0 + iVar7;" (assignment_expression "puVar8 = &stack0xffffffc0 + iVar7" identifier = (binary_expression "&stack0xffffffc0 + iVar7" (pointer_expression "&stack0xffffffc0" & identifier) + identifier)) ;) }) (else_clause "else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }" else (compound_statement "{\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }" { (expression_statement "puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);" (assignment_expression "puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28)" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_28)" ( (pointer_expression "&local_28" & identifier) ))))) ;) }))) (expression_statement "*(undefined1 **)(puVar24 + 0x14) = puVar8;" (assignment_expression "*(undefined1 **)(puVar24 + 0x14) = puVar8" (pointer_expression "*(undefined1 **)(puVar24 + 0x14)" * (cast_expression "(undefined1 **)(puVar24 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar24 + 0x14)" ( (binary_expression "puVar24 + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar24 + 0x10) = param_5;" (assignment_expression "*(int *)(puVar24 + 0x10) = param_5" (pointer_expression "*(int *)(puVar24 + 0x10)" * (cast_expression "(int *)(puVar24 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar24 + 0x10)" ( (binary_expression "puVar24 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_6 = param_2;" (assignment_expression "param_6 = param_2" identifier = identifier) ;) (expression_statement "iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);" (assignment_expression "iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1)" identifier = (call_expression "(*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1)" (parenthesized_expression "(*(code *)PTR___gmpn_mu_divappr_q_00097410)" ( (pointer_expression "*(code *)PTR___gmpn_mu_divappr_q_00097410" * (cast_expression "(code *)PTR___gmpn_mu_divappr_q_00097410" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "puVar8 = puVar24;" (assignment_expression "puVar8 = puVar24" identifier = identifier) ;) (if_statement "if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }" if (parenthesized_expression "(local_28 != 0)" ( (binary_expression "local_28 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }" { (expression_statement "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)();" (call_expression "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)()" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)" ( (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_free_00097614" * (cast_expression "(code *)PTR___gmp_tmp_reentrant_free_00097614" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) }))))) (expression_statement "puVar11 = *(uint **)puVar3;" (assignment_expression "puVar11 = *(uint **)puVar3" identifier = (pointer_expression "*(uint **)puVar3" * (cast_expression "(uint **)puVar3" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "piVar15 = (int *)(param_1 + (param_3 - param_5) * 4);" (assignment_expression "piVar15 = (int *)(param_1 + (param_3 - param_5) * 4)" identifier = (cast_expression "(int *)(param_1 + (param_3 - param_5) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (param_3 - param_5) * 4)" ( (binary_expression "param_1 + (param_3 - param_5) * 4" identifier + (binary_expression "(param_3 - param_5) * 4" (parenthesized_expression "(param_3 - param_5)" ( (binary_expression "param_3 - param_5" identifier - identifier) )) * number_literal)) )))) ;) (expression_statement "*piVar15 = iVar7;" (assignment_expression "*piVar15 = iVar7" (pointer_expression "*piVar15" * identifier) = identifier) ;) (if_statement "if (local_24 == puVar11) {\n    return iVar7;\n  }" if (parenthesized_expression "(local_24 == puVar11)" ( (binary_expression "local_24 == puVar11" identifier == identifier) )) (compound_statement "{\n    return iVar7;\n  }" { (return_statement "return iVar7;" return identifier ;) })) (expression_statement "pcVar25 = FUN_00045944;" (assignment_expression "pcVar25 = FUN_00045944" identifier = identifier) ;) (expression_statement "puVar11 = local_24;" (assignment_expression "puVar11 = local_24" identifier = identifier) ;) (expression_statement "puVar21 = PTR___stack_chk_fail_000974d0;" (assignment_expression "puVar21 = PTR___stack_chk_fail_000974d0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000974d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000974d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000974d0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000974d0" * (cast_expression "(code *)PTR___stack_chk_fail_000974d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "*(undefined **)(puVar8 + -0x40) = puVar21 + 0x596fc;" (assignment_expression "*(undefined **)(puVar8 + -0x40) = puVar21 + 0x596fc" (pointer_expression "*(undefined **)(puVar8 + -0x40)" * (cast_expression "(undefined **)(puVar8 + -0x40)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) )))) = (binary_expression "puVar21 + 0x596fc" identifier + number_literal)) ;) (expression_statement "*(int **)(puVar8 + -0x20) = piVar15;" (assignment_expression "*(int **)(puVar8 + -0x20) = piVar15" (pointer_expression "*(int **)(puVar8 + -0x20)" * (cast_expression "(int **)(puVar8 + -0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x20)" ( (binary_expression "puVar8 + -0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined **)(puVar8 + -0x24) = puVar3;" (assignment_expression "*(undefined **)(puVar8 + -0x24) = puVar3" (pointer_expression "*(undefined **)(puVar8 + -0x24)" * (cast_expression "(undefined **)(puVar8 + -0x24)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x24)" ( (binary_expression "puVar8 + -0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -0x28) = param_1;" (assignment_expression "*(int *)(puVar8 + -0x28) = param_1" (pointer_expression "*(int *)(puVar8 + -0x28)" * (cast_expression "(int *)(puVar8 + -0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x28)" ( (binary_expression "puVar8 + -0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(puVar8 + -4) = pcVar25;" (assignment_expression "*(code **)(puVar8 + -4) = pcVar25" (pointer_expression "*(code **)(puVar8 + -4)" * (cast_expression "(code **)(puVar8 + -4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -4)" ( (binary_expression "puVar8 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar8 + -8) = auStack_58;" (assignment_expression "*(undefined1 **)(puVar8 + -8) = auStack_58" (pointer_expression "*(undefined1 **)(puVar8 + -8)" * (cast_expression "(undefined1 **)(puVar8 + -8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0xc) = unaff_s7;" (assignment_expression "*(undefined4 *)(puVar8 + -0xc) = unaff_s7" (pointer_expression "*(undefined4 *)(puVar8 + -0xc)" * (cast_expression "(undefined4 *)(puVar8 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x10) = unaff_s6;" (assignment_expression "*(undefined4 *)(puVar8 + -0x10) = unaff_s6" (pointer_expression "*(undefined4 *)(puVar8 + -0x10)" * (cast_expression "(undefined4 *)(puVar8 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = unaff_s5;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = unaff_s5" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint **)(puVar8 + -0x18) = param_2;" (assignment_expression "*(uint **)(puVar8 + -0x18) = param_2" (pointer_expression "*(uint **)(puVar8 + -0x18)" * (cast_expression "(uint **)(puVar8 + -0x18)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x18)" ( (binary_expression "puVar8 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -0x1c) = param_5;" (assignment_expression "*(int *)(puVar8 + -0x1c) = param_5" (pointer_expression "*(int *)(puVar8 + -0x1c)" * (cast_expression "(int *)(puVar8 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x1c)" ( (binary_expression "puVar8 + -0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + 0xc) = param_4;" (assignment_expression "*(int *)(puVar8 + 0xc) = param_4" (pointer_expression "*(int *)(puVar8 + 0xc)" * (cast_expression "(int *)(puVar8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0xc)" ( (binary_expression "puVar8 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar16 = *(uint **)(puVar8 + 0x10);" (assignment_expression "puVar16 = *(uint **)(puVar8 + 0x10)" identifier = (pointer_expression "*(uint **)(puVar8 + 0x10)" * (cast_expression "(uint **)(puVar8 + 0x10)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x10)" ( (binary_expression "puVar8 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 == 1) {\n    uVar10 = *param_6;\n    uVar9 = FUN_00045580(param_6,param_6[1]);\n    uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;\n    if (uVar9 == 0) {\n      trap(7);\n    }\n    uVar5 = uVar14 / uVar9;\n    uVar5 = uVar5 - (uVar5 >> 0x10);\n    uVar14 = uVar14 - uVar9 * uVar5;\n    uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);\n    uVar9 = uVar5 | uVar9 << 0x10;\n    iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);\n    uVar10 = uVar10 - uVar5 * uVar5;\n    if (iVar4 == -1) {\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }\n    else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }\n    return iVar4;\n  }" if (parenthesized_expression "(iVar4 == 1)" ( (binary_expression "iVar4 == 1" identifier == number_literal) )) (compound_statement "{\n    uVar10 = *param_6;\n    uVar9 = FUN_00045580(param_6,param_6[1]);\n    uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;\n    if (uVar9 == 0) {\n      trap(7);\n    }\n    uVar5 = uVar14 / uVar9;\n    uVar5 = uVar5 - (uVar5 >> 0x10);\n    uVar14 = uVar14 - uVar9 * uVar5;\n    uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);\n    uVar9 = uVar5 | uVar9 << 0x10;\n    iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);\n    uVar10 = uVar10 - uVar5 * uVar5;\n    if (iVar4 == -1) {\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }\n    else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }\n    return iVar4;\n  }" { (expression_statement "uVar10 = *param_6;" (assignment_expression "uVar10 = *param_6" identifier = (pointer_expression "*param_6" * identifier)) ;) (expression_statement "uVar9 = FUN_00045580(param_6,param_6[1]);" (assignment_expression "uVar9 = FUN_00045580(param_6,param_6[1])" identifier = (call_expression "FUN_00045580(param_6,param_6[1])" identifier (argument_list "(param_6,param_6[1])" ( identifier , (subscript_expression "param_6[1]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;" (assignment_expression "uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000" identifier = (binary_expression "(uVar10 >> 0x11) + *param_6 * 0x8000" (parenthesized_expression "(uVar10 >> 0x11)" ( (binary_expression "uVar10 >> 0x11" identifier >> number_literal) )) + (binary_expression "*param_6 * 0x8000" (pointer_expression "*param_6" * identifier) * number_literal))) ;) (if_statement "if (uVar9 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar5 = uVar14 / uVar9;" (assignment_expression "uVar5 = uVar14 / uVar9" identifier = (binary_expression "uVar14 / uVar9" identifier / identifier)) ;) (expression_statement "uVar5 = uVar5 - (uVar5 >> 0x10);" (assignment_expression "uVar5 = uVar5 - (uVar5 >> 0x10)" identifier = (binary_expression "uVar5 - (uVar5 >> 0x10)" identifier - (parenthesized_expression "(uVar5 >> 0x10)" ( (binary_expression "uVar5 >> 0x10" identifier >> number_literal) )))) ;) (expression_statement "uVar14 = uVar14 - uVar9 * uVar5;" (assignment_expression "uVar14 = uVar14 - uVar9 * uVar5" identifier = (binary_expression "uVar14 - uVar9 * uVar5" identifier - (binary_expression "uVar9 * uVar5" identifier * identifier))) ;) (expression_statement "uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);" (assignment_expression "uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff)" identifier = (binary_expression "uVar14 * 0x20000 + (uVar10 & 0x1ffff)" (binary_expression "uVar14 * 0x20000" identifier * number_literal) + (parenthesized_expression "(uVar10 & 0x1ffff)" ( (binary_expression "uVar10 & 0x1ffff" identifier & number_literal) )))) ;) (expression_statement "uVar9 = uVar5 | uVar9 << 0x10;" (assignment_expression "uVar9 = uVar5 | uVar9 << 0x10" identifier = (binary_expression "uVar5 | uVar9 << 0x10" identifier | (binary_expression "uVar9 << 0x10" identifier << number_literal))) ;) (expression_statement "iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);" (assignment_expression "iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5)" identifier = (binary_expression "(uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5)" (parenthesized_expression "(uVar14 >> 0xf)" ( (binary_expression "uVar14 >> 0xf" identifier >> number_literal) )) - (call_expression "(uint)(uVar10 < uVar5 * uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar10 < uVar5 * uVar5)" ( (binary_expression "uVar10 < uVar5 * uVar5" identifier < (binary_expression "uVar5 * uVar5" identifier * identifier)) ))))) ;) (expression_statement "uVar10 = uVar10 - uVar5 * uVar5;" (assignment_expression "uVar10 = uVar10 - uVar5 * uVar5" identifier = (binary_expression "uVar10 - uVar5 * uVar5" identifier - (binary_expression "uVar5 * uVar5" identifier * identifier))) ;) (if_statement "if (iVar4 == -1) {\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }\n    else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }" { (expression_statement "uVar10 = uVar9 + uVar10;" (assignment_expression "uVar10 = uVar9 + uVar10" identifier = (binary_expression "uVar9 + uVar10" identifier + identifier)) ;) (expression_statement "uVar5 = uVar9 - 1;" (assignment_expression "uVar5 = uVar9 - 1" identifier = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (expression_statement "uVar14 = uVar10 + uVar5;" (assignment_expression "uVar14 = uVar10 + uVar5" identifier = (binary_expression "uVar10 + uVar5" identifier + identifier)) ;) (expression_statement "*param_6 = uVar14;" (assignment_expression "*param_6 = uVar14" (pointer_expression "*param_6" * identifier) = identifier) ;) (expression_statement "iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);" (assignment_expression "iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1)" identifier = (binary_expression "(uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1)" (call_expression "(uint)(uVar14 < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar14 < uVar5)" ( (binary_expression "uVar14 < uVar5" identifier < identifier) ))) + (parenthesized_expression "((uVar10 < uVar9) - 1)" ( (binary_expression "(uVar10 < uVar9) - 1" (parenthesized_expression "(uVar10 < uVar9)" ( (binary_expression "uVar10 < uVar9" identifier < identifier) )) - number_literal) )))) ;) (expression_statement "*puVar11 = uVar5;" (assignment_expression "*puVar11 = uVar5" (pointer_expression "*puVar11" * identifier) = identifier) ;) }) (else_clause "else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }" else (compound_statement "{\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }" { (expression_statement "*param_6 = uVar10;" (assignment_expression "*param_6 = uVar10" (pointer_expression "*param_6" * identifier) = identifier) ;) (expression_statement "*puVar11 = uVar9;" (assignment_expression "*puVar11 = uVar9" (pointer_expression "*puVar11" * identifier) = identifier) ;) }))) (return_statement "return iVar4;" return identifier ;) })) (expression_statement "*(uint **)(puVar8 + -0x50) = puVar16;" (assignment_expression "*(uint **)(puVar8 + -0x50) = puVar16" (pointer_expression "*(uint **)(puVar8 + -0x50)" * (cast_expression "(uint **)(puVar8 + -0x50)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x50)" ( (binary_expression "puVar8 + -0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar17 = iVar4 / 2;" (assignment_expression "iVar17 = iVar4 / 2" identifier = (binary_expression "iVar4 / 2" identifier / number_literal)) ;) (expression_statement "iVar19 = iVar4 - iVar17;" (assignment_expression "iVar19 = iVar4 - iVar17" identifier = (binary_expression "iVar4 - iVar17" identifier - identifier)) ;) (expression_statement "puVar20 = param_6 + iVar17 * 2;" (assignment_expression "puVar20 = param_6 + iVar17 * 2" identifier = (binary_expression "param_6 + iVar17 * 2" identifier + (binary_expression "iVar17 * 2" identifier * number_literal))) ;) (expression_statement "puVar18 = puVar11 + iVar17;" (assignment_expression "puVar18 = puVar11 + iVar17" identifier = (binary_expression "puVar11 + iVar17" identifier + identifier)) ;) (expression_statement "iVar7 = FUN_00045944(puVar18,puVar20,iVar19,0);" (assignment_expression "iVar7 = FUN_00045944(puVar18,puVar20,iVar19,0)" identifier = (call_expression "FUN_00045944(puVar18,puVar20,iVar19,0)" identifier (argument_list "(puVar18,puVar20,iVar19,0)" ( identifier , identifier , identifier , number_literal )))) ;) (expression_statement "iVar22 = *(int *)(puVar8 + -0x40);" (assignment_expression "iVar22 = *(int *)(puVar8 + -0x40)" identifier = (pointer_expression "*(int *)(puVar8 + -0x40)" * (cast_expression "(int *)(puVar8 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 != 0) {\n    pcVar25 = *(code **)(iVar22 + -0x7b2c);\n    *(int *)(puVar8 + -0x34) = iVar7;\n    (*pcVar25)(puVar20,puVar20,puVar18,iVar19);\n    iVar22 = *(int *)(puVar8 + -0x40);\n    iVar7 = *(int *)(puVar8 + -0x34);\n  }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar25 = *(code **)(iVar22 + -0x7b2c);\n    *(int *)(puVar8 + -0x34) = iVar7;\n    (*pcVar25)(puVar20,puVar20,puVar18,iVar19);\n    iVar22 = *(int *)(puVar8 + -0x40);\n    iVar7 = *(int *)(puVar8 + -0x34);\n  }" { (expression_statement "pcVar25 = *(code **)(iVar22 + -0x7b2c);" (assignment_expression "pcVar25 = *(code **)(iVar22 + -0x7b2c)" identifier = (pointer_expression "*(code **)(iVar22 + -0x7b2c)" * (cast_expression "(code **)(iVar22 + -0x7b2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar22 + -0x7b2c)" ( (binary_expression "iVar22 + -0x7b2c" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(puVar8 + -0x34) = iVar7;" (assignment_expression "*(int *)(puVar8 + -0x34) = iVar7" (pointer_expression "*(int *)(puVar8 + -0x34)" * (cast_expression "(int *)(puVar8 + -0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*pcVar25)(puVar20,puVar20,puVar18,iVar19);" (call_expression "(*pcVar25)(puVar20,puVar20,puVar18,iVar19)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(puVar20,puVar20,puVar18,iVar19)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "iVar22 = *(int *)(puVar8 + -0x40);" (assignment_expression "iVar22 = *(int *)(puVar8 + -0x40)" identifier = (pointer_expression "*(int *)(puVar8 + -0x40)" * (cast_expression "(int *)(puVar8 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = *(int *)(puVar8 + -0x34);" (assignment_expression "iVar7 = *(int *)(puVar8 + -0x34)" identifier = (pointer_expression "*(int *)(puVar8 + -0x34)" * (cast_expression "(int *)(puVar8 + -0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) ))))) ;) })) (expression_statement "puVar12 = param_6 + iVar17;" (assignment_expression "puVar12 = param_6 + iVar17" identifier = (binary_expression "param_6 + iVar17" identifier + identifier)) ;) (expression_statement "pcVar25 = *(code **)(iVar22 + -0x7a30);" (assignment_expression "pcVar25 = *(code **)(iVar22 + -0x7a30)" identifier = (pointer_expression "*(code **)(iVar22 + -0x7a30)" * (cast_expression "(code **)(iVar22 + -0x7a30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar22 + -0x7a30)" ( (binary_expression "iVar22 + -0x7a30" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(puVar8 + -0x34) = iVar7;" (assignment_expression "*(int *)(puVar8 + -0x34) = iVar7" (pointer_expression "*(int *)(puVar8 + -0x34)" * (cast_expression "(int *)(puVar8 + -0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint **)(puVar8 + -0x30) = puVar12;" (assignment_expression "*(uint **)(puVar8 + -0x30) = puVar12" (pointer_expression "*(uint **)(puVar8 + -0x30)" * (cast_expression "(uint **)(puVar8 + -0x30)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x30)" ( (binary_expression "puVar8 + -0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -0x48) = iVar19;" (assignment_expression "*(int *)(puVar8 + -0x48) = iVar19" (pointer_expression "*(int *)(puVar8 + -0x48)" * (cast_expression "(int *)(puVar8 + -0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x48)" ( (binary_expression "puVar8 + -0x48" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint **)(puVar8 + -0x4c) = puVar18;" (assignment_expression "*(uint **)(puVar8 + -0x4c) = puVar18" (pointer_expression "*(uint **)(puVar8 + -0x4c)" * (cast_expression "(uint **)(puVar8 + -0x4c)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x4c)" ( (binary_expression "puVar8 + -0x4c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -0x50) = iVar4;" (assignment_expression "*(int *)(puVar8 + -0x50) = iVar4" (pointer_expression "*(int *)(puVar8 + -0x50)" * (cast_expression "(int *)(puVar8 + -0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x50)" ( (binary_expression "puVar8 + -0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*pcVar25)(puVar16,puVar12,0,puVar12);" (call_expression "(*pcVar25)(puVar16,puVar12,0,puVar12)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(puVar16,puVar12,0,puVar12)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "uVar9 = *puVar16;" (assignment_expression "uVar9 = *puVar16" identifier = (pointer_expression "*puVar16" * identifier)) ;) (expression_statement "pcVar25 = *(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0);" (assignment_expression "pcVar25 = *(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0)" identifier = (pointer_expression "*(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0)" * (cast_expression "(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(puVar8 + -0x40) + -0x7ae0)" ( (binary_expression "*(int *)(puVar8 + -0x40) + -0x7ae0" (pointer_expression "*(int *)(puVar8 + -0x40)" * (cast_expression "(int *)(puVar8 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(uint *)(puVar8 + -0x34) = *(int *)(puVar8 + -0x34) + puVar16[iVar17];" (assignment_expression "*(uint *)(puVar8 + -0x34) = *(int *)(puVar8 + -0x34) + puVar16[iVar17]" (pointer_expression "*(uint *)(puVar8 + -0x34)" * (cast_expression "(uint *)(puVar8 + -0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) )))) = (binary_expression "*(int *)(puVar8 + -0x34) + puVar16[iVar17]" (pointer_expression "*(int *)(puVar8 + -0x34)" * (cast_expression "(int *)(puVar8 + -0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) )))) + (subscript_expression "puVar16[iVar17]" identifier [ identifier ]))) ;) (expression_statement "(*pcVar25)(puVar11,puVar16,iVar17,1);" (call_expression "(*pcVar25)(puVar11,puVar16,iVar17,1)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(puVar11,puVar16,iVar17,1)" ( identifier , identifier , identifier , number_literal ))) ;) (expression_statement "uVar14 = *(uint *)(puVar8 + -0x34);" (assignment_expression "uVar14 = *(uint *)(puVar8 + -0x34)" identifier = (pointer_expression "*(uint *)(puVar8 + -0x34)" * (cast_expression "(uint *)(puVar8 + -0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = *(int *)(puVar8 + -0x40);" (assignment_expression "iVar7 = *(int *)(puVar8 + -0x40)" identifier = (pointer_expression "*(int *)(puVar8 + -0x40)" * (cast_expression "(int *)(puVar8 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) ))))) ;) (expression_statement "puVar11[iVar17 + -1] = puVar11[iVar17 + -1] | uVar14 << 0x1f;" (assignment_expression "puVar11[iVar17 + -1] = puVar11[iVar17 + -1] | uVar14 << 0x1f" (subscript_expression "puVar11[iVar17 + -1]" identifier [ (binary_expression "iVar17 + -1" identifier + number_literal) ]) = (binary_expression "puVar11[iVar17 + -1] | uVar14 << 0x1f" (subscript_expression "puVar11[iVar17 + -1]" identifier [ (binary_expression "iVar17 + -1" identifier + number_literal) ]) | (binary_expression "uVar14 << 0x1f" identifier << number_literal))) ;) (expression_statement "uVar10 = *puVar11;" (assignment_expression "uVar10 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "*(uint *)(puVar8 + -0x2c) = *(uint *)(puVar8 + 0xc) & uVar10;" (assignment_expression "*(uint *)(puVar8 + -0x2c) = *(uint *)(puVar8 + 0xc) & uVar10" (pointer_expression "*(uint *)(puVar8 + -0x2c)" * (cast_expression "(uint *)(puVar8 + -0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x2c)" ( (binary_expression "puVar8 + -0x2c" identifier + number_literal) )))) = (binary_expression "*(uint *)(puVar8 + 0xc) & uVar10" (pointer_expression "*(uint *)(puVar8 + 0xc)" * (cast_expression "(uint *)(puVar8 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0xc)" ( (binary_expression "puVar8 + 0xc" identifier + number_literal) )))) & identifier)) ;) (if_statement "if ((*(uint *)(puVar8 + 0xc) & uVar10) == 0) {\n    uVar14 = uVar14 >> 1;\n    if ((uVar9 & 1) == 0) {\n      iVar22 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }\n    pcVar25 = *(code **)(iVar7 + -0x7cac);\n    *(uint *)(puVar8 + -0x34) = uVar14;\n    (*pcVar25)(param_6 + iVar4,puVar11,iVar17);\n    iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);\n    uVar10 = *(uint *)(puVar8 + -0x34);\n    iVar23 = *(int *)(puVar8 + -0x40);\n    uVar9 = iVar7 + uVar10;\n    if (iVar17 != iVar19) {\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }\n    iVar22 = iVar22 - uVar9;\n    if (iVar22 < 0) {\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }\n  }\n  else {\n    iVar22 = 1;\n  }" if (parenthesized_expression "((*(uint *)(puVar8 + 0xc) & uVar10) == 0)" ( (binary_expression "(*(uint *)(puVar8 + 0xc) & uVar10) == 0" (parenthesized_expression "(*(uint *)(puVar8 + 0xc) & uVar10)" ( (binary_expression "*(uint *)(puVar8 + 0xc) & uVar10" (pointer_expression "*(uint *)(puVar8 + 0xc)" * (cast_expression "(uint *)(puVar8 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0xc)" ( (binary_expression "puVar8 + 0xc" identifier + number_literal) )))) & identifier) )) == number_literal) )) (compound_statement "{\n    uVar14 = uVar14 >> 1;\n    if ((uVar9 & 1) == 0) {\n      iVar22 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }\n    pcVar25 = *(code **)(iVar7 + -0x7cac);\n    *(uint *)(puVar8 + -0x34) = uVar14;\n    (*pcVar25)(param_6 + iVar4,puVar11,iVar17);\n    iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);\n    uVar10 = *(uint *)(puVar8 + -0x34);\n    iVar23 = *(int *)(puVar8 + -0x40);\n    uVar9 = iVar7 + uVar10;\n    if (iVar17 != iVar19) {\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }\n    iVar22 = iVar22 - uVar9;\n    if (iVar22 < 0) {\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }\n  }" { (expression_statement "uVar14 = uVar14 >> 1;" (assignment_expression "uVar14 = uVar14 >> 1" identifier = (binary_expression "uVar14 >> 1" identifier >> number_literal)) ;) (if_statement "if ((uVar9 & 1) == 0) {\n      iVar22 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }" if (parenthesized_expression "((uVar9 & 1) == 0)" ( (binary_expression "(uVar9 & 1) == 0" (parenthesized_expression "(uVar9 & 1)" ( (binary_expression "uVar9 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      iVar22 = 0;\n    }" { (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }" else (compound_statement "{\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }" { (expression_statement "pcVar25 = *(code **)(iVar7 + -0x7d0c);" (assignment_expression "pcVar25 = *(code **)(iVar7 + -0x7d0c)" identifier = (pointer_expression "*(code **)(iVar7 + -0x7d0c)" * (cast_expression "(code **)(iVar7 + -0x7d0c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + -0x7d0c)" ( (binary_expression "iVar7 + -0x7d0c" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(puVar8 + -0x34) = uVar14;" (assignment_expression "*(uint *)(puVar8 + -0x34) = uVar14" (pointer_expression "*(uint *)(puVar8 + -0x34)" * (cast_expression "(uint *)(puVar8 + -0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);" (assignment_expression "iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19)" identifier = (call_expression "(*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19)" ( (pointer_expression "*(undefined4 *)(puVar8 + -0x30)" * (cast_expression "(undefined4 *)(puVar8 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x30)" ( (binary_expression "puVar8 + -0x30" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(puVar8 + -0x30)" * (cast_expression "(undefined4 *)(puVar8 + -0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x30)" ( (binary_expression "puVar8 + -0x30" identifier + number_literal) )))) , identifier , identifier )))) ;) (expression_statement "iVar7 = *(int *)(puVar8 + -0x40);" (assignment_expression "iVar7 = *(int *)(puVar8 + -0x40)" identifier = (pointer_expression "*(int *)(puVar8 + -0x40)" * (cast_expression "(int *)(puVar8 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) ))))) ;) (expression_statement "uVar14 = *(uint *)(puVar8 + -0x34);" (assignment_expression "uVar14 = *(uint *)(puVar8 + -0x34)" identifier = (pointer_expression "*(uint *)(puVar8 + -0x34)" * (cast_expression "(uint *)(puVar8 + -0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) ))))) ;) }))) (expression_statement "pcVar25 = *(code **)(iVar7 + -0x7cac);" (assignment_expression "pcVar25 = *(code **)(iVar7 + -0x7cac)" identifier = (pointer_expression "*(code **)(iVar7 + -0x7cac)" * (cast_expression "(code **)(iVar7 + -0x7cac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + -0x7cac)" ( (binary_expression "iVar7 + -0x7cac" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(puVar8 + -0x34) = uVar14;" (assignment_expression "*(uint *)(puVar8 + -0x34) = uVar14" (pointer_expression "*(uint *)(puVar8 + -0x34)" * (cast_expression "(uint *)(puVar8 + -0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*pcVar25)(param_6 + iVar4,puVar11,iVar17);" (call_expression "(*pcVar25)(param_6 + iVar4,puVar11,iVar17)" (parenthesized_expression "(*pcVar25)" ( (pointer_expression "*pcVar25" * identifier) )) (argument_list "(param_6 + iVar4,puVar11,iVar17)" ( (binary_expression "param_6 + iVar4" identifier + identifier) , identifier , identifier ))) ;) (expression_statement "iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);" (assignment_expression "iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1)" identifier = (call_expression "(**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1)" (parenthesized_expression "(**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))" ( (pointer_expression "**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c)" * (pointer_expression "*(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c)" * (cast_expression "(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(puVar8 + -0x40) + -0x7b2c)" ( (binary_expression "*(int *)(puVar8 + -0x40) + -0x7b2c" (pointer_expression "*(int *)(puVar8 + -0x40)" * (cast_expression "(int *)(puVar8 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(param_6,param_6,param_6 + iVar4,iVar17 << 1)" ( identifier , identifier , (binary_expression "param_6 + iVar4" identifier + identifier) , (binary_expression "iVar17 << 1" identifier << number_literal) )))) ;) (expression_statement "uVar10 = *(uint *)(puVar8 + -0x34);" (assignment_expression "uVar10 = *(uint *)(puVar8 + -0x34)" identifier = (pointer_expression "*(uint *)(puVar8 + -0x34)" * (cast_expression "(uint *)(puVar8 + -0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x34)" ( (binary_expression "puVar8 + -0x34" identifier + number_literal) ))))) ;) (expression_statement "iVar23 = *(int *)(puVar8 + -0x40);" (assignment_expression "iVar23 = *(int *)(puVar8 + -0x40)" identifier = (pointer_expression "*(int *)(puVar8 + -0x40)" * (cast_expression "(int *)(puVar8 + -0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x40)" ( (binary_expression "puVar8 + -0x40" identifier + number_literal) ))))) ;) (expression_statement "uVar9 = iVar7 + uVar10;" (assignment_expression "uVar9 = iVar7 + uVar10" identifier = (binary_expression "iVar7 + uVar10" identifier + identifier)) ;) (if_statement "if (iVar17 != iVar19) {\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }" if (parenthesized_expression "(iVar17 != iVar19)" ( (binary_expression "iVar17 != iVar19" identifier != identifier) )) (compound_statement "{\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }" { (expression_statement "uVar14 = *puVar20 - uVar9;" (assignment_expression "uVar14 = *puVar20 - uVar9" identifier = (binary_expression "*puVar20 - uVar9" (pointer_expression "*puVar20" * identifier) - identifier)) ;) (expression_statement "uVar9 = (uint)(*puVar20 < uVar9);" (assignment_expression "uVar9 = (uint)(*puVar20 < uVar9)" identifier = (call_expression "(uint)(*puVar20 < uVar9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar20 < uVar9)" ( (binary_expression "*puVar20 < uVar9" (pointer_expression "*puVar20" * identifier) < identifier) )))) ;) (expression_statement "*puVar20 = uVar14;" (assignment_expression "*puVar20 = uVar14" (pointer_expression "*puVar20" * identifier) = identifier) ;) })) (expression_statement "iVar22 = iVar22 - uVar9;" (assignment_expression "iVar22 = iVar22 - uVar9" identifier = (binary_expression "iVar22 - uVar9" identifier - identifier)) ;) (if_statement "if (iVar22 < 0) {\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }" if (parenthesized_expression "(iVar22 < 0)" ( (binary_expression "iVar22 < 0" identifier < number_literal) )) (compound_statement "{\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }" { (expression_statement "uVar9 = *puVar18;" (assignment_expression "uVar9 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;) (expression_statement "*puVar18 = uVar10 + uVar9;" (assignment_expression "*puVar18 = uVar10 + uVar9" (pointer_expression "*puVar18" * identifier) = (binary_expression "uVar10 + uVar9" identifier + identifier)) ;) (if_statement "if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }" if (parenthesized_expression "(uVar10 + uVar9 < uVar10)" ( (binary_expression "uVar10 + uVar9 < uVar10" (binary_expression "uVar10 + uVar9" identifier + identifier) < identifier) )) (compound_statement "{\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }" { (if_statement "if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }" if (parenthesized_expression "(iVar19 < 2)" ( (binary_expression "iVar19 < 2" identifier < number_literal) )) (compound_statement "{\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }" { (labeled_statement "LAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;" statement_identifier : (expression_statement "*(undefined4 *)(puVar8 + -0x2c) = 2;" (assignment_expression "*(undefined4 *)(puVar8 + -0x2c) = 2" (pointer_expression "*(undefined4 *)(puVar8 + -0x2c)" * (cast_expression "(undefined4 *)(puVar8 + -0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x2c)" ( (binary_expression "puVar8 + -0x2c" identifier + number_literal) )))) = number_literal) ;)) }) (else_clause "else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }" else (compound_statement "{\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }" { (expression_statement "uVar9 = puVar18[1];" (assignment_expression "uVar9 = puVar18[1]" identifier = (subscript_expression "puVar18[1]" identifier [ number_literal ])) ;) (expression_statement "puVar18[1] = uVar9 + 1;" (assignment_expression "puVar18[1] = uVar9 + 1" (subscript_expression "puVar18[1]" identifier [ number_literal ]) = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (if_statement "if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 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            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }" { (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" identifier = number_literal) ;) (expression_statement "puVar16 = puVar18 + 2;" (assignment_expression "puVar16 = puVar18 + 2" identifier = (binary_expression "puVar18 + 2" identifier + number_literal)) ;) (do_statement "do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);" do (compound_statement "{\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            }" { (expression_statement "bVar1 = iVar19 == iVar7;" (assignment_expression "bVar1 = iVar19 == iVar7" identifier = (binary_expression "iVar19 == iVar7" identifier == identifier)) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) goto LAB_00045c64;" if (parenthesized_expression "(bVar1)" ( identifier )) (goto_statement "goto LAB_00045c64;" goto statement_identifier ;)) (expression_statement "uVar9 = *puVar16;" (assignment_expression "uVar9 = *puVar16" identifier = (pointer_expression "*puVar16" * identifier)) ;) (expression_statement "*puVar16 = uVar9 + 1;" (assignment_expression "*puVar16 = uVar9 + 1" (pointer_expression "*puVar16" * identifier) = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (expression_statement "puVar16 = puVar16 + 1;" (assignment_expression "puVar16 = puVar16 + 1" identifier = (binary_expression "puVar16 + 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 "iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);" (assignment_expression "iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2)" identifier = (call_expression "(**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2)" (parenthesized_expression "(**(code **)(iVar23 + -0x7f70))" ( (pointer_expression "**(code **)(iVar23 + -0x7f70)" * (pointer_expression "*(code **)(iVar23 + -0x7f70)" * (cast_expression "(code **)(iVar23 + -0x7f70)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar23 + -0x7f70)" ( (binary_expression "iVar23 + -0x7f70" identifier + number_literal) ))))) )) (argument_list "(param_6,puVar11,iVar4,2)" ( identifier , identifier , identifier , number_literal )))) ;) (expression_statement "uVar9 = *param_6;" (assignment_expression "uVar9 = *param_6" identifier = (pointer_expression "*param_6" * identifier)) ;) (expression_statement "iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);" (assignment_expression "iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c)" identifier = (binary_expression "iVar22 + iVar7 + *(int *)(puVar8 + -0x2c)" (binary_expression "iVar22 + iVar7" identifier + identifier) + (pointer_expression "*(int *)(puVar8 + -0x2c)" * (cast_expression "(int *)(puVar8 + -0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x2c)" ( (binary_expression "puVar8 + -0x2c" identifier + number_literal) )))))) ;) (expression_statement "*param_6 = uVar9 - 1;" (assignment_expression "*param_6 = uVar9 - 1" (pointer_expression "*param_6" * identifier) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }" { (if_statement "if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }" if (parenthesized_expression "(iVar4 < 2)" ( (binary_expression "iVar4 < 2" identifier < number_literal) )) (compound_statement "{\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }" { (expression_statement "*puVar11 = *puVar11 - 1;" (assignment_expression "*puVar11 = *puVar11 - 1" (pointer_expression "*puVar11" * identifier) = (binary_expression "*puVar11 - 1" (pointer_expression "*puVar11" * identifier) - number_literal)) ;) (return_statement "return iVar22 + -1;" return (binary_expression "iVar22 + -1" identifier + number_literal) ;) })) (expression_statement "uVar9 = param_6[1];" (assignment_expression "uVar9 = param_6[1]" identifier = (subscript_expression "param_6[1]" identifier [ number_literal ])) ;) (expression_statement "param_6[1] = uVar9 - 1;" (assignment_expression "param_6[1] = uVar9 - 1" (subscript_expression "param_6[1]" identifier [ number_literal ]) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }" { (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" identifier = number_literal) ;) (expression_statement "puVar16 = param_6 + 2;" (assignment_expression "puVar16 = param_6 + 2" identifier = (binary_expression "param_6 + 2" identifier + number_literal)) ;) (do_statement "do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);" do (compound_statement "{\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          }" { (expression_statement "bVar1 = iVar4 == iVar7;" (assignment_expression "bVar1 = iVar4 == iVar7" identifier = (binary_expression "iVar4 == iVar7" identifier == identifier)) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n              iVar22 = iVar22 + -1;\n              break;\n            }" { (expression_statement "iVar22 = iVar22 + -1;" (assignment_expression "iVar22 = iVar22 + -1" identifier = (binary_expression "iVar22 + -1" identifier + number_literal)) ;) (break_statement "break;" break ;) })) (expression_statement "uVar9 = *puVar16;" (assignment_expression "uVar9 = *puVar16" identifier = (pointer_expression "*puVar16" * identifier)) ;) (expression_statement "*puVar16 = uVar9 - 1;" (assignment_expression "*puVar16 = uVar9 - 1" (pointer_expression "*puVar16" * identifier) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (expression_statement "puVar16 = puVar16 + 1;" (assignment_expression "puVar16 = puVar16 + 1" identifier = (binary_expression "puVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) ;) })) (expression_statement "uVar9 = *puVar11;" (assignment_expression "uVar9 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "*puVar11 = uVar9 - 1;" (assignment_expression "*puVar11 = uVar9 - 1" (pointer_expression "*puVar11" * identifier) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 != 0) {\n          return iVar22;\n        }" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (compound_statement "{\n          return iVar22;\n        }" { (return_statement "return iVar22;" return identifier ;) })) (expression_statement "uVar9 = puVar11[1];" (assignment_expression "uVar9 = puVar11[1]" identifier = (subscript_expression "puVar11[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }" else (compound_statement "{\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }" { (expression_statement "uVar9 = *puVar11;" (assignment_expression "uVar9 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "*puVar11 = uVar9 - 1;" (assignment_expression "*puVar11 = uVar9 - 1" (pointer_expression "*puVar11" * identifier) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 != 0) {\n          return iVar22;\n        }" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (compound_statement "{\n          return iVar22;\n        }" { (return_statement "return iVar22;" return identifier ;) })) (if_statement "if (iVar4 < 2) {\n          return iVar22;\n        }" if (parenthesized_expression "(iVar4 < 2)" ( (binary_expression "iVar4 < 2" identifier < number_literal) )) (compound_statement "{\n          return iVar22;\n        }" { (return_statement "return iVar22;" return identifier ;) })) (expression_statement "uVar9 = puVar11[1];" (assignment_expression "uVar9 = puVar11[1]" identifier = (subscript_expression "puVar11[1]" identifier [ number_literal ])) ;) }))) (expression_statement "puVar11[1] = uVar9 - 1;" (assignment_expression "puVar11[1] = uVar9 - 1" (subscript_expression "puVar11[1]" identifier [ number_literal ]) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (if_statement "if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }" { (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" identifier = number_literal) ;) (expression_statement "puVar11 = puVar11 + 2;" (assignment_expression "puVar11 = puVar11 + 2" identifier = (binary_expression "puVar11 + 2" identifier + number_literal)) ;) (do_statement "do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);" do (compound_statement "{\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        }" { (expression_statement "bVar1 = iVar4 <= iVar7;" (assignment_expression "bVar1 = iVar4 <= iVar7" identifier = (binary_expression "iVar4 <= iVar7" identifier <= identifier)) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1) {\n            return iVar22;\n          }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n            return iVar22;\n          }" { (return_statement "return iVar22;" return identifier ;) })) (expression_statement "uVar9 = *puVar11;" (assignment_expression "uVar9 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "*puVar11 = uVar9 - 1;" (assignment_expression "*puVar11 = uVar9 - 1" (pointer_expression "*puVar11" * identifier) = (binary_expression "uVar9 - 1" identifier - number_literal)) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) ;) })) })) }) (else_clause "else {\n    iVar22 = 1;\n  }" else (compound_statement "{\n    iVar22 = 1;\n  }" { (expression_statement "iVar22 = 1;" (assignment_expression "iVar22 = 1" identifier = number_literal) ;) }))) (return_statement "return iVar22;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * IDENT)))))) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * IDENT))))) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * (pointer_declarator * IDENT))))) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) 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 = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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 = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = IDENT) ;) }))) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (unary_expression ~ IDENT) / IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (unary_expression ~ IDENT) % IDENT) << LIT) | LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) / IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) % IDENT) << LIT) | LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT - LIT)) , (binary_expression IDENT <= IDENT)) ))) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *))))))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT << LIT) | IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * (cast_expression ( (type_descriptor TYPE) ) IDENT)) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT < IDENT) ^ LIT)) ;) (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 IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *))))))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - IDENT) ))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (call_expression IDENT (argument_list ( IDENT ))))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *)))))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - LIT) )))) , (binary_expression IDENT <= IDENT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *)))))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - LIT) )))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator * (abstract_pointer_declarator *))))))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - LIT) )))) ;) })))) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_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 )))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT * LIT) ))) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT * LIT) + LIT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) + IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) ))))) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_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 )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) }))))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) + (binary_expression (pointer_expression * IDENT) * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT / IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (binary_expression IDENT * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < (binary_expression IDENT * IDENT)) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_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 + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) + (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) - LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }))) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT / LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (subscript_expression IDENT [ IDENT ]))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & IDENT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (binary_expression IDENT + IDENT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT + IDENT) , (binary_expression IDENT << LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) - IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * IDENT) < IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = 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 = (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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;)) }) (else_clause else (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 (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 { (expression_statement (assignment_expression IDENT = (binary_expression IDENT == IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (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 IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) - LIT)) ;) (return_statement return (binary_expression IDENT + LIT) ;) })) (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 { (expression_statement (assignment_expression IDENT = (binary_expression IDENT == IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (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) )) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return IDENT ;) })) (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 { (expression_statement (assignment_expression IDENT = (binary_expression IDENT <= IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (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) )) ;) })) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "int FUN_00045608(int param_1,uint *param_2,int param_3,int param_4,int param_5,uint *param_6)\n\n{\n  bool bVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  undefined4 ******ppppppuVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  uint uVar9;\n  uint uVar10;\n  uint *puVar11;\n  uint *puVar12;\n  uint uVar13;\n  uint uVar14;\n  int *piVar15;\n  uint *puVar16;\n  int iVar17;\n  uint *puVar18;\n  undefined4 unaff_s5;\n  int iVar19;\n  undefined4 unaff_s6;\n  uint *puVar20;\n  undefined4 unaff_s7;\n  undefined *puVar21;\n  int iVar22;\n  int iVar23;\n  undefined1 *puVar24;\n  code *pcVar25;\n  uint uVar26;\n  uint uVar27;\n  undefined1 auStack_58 [16];\n  int local_48;\n  undefined4 *****local_44;\n  undefined4 *****local_2c;\n  int local_28;\n  uint *local_24;\n  \n  puVar3 = PTR___stack_chk_guard_00097540;\n  puVar8 = auStack_58;\n  puVar24 = auStack_58;\n  local_24 = *(uint **)PTR___stack_chk_guard_00097540;\n  if (param_3 != 0) {\n    iVar4 = param_3 + -1;\n    uVar9 = *param_2;\n    if (iVar4 == 0) {\n      *param_6 = uVar9;\n    }\n    else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }\n  }\n  puVar11 = (uint *)(param_4 + param_5 * 4 + -4);\n  uVar10 = *puVar11;\n  uVar9 = uVar10 >> 0x10;\n  if (uVar9 == 0) {\n    trap(7);\n  }\n  uVar26 = ~uVar10 / uVar9;\n  uVar13 = (uVar10 & 0xffff) * uVar26;\n  uVar5 = ~uVar10 % uVar9 << 0x10 | 0xffff;\n  uVar14 = uVar26;\n  if (uVar5 < uVar13) {\n    uVar5 = uVar5 + uVar10;\n    uVar14 = uVar26 - 1;\n    if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }\n  }\n  if (uVar9 == 0) {\n    trap(7);\n  }\n  uVar27 = (uVar5 - uVar13) / uVar9;\n  uVar26 = (uVar10 & 0xffff) * uVar27;\n  uVar5 = (uVar5 - uVar13) % uVar9 << 0x10 | 0xffff;\n  uVar13 = uVar10 + uVar5;\n  uVar9 = uVar27;\n  if (((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26)) {\n    uVar9 = uVar27 - 2;\n  }\n  uVar5 = puVar11[-1];\n  ppppppuVar6 = (undefined4 ******)(uVar14 << 0x10 | uVar9);\n  uVar9 = uVar10 * (int)ppppppuVar6 + uVar5;\n  lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  if (uVar9 < uVar5) {\n    uVar13 = uVar9 < uVar10 ^ 1;\n    uVar14 = uVar10;\n    if (uVar13 == 0) {\n      uVar14 = 0;\n    }\n    ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));\n    uVar9 = (uVar9 - uVar10) - uVar14;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  }\n  uVar14 = (uint)((ulonglong)lVar2 >> 0x20);\n  uVar9 = uVar9 + uVar14;\n  local_2c = ppppppuVar6;\n  if ((uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)) {\n    if (uVar10 < uVar9) {\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }\n  }\n  iVar4 = param_3;\n  if (param_5 < 200) {\n    local_48 = param_5;\n    local_44 = local_2c;\n    iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);\n  }\n  else if (param_5 < 2000) {\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }\n  else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }\n  puVar11 = *(uint **)puVar3;\n  piVar15 = (int *)(param_1 + (param_3 - param_5) * 4);\n  *piVar15 = iVar7;\n  if (local_24 == puVar11) {\n    return iVar7;\n  }\n  pcVar25 = FUN_00045944;\n  puVar11 = local_24;\n  puVar21 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  *(undefined **)(puVar8 + -0x40) = puVar21 + 0x596fc;\n  *(int **)(puVar8 + -0x20) = piVar15;\n  *(undefined **)(puVar8 + -0x24) = puVar3;\n  *(int *)(puVar8 + -0x28) = param_1;\n  *(code **)(puVar8 + -4) = pcVar25;\n  *(undefined1 **)(puVar8 + -8) = auStack_58;\n  *(undefined4 *)(puVar8 + -0xc) = unaff_s7;\n  *(undefined4 *)(puVar8 + -0x10) = unaff_s6;\n  *(undefined4 *)(puVar8 + -0x14) = unaff_s5;\n  *(uint **)(puVar8 + -0x18) = param_2;\n  *(int *)(puVar8 + -0x1c) = param_5;\n  *(int *)(puVar8 + 0xc) = param_4;\n  puVar16 = *(uint **)(puVar8 + 0x10);\n  if (iVar4 == 1) {\n    uVar10 = *param_6;\n    uVar9 = FUN_00045580(param_6,param_6[1]);\n    uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;\n    if (uVar9 == 0) {\n      trap(7);\n    }\n    uVar5 = uVar14 / uVar9;\n    uVar5 = uVar5 - (uVar5 >> 0x10);\n    uVar14 = uVar14 - uVar9 * uVar5;\n    uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);\n    uVar9 = uVar5 | uVar9 << 0x10;\n    iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);\n    uVar10 = uVar10 - uVar5 * uVar5;\n    if (iVar4 == -1) {\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }\n    else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }\n    return iVar4;\n  }\n  *(uint **)(puVar8 + -0x50) = puVar16;\n  iVar17 = iVar4 / 2;\n  iVar19 = iVar4 - iVar17;\n  puVar20 = param_6 + iVar17 * 2;\n  puVar18 = puVar11 + iVar17;\n  iVar7 = FUN_00045944(puVar18,puVar20,iVar19,0);\n  iVar22 = *(int *)(puVar8 + -0x40);\n  if (iVar7 != 0) {\n    pcVar25 = *(code **)(iVar22 + -0x7b2c);\n    *(int *)(puVar8 + -0x34) = iVar7;\n    (*pcVar25)(puVar20,puVar20,puVar18,iVar19);\n    iVar22 = *(int *)(puVar8 + -0x40);\n    iVar7 = *(int *)(puVar8 + -0x34);\n  }\n  puVar12 = param_6 + iVar17;\n  pcVar25 = *(code **)(iVar22 + -0x7a30);\n  *(int *)(puVar8 + -0x34) = iVar7;\n  *(uint **)(puVar8 + -0x30) = puVar12;\n  *(int *)(puVar8 + -0x48) = iVar19;\n  *(uint **)(puVar8 + -0x4c) = puVar18;\n  *(int *)(puVar8 + -0x50) = iVar4;\n  (*pcVar25)(puVar16,puVar12,0,puVar12);\n  uVar9 = *puVar16;\n  pcVar25 = *(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0);\n  *(uint *)(puVar8 + -0x34) = *(int *)(puVar8 + -0x34) + puVar16[iVar17];\n  (*pcVar25)(puVar11,puVar16,iVar17,1);\n  uVar14 = *(uint *)(puVar8 + -0x34);\n  iVar7 = *(int *)(puVar8 + -0x40);\n  puVar11[iVar17 + -1] = puVar11[iVar17 + -1] | uVar14 << 0x1f;\n  uVar10 = *puVar11;\n  *(uint *)(puVar8 + -0x2c) = *(uint *)(puVar8 + 0xc) & uVar10;\n  if ((*(uint *)(puVar8 + 0xc) & uVar10) == 0) {\n    uVar14 = uVar14 >> 1;\n    if ((uVar9 & 1) == 0) {\n      iVar22 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }\n    pcVar25 = *(code **)(iVar7 + -0x7cac);\n    *(uint *)(puVar8 + -0x34) = uVar14;\n    (*pcVar25)(param_6 + iVar4,puVar11,iVar17);\n    iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);\n    uVar10 = *(uint *)(puVar8 + -0x34);\n    iVar23 = *(int *)(puVar8 + -0x40);\n    uVar9 = iVar7 + uVar10;\n    if (iVar17 != iVar19) {\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }\n    iVar22 = iVar22 - uVar9;\n    if (iVar22 < 0) {\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }\n  }\n  else {\n    iVar22 = 1;\n  }\n  return iVar22;\n}" (primitive_type "int") (function_declarator "FUN_00045608(int param_1,uint *param_2,int param_3,int param_4,int param_5,uint *param_6)" (identifier "FUN_00045608") (parameter_list "(int param_1,uint *param_2,int param_3,int param_4,int param_5,uint *param_6)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (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 "uint *param_6" (type_identifier "uint") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) () ")"))) (compound_statement "{\n  bool bVar1;\n  longlong lVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  undefined4 ******ppppppuVar6;\n  int iVar7;\n  undefined1 *puVar8;\n  uint uVar9;\n  uint uVar10;\n  uint *puVar11;\n  uint *puVar12;\n  uint uVar13;\n  uint uVar14;\n  int *piVar15;\n  uint *puVar16;\n  int iVar17;\n  uint *puVar18;\n  undefined4 unaff_s5;\n  int iVar19;\n  undefined4 unaff_s6;\n  uint *puVar20;\n  undefined4 unaff_s7;\n  undefined *puVar21;\n  int iVar22;\n  int iVar23;\n  undefined1 *puVar24;\n  code *pcVar25;\n  uint uVar26;\n  uint uVar27;\n  undefined1 auStack_58 [16];\n  int local_48;\n  undefined4 *****local_44;\n  undefined4 *****local_2c;\n  int local_28;\n  uint *local_24;\n  \n  puVar3 = PTR___stack_chk_guard_00097540;\n  puVar8 = auStack_58;\n  puVar24 = auStack_58;\n  local_24 = *(uint **)PTR___stack_chk_guard_00097540;\n  if (param_3 != 0) {\n    iVar4 = param_3 + -1;\n    uVar9 = *param_2;\n    if (iVar4 == 0) {\n      *param_6 = uVar9;\n    }\n    else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }\n  }\n  puVar11 = (uint *)(param_4 + param_5 * 4 + -4);\n  uVar10 = *puVar11;\n  uVar9 = uVar10 >> 0x10;\n  if (uVar9 == 0) {\n    trap(7);\n  }\n  uVar26 = ~uVar10 / uVar9;\n  uVar13 = (uVar10 & 0xffff) * uVar26;\n  uVar5 = ~uVar10 % uVar9 << 0x10 | 0xffff;\n  uVar14 = uVar26;\n  if (uVar5 < uVar13) {\n    uVar5 = uVar5 + uVar10;\n    uVar14 = uVar26 - 1;\n    if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }\n  }\n  if (uVar9 == 0) {\n    trap(7);\n  }\n  uVar27 = (uVar5 - uVar13) / uVar9;\n  uVar26 = (uVar10 & 0xffff) * uVar27;\n  uVar5 = (uVar5 - uVar13) % uVar9 << 0x10 | 0xffff;\n  uVar13 = uVar10 + uVar5;\n  uVar9 = uVar27;\n  if (((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26)) {\n    uVar9 = uVar27 - 2;\n  }\n  uVar5 = puVar11[-1];\n  ppppppuVar6 = (undefined4 ******)(uVar14 << 0x10 | uVar9);\n  uVar9 = uVar10 * (int)ppppppuVar6 + uVar5;\n  lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  if (uVar9 < uVar5) {\n    uVar13 = uVar9 < uVar10 ^ 1;\n    uVar14 = uVar10;\n    if (uVar13 == 0) {\n      uVar14 = 0;\n    }\n    ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));\n    uVar9 = (uVar9 - uVar10) - uVar14;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  }\n  uVar14 = (uint)((ulonglong)lVar2 >> 0x20);\n  uVar9 = uVar9 + uVar14;\n  local_2c = ppppppuVar6;\n  if ((uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)) {\n    if (uVar10 < uVar9) {\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }\n  }\n  iVar4 = param_3;\n  if (param_5 < 200) {\n    local_48 = param_5;\n    local_44 = local_2c;\n    iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);\n  }\n  else if (param_5 < 2000) {\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }\n  else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }\n  puVar11 = *(uint **)puVar3;\n  piVar15 = (int *)(param_1 + (param_3 - param_5) * 4);\n  *piVar15 = iVar7;\n  if (local_24 == puVar11) {\n    return iVar7;\n  }\n  pcVar25 = FUN_00045944;\n  puVar11 = local_24;\n  puVar21 = PTR___stack_chk_fail_000974d0;\n  (*(code *)PTR___stack_chk_fail_000974d0)();\n  *(undefined **)(puVar8 + -0x40) = puVar21 + 0x596fc;\n  *(int **)(puVar8 + -0x20) = piVar15;\n  *(undefined **)(puVar8 + -0x24) = puVar3;\n  *(int *)(puVar8 + -0x28) = param_1;\n  *(code **)(puVar8 + -4) = pcVar25;\n  *(undefined1 **)(puVar8 + -8) = auStack_58;\n  *(undefined4 *)(puVar8 + -0xc) = unaff_s7;\n  *(undefined4 *)(puVar8 + -0x10) = unaff_s6;\n  *(undefined4 *)(puVar8 + -0x14) = unaff_s5;\n  *(uint **)(puVar8 + -0x18) = param_2;\n  *(int *)(puVar8 + -0x1c) = param_5;\n  *(int *)(puVar8 + 0xc) = param_4;\n  puVar16 = *(uint **)(puVar8 + 0x10);\n  if (iVar4 == 1) {\n    uVar10 = *param_6;\n    uVar9 = FUN_00045580(param_6,param_6[1]);\n    uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;\n    if (uVar9 == 0) {\n      trap(7);\n    }\n    uVar5 = uVar14 / uVar9;\n    uVar5 = uVar5 - (uVar5 >> 0x10);\n    uVar14 = uVar14 - uVar9 * uVar5;\n    uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);\n    uVar9 = uVar5 | uVar9 << 0x10;\n    iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);\n    uVar10 = uVar10 - uVar5 * uVar5;\n    if (iVar4 == -1) {\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }\n    else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }\n    return iVar4;\n  }\n  *(uint **)(puVar8 + -0x50) = puVar16;\n  iVar17 = iVar4 / 2;\n  iVar19 = iVar4 - iVar17;\n  puVar20 = param_6 + iVar17 * 2;\n  puVar18 = puVar11 + iVar17;\n  iVar7 = FUN_00045944(puVar18,puVar20,iVar19,0);\n  iVar22 = *(int *)(puVar8 + -0x40);\n  if (iVar7 != 0) {\n    pcVar25 = *(code **)(iVar22 + -0x7b2c);\n    *(int *)(puVar8 + -0x34) = iVar7;\n    (*pcVar25)(puVar20,puVar20,puVar18,iVar19);\n    iVar22 = *(int *)(puVar8 + -0x40);\n    iVar7 = *(int *)(puVar8 + -0x34);\n  }\n  puVar12 = param_6 + iVar17;\n  pcVar25 = *(code **)(iVar22 + -0x7a30);\n  *(int *)(puVar8 + -0x34) = iVar7;\n  *(uint **)(puVar8 + -0x30) = puVar12;\n  *(int *)(puVar8 + -0x48) = iVar19;\n  *(uint **)(puVar8 + -0x4c) = puVar18;\n  *(int *)(puVar8 + -0x50) = iVar4;\n  (*pcVar25)(puVar16,puVar12,0,puVar12);\n  uVar9 = *puVar16;\n  pcVar25 = *(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0);\n  *(uint *)(puVar8 + -0x34) = *(int *)(puVar8 + -0x34) + puVar16[iVar17];\n  (*pcVar25)(puVar11,puVar16,iVar17,1);\n  uVar14 = *(uint *)(puVar8 + -0x34);\n  iVar7 = *(int *)(puVar8 + -0x40);\n  puVar11[iVar17 + -1] = puVar11[iVar17 + -1] | uVar14 << 0x1f;\n  uVar10 = *puVar11;\n  *(uint *)(puVar8 + -0x2c) = *(uint *)(puVar8 + 0xc) & uVar10;\n  if ((*(uint *)(puVar8 + 0xc) & uVar10) == 0) {\n    uVar14 = uVar14 >> 1;\n    if ((uVar9 & 1) == 0) {\n      iVar22 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }\n    pcVar25 = *(code **)(iVar7 + -0x7cac);\n    *(uint *)(puVar8 + -0x34) = uVar14;\n    (*pcVar25)(param_6 + iVar4,puVar11,iVar17);\n    iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);\n    uVar10 = *(uint *)(puVar8 + -0x34);\n    iVar23 = *(int *)(puVar8 + -0x40);\n    uVar9 = iVar7 + uVar10;\n    if (iVar17 != iVar19) {\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }\n    iVar22 = iVar22 - uVar9;\n    if (iVar22 < 0) {\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }\n  }\n  else {\n    iVar22 = 1;\n  }\n  return iVar22;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "longlong lVar2;" (type_identifier "longlong") (identifier "lVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined4 ******ppppppuVar6;" (type_identifier "undefined4") (pointer_declarator "******ppppppuVar6" (* "*") (pointer_declarator "*****ppppppuVar6" (* "*") (pointer_declarator "****ppppppuVar6" (* "*") (pointer_declarator "***ppppppuVar6" (* "*") (pointer_declarator "**ppppppuVar6" (* "*") (pointer_declarator "*ppppppuVar6" (* "*") (identifier "ppppppuVar6"))))))) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "uint *puVar11;" (type_identifier "uint") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "uint *puVar12;" (type_identifier "uint") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "uint uVar13;" (type_identifier "uint") (identifier "uVar13") (; ";")) (declaration "uint uVar14;" (type_identifier "uint") (identifier "uVar14") (; ";")) (declaration "int *piVar15;" (primitive_type "int") (pointer_declarator "*piVar15" (* "*") (identifier "piVar15")) (; ";")) (declaration "uint *puVar16;" (type_identifier "uint") (pointer_declarator "*puVar16" (* "*") (identifier "puVar16")) (; ";")) (declaration "int iVar17;" (primitive_type "int") (identifier "iVar17") (; ";")) (declaration "uint *puVar18;" (type_identifier "uint") (pointer_declarator "*puVar18" (* "*") (identifier "puVar18")) (; ";")) (declaration "undefined4 unaff_s5;" (type_identifier "undefined4") (identifier "unaff_s5") (; ";")) (declaration "int iVar19;" (primitive_type "int") (identifier "iVar19") (; ";")) (declaration "undefined4 unaff_s6;" (type_identifier "undefined4") (identifier "unaff_s6") (; ";")) (declaration "uint *puVar20;" (type_identifier "uint") (pointer_declarator "*puVar20" (* "*") (identifier "puVar20")) (; ";")) (declaration "undefined4 unaff_s7;" (type_identifier "undefined4") (identifier "unaff_s7") (; ";")) (declaration "undefined *puVar21;" (type_identifier "undefined") (pointer_declarator "*puVar21" (* "*") (identifier "puVar21")) (; ";")) (declaration "int iVar22;" (primitive_type "int") (identifier "iVar22") (; ";")) (declaration "int iVar23;" (primitive_type "int") (identifier "iVar23") (; ";")) (declaration "undefined1 *puVar24;" (type_identifier "undefined1") (pointer_declarator "*puVar24" (* "*") (identifier "puVar24")) (; ";")) (declaration "code *pcVar25;" (type_identifier "code") (pointer_declarator "*pcVar25" (* "*") (identifier "pcVar25")) (; ";")) (declaration "uint uVar26;" (type_identifier "uint") (identifier "uVar26") (; ";")) (declaration "uint uVar27;" (type_identifier "uint") (identifier "uVar27") (; ";")) (declaration "undefined1 auStack_58 [16];" (type_identifier "undefined1") (array_declarator "auStack_58 [16]" (identifier "auStack_58") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "int local_48;" (primitive_type "int") (identifier "local_48") (; ";")) (declaration "undefined4 *****local_44;" (type_identifier "undefined4") (pointer_declarator "*****local_44" (* "*") (pointer_declarator "****local_44" (* "*") (pointer_declarator "***local_44" (* "*") (pointer_declarator "**local_44" (* "*") (pointer_declarator "*local_44" (* "*") (identifier "local_44")))))) (; ";")) (declaration "undefined4 *****local_2c;" (type_identifier "undefined4") (pointer_declarator "*****local_2c" (* "*") (pointer_declarator "****local_2c" (* "*") (pointer_declarator "***local_2c" (* "*") (pointer_declarator "**local_2c" (* "*") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")))))) (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (declaration "uint *local_24;" (type_identifier "uint") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (expression_statement "puVar3 = PTR___stack_chk_guard_00097540;" (assignment_expression "puVar3 = PTR___stack_chk_guard_00097540" (identifier "puVar3") (= "=") (identifier "PTR___stack_chk_guard_00097540")) (; ";")) (expression_statement "puVar8 = auStack_58;" (assignment_expression "puVar8 = auStack_58" (identifier "puVar8") (= "=") (identifier "auStack_58")) (; ";")) (expression_statement "puVar24 = auStack_58;" (assignment_expression "puVar24 = auStack_58" (identifier "puVar24") (= "=") (identifier "auStack_58")) (; ";")) (expression_statement "local_24 = *(uint **)PTR___stack_chk_guard_00097540;" (assignment_expression "local_24 = *(uint **)PTR___stack_chk_guard_00097540" (identifier "local_24") (= "=") (pointer_expression "*(uint **)PTR___stack_chk_guard_00097540" (* "*") (cast_expression "(uint **)PTR___stack_chk_guard_00097540" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_00097540")))) (; ";")) (if_statement "if (param_3 != 0) {\n    iVar4 = param_3 + -1;\n    uVar9 = *param_2;\n    if (iVar4 == 0) {\n      *param_6 = uVar9;\n    }\n    else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }\n  }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = param_3 + -1;\n    uVar9 = *param_2;\n    if (iVar4 == 0) {\n      *param_6 = uVar9;\n    }\n    else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }\n  }" ({ "{") (expression_statement "iVar4 = param_3 + -1;" (assignment_expression "iVar4 = param_3 + -1" (identifier "iVar4") (= "=") (binary_expression "param_3 + -1" (identifier "param_3") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar9 = *param_2;" (assignment_expression "uVar9 = *param_2" (identifier "uVar9") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (iVar4 == 0) {\n      *param_6 = uVar9;\n    }\n    else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *param_6 = uVar9;\n    }" ({ "{") (expression_statement "*param_6 = uVar9;" (assignment_expression "*param_6 = uVar9" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (identifier "uVar9")) (; ";")) (} "}")) (else_clause "else {\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }" (else "else") (compound_statement "{\n      puVar11 = param_6;\n      puVar16 = param_2 + 1;\n      do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);\n      param_6[param_3 + -1] = uVar9;\n    }" ({ "{") (expression_statement "puVar11 = param_6;" (assignment_expression "puVar11 = param_6" (identifier "puVar11") (= "=") (identifier "param_6")) (; ";")) (expression_statement "puVar16 = param_2 + 1;" (assignment_expression "puVar16 = param_2 + 1" (identifier "puVar16") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (do_statement "do {\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      } while (iVar4 != 0);" (do "do") (compound_statement "{\n        *puVar11 = uVar9;\n        iVar4 = iVar4 + -1;\n        uVar9 = *puVar16;\n        puVar11 = puVar11 + 1;\n        puVar16 = puVar16 + 1;\n      }" ({ "{") (expression_statement "*puVar11 = uVar9;" (assignment_expression "*puVar11 = uVar9" (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) (= "=") (identifier "uVar9")) (; ";")) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar9 = *puVar16;" (assignment_expression "uVar9 = *puVar16" (identifier "uVar9") (= "=") (pointer_expression "*puVar16" (* "*") (identifier "puVar16"))) (; ";")) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" (identifier "puVar11") (= "=") (binary_expression "puVar11 + 1" (identifier "puVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar16 = puVar16 + 1;" (assignment_expression "puVar16 = puVar16 + 1" (identifier "puVar16") (= "=") (binary_expression "puVar16 + 1" (identifier "puVar16") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "param_6[param_3 + -1] = uVar9;" (assignment_expression "param_6[param_3 + -1] = uVar9" (subscript_expression "param_6[param_3 + -1]" (identifier "param_6") ([ "[") (binary_expression "param_3 + -1" (identifier "param_3") (+ "+") (number_literal "-1")) (] "]")) (= "=") (identifier "uVar9")) (; ";")) (} "}")))) (} "}"))) (expression_statement "puVar11 = (uint *)(param_4 + param_5 * 4 + -4);" (assignment_expression "puVar11 = (uint *)(param_4 + param_5 * 4 + -4)" (identifier "puVar11") (= "=") (cast_expression "(uint *)(param_4 + param_5 * 4 + -4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + param_5 * 4 + -4)" (( "(") (binary_expression "param_4 + param_5 * 4 + -4" (binary_expression "param_4 + param_5 * 4" (identifier "param_4") (+ "+") (binary_expression "param_5 * 4" (identifier "param_5") (* "*") (number_literal "4"))) (+ "+") (number_literal "-4")) () ")")))) (; ";")) (expression_statement "uVar10 = *puVar11;" (assignment_expression "uVar10 = *puVar11" (identifier "uVar10") (= "=") (pointer_expression "*puVar11" (* "*") (identifier "puVar11"))) (; ";")) (expression_statement "uVar9 = uVar10 >> 0x10;" (assignment_expression "uVar9 = uVar10 >> 0x10" (identifier "uVar9") (= "=") (binary_expression "uVar10 >> 0x10" (identifier "uVar10") (>> ">>") (number_literal "0x10"))) (; ";")) (if_statement "if (uVar9 == 0) {\n    trap(7);\n  }" (if "if") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    trap(7);\n  }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = ~uVar10 / uVar9;" (assignment_expression "uVar26 = ~uVar10 / uVar9" (identifier "uVar26") (= "=") (binary_expression "~uVar10 / uVar9" (unary_expression "~uVar10" (~ "~") (identifier "uVar10")) (/ "/") (identifier "uVar9"))) (; ";")) (expression_statement "uVar13 = (uVar10 & 0xffff) * uVar26;" (assignment_expression "uVar13 = (uVar10 & 0xffff) * uVar26" (identifier "uVar13") (= "=") (binary_expression "(uVar10 & 0xffff) * uVar26" (parenthesized_expression "(uVar10 & 0xffff)" (( "(") (binary_expression "uVar10 & 0xffff" (identifier "uVar10") (& "&") (number_literal "0xffff")) () ")")) (* "*") (identifier "uVar26"))) (; ";")) (expression_statement "uVar5 = ~uVar10 % uVar9 << 0x10 | 0xffff;" (assignment_expression "uVar5 = ~uVar10 % uVar9 << 0x10 | 0xffff" (identifier "uVar5") (= "=") (binary_expression "~uVar10 % uVar9 << 0x10 | 0xffff" (binary_expression "~uVar10 % uVar9 << 0x10" (binary_expression "~uVar10 % uVar9" (unary_expression "~uVar10" (~ "~") (identifier "uVar10")) (% "%") (identifier "uVar9")) (<< "<<") (number_literal "0x10")) (| "|") (number_literal "0xffff"))) (; ";")) (expression_statement "uVar14 = uVar26;" (assignment_expression "uVar14 = uVar26" (identifier "uVar14") (= "=") (identifier "uVar26")) (; ";")) (if_statement "if (uVar5 < uVar13) {\n    uVar5 = uVar5 + uVar10;\n    uVar14 = uVar26 - 1;\n    if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }\n  }" (if "if") (parenthesized_expression "(uVar5 < uVar13)" (( "(") (binary_expression "uVar5 < uVar13" (identifier "uVar5") (< "<") (identifier "uVar13")) () ")")) (compound_statement "{\n    uVar5 = uVar5 + uVar10;\n    uVar14 = uVar26 - 1;\n    if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }\n  }" ({ "{") (expression_statement "uVar5 = uVar5 + uVar10;" (assignment_expression "uVar5 = uVar5 + uVar10" (identifier "uVar5") (= "=") (binary_expression "uVar5 + uVar10" (identifier "uVar5") (+ "+") (identifier "uVar10"))) (; ";")) (expression_statement "uVar14 = uVar26 - 1;" (assignment_expression "uVar14 = uVar26 - 1" (identifier "uVar14") (= "=") (binary_expression "uVar26 - 1" (identifier "uVar26") (- "-") (number_literal "1"))) (; ";")) (if_statement "if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }" (if "if") (parenthesized_expression "((uVar10 <= uVar5) && (uVar5 < uVar13))" (( "(") (binary_expression "(uVar10 <= uVar5) && (uVar5 < uVar13)" (parenthesized_expression "(uVar10 <= uVar5)" (( "(") (binary_expression "uVar10 <= uVar5" (identifier "uVar10") (<= "<=") (identifier "uVar5")) () ")")) (&& "&&") (parenthesized_expression "(uVar5 < uVar13)" (( "(") (binary_expression "uVar5 < uVar13" (identifier "uVar5") (< "<") (identifier "uVar13")) () ")"))) () ")")) (compound_statement "{\n      uVar14 = uVar26 - 2;\n      uVar5 = uVar5 + uVar10;\n    }" ({ "{") (expression_statement "uVar14 = uVar26 - 2;" (assignment_expression "uVar14 = uVar26 - 2" (identifier "uVar14") (= "=") (binary_expression "uVar26 - 2" (identifier "uVar26") (- "-") (number_literal "2"))) (; ";")) (expression_statement "uVar5 = uVar5 + uVar10;" (assignment_expression "uVar5 = uVar5 + uVar10" (identifier "uVar5") (= "=") (binary_expression "uVar5 + uVar10" (identifier "uVar5") (+ "+") (identifier "uVar10"))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (uVar9 == 0) {\n    trap(7);\n  }" (if "if") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    trap(7);\n  }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar27 = (uVar5 - uVar13) / uVar9;" (assignment_expression "uVar27 = (uVar5 - uVar13) / uVar9" (identifier "uVar27") (= "=") (binary_expression "(uVar5 - uVar13) / uVar9" (parenthesized_expression "(uVar5 - uVar13)" (( "(") (binary_expression "uVar5 - uVar13" (identifier "uVar5") (- "-") (identifier "uVar13")) () ")")) (/ "/") (identifier "uVar9"))) (; ";")) (expression_statement "uVar26 = (uVar10 & 0xffff) * uVar27;" (assignment_expression "uVar26 = (uVar10 & 0xffff) * uVar27" (identifier "uVar26") (= "=") (binary_expression "(uVar10 & 0xffff) * uVar27" (parenthesized_expression "(uVar10 & 0xffff)" (( "(") (binary_expression "uVar10 & 0xffff" (identifier "uVar10") (& "&") (number_literal "0xffff")) () ")")) (* "*") (identifier "uVar27"))) (; ";")) (expression_statement "uVar5 = (uVar5 - uVar13) % uVar9 << 0x10 | 0xffff;" (assignment_expression "uVar5 = (uVar5 - uVar13) % uVar9 << 0x10 | 0xffff" (identifier "uVar5") (= "=") (binary_expression "(uVar5 - uVar13) % uVar9 << 0x10 | 0xffff" (binary_expression "(uVar5 - uVar13) % uVar9 << 0x10" (binary_expression "(uVar5 - uVar13) % uVar9" (parenthesized_expression "(uVar5 - uVar13)" (( "(") (binary_expression "uVar5 - uVar13" (identifier "uVar5") (- "-") (identifier "uVar13")) () ")")) (% "%") (identifier "uVar9")) (<< "<<") (number_literal "0x10")) (| "|") (number_literal "0xffff"))) (; ";")) (expression_statement "uVar13 = uVar10 + uVar5;" (assignment_expression "uVar13 = uVar10 + uVar5" (identifier "uVar13") (= "=") (binary_expression "uVar10 + uVar5" (identifier "uVar10") (+ "+") (identifier "uVar5"))) (; ";")) (expression_statement "uVar9 = uVar27;" (assignment_expression "uVar9 = uVar27" (identifier "uVar9") (= "=") (identifier "uVar27")) (; ";")) (if_statement "if (((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26)) {\n    uVar9 = uVar27 - 2;\n  }" (if "if") (parenthesized_expression "(((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26))" (( "(") (binary_expression "((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26)" (parenthesized_expression "((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13))" (( "(") (binary_expression "(uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)" (parenthesized_expression "(uVar5 < uVar26)" (( "(") (binary_expression "uVar5 < uVar26" (identifier "uVar5") (< "<") (identifier "uVar26")) () ")")) (&& "&&") (parenthesized_expression "(uVar9 = uVar27 - 1, uVar10 <= uVar13)" (( "(") (comma_expression "uVar9 = uVar27 - 1, uVar10 <= uVar13" (assignment_expression "uVar9 = uVar27 - 1" (identifier "uVar9") (= "=") (binary_expression "uVar27 - 1" (identifier "uVar27") (- "-") (number_literal "1"))) (, ",") (binary_expression "uVar10 <= uVar13" (identifier "uVar10") (<= "<=") (identifier "uVar13"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(uVar13 < uVar26)" (( "(") (binary_expression "uVar13 < uVar26" (identifier "uVar13") (< "<") (identifier "uVar26")) () ")"))) () ")")) (compound_statement "{\n    uVar9 = uVar27 - 2;\n  }" ({ "{") (expression_statement "uVar9 = uVar27 - 2;" (assignment_expression "uVar9 = uVar27 - 2" (identifier "uVar9") (= "=") (binary_expression "uVar27 - 2" (identifier "uVar27") (- "-") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "uVar5 = puVar11[-1];" (assignment_expression "uVar5 = puVar11[-1]" (identifier "uVar5") (= "=") (subscript_expression "puVar11[-1]" (identifier "puVar11") ([ "[") (number_literal "-1") (] "]"))) (; ";")) (expression_statement "ppppppuVar6 = (undefined4 ******)(uVar14 << 0x10 | uVar9);" (assignment_expression "ppppppuVar6 = (undefined4 ******)(uVar14 << 0x10 | uVar9)" (identifier "ppppppuVar6") (= "=") (cast_expression "(undefined4 ******)(uVar14 << 0x10 | uVar9)" (( "(") (type_descriptor "undefined4 ******" (type_identifier "undefined4") (abstract_pointer_declarator "******" (* "*") (abstract_pointer_declarator "*****" (* "*") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))))))) () ")") (parenthesized_expression "(uVar14 << 0x10 | uVar9)" (( "(") (binary_expression "uVar14 << 0x10 | uVar9" (binary_expression "uVar14 << 0x10" (identifier "uVar14") (<< "<<") (number_literal "0x10")) (| "|") (identifier "uVar9")) () ")")))) (; ";")) (expression_statement "uVar9 = uVar10 * (int)ppppppuVar6 + uVar5;" (assignment_expression "uVar9 = uVar10 * (int)ppppppuVar6 + uVar5" (identifier "uVar9") (= "=") (binary_expression "uVar10 * (int)ppppppuVar6 + uVar5" (binary_expression "uVar10 * (int)ppppppuVar6" (identifier "uVar10") (* "*") (cast_expression "(int)ppppppuVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppppppuVar6"))) (+ "+") (identifier "uVar5"))) (; ";")) (expression_statement "lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);" (assignment_expression "lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6)" (identifier "lVar2") (= "=") (binary_expression "(ulonglong)uVar5 * ZEXT48(ppppppuVar6)" (cast_expression "(ulonglong)uVar5" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar5")) (* "*") (call_expression "ZEXT48(ppppppuVar6)" (identifier "ZEXT48") (argument_list "(ppppppuVar6)" (( "(") (identifier "ppppppuVar6") () ")"))))) (; ";")) (if_statement "if (uVar9 < uVar5) {\n    uVar13 = uVar9 < uVar10 ^ 1;\n    uVar14 = uVar10;\n    if (uVar13 == 0) {\n      uVar14 = 0;\n    }\n    ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));\n    uVar9 = (uVar9 - uVar10) - uVar14;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  }" (if "if") (parenthesized_expression "(uVar9 < uVar5)" (( "(") (binary_expression "uVar9 < uVar5" (identifier "uVar9") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n    uVar13 = uVar9 < uVar10 ^ 1;\n    uVar14 = uVar10;\n    if (uVar13 == 0) {\n      uVar14 = 0;\n    }\n    ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));\n    uVar9 = (uVar9 - uVar10) - uVar14;\n    lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);\n  }" ({ "{") (expression_statement "uVar13 = uVar9 < uVar10 ^ 1;" (assignment_expression "uVar13 = uVar9 < uVar10 ^ 1" (identifier "uVar13") (= "=") (binary_expression "uVar9 < uVar10 ^ 1" (binary_expression "uVar9 < uVar10" (identifier "uVar9") (< "<") (identifier "uVar10")) (^ "^") (number_literal "1"))) (; ";")) (expression_statement "uVar14 = uVar10;" (assignment_expression "uVar14 = uVar10" (identifier "uVar14") (= "=") (identifier "uVar10")) (; ";")) (if_statement "if (uVar13 == 0) {\n      uVar14 = 0;\n    }" (if "if") (parenthesized_expression "(uVar13 == 0)" (( "(") (binary_expression "uVar13 == 0" (identifier "uVar13") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar14 = 0;\n    }" ({ "{") (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" (identifier "uVar14") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));" (assignment_expression "ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13))" (identifier "ppppppuVar6") (= "=") (cast_expression "(undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13))" (( "(") (type_descriptor "undefined4 ******" (type_identifier "undefined4") (abstract_pointer_declarator "******" (* "*") (abstract_pointer_declarator "*****" (* "*") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))))))) () ")") (parenthesized_expression "((int)ppppppuVar6 + (-1 - uVar13))" (( "(") (binary_expression "(int)ppppppuVar6 + (-1 - uVar13)" (cast_expression "(int)ppppppuVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppppppuVar6")) (+ "+") (parenthesized_expression "(-1 - uVar13)" (( "(") (binary_expression "-1 - uVar13" (number_literal "-1") (- "-") (identifier "uVar13")) () ")"))) () ")")))) (; ";")) (expression_statement "uVar9 = (uVar9 - uVar10) - uVar14;" (assignment_expression "uVar9 = (uVar9 - uVar10) - uVar14" (identifier "uVar9") (= "=") (binary_expression "(uVar9 - uVar10) - uVar14" (parenthesized_expression "(uVar9 - uVar10)" (( "(") (binary_expression "uVar9 - uVar10" (identifier "uVar9") (- "-") (identifier "uVar10")) () ")")) (- "-") (identifier "uVar14"))) (; ";")) (expression_statement "lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);" (assignment_expression "lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6)" (identifier "lVar2") (= "=") (binary_expression "(ulonglong)uVar5 * ZEXT48(ppppppuVar6)" (cast_expression "(ulonglong)uVar5" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar5")) (* "*") (call_expression "ZEXT48(ppppppuVar6)" (identifier "ZEXT48") (argument_list "(ppppppuVar6)" (( "(") (identifier "ppppppuVar6") () ")"))))) (; ";")) (} "}"))) (expression_statement "uVar14 = (uint)((ulonglong)lVar2 >> 0x20);" (assignment_expression "uVar14 = (uint)((ulonglong)lVar2 >> 0x20)" (identifier "uVar14") (= "=") (call_expression "(uint)((ulonglong)lVar2 >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)lVar2 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar2")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "uVar9 = uVar9 + uVar14;" (assignment_expression "uVar9 = uVar9 + uVar14" (identifier "uVar9") (= "=") (binary_expression "uVar9 + uVar14" (identifier "uVar9") (+ "+") (identifier "uVar14"))) (; ";")) (expression_statement "local_2c = ppppppuVar6;" (assignment_expression "local_2c = ppppppuVar6" (identifier "local_2c") (= "=") (identifier "ppppppuVar6")) (; ";")) (if_statement "if ((uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)) {\n    if (uVar10 < uVar9) {\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }\n  }" (if "if") (parenthesized_expression "((uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9))" (( "(") (binary_expression "(uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)" (parenthesized_expression "(uVar9 < uVar14)" (( "(") (binary_expression "uVar9 < uVar14" (identifier "uVar9") (< "<") (identifier "uVar14")) () ")")) (&& "&&") (parenthesized_expression "(local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)" (( "(") (comma_expression "local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9" (assignment_expression "local_2c = (undefined4 *****)((int)ppppppuVar6 - 1)" (identifier "local_2c") (= "=") (cast_expression "(undefined4 *****)((int)ppppppuVar6 - 1)" (( "(") (type_descriptor "undefined4 *****" (type_identifier "undefined4") (abstract_pointer_declarator "*****" (* "*") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))))))) () ")") (parenthesized_expression "((int)ppppppuVar6 - 1)" (( "(") (binary_expression "(int)ppppppuVar6 - 1" (cast_expression "(int)ppppppuVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppppppuVar6")) (- "-") (number_literal "1")) () ")")))) (, ",") (binary_expression "uVar10 <= uVar9" (identifier "uVar10") (<= "<=") (identifier "uVar9"))) () ")"))) () ")")) (compound_statement "{\n    if (uVar10 < uVar9) {\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }\n  }" ({ "{") (if_statement "if (uVar10 < uVar9) {\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }\n    else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }" (if "if") (parenthesized_expression "(uVar10 < uVar9)" (( "(") (binary_expression "uVar10 < uVar9" (identifier "uVar10") (< "<") (identifier "uVar9")) () ")")) (compound_statement "{\n      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);\n    }" ({ "{") (expression_statement "local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);" (assignment_expression "local_2c = (undefined4 *****)((int)ppppppuVar6 - 2)" (identifier "local_2c") (= "=") (cast_expression "(undefined4 *****)((int)ppppppuVar6 - 2)" (( "(") (type_descriptor "undefined4 *****" (type_identifier "undefined4") (abstract_pointer_declarator "*****" (* "*") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))))))) () ")") (parenthesized_expression "((int)ppppppuVar6 - 2)" (( "(") (binary_expression "(int)ppppppuVar6 - 2" (cast_expression "(int)ppppppuVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppppppuVar6")) (- "-") (number_literal "2")) () ")")))) (; ";")) (} "}")) (else_clause "else if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }" (else "else") (if_statement "if (uVar5 <= (uint)lVar2) {\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }" (if "if") (parenthesized_expression "(uVar5 <= (uint)lVar2)" (( "(") (binary_expression "uVar5 <= (uint)lVar2" (identifier "uVar5") (<= "<=") (cast_expression "(uint)lVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar2"))) () ")")) (compound_statement "{\n      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);\n    }" ({ "{") (expression_statement "local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);" (assignment_expression "local_2c = (undefined4 ******)((int)ppppppuVar6 - 2)" (identifier "local_2c") (= "=") (cast_expression "(undefined4 ******)((int)ppppppuVar6 - 2)" (( "(") (type_descriptor "undefined4 ******" (type_identifier "undefined4") (abstract_pointer_declarator "******" (* "*") (abstract_pointer_declarator "*****" (* "*") (abstract_pointer_declarator "****" (* "*") (abstract_pointer_declarator "***" (* "*") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))))))) () ")") (parenthesized_expression "((int)ppppppuVar6 - 2)" (( "(") (binary_expression "(int)ppppppuVar6 - 2" (cast_expression "(int)ppppppuVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppppppuVar6")) (- "-") (number_literal "2")) () ")")))) (; ";")) (} "}"))))) (} "}"))) (expression_statement "iVar4 = param_3;" (assignment_expression "iVar4 = param_3" (identifier "iVar4") (= "=") (identifier "param_3")) (; ";")) (if_statement "if (param_5 < 200) {\n    local_48 = param_5;\n    local_44 = local_2c;\n    iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);\n  }\n  else if (param_5 < 2000) {\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }\n  else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" (if "if") (parenthesized_expression "(param_5 < 200)" (( "(") (binary_expression "param_5 < 200" (identifier "param_5") (< "<") (number_literal "200")) () ")")) (compound_statement "{\n    local_48 = param_5;\n    local_44 = local_2c;\n    iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);\n  }" ({ "{") (expression_statement "local_48 = param_5;" (assignment_expression "local_48 = param_5" (identifier "local_48") (= "=") (identifier "param_5")) (; ";")) (expression_statement "local_44 = local_2c;" (assignment_expression "local_44 = local_2c" (identifier "local_44") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);" (assignment_expression "iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1)" (parenthesized_expression "(*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)" (( "(") (pointer_expression "*(code *)PTR___gmpn_sbpi1_divappr_q_00097414" (* "*") (cast_expression "(code *)PTR___gmpn_sbpi1_divappr_q_00097414" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_sbpi1_divappr_q_00097414"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (} "}")) (else_clause "else if (param_5 < 2000) {\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }\n  else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" (else "else") (if_statement "if (param_5 < 2000) {\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }\n  else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" (if "if") (parenthesized_expression "(param_5 < 2000)" (( "(") (binary_expression "param_5 < 2000" (identifier "param_5") (< "<") (number_literal "2000")) () ")")) (compound_statement "{\n    local_44 = &local_2c;\n    local_48 = param_5;\n    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);\n    puVar8 = auStack_58;\n  }" ({ "{") (expression_statement "local_44 = &local_2c;" (assignment_expression "local_44 = &local_2c" (identifier "local_44") (= "=") (pointer_expression "&local_2c" (& "&") (identifier "local_2c"))) (; ";")) (expression_statement "local_48 = param_5;" (assignment_expression "local_48 = param_5" (identifier "local_48") (= "=") (identifier "param_5")) (; ";")) (expression_statement "iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);" (assignment_expression "iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1)" (parenthesized_expression "(*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)" (( "(") (pointer_expression "*(code *)PTR___gmpn_dcpi1_divappr_q_00097490" (* "*") (cast_expression "(code *)PTR___gmpn_dcpi1_divappr_q_00097490" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_dcpi1_divappr_q_00097490"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "puVar8 = auStack_58;" (assignment_expression "puVar8 = auStack_58" (identifier "puVar8") (= "=") (identifier "auStack_58")) (; ";")) (} "}")) (else_clause "else {\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" (else "else") (compound_statement "{\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);\n    local_28 = 0;\n    if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }\n    *(undefined1 **)(puVar24 + 0x14) = puVar8;\n    *(int *)(puVar24 + 0x10) = param_5;\n    param_6 = param_2;\n    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);\n    puVar8 = puVar24;\n    if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }\n  }" ({ "{") (expression_statement "iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);" (assignment_expression "iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0)" (parenthesized_expression "(*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)" (( "(") (pointer_expression "*(code *)PTR___gmpn_mu_divappr_q_itch_00097598" (* "*") (cast_expression "(code *)PTR___gmpn_mu_divappr_q_itch_00097598" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_mu_divappr_q_itch_00097598"))) () ")")) (argument_list "(param_3,param_5,0)" (( "(") (identifier "param_3") (, ",") (identifier "param_5") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((uint)(iVar7 * 4) < 0x7f01) {\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }\n    else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }" (if "if") (parenthesized_expression "((uint)(iVar7 * 4) < 0x7f01)" (( "(") (binary_expression "(uint)(iVar7 * 4) < 0x7f01" (call_expression "(uint)(iVar7 * 4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar7 * 4)" (( "(") (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4")) () ")"))) (< "<") (number_literal "0x7f01")) () ")")) (compound_statement "{\n      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);\n      puVar24 = auStack_58 + iVar7;\n      puVar8 = &stack0xffffffc0 + iVar7;\n    }" ({ "{") (expression_statement "iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);" (assignment_expression "iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8)" (identifier "iVar7") (= "=") (unary_expression "-(iVar7 * 4 + 7U & 0xfffffff8)" (- "-") (parenthesized_expression "(iVar7 * 4 + 7U & 0xfffffff8)" (( "(") (binary_expression "iVar7 * 4 + 7U & 0xfffffff8" (binary_expression "iVar7 * 4 + 7U" (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4")) (+ "+") (number_literal "7U")) (& "&") (number_literal "0xfffffff8")) () ")")))) (; ";")) (expression_statement "puVar24 = auStack_58 + iVar7;" (assignment_expression "puVar24 = auStack_58 + iVar7" (identifier "puVar24") (= "=") (binary_expression "auStack_58 + iVar7" (identifier "auStack_58") (+ "+") (identifier "iVar7"))) (; ";")) (expression_statement "puVar8 = &stack0xffffffc0 + iVar7;" (assignment_expression "puVar8 = &stack0xffffffc0 + iVar7" (identifier "puVar8") (= "=") (binary_expression "&stack0xffffffc0 + iVar7" (pointer_expression "&stack0xffffffc0" (& "&") (identifier "stack0xffffffc0")) (+ "+") (identifier "iVar7"))) (; ";")) (} "}")) (else_clause "else {\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }" (else "else") (compound_statement "{\n      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);\n    }" ({ "{") (expression_statement "puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);" (assignment_expression "puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28)" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28)" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)" (( "(") (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" (* "*") (cast_expression "(code *)PTR___gmp_tmp_reentrant_alloc_000972f0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmp_tmp_reentrant_alloc_000972f0"))) () ")")) (argument_list "(&local_28)" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) () ")"))))) (; ";")) (} "}")))) (expression_statement "*(undefined1 **)(puVar24 + 0x14) = puVar8;" (assignment_expression "*(undefined1 **)(puVar24 + 0x14) = puVar8" (pointer_expression "*(undefined1 **)(puVar24 + 0x14)" (* "*") (cast_expression "(undefined1 **)(puVar24 + 0x14)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar24 + 0x14)" (( "(") (binary_expression "puVar24 + 0x14" (identifier "puVar24") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "puVar8")) (; ";")) (expression_statement "*(int *)(puVar24 + 0x10) = param_5;" (assignment_expression "*(int *)(puVar24 + 0x10) = param_5" (pointer_expression "*(int *)(puVar24 + 0x10)" (* "*") (cast_expression "(int *)(puVar24 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar24 + 0x10)" (( "(") (binary_expression "puVar24 + 0x10" (identifier "puVar24") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "param_5")) (; ";")) (expression_statement "param_6 = param_2;" (assignment_expression "param_6 = param_2" (identifier "param_6") (= "=") (identifier "param_2")) (; ";")) (expression_statement "iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);" (assignment_expression "iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1)" (parenthesized_expression "(*(code *)PTR___gmpn_mu_divappr_q_00097410)" (( "(") (pointer_expression "*(code *)PTR___gmpn_mu_divappr_q_00097410" (* "*") (cast_expression "(code *)PTR___gmpn_mu_divappr_q_00097410" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmpn_mu_divappr_q_00097410"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "puVar8 = puVar24;" (assignment_expression "puVar8 = puVar24" (identifier "puVar8") (= "=") (identifier "puVar24")) (; ";")) (if_statement "if (local_28 != 0) {\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }" (if "if") (parenthesized_expression "(local_28 != 0)" (( "(") (binary_expression "local_28 != 0" (identifier "local_28") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();\n    }" ({ "{") (expression_statement "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)();" (call_expression "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)()" (parenthesized_expression "(*(code *)PTR___gmp_tmp_reentrant_free_00097614)" (( "(") (pointer_expression "*(code *)PTR___gmp_tmp_reentrant_free_00097614" (* "*") (cast_expression "(code *)PTR___gmp_tmp_reentrant_free_00097614" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmp_tmp_reentrant_free_00097614"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}")))))) (expression_statement "puVar11 = *(uint **)puVar3;" (assignment_expression "puVar11 = *(uint **)puVar3" (identifier "puVar11") (= "=") (pointer_expression "*(uint **)puVar3" (* "*") (cast_expression "(uint **)puVar3" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3")))) (; ";")) (expression_statement "piVar15 = (int *)(param_1 + (param_3 - param_5) * 4);" (assignment_expression "piVar15 = (int *)(param_1 + (param_3 - param_5) * 4)" (identifier "piVar15") (= "=") (cast_expression "(int *)(param_1 + (param_3 - param_5) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + (param_3 - param_5) * 4)" (( "(") (binary_expression "param_1 + (param_3 - param_5) * 4" (identifier "param_1") (+ "+") (binary_expression "(param_3 - param_5) * 4" (parenthesized_expression "(param_3 - param_5)" (( "(") (binary_expression "param_3 - param_5" (identifier "param_3") (- "-") (identifier "param_5")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "*piVar15 = iVar7;" (assignment_expression "*piVar15 = iVar7" (pointer_expression "*piVar15" (* "*") (identifier "piVar15")) (= "=") (identifier "iVar7")) (; ";")) (if_statement "if (local_24 == puVar11) {\n    return iVar7;\n  }" (if "if") (parenthesized_expression "(local_24 == puVar11)" (( "(") (binary_expression "local_24 == puVar11" (identifier "local_24") (== "==") (identifier "puVar11")) () ")")) (compound_statement "{\n    return iVar7;\n  }" ({ "{") (return_statement "return iVar7;" (return "return") (identifier "iVar7") (; ";")) (} "}"))) (expression_statement "pcVar25 = FUN_00045944;" (assignment_expression "pcVar25 = FUN_00045944" (identifier "pcVar25") (= "=") (identifier "FUN_00045944")) (; ";")) (expression_statement "puVar11 = local_24;" (assignment_expression "puVar11 = local_24" (identifier "puVar11") (= "=") (identifier "local_24")) (; ";")) (expression_statement "puVar21 = PTR___stack_chk_fail_000974d0;" (assignment_expression "puVar21 = PTR___stack_chk_fail_000974d0" (identifier "puVar21") (= "=") (identifier "PTR___stack_chk_fail_000974d0")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000974d0)();" (call_expression "(*(code *)PTR___stack_chk_fail_000974d0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000974d0)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000974d0" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000974d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000974d0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(undefined **)(puVar8 + -0x40) = puVar21 + 0x596fc;" (assignment_expression "*(undefined **)(puVar8 + -0x40) = puVar21 + 0x596fc" (pointer_expression "*(undefined **)(puVar8 + -0x40)" (* "*") (cast_expression "(undefined **)(puVar8 + -0x40)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x40)" (( "(") (binary_expression "puVar8 + -0x40" (identifier "puVar8") (+ "+") (number_literal "-0x40")) () ")")))) (= "=") (binary_expression "puVar21 + 0x596fc" (identifier "puVar21") (+ "+") (number_literal "0x596fc"))) (; ";")) (expression_statement "*(int **)(puVar8 + -0x20) = piVar15;" (assignment_expression "*(int **)(puVar8 + -0x20) = piVar15" (pointer_expression "*(int **)(puVar8 + -0x20)" (* "*") (cast_expression "(int **)(puVar8 + -0x20)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x20)" (( "(") (binary_expression "puVar8 + -0x20" (identifier "puVar8") (+ "+") (number_literal "-0x20")) () ")")))) (= "=") (identifier "piVar15")) (; ";")) (expression_statement "*(undefined **)(puVar8 + -0x24) = puVar3;" (assignment_expression "*(undefined **)(puVar8 + -0x24) = puVar3" (pointer_expression "*(undefined **)(puVar8 + -0x24)" (* "*") (cast_expression "(undefined **)(puVar8 + -0x24)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x24)" (( "(") (binary_expression "puVar8 + -0x24" (identifier "puVar8") (+ "+") (number_literal "-0x24")) () ")")))) (= "=") (identifier "puVar3")) (; ";")) (expression_statement "*(int *)(puVar8 + -0x28) = param_1;" (assignment_expression "*(int *)(puVar8 + -0x28) = param_1" (pointer_expression "*(int *)(puVar8 + -0x28)" (* "*") (cast_expression "(int *)(puVar8 + -0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x28)" (( "(") (binary_expression "puVar8 + -0x28" (identifier "puVar8") (+ "+") (number_literal "-0x28")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(code **)(puVar8 + -4) = pcVar25;" (assignment_expression "*(code **)(puVar8 + -4) = pcVar25" (pointer_expression "*(code **)(puVar8 + -4)" (* "*") (cast_expression "(code **)(puVar8 + -4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -4)" (( "(") (binary_expression "puVar8 + -4" (identifier "puVar8") (+ "+") (number_literal "-4")) () ")")))) (= "=") (identifier "pcVar25")) (; ";")) (expression_statement "*(undefined1 **)(puVar8 + -8) = auStack_58;" (assignment_expression "*(undefined1 **)(puVar8 + -8) = auStack_58" (pointer_expression "*(undefined1 **)(puVar8 + -8)" (* "*") (cast_expression "(undefined1 **)(puVar8 + -8)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -8)" (( "(") (binary_expression "puVar8 + -8" (identifier "puVar8") (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "auStack_58")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0xc) = unaff_s7;" (assignment_expression "*(undefined4 *)(puVar8 + -0xc) = unaff_s7" (pointer_expression "*(undefined4 *)(puVar8 + -0xc)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0xc)" (( "(") (binary_expression "puVar8 + -0xc" (identifier "puVar8") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "unaff_s7")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x10) = unaff_s6;" (assignment_expression "*(undefined4 *)(puVar8 + -0x10) = unaff_s6" (pointer_expression "*(undefined4 *)(puVar8 + -0x10)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x10)" (( "(") (binary_expression "puVar8 + -0x10" (identifier "puVar8") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "unaff_s6")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = unaff_s5;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = unaff_s5" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x14)" (( "(") (binary_expression "puVar8 + -0x14" (identifier "puVar8") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (identifier "unaff_s5")) (; ";")) (expression_statement "*(uint **)(puVar8 + -0x18) = param_2;" (assignment_expression "*(uint **)(puVar8 + -0x18) = param_2" (pointer_expression "*(uint **)(puVar8 + -0x18)" (* "*") (cast_expression "(uint **)(puVar8 + -0x18)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x18)" (( "(") (binary_expression "puVar8 + -0x18" (identifier "puVar8") (+ "+") (number_literal "-0x18")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(int *)(puVar8 + -0x1c) = param_5;" (assignment_expression "*(int *)(puVar8 + -0x1c) = param_5" (pointer_expression "*(int *)(puVar8 + -0x1c)" (* "*") (cast_expression "(int *)(puVar8 + -0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x1c)" (( "(") (binary_expression "puVar8 + -0x1c" (identifier "puVar8") (+ "+") (number_literal "-0x1c")) () ")")))) (= "=") (identifier "param_5")) (; ";")) (expression_statement "*(int *)(puVar8 + 0xc) = param_4;" (assignment_expression "*(int *)(puVar8 + 0xc) = param_4" (pointer_expression "*(int *)(puVar8 + 0xc)" (* "*") (cast_expression "(int *)(puVar8 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 0xc)" (( "(") (binary_expression "puVar8 + 0xc" (identifier "puVar8") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (expression_statement "puVar16 = *(uint **)(puVar8 + 0x10);" (assignment_expression "puVar16 = *(uint **)(puVar8 + 0x10)" (identifier "puVar16") (= "=") (pointer_expression "*(uint **)(puVar8 + 0x10)" (* "*") (cast_expression "(uint **)(puVar8 + 0x10)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + 0x10)" (( "(") (binary_expression "puVar8 + 0x10" (identifier "puVar8") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (iVar4 == 1) {\n    uVar10 = *param_6;\n    uVar9 = FUN_00045580(param_6,param_6[1]);\n    uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;\n    if (uVar9 == 0) {\n      trap(7);\n    }\n    uVar5 = uVar14 / uVar9;\n    uVar5 = uVar5 - (uVar5 >> 0x10);\n    uVar14 = uVar14 - uVar9 * uVar5;\n    uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);\n    uVar9 = uVar5 | uVar9 << 0x10;\n    iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);\n    uVar10 = uVar10 - uVar5 * uVar5;\n    if (iVar4 == -1) {\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }\n    else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }\n    return iVar4;\n  }" (if "if") (parenthesized_expression "(iVar4 == 1)" (( "(") (binary_expression "iVar4 == 1" (identifier "iVar4") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    uVar10 = *param_6;\n    uVar9 = FUN_00045580(param_6,param_6[1]);\n    uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;\n    if (uVar9 == 0) {\n      trap(7);\n    }\n    uVar5 = uVar14 / uVar9;\n    uVar5 = uVar5 - (uVar5 >> 0x10);\n    uVar14 = uVar14 - uVar9 * uVar5;\n    uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);\n    uVar9 = uVar5 | uVar9 << 0x10;\n    iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);\n    uVar10 = uVar10 - uVar5 * uVar5;\n    if (iVar4 == -1) {\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }\n    else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }\n    return iVar4;\n  }" ({ "{") (expression_statement "uVar10 = *param_6;" (assignment_expression "uVar10 = *param_6" (identifier "uVar10") (= "=") (pointer_expression "*param_6" (* "*") (identifier "param_6"))) (; ";")) (expression_statement "uVar9 = FUN_00045580(param_6,param_6[1]);" (assignment_expression "uVar9 = FUN_00045580(param_6,param_6[1])" (identifier "uVar9") (= "=") (call_expression "FUN_00045580(param_6,param_6[1])" (identifier "FUN_00045580") (argument_list "(param_6,param_6[1])" (( "(") (identifier "param_6") (, ",") (subscript_expression "param_6[1]" (identifier "param_6") ([ "[") (number_literal "1") (] "]")) () ")")))) (; ";")) (expression_statement "uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;" (assignment_expression "uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000" (identifier "uVar14") (= "=") (binary_expression "(uVar10 >> 0x11) + *param_6 * 0x8000" (parenthesized_expression "(uVar10 >> 0x11)" (( "(") (binary_expression "uVar10 >> 0x11" (identifier "uVar10") (>> ">>") (number_literal "0x11")) () ")")) (+ "+") (binary_expression "*param_6 * 0x8000" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (* "*") (number_literal "0x8000")))) (; ";")) (if_statement "if (uVar9 == 0) {\n      trap(7);\n    }" (if "if") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      trap(7);\n    }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar5 = uVar14 / uVar9;" (assignment_expression "uVar5 = uVar14 / uVar9" (identifier "uVar5") (= "=") (binary_expression "uVar14 / uVar9" (identifier "uVar14") (/ "/") (identifier "uVar9"))) (; ";")) (expression_statement "uVar5 = uVar5 - (uVar5 >> 0x10);" (assignment_expression "uVar5 = uVar5 - (uVar5 >> 0x10)" (identifier "uVar5") (= "=") (binary_expression "uVar5 - (uVar5 >> 0x10)" (identifier "uVar5") (- "-") (parenthesized_expression "(uVar5 >> 0x10)" (( "(") (binary_expression "uVar5 >> 0x10" (identifier "uVar5") (>> ">>") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "uVar14 = uVar14 - uVar9 * uVar5;" (assignment_expression "uVar14 = uVar14 - uVar9 * uVar5" (identifier "uVar14") (= "=") (binary_expression "uVar14 - uVar9 * uVar5" (identifier "uVar14") (- "-") (binary_expression "uVar9 * uVar5" (identifier "uVar9") (* "*") (identifier "uVar5")))) (; ";")) (expression_statement "uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);" (assignment_expression "uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff)" (identifier "uVar10") (= "=") (binary_expression "uVar14 * 0x20000 + (uVar10 & 0x1ffff)" (binary_expression "uVar14 * 0x20000" (identifier "uVar14") (* "*") (number_literal "0x20000")) (+ "+") (parenthesized_expression "(uVar10 & 0x1ffff)" (( "(") (binary_expression "uVar10 & 0x1ffff" (identifier "uVar10") (& "&") (number_literal "0x1ffff")) () ")")))) (; ";")) (expression_statement "uVar9 = uVar5 | uVar9 << 0x10;" (assignment_expression "uVar9 = uVar5 | uVar9 << 0x10" (identifier "uVar9") (= "=") (binary_expression "uVar5 | uVar9 << 0x10" (identifier "uVar5") (| "|") (binary_expression "uVar9 << 0x10" (identifier "uVar9") (<< "<<") (number_literal "0x10")))) (; ";")) (expression_statement "iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);" (assignment_expression "iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5)" (identifier "iVar4") (= "=") (binary_expression "(uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5)" (parenthesized_expression "(uVar14 >> 0xf)" (( "(") (binary_expression "uVar14 >> 0xf" (identifier "uVar14") (>> ">>") (number_literal "0xf")) () ")")) (- "-") (call_expression "(uint)(uVar10 < uVar5 * uVar5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar10 < uVar5 * uVar5)" (( "(") (binary_expression "uVar10 < uVar5 * uVar5" (identifier "uVar10") (< "<") (binary_expression "uVar5 * uVar5" (identifier "uVar5") (* "*") (identifier "uVar5"))) () ")"))))) (; ";")) (expression_statement "uVar10 = uVar10 - uVar5 * uVar5;" (assignment_expression "uVar10 = uVar10 - uVar5 * uVar5" (identifier "uVar10") (= "=") (binary_expression "uVar10 - uVar5 * uVar5" (identifier "uVar10") (- "-") (binary_expression "uVar5 * uVar5" (identifier "uVar5") (* "*") (identifier "uVar5")))) (; ";")) (if_statement "if (iVar4 == -1) {\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }\n    else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }" (if "if") (parenthesized_expression "(iVar4 == -1)" (( "(") (binary_expression "iVar4 == -1" (identifier "iVar4") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      uVar10 = uVar9 + uVar10;\n      uVar5 = uVar9 - 1;\n      uVar14 = uVar10 + uVar5;\n      *param_6 = uVar14;\n      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);\n      *puVar11 = uVar5;\n    }" ({ "{") (expression_statement "uVar10 = uVar9 + uVar10;" (assignment_expression "uVar10 = uVar9 + uVar10" (identifier "uVar10") (= "=") (binary_expression "uVar9 + uVar10" (identifier "uVar9") (+ "+") (identifier "uVar10"))) (; ";")) (expression_statement "uVar5 = uVar9 - 1;" (assignment_expression "uVar5 = uVar9 - 1" (identifier "uVar5") (= "=") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1"))) (; ";")) (expression_statement "uVar14 = uVar10 + uVar5;" (assignment_expression "uVar14 = uVar10 + uVar5" (identifier "uVar14") (= "=") (binary_expression "uVar10 + uVar5" (identifier "uVar10") (+ "+") (identifier "uVar5"))) (; ";")) (expression_statement "*param_6 = uVar14;" (assignment_expression "*param_6 = uVar14" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (identifier "uVar14")) (; ";")) (expression_statement "iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);" (assignment_expression "iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1)" (identifier "iVar4") (= "=") (binary_expression "(uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1)" (call_expression "(uint)(uVar14 < uVar5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar14 < uVar5)" (( "(") (binary_expression "uVar14 < uVar5" (identifier "uVar14") (< "<") (identifier "uVar5")) () ")"))) (+ "+") (parenthesized_expression "((uVar10 < uVar9) - 1)" (( "(") (binary_expression "(uVar10 < uVar9) - 1" (parenthesized_expression "(uVar10 < uVar9)" (( "(") (binary_expression "uVar10 < uVar9" (identifier "uVar10") (< "<") (identifier "uVar9")) () ")")) (- "-") (number_literal "1")) () ")")))) (; ";")) (expression_statement "*puVar11 = uVar5;" (assignment_expression "*puVar11 = uVar5" (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) (= "=") (identifier "uVar5")) (; ";")) (} "}")) (else_clause "else {\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }" (else "else") (compound_statement "{\n      *param_6 = uVar10;\n      *puVar11 = uVar9;\n    }" ({ "{") (expression_statement "*param_6 = uVar10;" (assignment_expression "*param_6 = uVar10" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (identifier "uVar10")) (; ";")) (expression_statement "*puVar11 = uVar9;" (assignment_expression "*puVar11 = uVar9" (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) (= "=") (identifier "uVar9")) (; ";")) (} "}")))) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}"))) (expression_statement "*(uint **)(puVar8 + -0x50) = puVar16;" (assignment_expression "*(uint **)(puVar8 + -0x50) = puVar16" (pointer_expression "*(uint **)(puVar8 + -0x50)" (* "*") (cast_expression "(uint **)(puVar8 + -0x50)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x50)" (( "(") (binary_expression "puVar8 + -0x50" (identifier "puVar8") (+ "+") (number_literal "-0x50")) () ")")))) (= "=") (identifier "puVar16")) (; ";")) (expression_statement "iVar17 = iVar4 / 2;" (assignment_expression "iVar17 = iVar4 / 2" (identifier "iVar17") (= "=") (binary_expression "iVar4 / 2" (identifier "iVar4") (/ "/") (number_literal "2"))) (; ";")) (expression_statement "iVar19 = iVar4 - iVar17;" (assignment_expression "iVar19 = iVar4 - iVar17" (identifier "iVar19") (= "=") (binary_expression "iVar4 - iVar17" (identifier "iVar4") (- "-") (identifier "iVar17"))) (; ";")) (expression_statement "puVar20 = param_6 + iVar17 * 2;" (assignment_expression "puVar20 = param_6 + iVar17 * 2" (identifier "puVar20") (= "=") (binary_expression "param_6 + iVar17 * 2" (identifier "param_6") (+ "+") (binary_expression "iVar17 * 2" (identifier "iVar17") (* "*") (number_literal "2")))) (; ";")) (expression_statement "puVar18 = puVar11 + iVar17;" (assignment_expression "puVar18 = puVar11 + iVar17" (identifier "puVar18") (= "=") (binary_expression "puVar11 + iVar17" (identifier "puVar11") (+ "+") (identifier "iVar17"))) (; ";")) (expression_statement "iVar7 = FUN_00045944(puVar18,puVar20,iVar19,0);" (assignment_expression "iVar7 = FUN_00045944(puVar18,puVar20,iVar19,0)" (identifier "iVar7") (= "=") (call_expression "FUN_00045944(puVar18,puVar20,iVar19,0)" (identifier "FUN_00045944") (argument_list "(puVar18,puVar20,iVar19,0)" (( "(") (identifier "puVar18") (, ",") (identifier "puVar20") (, ",") (identifier "iVar19") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar22 = *(int *)(puVar8 + -0x40);" (assignment_expression "iVar22 = *(int *)(puVar8 + -0x40)" (identifier "iVar22") (= "=") (pointer_expression "*(int *)(puVar8 + -0x40)" (* "*") (cast_expression "(int *)(puVar8 + -0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x40)" (( "(") (binary_expression "puVar8 + -0x40" (identifier "puVar8") (+ "+") (number_literal "-0x40")) () ")"))))) (; ";")) (if_statement "if (iVar7 != 0) {\n    pcVar25 = *(code **)(iVar22 + -0x7b2c);\n    *(int *)(puVar8 + -0x34) = iVar7;\n    (*pcVar25)(puVar20,puVar20,puVar18,iVar19);\n    iVar22 = *(int *)(puVar8 + -0x40);\n    iVar7 = *(int *)(puVar8 + -0x34);\n  }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar25 = *(code **)(iVar22 + -0x7b2c);\n    *(int *)(puVar8 + -0x34) = iVar7;\n    (*pcVar25)(puVar20,puVar20,puVar18,iVar19);\n    iVar22 = *(int *)(puVar8 + -0x40);\n    iVar7 = *(int *)(puVar8 + -0x34);\n  }" ({ "{") (expression_statement "pcVar25 = *(code **)(iVar22 + -0x7b2c);" (assignment_expression "pcVar25 = *(code **)(iVar22 + -0x7b2c)" (identifier "pcVar25") (= "=") (pointer_expression "*(code **)(iVar22 + -0x7b2c)" (* "*") (cast_expression "(code **)(iVar22 + -0x7b2c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar22 + -0x7b2c)" (( "(") (binary_expression "iVar22 + -0x7b2c" (identifier "iVar22") (+ "+") (number_literal "-0x7b2c")) () ")"))))) (; ";")) (expression_statement "*(int *)(puVar8 + -0x34) = iVar7;" (assignment_expression "*(int *)(puVar8 + -0x34) = iVar7" (pointer_expression "*(int *)(puVar8 + -0x34)" (* "*") (cast_expression "(int *)(puVar8 + -0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x34)" (( "(") (binary_expression "puVar8 + -0x34" (identifier "puVar8") (+ "+") (number_literal "-0x34")) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "(*pcVar25)(puVar20,puVar20,puVar18,iVar19);" (call_expression "(*pcVar25)(puVar20,puVar20,puVar18,iVar19)" (parenthesized_expression "(*pcVar25)" (( "(") (pointer_expression "*pcVar25" (* "*") (identifier "pcVar25")) () ")")) (argument_list "(puVar20,puVar20,puVar18,iVar19)" (( "(") (identifier "puVar20") (, ",") (identifier "puVar20") (, ",") (identifier "puVar18") (, ",") (identifier "iVar19") () ")"))) (; ";")) (expression_statement "iVar22 = *(int *)(puVar8 + -0x40);" (assignment_expression "iVar22 = *(int *)(puVar8 + -0x40)" (identifier "iVar22") (= "=") (pointer_expression "*(int *)(puVar8 + -0x40)" (* "*") (cast_expression "(int *)(puVar8 + -0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x40)" (( "(") (binary_expression "puVar8 + -0x40" (identifier "puVar8") (+ "+") (number_literal "-0x40")) () ")"))))) (; ";")) (expression_statement "iVar7 = *(int *)(puVar8 + -0x34);" (assignment_expression "iVar7 = *(int *)(puVar8 + -0x34)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(puVar8 + -0x34)" (* "*") (cast_expression "(int *)(puVar8 + -0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x34)" (( "(") (binary_expression "puVar8 + -0x34" (identifier "puVar8") (+ "+") (number_literal "-0x34")) () ")"))))) (; ";")) (} "}"))) (expression_statement "puVar12 = param_6 + iVar17;" (assignment_expression "puVar12 = param_6 + iVar17" (identifier "puVar12") (= "=") (binary_expression "param_6 + iVar17" (identifier "param_6") (+ "+") (identifier "iVar17"))) (; ";")) (expression_statement "pcVar25 = *(code **)(iVar22 + -0x7a30);" (assignment_expression "pcVar25 = *(code **)(iVar22 + -0x7a30)" (identifier "pcVar25") (= "=") (pointer_expression "*(code **)(iVar22 + -0x7a30)" (* "*") (cast_expression "(code **)(iVar22 + -0x7a30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar22 + -0x7a30)" (( "(") (binary_expression "iVar22 + -0x7a30" (identifier "iVar22") (+ "+") (number_literal "-0x7a30")) () ")"))))) (; ";")) (expression_statement "*(int *)(puVar8 + -0x34) = iVar7;" (assignment_expression "*(int *)(puVar8 + -0x34) = iVar7" (pointer_expression "*(int *)(puVar8 + -0x34)" (* "*") (cast_expression "(int *)(puVar8 + -0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x34)" (( "(") (binary_expression "puVar8 + -0x34" (identifier "puVar8") (+ "+") (number_literal "-0x34")) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "*(uint **)(puVar8 + -0x30) = puVar12;" (assignment_expression "*(uint **)(puVar8 + -0x30) = puVar12" (pointer_expression "*(uint **)(puVar8 + -0x30)" (* "*") (cast_expression "(uint **)(puVar8 + -0x30)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x30)" (( "(") (binary_expression "puVar8 + -0x30" (identifier "puVar8") (+ "+") (number_literal "-0x30")) () ")")))) (= "=") (identifier "puVar12")) (; ";")) (expression_statement "*(int *)(puVar8 + -0x48) = iVar19;" (assignment_expression "*(int *)(puVar8 + -0x48) = iVar19" (pointer_expression "*(int *)(puVar8 + -0x48)" (* "*") (cast_expression "(int *)(puVar8 + -0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x48)" (( "(") (binary_expression "puVar8 + -0x48" (identifier "puVar8") (+ "+") (number_literal "-0x48")) () ")")))) (= "=") (identifier "iVar19")) (; ";")) (expression_statement "*(uint **)(puVar8 + -0x4c) = puVar18;" (assignment_expression "*(uint **)(puVar8 + -0x4c) = puVar18" (pointer_expression "*(uint **)(puVar8 + -0x4c)" (* "*") (cast_expression "(uint **)(puVar8 + -0x4c)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x4c)" (( "(") (binary_expression "puVar8 + -0x4c" (identifier "puVar8") (+ "+") (number_literal "-0x4c")) () ")")))) (= "=") (identifier "puVar18")) (; ";")) (expression_statement "*(int *)(puVar8 + -0x50) = iVar4;" (assignment_expression "*(int *)(puVar8 + -0x50) = iVar4" (pointer_expression "*(int *)(puVar8 + -0x50)" (* "*") (cast_expression "(int *)(puVar8 + -0x50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x50)" (( "(") (binary_expression "puVar8 + -0x50" (identifier "puVar8") (+ "+") (number_literal "-0x50")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "(*pcVar25)(puVar16,puVar12,0,puVar12);" (call_expression "(*pcVar25)(puVar16,puVar12,0,puVar12)" (parenthesized_expression "(*pcVar25)" (( "(") (pointer_expression "*pcVar25" (* "*") (identifier "pcVar25")) () ")")) (argument_list "(puVar16,puVar12,0,puVar12)" (( "(") (identifier "puVar16") (, ",") (identifier "puVar12") (, ",") (number_literal "0") (, ",") (identifier "puVar12") () ")"))) (; ";")) (expression_statement "uVar9 = *puVar16;" (assignment_expression "uVar9 = *puVar16" (identifier "uVar9") (= "=") (pointer_expression "*puVar16" (* "*") (identifier "puVar16"))) (; ";")) (expression_statement "pcVar25 = *(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0);" (assignment_expression "pcVar25 = *(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0)" (identifier "pcVar25") (= "=") (pointer_expression "*(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0)" (* "*") (cast_expression "(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(puVar8 + -0x40) + -0x7ae0)" (( "(") (binary_expression "*(int *)(puVar8 + -0x40) + -0x7ae0" (pointer_expression "*(int *)(puVar8 + -0x40)" (* "*") (cast_expression "(int *)(puVar8 + -0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x40)" (( "(") (binary_expression "puVar8 + -0x40" (identifier "puVar8") (+ "+") (number_literal "-0x40")) () ")")))) (+ "+") (number_literal "-0x7ae0")) () ")"))))) (; ";")) (expression_statement "*(uint *)(puVar8 + -0x34) = *(int *)(puVar8 + -0x34) + puVar16[iVar17];" (assignment_expression "*(uint *)(puVar8 + -0x34) = *(int *)(puVar8 + -0x34) + puVar16[iVar17]" (pointer_expression "*(uint *)(puVar8 + -0x34)" (* "*") (cast_expression "(uint *)(puVar8 + -0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x34)" (( "(") (binary_expression "puVar8 + -0x34" (identifier "puVar8") (+ "+") (number_literal "-0x34")) () ")")))) (= "=") (binary_expression "*(int *)(puVar8 + -0x34) + puVar16[iVar17]" (pointer_expression "*(int *)(puVar8 + -0x34)" (* "*") (cast_expression "(int *)(puVar8 + -0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x34)" (( "(") (binary_expression "puVar8 + -0x34" (identifier "puVar8") (+ "+") (number_literal "-0x34")) () ")")))) (+ "+") (subscript_expression "puVar16[iVar17]" (identifier "puVar16") ([ "[") (identifier "iVar17") (] "]")))) (; ";")) (expression_statement "(*pcVar25)(puVar11,puVar16,iVar17,1);" (call_expression "(*pcVar25)(puVar11,puVar16,iVar17,1)" (parenthesized_expression "(*pcVar25)" (( "(") (pointer_expression "*pcVar25" (* "*") (identifier "pcVar25")) () ")")) (argument_list "(puVar11,puVar16,iVar17,1)" (( "(") (identifier "puVar11") (, ",") (identifier "puVar16") (, ",") (identifier "iVar17") (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "uVar14 = *(uint *)(puVar8 + -0x34);" (assignment_expression "uVar14 = *(uint *)(puVar8 + -0x34)" (identifier "uVar14") (= "=") (pointer_expression "*(uint *)(puVar8 + -0x34)" (* "*") (cast_expression "(uint *)(puVar8 + -0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x34)" (( "(") (binary_expression "puVar8 + -0x34" (identifier "puVar8") (+ "+") (number_literal "-0x34")) () ")"))))) (; ";")) (expression_statement "iVar7 = *(int *)(puVar8 + -0x40);" (assignment_expression "iVar7 = *(int *)(puVar8 + -0x40)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(puVar8 + -0x40)" (* "*") (cast_expression "(int *)(puVar8 + -0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x40)" (( "(") (binary_expression "puVar8 + -0x40" (identifier "puVar8") (+ "+") (number_literal "-0x40")) () ")"))))) (; ";")) (expression_statement "puVar11[iVar17 + -1] = puVar11[iVar17 + -1] | uVar14 << 0x1f;" (assignment_expression "puVar11[iVar17 + -1] = puVar11[iVar17 + -1] | uVar14 << 0x1f" (subscript_expression "puVar11[iVar17 + -1]" (identifier "puVar11") ([ "[") (binary_expression "iVar17 + -1" (identifier "iVar17") (+ "+") (number_literal "-1")) (] "]")) (= "=") (binary_expression "puVar11[iVar17 + -1] | uVar14 << 0x1f" (subscript_expression "puVar11[iVar17 + -1]" (identifier "puVar11") ([ "[") (binary_expression "iVar17 + -1" (identifier "iVar17") (+ "+") (number_literal "-1")) (] "]")) (| "|") (binary_expression "uVar14 << 0x1f" (identifier "uVar14") (<< "<<") (number_literal "0x1f")))) (; ";")) (expression_statement "uVar10 = *puVar11;" (assignment_expression "uVar10 = *puVar11" (identifier "uVar10") (= "=") (pointer_expression "*puVar11" (* "*") (identifier "puVar11"))) (; ";")) (expression_statement "*(uint *)(puVar8 + -0x2c) = *(uint *)(puVar8 + 0xc) & uVar10;" (assignment_expression "*(uint *)(puVar8 + -0x2c) = *(uint *)(puVar8 + 0xc) & uVar10" (pointer_expression "*(uint *)(puVar8 + -0x2c)" (* "*") (cast_expression "(uint *)(puVar8 + -0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x2c)" (( "(") (binary_expression "puVar8 + -0x2c" (identifier "puVar8") (+ "+") (number_literal "-0x2c")) () ")")))) (= "=") (binary_expression "*(uint *)(puVar8 + 0xc) & uVar10" (pointer_expression "*(uint *)(puVar8 + 0xc)" (* "*") (cast_expression "(uint *)(puVar8 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 0xc)" (( "(") (binary_expression "puVar8 + 0xc" (identifier "puVar8") (+ "+") (number_literal "0xc")) () ")")))) (& "&") (identifier "uVar10"))) (; ";")) (if_statement "if ((*(uint *)(puVar8 + 0xc) & uVar10) == 0) {\n    uVar14 = uVar14 >> 1;\n    if ((uVar9 & 1) == 0) {\n      iVar22 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }\n    pcVar25 = *(code **)(iVar7 + -0x7cac);\n    *(uint *)(puVar8 + -0x34) = uVar14;\n    (*pcVar25)(param_6 + iVar4,puVar11,iVar17);\n    iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);\n    uVar10 = *(uint *)(puVar8 + -0x34);\n    iVar23 = *(int *)(puVar8 + -0x40);\n    uVar9 = iVar7 + uVar10;\n    if (iVar17 != iVar19) {\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }\n    iVar22 = iVar22 - uVar9;\n    if (iVar22 < 0) {\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }\n  }\n  else {\n    iVar22 = 1;\n  }" (if "if") (parenthesized_expression "((*(uint *)(puVar8 + 0xc) & uVar10) == 0)" (( "(") (binary_expression "(*(uint *)(puVar8 + 0xc) & uVar10) == 0" (parenthesized_expression "(*(uint *)(puVar8 + 0xc) & uVar10)" (( "(") (binary_expression "*(uint *)(puVar8 + 0xc) & uVar10" (pointer_expression "*(uint *)(puVar8 + 0xc)" (* "*") (cast_expression "(uint *)(puVar8 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 0xc)" (( "(") (binary_expression "puVar8 + 0xc" (identifier "puVar8") (+ "+") (number_literal "0xc")) () ")")))) (& "&") (identifier "uVar10")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar14 = uVar14 >> 1;\n    if ((uVar9 & 1) == 0) {\n      iVar22 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }\n    pcVar25 = *(code **)(iVar7 + -0x7cac);\n    *(uint *)(puVar8 + -0x34) = uVar14;\n    (*pcVar25)(param_6 + iVar4,puVar11,iVar17);\n    iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);\n    uVar10 = *(uint *)(puVar8 + -0x34);\n    iVar23 = *(int *)(puVar8 + -0x40);\n    uVar9 = iVar7 + uVar10;\n    if (iVar17 != iVar19) {\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }\n    iVar22 = iVar22 - uVar9;\n    if (iVar22 < 0) {\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }\n  }" ({ "{") (expression_statement "uVar14 = uVar14 >> 1;" (assignment_expression "uVar14 = uVar14 >> 1" (identifier "uVar14") (= "=") (binary_expression "uVar14 >> 1" (identifier "uVar14") (>> ">>") (number_literal "1"))) (; ";")) (if_statement "if ((uVar9 & 1) == 0) {\n      iVar22 = 0;\n    }\n    else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }" (if "if") (parenthesized_expression "((uVar9 & 1) == 0)" (( "(") (binary_expression "(uVar9 & 1) == 0" (parenthesized_expression "(uVar9 & 1)" (( "(") (binary_expression "uVar9 & 1" (identifier "uVar9") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar22 = 0;\n    }" ({ "{") (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" (identifier "iVar22") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }" (else "else") (compound_statement "{\n      pcVar25 = *(code **)(iVar7 + -0x7d0c);\n      *(uint *)(puVar8 + -0x34) = uVar14;\n      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);\n      iVar7 = *(int *)(puVar8 + -0x40);\n      uVar14 = *(uint *)(puVar8 + -0x34);\n    }" ({ "{") (expression_statement "pcVar25 = *(code **)(iVar7 + -0x7d0c);" (assignment_expression "pcVar25 = *(code **)(iVar7 + -0x7d0c)" (identifier "pcVar25") (= "=") (pointer_expression "*(code **)(iVar7 + -0x7d0c)" (* "*") (cast_expression "(code **)(iVar7 + -0x7d0c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar7 + -0x7d0c)" (( "(") (binary_expression "iVar7 + -0x7d0c" (identifier "iVar7") (+ "+") (number_literal "-0x7d0c")) () ")"))))) (; ";")) (expression_statement "*(uint *)(puVar8 + -0x34) = uVar14;" (assignment_expression "*(uint *)(puVar8 + -0x34) = uVar14" (pointer_expression "*(uint *)(puVar8 + -0x34)" (* "*") (cast_expression "(uint *)(puVar8 + -0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x34)" (( "(") (binary_expression "puVar8 + -0x34" (identifier "puVar8") (+ "+") (number_literal "-0x34")) () ")")))) (= "=") (identifier "uVar14")) (; ";")) (expression_statement "iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19);" (assignment_expression "iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19)" (identifier "iVar22") (= "=") (call_expression "(*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19)" (parenthesized_expression "(*pcVar25)" (( "(") (pointer_expression "*pcVar25" (* "*") (identifier "pcVar25")) () ")")) (argument_list "(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,\n                          iVar19)" (( "(") (pointer_expression "*(undefined4 *)(puVar8 + -0x30)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x30)" (( "(") (binary_expression "puVar8 + -0x30" (identifier "puVar8") (+ "+") (number_literal "-0x30")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(puVar8 + -0x30)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x30)" (( "(") (binary_expression "puVar8 + -0x30" (identifier "puVar8") (+ "+") (number_literal "-0x30")) () ")")))) (, ",") (identifier "puVar18") (, ",") (identifier "iVar19") () ")")))) (; ";")) (expression_statement "iVar7 = *(int *)(puVar8 + -0x40);" (assignment_expression "iVar7 = *(int *)(puVar8 + -0x40)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(puVar8 + -0x40)" (* "*") (cast_expression "(int *)(puVar8 + -0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x40)" (( "(") (binary_expression "puVar8 + -0x40" (identifier "puVar8") (+ "+") (number_literal "-0x40")) () ")"))))) (; ";")) (expression_statement "uVar14 = *(uint *)(puVar8 + -0x34);" (assignment_expression "uVar14 = *(uint *)(puVar8 + -0x34)" (identifier "uVar14") (= "=") (pointer_expression "*(uint *)(puVar8 + -0x34)" (* "*") (cast_expression "(uint *)(puVar8 + -0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x34)" (( "(") (binary_expression "puVar8 + -0x34" (identifier "puVar8") (+ "+") (number_literal "-0x34")) () ")"))))) (; ";")) (} "}")))) (expression_statement "pcVar25 = *(code **)(iVar7 + -0x7cac);" (assignment_expression "pcVar25 = *(code **)(iVar7 + -0x7cac)" (identifier "pcVar25") (= "=") (pointer_expression "*(code **)(iVar7 + -0x7cac)" (* "*") (cast_expression "(code **)(iVar7 + -0x7cac)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar7 + -0x7cac)" (( "(") (binary_expression "iVar7 + -0x7cac" (identifier "iVar7") (+ "+") (number_literal "-0x7cac")) () ")"))))) (; ";")) (expression_statement "*(uint *)(puVar8 + -0x34) = uVar14;" (assignment_expression "*(uint *)(puVar8 + -0x34) = uVar14" (pointer_expression "*(uint *)(puVar8 + -0x34)" (* "*") (cast_expression "(uint *)(puVar8 + -0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x34)" (( "(") (binary_expression "puVar8 + -0x34" (identifier "puVar8") (+ "+") (number_literal "-0x34")) () ")")))) (= "=") (identifier "uVar14")) (; ";")) (expression_statement "(*pcVar25)(param_6 + iVar4,puVar11,iVar17);" (call_expression "(*pcVar25)(param_6 + iVar4,puVar11,iVar17)" (parenthesized_expression "(*pcVar25)" (( "(") (pointer_expression "*pcVar25" (* "*") (identifier "pcVar25")) () ")")) (argument_list "(param_6 + iVar4,puVar11,iVar17)" (( "(") (binary_expression "param_6 + iVar4" (identifier "param_6") (+ "+") (identifier "iVar4")) (, ",") (identifier "puVar11") (, ",") (identifier "iVar17") () ")"))) (; ";")) (expression_statement "iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);" (assignment_expression "iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1)" (identifier "iVar7") (= "=") (call_expression "(**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))\n                      (param_6,param_6,param_6 + iVar4,iVar17 << 1)" (parenthesized_expression "(**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))" (( "(") (pointer_expression "**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c)" (* "*") (pointer_expression "*(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c)" (* "*") (cast_expression "(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(puVar8 + -0x40) + -0x7b2c)" (( "(") (binary_expression "*(int *)(puVar8 + -0x40) + -0x7b2c" (pointer_expression "*(int *)(puVar8 + -0x40)" (* "*") (cast_expression "(int *)(puVar8 + -0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x40)" (( "(") (binary_expression "puVar8 + -0x40" (identifier "puVar8") (+ "+") (number_literal "-0x40")) () ")")))) (+ "+") (number_literal "-0x7b2c")) () ")"))))) () ")")) (argument_list "(param_6,param_6,param_6 + iVar4,iVar17 << 1)" (( "(") (identifier "param_6") (, ",") (identifier "param_6") (, ",") (binary_expression "param_6 + iVar4" (identifier "param_6") (+ "+") (identifier "iVar4")) (, ",") (binary_expression "iVar17 << 1" (identifier "iVar17") (<< "<<") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar10 = *(uint *)(puVar8 + -0x34);" (assignment_expression "uVar10 = *(uint *)(puVar8 + -0x34)" (identifier "uVar10") (= "=") (pointer_expression "*(uint *)(puVar8 + -0x34)" (* "*") (cast_expression "(uint *)(puVar8 + -0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x34)" (( "(") (binary_expression "puVar8 + -0x34" (identifier "puVar8") (+ "+") (number_literal "-0x34")) () ")"))))) (; ";")) (expression_statement "iVar23 = *(int *)(puVar8 + -0x40);" (assignment_expression "iVar23 = *(int *)(puVar8 + -0x40)" (identifier "iVar23") (= "=") (pointer_expression "*(int *)(puVar8 + -0x40)" (* "*") (cast_expression "(int *)(puVar8 + -0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x40)" (( "(") (binary_expression "puVar8 + -0x40" (identifier "puVar8") (+ "+") (number_literal "-0x40")) () ")"))))) (; ";")) (expression_statement "uVar9 = iVar7 + uVar10;" (assignment_expression "uVar9 = iVar7 + uVar10" (identifier "uVar9") (= "=") (binary_expression "iVar7 + uVar10" (identifier "iVar7") (+ "+") (identifier "uVar10"))) (; ";")) (if_statement "if (iVar17 != iVar19) {\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }" (if "if") (parenthesized_expression "(iVar17 != iVar19)" (( "(") (binary_expression "iVar17 != iVar19" (identifier "iVar17") (!= "!=") (identifier "iVar19")) () ")")) (compound_statement "{\n      uVar14 = *puVar20 - uVar9;\n      uVar9 = (uint)(*puVar20 < uVar9);\n      *puVar20 = uVar14;\n    }" ({ "{") (expression_statement "uVar14 = *puVar20 - uVar9;" (assignment_expression "uVar14 = *puVar20 - uVar9" (identifier "uVar14") (= "=") (binary_expression "*puVar20 - uVar9" (pointer_expression "*puVar20" (* "*") (identifier "puVar20")) (- "-") (identifier "uVar9"))) (; ";")) (expression_statement "uVar9 = (uint)(*puVar20 < uVar9);" (assignment_expression "uVar9 = (uint)(*puVar20 < uVar9)" (identifier "uVar9") (= "=") (call_expression "(uint)(*puVar20 < uVar9)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*puVar20 < uVar9)" (( "(") (binary_expression "*puVar20 < uVar9" (pointer_expression "*puVar20" (* "*") (identifier "puVar20")) (< "<") (identifier "uVar9")) () ")")))) (; ";")) (expression_statement "*puVar20 = uVar14;" (assignment_expression "*puVar20 = uVar14" (pointer_expression "*puVar20" (* "*") (identifier "puVar20")) (= "=") (identifier "uVar14")) (; ";")) (} "}"))) (expression_statement "iVar22 = iVar22 - uVar9;" (assignment_expression "iVar22 = iVar22 - uVar9" (identifier "iVar22") (= "=") (binary_expression "iVar22 - uVar9" (identifier "iVar22") (- "-") (identifier "uVar9"))) (; ";")) (if_statement "if (iVar22 < 0) {\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }" (if "if") (parenthesized_expression "(iVar22 < 0)" (( "(") (binary_expression "iVar22 < 0" (identifier "iVar22") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      uVar9 = *puVar18;\n      *puVar18 = uVar10 + uVar9;\n      if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }\n      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);\n      uVar9 = *param_6;\n      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);\n      *param_6 = uVar9 - 1;\n      if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      puVar11[1] = uVar9 - 1;\n      if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }\n    }" ({ "{") (expression_statement "uVar9 = *puVar18;" (assignment_expression "uVar9 = *puVar18" (identifier "uVar9") (= "=") (pointer_expression "*puVar18" (* "*") (identifier "puVar18"))) (; ";")) (expression_statement "*puVar18 = uVar10 + uVar9;" (assignment_expression "*puVar18 = uVar10 + uVar9" (pointer_expression "*puVar18" (* "*") (identifier "puVar18")) (= "=") (binary_expression "uVar10 + uVar9" (identifier "uVar10") (+ "+") (identifier "uVar9"))) (; ";")) (if_statement "if (uVar10 + uVar9 < uVar10) {\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }" (if "if") (parenthesized_expression "(uVar10 + uVar9 < uVar10)" (( "(") (binary_expression "uVar10 + uVar9 < uVar10" (binary_expression "uVar10 + uVar9" (identifier "uVar10") (+ "+") (identifier "uVar9")) (< "<") (identifier "uVar10")) () ")")) (compound_statement "{\n        if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }\n      }" ({ "{") (if_statement "if (iVar19 < 2) {\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }\n        else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }" (if "if") (parenthesized_expression "(iVar19 < 2)" (( "(") (binary_expression "iVar19 < 2" (identifier "iVar19") (< "<") (number_literal "2")) () ")")) (compound_statement "{\nLAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;\n        }" ({ "{") (labeled_statement "LAB_00045c64:\n          *(undefined4 *)(puVar8 + -0x2c) = 2;" (statement_identifier "LAB_00045c64") (: ":") (expression_statement "*(undefined4 *)(puVar8 + -0x2c) = 2;" (assignment_expression "*(undefined4 *)(puVar8 + -0x2c) = 2" (pointer_expression "*(undefined4 *)(puVar8 + -0x2c)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x2c)" (( "(") (binary_expression "puVar8 + -0x2c" (identifier "puVar8") (+ "+") (number_literal "-0x2c")) () ")")))) (= "=") (number_literal "2")) (; ";"))) (} "}")) (else_clause "else {\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }" (else "else") (compound_statement "{\n          uVar9 = puVar18[1];\n          puVar18[1] = uVar9 + 1;\n          if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }\n        }" ({ "{") (expression_statement "uVar9 = puVar18[1];" (assignment_expression "uVar9 = puVar18[1]" (identifier "uVar9") (= "=") (subscript_expression "puVar18[1]" (identifier "puVar18") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar18[1] = uVar9 + 1;" (assignment_expression "puVar18[1] = uVar9 + 1" (subscript_expression "puVar18[1]" (identifier "puVar18") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "uVar9 + 1" (identifier "uVar9") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar9 + 1 == 0) {\n            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 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            iVar7 = 2;\n            puVar16 = puVar18 + 2;\n            do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);\n          }" ({ "{") (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" (identifier "iVar7") (= "=") (number_literal "2")) (; ";")) (expression_statement "puVar16 = puVar18 + 2;" (assignment_expression "puVar16 = puVar18 + 2" (identifier "puVar16") (= "=") (binary_expression "puVar18 + 2" (identifier "puVar18") (+ "+") (number_literal "2"))) (; ";")) (do_statement "do {\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            } while (uVar9 + 1 == 0);" (do "do") (compound_statement "{\n              bVar1 = iVar19 == iVar7;\n              iVar7 = iVar7 + 1;\n              if (bVar1) goto LAB_00045c64;\n              uVar9 = *puVar16;\n              *puVar16 = uVar9 + 1;\n              puVar16 = puVar16 + 1;\n            }" ({ "{") (expression_statement "bVar1 = iVar19 == iVar7;" (assignment_expression "bVar1 = iVar19 == iVar7" (identifier "bVar1") (= "=") (binary_expression "iVar19 == iVar7" (identifier "iVar19") (== "==") (identifier "iVar7"))) (; ";")) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (bVar1) goto LAB_00045c64;" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (goto_statement "goto LAB_00045c64;" (goto "goto") (statement_identifier "LAB_00045c64") (; ";"))) (expression_statement "uVar9 = *puVar16;" (assignment_expression "uVar9 = *puVar16" (identifier "uVar9") (= "=") (pointer_expression "*puVar16" (* "*") (identifier "puVar16"))) (; ";")) (expression_statement "*puVar16 = uVar9 + 1;" (assignment_expression "*puVar16 = uVar9 + 1" (pointer_expression "*puVar16" (* "*") (identifier "puVar16")) (= "=") (binary_expression "uVar9 + 1" (identifier "uVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar16 = puVar16 + 1;" (assignment_expression "puVar16 = puVar16 + 1" (identifier "puVar16") (= "=") (binary_expression "puVar16 + 1" (identifier "puVar16") (+ "+") (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 "iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);" (assignment_expression "iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2)" (identifier "iVar7") (= "=") (call_expression "(**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2)" (parenthesized_expression "(**(code **)(iVar23 + -0x7f70))" (( "(") (pointer_expression "**(code **)(iVar23 + -0x7f70)" (* "*") (pointer_expression "*(code **)(iVar23 + -0x7f70)" (* "*") (cast_expression "(code **)(iVar23 + -0x7f70)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar23 + -0x7f70)" (( "(") (binary_expression "iVar23 + -0x7f70" (identifier "iVar23") (+ "+") (number_literal "-0x7f70")) () ")"))))) () ")")) (argument_list "(param_6,puVar11,iVar4,2)" (( "(") (identifier "param_6") (, ",") (identifier "puVar11") (, ",") (identifier "iVar4") (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "uVar9 = *param_6;" (assignment_expression "uVar9 = *param_6" (identifier "uVar9") (= "=") (pointer_expression "*param_6" (* "*") (identifier "param_6"))) (; ";")) (expression_statement "iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);" (assignment_expression "iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c)" (identifier "iVar22") (= "=") (binary_expression "iVar22 + iVar7 + *(int *)(puVar8 + -0x2c)" (binary_expression "iVar22 + iVar7" (identifier "iVar22") (+ "+") (identifier "iVar7")) (+ "+") (pointer_expression "*(int *)(puVar8 + -0x2c)" (* "*") (cast_expression "(int *)(puVar8 + -0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x2c)" (( "(") (binary_expression "puVar8 + -0x2c" (identifier "puVar8") (+ "+") (number_literal "-0x2c")) () ")")))))) (; ";")) (expression_statement "*param_6 = uVar9 - 1;" (assignment_expression "*param_6 = uVar9 - 1" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar9 == 0) {\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }\n      else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }" (if "if") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }\n        uVar9 = param_6[1];\n        param_6[1] = uVar9 - 1;\n        if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }" ({ "{") (if_statement "if (iVar4 < 2) {\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }" (if "if") (parenthesized_expression "(iVar4 < 2)" (( "(") (binary_expression "iVar4 < 2" (identifier "iVar4") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n          *puVar11 = *puVar11 - 1;\n          return iVar22 + -1;\n        }" ({ "{") (expression_statement "*puVar11 = *puVar11 - 1;" (assignment_expression "*puVar11 = *puVar11 - 1" (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) (= "=") (binary_expression "*puVar11 - 1" (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) (- "-") (number_literal "1"))) (; ";")) (return_statement "return iVar22 + -1;" (return "return") (binary_expression "iVar22 + -1" (identifier "iVar22") (+ "+") (number_literal "-1")) (; ";")) (} "}"))) (expression_statement "uVar9 = param_6[1];" (assignment_expression "uVar9 = param_6[1]" (identifier "uVar9") (= "=") (subscript_expression "param_6[1]" (identifier "param_6") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_6[1] = uVar9 - 1;" (assignment_expression "param_6[1] = uVar9 - 1" (subscript_expression "param_6[1]" (identifier "param_6") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar9 == 0) {\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }" (if "if") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar7 = 2;\n          puVar16 = param_6 + 2;\n          do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);\n        }" ({ "{") (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" (identifier "iVar7") (= "=") (number_literal "2")) (; ";")) (expression_statement "puVar16 = param_6 + 2;" (assignment_expression "puVar16 = param_6 + 2" (identifier "puVar16") (= "=") (binary_expression "param_6 + 2" (identifier "param_6") (+ "+") (number_literal "2"))) (; ";")) (do_statement "do {\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          } while (uVar9 == 0);" (do "do") (compound_statement "{\n            bVar1 = iVar4 == iVar7;\n            iVar7 = iVar7 + 1;\n            if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }\n            uVar9 = *puVar16;\n            *puVar16 = uVar9 - 1;\n            puVar16 = puVar16 + 1;\n          }" ({ "{") (expression_statement "bVar1 = iVar4 == iVar7;" (assignment_expression "bVar1 = iVar4 == iVar7" (identifier "bVar1") (= "=") (binary_expression "iVar4 == iVar7" (identifier "iVar4") (== "==") (identifier "iVar7"))) (; ";")) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (bVar1) {\n              iVar22 = iVar22 + -1;\n              break;\n            }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n              iVar22 = iVar22 + -1;\n              break;\n            }" ({ "{") (expression_statement "iVar22 = iVar22 + -1;" (assignment_expression "iVar22 = iVar22 + -1" (identifier "iVar22") (= "=") (binary_expression "iVar22 + -1" (identifier "iVar22") (+ "+") (number_literal "-1"))) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "uVar9 = *puVar16;" (assignment_expression "uVar9 = *puVar16" (identifier "uVar9") (= "=") (pointer_expression "*puVar16" (* "*") (identifier "puVar16"))) (; ";")) (expression_statement "*puVar16 = uVar9 - 1;" (assignment_expression "*puVar16 = uVar9 - 1" (pointer_expression "*puVar16" (* "*") (identifier "puVar16")) (= "=") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1"))) (; ";")) (expression_statement "puVar16 = puVar16 + 1;" (assignment_expression "puVar16 = puVar16 + 1" (identifier "puVar16") (= "=") (binary_expression "puVar16 + 1" (identifier "puVar16") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (; ";")) (} "}"))) (expression_statement "uVar9 = *puVar11;" (assignment_expression "uVar9 = *puVar11" (identifier "uVar9") (= "=") (pointer_expression "*puVar11" (* "*") (identifier "puVar11"))) (; ";")) (expression_statement "*puVar11 = uVar9 - 1;" (assignment_expression "*puVar11 = uVar9 - 1" (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) (= "=") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar9 != 0) {\n          return iVar22;\n        }" (if "if") (parenthesized_expression "(uVar9 != 0)" (( "(") (binary_expression "uVar9 != 0" (identifier "uVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          return iVar22;\n        }" ({ "{") (return_statement "return iVar22;" (return "return") (identifier "iVar22") (; ";")) (} "}"))) (expression_statement "uVar9 = puVar11[1];" (assignment_expression "uVar9 = puVar11[1]" (identifier "uVar9") (= "=") (subscript_expression "puVar11[1]" (identifier "puVar11") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }" (else "else") (compound_statement "{\n        uVar9 = *puVar11;\n        *puVar11 = uVar9 - 1;\n        if (uVar9 != 0) {\n          return iVar22;\n        }\n        if (iVar4 < 2) {\n          return iVar22;\n        }\n        uVar9 = puVar11[1];\n      }" ({ "{") (expression_statement "uVar9 = *puVar11;" (assignment_expression "uVar9 = *puVar11" (identifier "uVar9") (= "=") (pointer_expression "*puVar11" (* "*") (identifier "puVar11"))) (; ";")) (expression_statement "*puVar11 = uVar9 - 1;" (assignment_expression "*puVar11 = uVar9 - 1" (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) (= "=") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar9 != 0) {\n          return iVar22;\n        }" (if "if") (parenthesized_expression "(uVar9 != 0)" (( "(") (binary_expression "uVar9 != 0" (identifier "uVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          return iVar22;\n        }" ({ "{") (return_statement "return iVar22;" (return "return") (identifier "iVar22") (; ";")) (} "}"))) (if_statement "if (iVar4 < 2) {\n          return iVar22;\n        }" (if "if") (parenthesized_expression "(iVar4 < 2)" (( "(") (binary_expression "iVar4 < 2" (identifier "iVar4") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n          return iVar22;\n        }" ({ "{") (return_statement "return iVar22;" (return "return") (identifier "iVar22") (; ";")) (} "}"))) (expression_statement "uVar9 = puVar11[1];" (assignment_expression "uVar9 = puVar11[1]" (identifier "uVar9") (= "=") (subscript_expression "puVar11[1]" (identifier "puVar11") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")))) (expression_statement "puVar11[1] = uVar9 - 1;" (assignment_expression "puVar11[1] = uVar9 - 1" (subscript_expression "puVar11[1]" (identifier "puVar11") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar9 == 0) {\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }" (if "if") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar7 = 2;\n        puVar11 = puVar11 + 2;\n        do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);\n      }" ({ "{") (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" (identifier "iVar7") (= "=") (number_literal "2")) (; ";")) (expression_statement "puVar11 = puVar11 + 2;" (assignment_expression "puVar11 = puVar11 + 2" (identifier "puVar11") (= "=") (binary_expression "puVar11 + 2" (identifier "puVar11") (+ "+") (number_literal "2"))) (; ";")) (do_statement "do {\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        } while (uVar9 == 0);" (do "do") (compound_statement "{\n          bVar1 = iVar4 <= iVar7;\n          iVar7 = iVar7 + 1;\n          if (bVar1) {\n            return iVar22;\n          }\n          uVar9 = *puVar11;\n          *puVar11 = uVar9 - 1;\n          puVar11 = puVar11 + 1;\n        }" ({ "{") (expression_statement "bVar1 = iVar4 <= iVar7;" (assignment_expression "bVar1 = iVar4 <= iVar7" (identifier "bVar1") (= "=") (binary_expression "iVar4 <= iVar7" (identifier "iVar4") (<= "<=") (identifier "iVar7"))) (; ";")) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (bVar1) {\n            return iVar22;\n          }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n            return iVar22;\n          }" ({ "{") (return_statement "return iVar22;" (return "return") (identifier "iVar22") (; ";")) (} "}"))) (expression_statement "uVar9 = *puVar11;" (assignment_expression "uVar9 = *puVar11" (identifier "uVar9") (= "=") (pointer_expression "*puVar11" (* "*") (identifier "puVar11"))) (; ";")) (expression_statement "*puVar11 = uVar9 - 1;" (assignment_expression "*puVar11 = uVar9 - 1" (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) (= "=") (binary_expression "uVar9 - 1" (identifier "uVar9") (- "-") (number_literal "1"))) (; ";")) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" (identifier "puVar11") (= "=") (binary_expression "puVar11 + 1" (identifier "puVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (; ";")) (} "}"))) (} "}"))) (} "}")) (else_clause "else {\n    iVar22 = 1;\n  }" (else "else") (compound_statement "{\n    iVar22 = 1;\n  }" ({ "{") (expression_statement "iVar22 = 1;" (assignment_expression "iVar22 = 1" (identifier "iVar22") (= "=") (number_literal "1")) (; ";")) (} "}")))) (return_statement "return iVar22;" (return "return") (identifier "iVar22") (; ";")) (} "}")))

void function_1(type_1 var_24,type_2 var_3,type_3 var_1,type_2 var_14,type_3 var_6,type_1 var_28)

{
  bool bVar1;
  type_4 lVar2;
  type_5 *puVar3;
  int var_2;
  type_6 var_11;
  type_7 *pgVar6;
  type_8 *var_22;
  type_1 var_4;
  type_6 *var_21;
  type_9 *var_5;
  type_9 var_27;
  type_6 var_8;
  type_3 var_25;
  type_6 var_7;
  type_1 pmVar15;
  type_6 var_12;
  type_6 var_15;
  type_6 *puVar18;
  int var_32;
  type_10 unaff_s5;
  int var_31;
  type_10 unaff_s6;
  type_1 np_00;
  type_10 unaff_s7;
  type_5 *var_23;
  int var_30;
  int var_33;
  type_8 *var_18;
  type_11 *pcVar24;
  type_6 var_10;
  type_6 var_13;
  type_8 var_17 [16];
  type_3 mStack_48;
  type_7 *pgStack_44;
  type_7 inv;
  type_12 *var_19;
  type_6 *var_20;
  
  puVar3 = PTR___stack_chk_guard_00097540;
  var_22 = var_17;
  var_18 = var_17;
  var_20 = *(type_6 **)PTR___stack_chk_guard_00097540;
  if (var_1 != 0) {
    var_2 = var_1 + -1;
    var_27 = *var_3;
    if (var_2 == 0) {
      *var_28 = var_27;
    }
    else {
      var_4 = var_28;
      var_5 = var_3 + 1;
      do {
        *var_4 = var_27;
        var_2 = var_2 + -1;
        var_27 = *var_5;
        var_4 = var_4 + 1;
        var_5 = var_5 + 1;
      } while (var_2 != 0);
      var_28[var_1 + -1] = var_27;
    }
  }
  var_7 = var_14[var_6 + -1];
  var_8 = var_7 >> 0x10;
  if (var_8 == 0) {
    var_9(7);
  }
  var_10 = ~var_7 / var_8;
  var_12 = (var_7 & 0xffff) * var_10;
  var_11 = ~var_7 % var_8 << 0x10 | 0xffff;
  var_15 = var_10;
  if (var_11 < var_12) {
    var_11 = var_11 + var_7;
    var_15 = var_10 - 1;
    if ((var_7 <= var_11) && (var_11 < var_12)) {
      var_15 = var_10 - 2;
      var_11 = var_11 + var_7;
    }
  }
  if (var_8 == 0) {
    var_9(7);
  }
  var_13 = (var_11 - var_12) / var_8;
  var_10 = (var_7 & 0xffff) * var_13;
  var_11 = (var_11 - var_12) % var_8 << 0x10 | 0xffff;
  var_12 = var_7 + var_11;
  var_8 = var_13;
  if (((var_11 < var_10) && (var_8 = var_13 - 1, var_7 <= var_12)) && (var_12 < var_10)) {
    var_8 = var_13 - 2;
  }
  var_11 = (var_14 + var_6 + -1)[-1];
  pgVar6 = (type_7 *)(var_15 << 0x10 | var_8);
  var_8 = var_7 * (int)pgVar6 + var_11;
  lVar2 = (type_13)var_11 * var_16(pgVar6);
  if (var_8 < var_11) {
    var_12 = var_8 < var_7 ^ 1;
    var_15 = var_7;
    if (var_12 == 0) {
      var_15 = 0;
    }
    pgVar6 = (type_7 *)((int)pgVar6 + (-1 - var_12));
    var_8 = (var_8 - var_7) - var_15;
    lVar2 = (type_13)var_11 * var_16(pgVar6);
  }
  var_15 = (type_6)((type_13)lVar2 >> 0x20);
  var_8 = var_8 + var_15;
  inv.inv32 = (type_9)pgVar6;
  if ((var_8 < var_15) && (inv.inv32 = (int)&pgVar6[-1].inv32 + 3, var_7 <= var_8)) {
    if (var_7 < var_8) {
      inv.inv32 = (int)&pgVar6[-1].inv32 + 2;
    }
    else if (var_11 <= (type_6)lVar2) {
      inv.inv32 = (type_9)((int)&pgVar6[-1].inv32 + 2);
    }
  }
  var_25 = var_1;
  if (var_6 < 200) {
    mStack_48 = var_6;
    pgStack_44 = (type_7 *)inv.inv32;
    var_27 = (*(type_11 *)PTR___gmpn_sbpi1_divappr_q_00097414)(var_24);
  }
  else if (var_6 < 2000) {
    pgStack_44 = &inv;
    mStack_48 = var_6;
    var_27 = (*(type_11 *)PTR___gmpn_dcpi1_divappr_q_00097490)(var_24);
    var_22 = var_17;
  }
  else {
    var_2 = (*(type_11 *)PTR___gmpn_mu_divappr_q_itch_00097598)(var_1,var_6,0);
    var_19 = (type_12 *)0x0;
    if ((type_6)(var_2 * 4) < 0x7f01) {
      var_2 = -(var_2 * 4 + 7U & 0xfffffff8);
      var_18 = var_17 + var_2;
      var_22 = &stack0xffffffc0 + var_2;
    }
    else {
      var_22 = (type_8 *)(*(type_11 *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&var_19);
    }
    *(type_8 **)(var_18 + 0x14) = var_22;
    *(type_3 *)(var_18 + 0x10) = var_6;
    var_28 = var_3;
    var_27 = (*(type_11 *)PTR___gmpn_mu_divappr_q_00097410)(var_24);
    var_22 = var_18;
    if (var_19 != (type_12 *)0x0) {
      (*(type_11 *)PTR___gmp_tmp_reentrant_free_00097614)();
    }
  }
  var_21 = *(type_6 **)puVar3;
  var_24[var_1 - var_6] = var_27;
  if (var_20 == var_21) {
    return;
  }
  pcVar24 = var_29;
  var_21 = var_20;
  var_23 = PTR___stack_chk_fail_000974d0;
  (*(type_11 *)PTR___stack_chk_fail_000974d0)();
  *(type_5 **)(var_22 + -0x40) = var_23 + 0x596fc;
  *(type_1 *)(var_22 + -0x20) = var_24 + (var_1 - var_6);
  *(type_5 **)(var_22 + -0x24) = puVar3;
  *(type_1 *)(var_22 + -0x28) = var_24;
  *(type_11 **)(var_22 + -4) = pcVar24;
  *(type_8 **)(var_22 + -8) = var_17;
  *(type_10 *)(var_22 + -0xc) = unaff_s7;
  *(type_10 *)(var_22 + -0x10) = unaff_s6;
  *(type_10 *)(var_22 + -0x14) = unaff_s5;
  *(type_2 *)(var_22 + -0x18) = var_3;
  *(type_3 *)(var_22 + -0x1c) = var_6;
  *(type_2 *)(var_22 + 0xc) = var_14;
  puVar18 = *(type_6 **)(var_22 + 0x10);
  if (var_25 == 1) {
    var_8 = *var_28;
    var_27 = var_26(var_28,var_28[1]);
    var_7 = (var_8 >> 0x11) + *var_28 * 0x8000;
    if (var_27 == 0) {
      var_9(7);
    }
    var_15 = var_7 / var_27;
    var_15 = var_15 - (var_15 >> 0x10);
    var_7 = var_7 - var_27 * var_15;
    var_8 = var_7 * 0x20000 + (var_8 & 0x1ffff);
    var_11 = var_15 | var_27 << 0x10;
    var_27 = var_8 - var_15 * var_15;
    if ((var_7 >> 0xf) - (type_6)(var_8 < var_15 * var_15) == -1) {
      *var_28 = var_11 + var_27 + (var_11 - 1);
      *var_21 = var_11 - 1;
    }
    else {
      *var_28 = var_27;
      *var_21 = var_11;
    }
    return;
  }
  *(type_6 **)(var_22 + -0x50) = puVar18;
  var_2 = var_25 / 2;
  var_31 = var_25 - var_2;
  np_00 = var_28 + var_2 * 2;
  var_4 = var_21 + var_2;
  var_27 = var_29(var_4,np_00,var_31,0,*(type_1 *)(var_22 + -0x50));
  var_30 = *(int *)(var_22 + -0x40);
  if (var_27 != 0) {
    pcVar24 = *(type_11 **)(var_30 + -0x7b2c);
    *(type_9 *)(var_22 + -0x34) = var_27;
    (*pcVar24)(np_00,np_00,var_4,var_31);
    var_30 = *(int *)(var_22 + -0x40);
    var_27 = *(type_9 *)(var_22 + -0x34);
  }
  pmVar15 = var_28 + var_2;
  pcVar24 = *(type_11 **)(var_30 + -0x7a30);
  *(type_9 *)(var_22 + -0x34) = var_27;
  *(type_1 *)(var_22 + -0x30) = pmVar15;
  *(int *)(var_22 + -0x48) = var_31;
  *(type_1 *)(var_22 + -0x4c) = var_4;
  *(type_3 *)(var_22 + -0x50) = var_25;
  (*pcVar24)(puVar18,pmVar15,0,pmVar15);
  var_8 = *puVar18;
  pcVar24 = *(type_11 **)(*(int *)(var_22 + -0x40) + -0x7ae0);
  *(type_6 *)(var_22 + -0x34) = *(int *)(var_22 + -0x34) + puVar18[var_2];
  (*pcVar24)(var_21,puVar18,var_2,1);
  var_15 = *(type_6 *)(var_22 + -0x34);
  var_30 = *(int *)(var_22 + -0x40);
  var_21[var_2 + -1] = var_21[var_2 + -1] | var_15 << 0x1f;
  var_7 = *var_21;
  *(type_6 *)(var_22 + -0x2c) = *(type_6 *)(var_22 + 0xc) & var_7;
  if ((*(type_6 *)(var_22 + 0xc) & var_7) == 0) {
    var_15 = var_15 >> 1;
    if ((var_8 & 1) == 0) {
      var_32 = 0;
    }
    else {
      pcVar24 = *(type_11 **)(var_30 + -0x7d0c);
      *(type_6 *)(var_22 + -0x34) = var_15;
      var_32 = (*pcVar24)(*(type_10 *)(var_22 + -0x30),*(type_10 *)(var_22 + -0x30),var_4,var_31);
      var_30 = *(int *)(var_22 + -0x40);
      var_15 = *(type_6 *)(var_22 + -0x34);
    }
    pcVar24 = *(type_11 **)(var_30 + -0x7cac);
    *(type_6 *)(var_22 + -0x34) = var_15;
    (*pcVar24)(var_28 + var_25,var_21,var_2);
    var_30 = (**(type_11 **)(*(int *)(var_22 + -0x40) + -0x7b2c))
                       (var_28,var_28,var_28 + var_25,var_2 << 1);
    var_7 = *(type_6 *)(var_22 + -0x34);
    var_33 = *(int *)(var_22 + -0x40);
    var_8 = var_30 + var_7;
    if (var_2 != var_31) {
      var_27 = *np_00 - var_8;
      var_8 = (type_6)(*np_00 < var_8);
      *np_00 = var_27;
    }
    if ((int)(var_32 - var_8) < 0) {
      var_27 = *var_4;
      *var_4 = var_7 + var_27;
      if (var_7 + var_27 < var_7) {
        if (var_31 < 2) {
LAB_00045c64:
          *(type_10 *)(var_22 + -0x2c) = 2;
        }
        else {
          var_27 = var_4[1];
          var_4[1] = var_27 + 1;
          if (var_27 + 1 == 0) {
            var_2 = 2;
            var_4 = var_4 + 2;
            do {
              bVar1 = var_31 == var_2;
              var_2 = var_2 + 1;
              if (bVar1) goto LAB_00045c64;
              var_27 = *var_4;
              *var_4 = var_27 + 1;
              var_4 = var_4 + 1;
            } while (var_27 + 1 == 0);
          }
        }
      }
      (**(type_11 **)(var_33 + -0x7f70))(var_28,var_21,var_25,2);
      var_27 = *var_28;
      *var_28 = var_27 - 1;
      if (var_27 == 0) {
        if (var_25 < 2) {
          *var_21 = *var_21 - 1;
          return;
        }
        var_27 = var_28[1];
        var_28[1] = var_27 - 1;
        if (var_27 == 0) {
          var_2 = 2;
          var_4 = var_28 + 2;
          do {
            bVar1 = var_25 == var_2;
            var_2 = var_2 + 1;
            if (bVar1) break;
            var_27 = *var_4;
            *var_4 = var_27 - 1;
            var_4 = var_4 + 1;
          } while (var_27 == 0);
        }
        var_8 = *var_21;
        *var_21 = var_8 - 1;
        if (var_8 != 0) {
          return;
        }
        var_8 = var_21[1];
      }
      else {
        var_8 = *var_21;
        *var_21 = var_8 - 1;
        if (var_8 != 0) {
          return;
        }
        if (var_25 < 2) {
          return;
        }
        var_8 = var_21[1];
      }
      var_21[1] = var_8 - 1;
      if (var_8 == 0) {
        var_2 = 2;
        var_21 = var_21 + 2;
        do {
          bVar1 = var_25 <= var_2;
          var_2 = var_2 + 1;
          if (bVar1) {
            return;
          }
          var_8 = *var_21;
          *var_21 = var_8 - 1;
          var_21 = var_21 + 1;
        } while (var_8 == 0);
      }
    }
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator 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: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator 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: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) 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: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier))))))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier))))))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (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))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (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: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (identifier)))))))) (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: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (unary_expression argument: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (unary_expression argument: (identifier)) right: (identifier)) right: (number_literal)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier)) right: (number_literal)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (identifier) right: (identifier)))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))))))) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))))))) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator)))))) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (binary_expression left: (identifier) right: (identifier)))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator)))))) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))))))) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (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) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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)))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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))))) (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 (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)))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (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: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (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))) (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))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (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: (identifier) right: (number_literal))))) right: (identifier))) (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: (identifier) right: (number_literal))))) right: (identifier))) (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: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (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: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) 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: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (identifier) (number_literal)))) (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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) 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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) 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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (identifier)) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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 (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) alternative: (else_clause (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: (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 (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (goto_statement label: (statement_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: (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: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) 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: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (return_statement (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: (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 (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (break_statement))) (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)))) (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: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) alternative: (else_clause (compound_statement (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_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 (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (return_statement (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: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))))

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

{
  bool bVar1;
  longlong lVar2;
  undefined *puVar3;
  int iVar4;
  uint uVar5;
  undefined4 ******ppppppuVar6;
  int iVar7;
  undefined1 *puVar8;
  uint uVar9;
  uint uVar10;
  uint *puVar11;
  uint *puVar12;
  uint uVar13;
  uint uVar14;
  int *piVar15;
  uint *puVar16;
  int iVar17;
  uint *puVar18;
  undefined4 unaff_s5;
  int iVar19;
  undefined4 unaff_s6;
  uint *puVar20;
  undefined4 unaff_s7;
  undefined *puVar21;
  int iVar22;
  int iVar23;
  undefined1 *puVar24;
  code *pcVar25;
  uint uVar26;
  uint uVar27;
  undefined1 auStack_58 [16];
  int local_48;
  undefined4 *****local_44;
  undefined4 *****local_2c;
  int local_28;
  uint *local_24;
  
  puVar3 = PTR___stack_chk_guard_00097540;
  puVar8 = auStack_58;
  puVar24 = auStack_58;
  local_24 = *(uint **)PTR___stack_chk_guard_00097540;
  if (param_3 != 0) {
    iVar4 = param_3 + -1;
    uVar9 = *param_2;
    if (iVar4 == 0) {
      *param_6 = uVar9;
    }
    else {
      puVar11 = param_6;
      puVar16 = param_2 + 1;
      do {
        *puVar11 = uVar9;
        iVar4 = iVar4 + -1;
        uVar9 = *puVar16;
        puVar11 = puVar11 + 1;
        puVar16 = puVar16 + 1;
      } while (iVar4 != 0);
      param_6[param_3 + -1] = uVar9;
    }
  }
  puVar11 = (uint *)(param_4 + param_5 * 4 + -4);
  uVar10 = *puVar11;
  uVar9 = uVar10 >> 0x10;
  if (uVar9 == 0) {
    trap(7);
  }
  uVar26 = ~uVar10 / uVar9;
  uVar13 = (uVar10 & 0xffff) * uVar26;
  uVar5 = ~uVar10 % uVar9 << 0x10 | 0xffff;
  uVar14 = uVar26;
  if (uVar5 < uVar13) {
    uVar5 = uVar5 + uVar10;
    uVar14 = uVar26 - 1;
    if ((uVar10 <= uVar5) && (uVar5 < uVar13)) {
      uVar14 = uVar26 - 2;
      uVar5 = uVar5 + uVar10;
    }
  }
  if (uVar9 == 0) {
    trap(7);
  }
  uVar27 = (uVar5 - uVar13) / uVar9;
  uVar26 = (uVar10 & 0xffff) * uVar27;
  uVar5 = (uVar5 - uVar13) % uVar9 << 0x10 | 0xffff;
  uVar13 = uVar10 + uVar5;
  uVar9 = uVar27;
  if (((uVar5 < uVar26) && (uVar9 = uVar27 - 1, uVar10 <= uVar13)) && (uVar13 < uVar26)) {
    uVar9 = uVar27 - 2;
  }
  uVar5 = puVar11[-1];
  ppppppuVar6 = (undefined4 ******)(uVar14 << 0x10 | uVar9);
  uVar9 = uVar10 * (int)ppppppuVar6 + uVar5;
  lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);
  if (uVar9 < uVar5) {
    uVar13 = uVar9 < uVar10 ^ 1;
    uVar14 = uVar10;
    if (uVar13 == 0) {
      uVar14 = 0;
    }
    ppppppuVar6 = (undefined4 ******)((int)ppppppuVar6 + (-1 - uVar13));
    uVar9 = (uVar9 - uVar10) - uVar14;
    lVar2 = (ulonglong)uVar5 * ZEXT48(ppppppuVar6);
  }
  uVar14 = (uint)((ulonglong)lVar2 >> 0x20);
  uVar9 = uVar9 + uVar14;
  local_2c = ppppppuVar6;
  if ((uVar9 < uVar14) && (local_2c = (undefined4 *****)((int)ppppppuVar6 - 1), uVar10 <= uVar9)) {
    if (uVar10 < uVar9) {
      local_2c = (undefined4 *****)((int)ppppppuVar6 - 2);
    }
    else if (uVar5 <= (uint)lVar2) {
      local_2c = (undefined4 ******)((int)ppppppuVar6 - 2);
    }
  }
  iVar4 = param_3;
  if (param_5 < 200) {
    local_48 = param_5;
    local_44 = local_2c;
    iVar7 = (*(code *)PTR___gmpn_sbpi1_divappr_q_00097414)(param_1);
  }
  else if (param_5 < 2000) {
    local_44 = &local_2c;
    local_48 = param_5;
    iVar7 = (*(code *)PTR___gmpn_dcpi1_divappr_q_00097490)(param_1);
    puVar8 = auStack_58;
  }
  else {
    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_itch_00097598)(param_3,param_5,0);
    local_28 = 0;
    if ((uint)(iVar7 * 4) < 0x7f01) {
      iVar7 = -(iVar7 * 4 + 7U & 0xfffffff8);
      puVar24 = auStack_58 + iVar7;
      puVar8 = &stack0xffffffc0 + iVar7;
    }
    else {
      puVar8 = (undefined1 *)(*(code *)PTR___gmp_tmp_reentrant_alloc_000972f0)(&local_28);
    }
    *(undefined1 **)(puVar24 + 0x14) = puVar8;
    *(int *)(puVar24 + 0x10) = param_5;
    param_6 = param_2;
    iVar7 = (*(code *)PTR___gmpn_mu_divappr_q_00097410)(param_1);
    puVar8 = puVar24;
    if (local_28 != 0) {
      (*(code *)PTR___gmp_tmp_reentrant_free_00097614)();
    }
  }
  puVar11 = *(uint **)puVar3;
  piVar15 = (int *)(param_1 + (param_3 - param_5) * 4);
  *piVar15 = iVar7;
  if (local_24 == puVar11) {
    return iVar7;
  }
  pcVar25 = FUN_00045944;
  puVar11 = local_24;
  puVar21 = PTR___stack_chk_fail_000974d0;
  (*(code *)PTR___stack_chk_fail_000974d0)();
  *(undefined **)(puVar8 + -0x40) = puVar21 + 0x596fc;
  *(int **)(puVar8 + -0x20) = piVar15;
  *(undefined **)(puVar8 + -0x24) = puVar3;
  *(int *)(puVar8 + -0x28) = param_1;
  *(code **)(puVar8 + -4) = pcVar25;
  *(undefined1 **)(puVar8 + -8) = auStack_58;
  *(undefined4 *)(puVar8 + -0xc) = unaff_s7;
  *(undefined4 *)(puVar8 + -0x10) = unaff_s6;
  *(undefined4 *)(puVar8 + -0x14) = unaff_s5;
  *(uint **)(puVar8 + -0x18) = param_2;
  *(int *)(puVar8 + -0x1c) = param_5;
  *(int *)(puVar8 + 0xc) = param_4;
  puVar16 = *(uint **)(puVar8 + 0x10);
  if (iVar4 == 1) {
    uVar10 = *param_6;
    uVar9 = FUN_00045580(param_6,param_6[1]);
    uVar14 = (uVar10 >> 0x11) + *param_6 * 0x8000;
    if (uVar9 == 0) {
      trap(7);
    }
    uVar5 = uVar14 / uVar9;
    uVar5 = uVar5 - (uVar5 >> 0x10);
    uVar14 = uVar14 - uVar9 * uVar5;
    uVar10 = uVar14 * 0x20000 + (uVar10 & 0x1ffff);
    uVar9 = uVar5 | uVar9 << 0x10;
    iVar4 = (uVar14 >> 0xf) - (uint)(uVar10 < uVar5 * uVar5);
    uVar10 = uVar10 - uVar5 * uVar5;
    if (iVar4 == -1) {
      uVar10 = uVar9 + uVar10;
      uVar5 = uVar9 - 1;
      uVar14 = uVar10 + uVar5;
      *param_6 = uVar14;
      iVar4 = (uint)(uVar14 < uVar5) + ((uVar10 < uVar9) - 1);
      *puVar11 = uVar5;
    }
    else {
      *param_6 = uVar10;
      *puVar11 = uVar9;
    }
    return iVar4;
  }
  *(uint **)(puVar8 + -0x50) = puVar16;
  iVar17 = iVar4 / 2;
  iVar19 = iVar4 - iVar17;
  puVar20 = param_6 + iVar17 * 2;
  puVar18 = puVar11 + iVar17;
  iVar7 = FUN_00045944(puVar18,puVar20,iVar19,0);
  iVar22 = *(int *)(puVar8 + -0x40);
  if (iVar7 != 0) {
    pcVar25 = *(code **)(iVar22 + -0x7b2c);
    *(int *)(puVar8 + -0x34) = iVar7;
    (*pcVar25)(puVar20,puVar20,puVar18,iVar19);
    iVar22 = *(int *)(puVar8 + -0x40);
    iVar7 = *(int *)(puVar8 + -0x34);
  }
  puVar12 = param_6 + iVar17;
  pcVar25 = *(code **)(iVar22 + -0x7a30);
  *(int *)(puVar8 + -0x34) = iVar7;
  *(uint **)(puVar8 + -0x30) = puVar12;
  *(int *)(puVar8 + -0x48) = iVar19;
  *(uint **)(puVar8 + -0x4c) = puVar18;
  *(int *)(puVar8 + -0x50) = iVar4;
  (*pcVar25)(puVar16,puVar12,0,puVar12);
  uVar9 = *puVar16;
  pcVar25 = *(code **)(*(int *)(puVar8 + -0x40) + -0x7ae0);
  *(uint *)(puVar8 + -0x34) = *(int *)(puVar8 + -0x34) + puVar16[iVar17];
  (*pcVar25)(puVar11,puVar16,iVar17,1);
  uVar14 = *(uint *)(puVar8 + -0x34);
  iVar7 = *(int *)(puVar8 + -0x40);
  puVar11[iVar17 + -1] = puVar11[iVar17 + -1] | uVar14 << 0x1f;
  uVar10 = *puVar11;
  *(uint *)(puVar8 + -0x2c) = *(uint *)(puVar8 + 0xc) & uVar10;
  if ((*(uint *)(puVar8 + 0xc) & uVar10) == 0) {
    uVar14 = uVar14 >> 1;
    if ((uVar9 & 1) == 0) {
      iVar22 = 0;
    }
    else {
      pcVar25 = *(code **)(iVar7 + -0x7d0c);
      *(uint *)(puVar8 + -0x34) = uVar14;
      iVar22 = (*pcVar25)(*(undefined4 *)(puVar8 + -0x30),*(undefined4 *)(puVar8 + -0x30),puVar18,
                          iVar19);
      iVar7 = *(int *)(puVar8 + -0x40);
      uVar14 = *(uint *)(puVar8 + -0x34);
    }
    pcVar25 = *(code **)(iVar7 + -0x7cac);
    *(uint *)(puVar8 + -0x34) = uVar14;
    (*pcVar25)(param_6 + iVar4,puVar11,iVar17);
    iVar7 = (**(code **)(*(int *)(puVar8 + -0x40) + -0x7b2c))
                      (param_6,param_6,param_6 + iVar4,iVar17 << 1);
    uVar10 = *(uint *)(puVar8 + -0x34);
    iVar23 = *(int *)(puVar8 + -0x40);
    uVar9 = iVar7 + uVar10;
    if (iVar17 != iVar19) {
      uVar14 = *puVar20 - uVar9;
      uVar9 = (uint)(*puVar20 < uVar9);
      *puVar20 = uVar14;
    }
    iVar22 = iVar22 - uVar9;
    if (iVar22 < 0) {
      uVar9 = *puVar18;
      *puVar18 = uVar10 + uVar9;
      if (uVar10 + uVar9 < uVar10) {
        if (iVar19 < 2) {
LAB_00045c64:
          *(undefined4 *)(puVar8 + -0x2c) = 2;
        }
        else {
          uVar9 = puVar18[1];
          puVar18[1] = uVar9 + 1;
          if (uVar9 + 1 == 0) {
            iVar7 = 2;
            puVar16 = puVar18 + 2;
            do {
              bVar1 = iVar19 == iVar7;
              iVar7 = iVar7 + 1;
              if (bVar1) goto LAB_00045c64;
              uVar9 = *puVar16;
              *puVar16 = uVar9 + 1;
              puVar16 = puVar16 + 1;
            } while (uVar9 + 1 == 0);
          }
        }
      }
      iVar7 = (**(code **)(iVar23 + -0x7f70))(param_6,puVar11,iVar4,2);
      uVar9 = *param_6;
      iVar22 = iVar22 + iVar7 + *(int *)(puVar8 + -0x2c);
      *param_6 = uVar9 - 1;
      if (uVar9 == 0) {
        if (iVar4 < 2) {
          *puVar11 = *puVar11 - 1;
          return iVar22 + -1;
        }
        uVar9 = param_6[1];
        param_6[1] = uVar9 - 1;
        if (uVar9 == 0) {
          iVar7 = 2;
          puVar16 = param_6 + 2;
          do {
            bVar1 = iVar4 == iVar7;
            iVar7 = iVar7 + 1;
            if (bVar1) {
              iVar22 = iVar22 + -1;
              break;
            }
            uVar9 = *puVar16;
            *puVar16 = uVar9 - 1;
            puVar16 = puVar16 + 1;
          } while (uVar9 == 0);
        }
        uVar9 = *puVar11;
        *puVar11 = uVar9 - 1;
        if (uVar9 != 0) {
          return iVar22;
        }
        uVar9 = puVar11[1];
      }
      else {
        uVar9 = *puVar11;
        *puVar11 = uVar9 - 1;
        if (uVar9 != 0) {
          return iVar22;
        }
        if (iVar4 < 2) {
          return iVar22;
        }
        uVar9 = puVar11[1];
      }
      puVar11[1] = uVar9 - 1;
      if (uVar9 == 0) {
        iVar7 = 2;
        puVar11 = puVar11 + 2;
        do {
          bVar1 = iVar4 <= iVar7;
          iVar7 = iVar7 + 1;
          if (bVar1) {
            return iVar22;
          }
          uVar9 = *puVar11;
          *puVar11 = uVar9 - 1;
          puVar11 = puVar11 + 1;
        } while (uVar9 == 0);
      }
    }
  }
  else {
    iVar22 = 1;
  }
  return iVar22;
}

